/* ==== CSS RESET & NORMALIZE ==== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; 
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit; 
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, sans-serif;
  color-scheme: light;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F6F7FA;
  color: #22303C;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: #F6F7FA;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

ul, ol {
  margin: 0 0 16px 24px;
}
li {
  margin-bottom: 6px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #22303C;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.14; }
h2 { font-size: 2rem; line-height: 1.16; }
h3 { font-size: 1.35rem; line-height: 1.22; }
h4 { font-size: 1.2rem; line-height: 1.3; }
h5, h6 { font-size: 1.05rem; line-height: 1.3; }

p { margin-bottom: 14px; }

strong { font-weight: 700; }
em, i { font-style: italic; }
a {
  color: #7a4d88;
  text-decoration: underline;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #A67C52;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
}


/* ==== COLOR PALETTE (SOFT PASTELS) ==== */
:root {
  --color-primary: #22303C;
  --color-secondary: #A67C52;
  --color-accent: #F0EFE9;
  --color-pastel-pink: #F7E3E3;
  --color-pastel-blue: #E0ECFF;
  --color-pastel-green: #EAF8ED;
  --color-pastel-yellow: #FFF8DF;
  --color-soft-gray: #F6F7FA;
  --color-shadow: 0 3px 18px 0 rgba(34,48,60,0.09);
  --color-border: #EAEAEA;
}


/* ==== SPACING SYSTEM ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-soft-gray);
  border-radius: 32px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 16px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--color-shadow);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(34, 48, 60, 0.18);
  transform: translateY(-2px) scale(1.01);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: var(--color-pastel-blue);
  border-radius: 22px;
  box-shadow: 0 4px 18px 0 rgba(70, 90, 125, 0.09);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 440px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #22303C;
  font-weight: 500;
  margin-bottom: 8px;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #A67C52;
  font-family: "Open Sans", Arial, sans-serif;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px 0 rgba(34, 48, 60, 0.14);
  background: var(--color-pastel-green);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(34, 48, 60, 0.07);
  padding: 26px 18px 20px 18px;
  gap: 15px;
  width: 260px;
  min-width: 180px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.17s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature-item h3 {
  font-size: 1.18rem;
}
.feature-item:hover {
  box-shadow: 0 4px 20px 0 rgba(166,124,82,0.08);
  background: var(--color-pastel-yellow);
}


/* ==== HERO SECTIONS ==== */
.hero-section {
  background: linear-gradient(120deg, #FAF6F0 75%, #E0ECFF 100%);
  padding: 54px 0 60px 0;
  border-radius: 0 0 56px 56px;
  margin-bottom: 48px;
  box-shadow: 0 7px 30px 0 rgba(168, 196, 255, 0.22);
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}
.hero-section h1 {
  font-size: 2.7rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  margin-bottom: 18px;
  color: #231c28;
  letter-spacing: 0.5px;
}
.hero-section p {
  font-size: 1.16rem;
  color: #22303C;
  max-width: 700px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 32px 0 30px 0;
    border-radius: 0 0 30px 30px;
  }
  .hero-section .container {
    padding: 0 5px;
  }
  .hero-section h1 {
    font-size: 1.65rem;
    margin-bottom: 0.95em;
  }
}


/* ==== NAVIGATION ==== */
header {
  background: #fff;
  box-shadow: 0 3px 10px 0 rgba(60,90,110,0.05);
  padding: 0;
  position: relative;
  z-index: 1000;
  min-height: 65px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px 12px 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #22303C;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 8px 4px;
  border-radius: 7px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-pastel-yellow);
  color: #A67C52;
}
header .btn-primary {
  margin-left: 14px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #A67C52;
  cursor: pointer;
  z-index: 1002;
  position: absolute;
  right: 18px;
  top: 18px;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #22303C;
}
.mobile-menu {
  display: none;
}

@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(245,245,250,0.96);
    box-shadow: 0 0 54px 0 rgba(80, 121, 122, 0.16);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.33s cubic-bezier(.4,1,.48,1);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    font-size: 2.3rem;
    background: none;
    border: none;
    color: #A67C52;
    cursor: pointer;
    margin: 28px 18px 12px auto;
    align-self: flex-end;
    transition: color 0.2s;
  }
  .mobile-menu-close:hover { color: #22303C; }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 24px 32px;
    width: 100%;
    margin-top: 28px;
  }
  .mobile-nav a {
    font-size: 1.22rem;
    color: #22303C;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 8px;
    transition: background 0.2s, color 0.18s;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--color-pastel-yellow);
    color: #A67C52;
  }
}


/* ==== BUTTONS ==== */
.btn-primary {
  background: linear-gradient(90deg, #F7E3E3 10%, #E0ECFF 94%);
  color: #22303C;
  font-size: 1.08rem;
  font-weight: 700;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 13px 32px;
  border-radius: 27px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  box-shadow: 0 3px 12px 0 rgba(223, 183, 250, 0.08);
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
  margin-bottom: 6px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #EAF8ED;
  color: #A67C52;
  box-shadow: 0 7px 30px 0 rgba(166,124,82,0.17);
  transform: translateY(-1.5px) scale(1.03);
}

.btn-secondary {
  background: #E0ECFF;
  color: #22303C;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border-radius: 22px;
  padding: 11px 22px;
  border: none;
  margin-top: 7px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.17s;
}
.btn-secondary:hover {
  background: #F7E3E3;
}

.btn-outline {
  background: #fff;
  color: #A67C52;
  border: 2px solid #A67C52;
  border-radius: 22px;
  padding: 10px 21px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  margin-top: 7px;
  margin-bottom: 7px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border 0.11s;
}
.btn-outline:hover {
  background: #A67C52;
  color: #fff;
}


/* ==== SECTIONS & UTILITIES ==== */
.features-section, .benefits-section, .policy-section, .guides-section, .calculator-section, .faq-section, .criteria-section, .process-section, .articles-section, .featured-models, .trust-section, .cta-section, .contact-form-section, .contact-details-section, .contact-hero-section, .thankyou-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 2px 16px 0 rgba(180,180,200,0.05);
}
@media (max-width: 768px) {
  .features-section, .benefits-section, .policy-section, .guides-section, .calculator-section, .faq-section, .criteria-section, .process-section, .articles-section, .featured-models, .trust-section, .cta-section, .contact-form-section, .contact-details-section, .contact-hero-section, .thankyou-section {
    padding: 21px 7px;
    margin-bottom: 40px;
    border-radius: 13px;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}

.cert-badges {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 10px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.contact-details-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-details-list img {
  width: 20px;
  height: 20px;
  filter: grayscale(30%) opacity(0.82);
}


/* ==== FOOTER ==== */
footer {
  background: #F7E3E3;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -2px 18px 0 rgba(160, 170, 200, 0.08);
  padding: 36px 0 16px 0;
  margin-top: 48px;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #A67C52;
  font-weight: 600;
  font-family: 'Open Sans', Arial, sans-serif;
  text-decoration: none;
  font-size: 0.97rem;
  border-radius: 8px;
  padding: 7px 11px;
  transition: background 0.17s,color 0.16s;
}
.footer-nav a:hover {
  background: #EAF8ED;
  color: #22303C;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #22303C;
  align-items: center;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: bottom;
  margin-right: 6px;
  margin-top: -2px;
  filter: grayscale(30%) opacity(0.76);
}
footer p {
  color: #A67C52;
  font-size: 0.96rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-top: 14px;
  opacity: 0.82;
}
@media (max-width: 768px) {
  footer {
    padding: 19px 0 10px 0;
    margin-top: 25px;
    border-radius: 17px 17px 0 0;
  }
  footer .container {
    gap: 16px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 13px;
  }
}


/* ==== FORMS, INPUTS (if any) ==== */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 13px 16px;
  border-radius: 13px;
  border: 1.5px solid #EAEAEA;
  background: #fff8df;
  font-size: 1.03rem;
  margin-bottom: 16px;
  transition: border 0.17s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid #A67C52;
  outline: none;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #22303C;
  font-size: 1rem;
  margin-bottom: 6px;
}


/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(90deg, #F7E3E3 30%, #E0ECFF 100%);
  box-shadow: 0 -2px 32px 0 rgba(186, 180, 192, 0.16);
  padding: 22px 24px 18px 24px;
  z-index: 3000;
  border-radius: 22px 22px 0 0;
  animation: fadeInUp 0.55s cubic-bezier(.43,1,.53,1) 0s 1;
  font-size: 1.03rem;
}
.cookie-banner p {
  color: #22303C;
  margin-bottom: 0px;
  flex: 1;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner .btn-primary {
  padding: 10px 19px;
  font-size: 1rem;
  margin: 0;
}
.cookie-banner .btn-outline {
  border: 2px solid #A67C52;
  color: #A67C52;
  background: #fff;
  font-size: 1rem;
  padding: 9px 15px;
  margin: 0;
}
.cookie-banner .btn-outline:hover {
  background: #A67C52;
  color: #fff;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 8px 14px 8px;
    font-size: 0.99rem;
  }
  .cookie-actions {
    gap: 10px;
    width: 100%;
  }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(80px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3500;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(60, 75, 96, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(.5,.1,.6,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 360px;
  width: 92vw;
  padding: 33px 24px 27px 24px;
  box-shadow: 0 7px 40px 0 rgba(84,120,140,0.13);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: fadeInPop 0.22s cubic-bezier(.42,1,.63,1);
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1.03rem;
  color: #22303C;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 3px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F6F7FA;
  border-radius: 11px;
  padding: 8px 12px;
  margin-bottom: 5px;
  font-size: 0.98rem;
}
.cookie-modal .category-description {
  opacity: 0.84;
  font-size: 0.95rem;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
  pointer-events: all;
}
.cookie-modal .btn-primary, .cookie-modal .btn-outline {
  padding: 10px 0;
  width: 100%;
  margin-top: 13px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.43rem;
  color: #A67C52;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #22303C;
}
@keyframes fadeInPop {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1); }
}


/* ==== CHECKBOX FOR COOKIE TOGGLES ==== */
.switch {
  position: relative;
  width: 32px;
  height: 18px;
  display: inline-block;
  margin-left: 10px;
}
.switch input[type="checkbox"] { display: none; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #E0ECFF;
  transition: background 0.2s;
  border-radius: 20px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background-color: #A67C52;
  transition: 0.24s;
  border-radius: 50%;
}
.switch input:checked + .slider {
  background-color: #F7E3E3;
}
.switch input:checked + .slider:before {
  transform: translateX(13px);
  background: #22303C;
}


/* ==== RESPONSIVE ====*/
@media (max-width: 950px) {
  .feature-grid, .card-container, .footer-contact {
    flex-wrap: wrap;
    gap: 18px;
  }
  .feature-item, .card {
    min-width: 45vw;
    width: 100%;
  }
}
@media (max-width: 850px) {
  .feature-item, .card {
    min-width: 90vw;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .footer-contact {
    flex-direction: column;
    gap: 9px;
  }
  .feature-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    min-width: 96vw;
    width: 100%;
    max-width: none;
  }
  .feature-item, .card {
    min-width: 96vw;
    width: 100%;
  }
}


/* ==== ACCESSIBILITY & FOCUS ==== */
a, button, input, textarea {
  outline: none;
}
a:focus-visible, button:focus-visible, .btn-primary:focus-visible {
  box-shadow: 0 0 0 3px #FFF8DF, 0 0 0 6px #A67C52;
  outline: none;
}


/* ==== MICRO-ANIMATIONS ==== */
@media (hover: hover) and (pointer: fine) {
  .feature-item, .testimonial-card, .card, .btn-primary {
    transition: box-shadow 0.20s, transform 0.18s, background 0.16s;
  }
  .feature-item:hover, .testimonial-card:hover, .card:hover {
    box-shadow: 0 7px 38px 0 rgba(166,124,82,0.11), var(--color-shadow);
    transform: translateY(-2.5px) scale(1.02);
  }
  .btn-primary:hover {
    box-shadow: 0 12px 32px 0 rgba(166,124,82,0.18);
    transform: translateY(-2.5px) scale(1.03);
  }
}

/* Extra: little fade in for content sections */
.section, .hero-section, .card, .testimonial-card, .cta-section {
  animation: fadein 0.9s cubic-bezier(.44,.99,.48,1) 0s 1;
}
@keyframes fadein {
  0% { opacity: 0; transform: translateY(28px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}

/* ==== VISUAL HIERARCHY AND PASTEL THEME ==== */
.features-section {
  background: linear-gradient(90deg, #EAF8ED 0%, #E0ECFF 100%);
}
.benefits-section {
  background: linear-gradient(95deg, #FFF8DF 28%, #EAF8ED 100%);
}
.trust-section {
  background: linear-gradient(92deg, #F7E3E3 55%, #E0ECFF 100%);
}
.cta-section {
  background: linear-gradient(110deg, #F7E3E3 59%, #EAF8ED 100%);
}
.articles-section {
  background: #FFF8DF;
}
.guides-section {
  background: #EAF8ED;
}
.calculator-section {
  background: #E0ECFF;
}
.faq-section {
  background: #E0ECFF;
}
.criteria-section {
  background: #F7E3E3;
}
.featured-models {
  background: #EAF8ED;
}
.thankyou-section {
  background: linear-gradient(99deg, #E0ECFF 50%, #FFF8DF 100%);
}

/* ==== MISC ==== */
::-webkit-input-placeholder { color: #AE9B7C; opacity: 1; }
::-moz-placeholder { color: #AE9B7C; opacity: 1; }
:-ms-input-placeholder { color: #AE9B7C; opacity: 1; }
::placeholder { color: #AE9B7C; opacity: 1; }

hr {
  border: none;
  border-top: 1.5px solid #EAF8ED;
  margin: 22px 0;
}


/* ==== PRINT STYLES ==== */
@media print {
  body {
    background: #fff;
  }
  .cookie-banner, .cookie-modal, .mobile-menu {
    display: none !important;
  }
  header, footer, .btn-primary, .btn-secondary {
    background: none !important;
    box-shadow: none !important;
  }
}
