/* ==================================================
   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;
  background: none;
  box-sizing: border-box;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background-color: #F6F9FB;
  color: #1f2635;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #163557;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D1BC80;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
ul, ol {
  padding-left: 24px;
}
blockquote {
  border-left: 4px solid #D1BC80;
  background: #F8F9F5;
  font-style: italic;
  padding: 16px 24px;
  margin: 24px 0;
  color: #45516b;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #182D4B;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.2rem; }
}

/* ==================================================
   BRAND COLORS (Pastel adaptations)
================================================== */
:root {
  --primary: #163557;
  --secondary: #EAEFF4;
  --accent: #D1BC80;
  --pastel-pink: #F7E6EA;
  --pastel-blue: #E6F0FA;
  --pastel-lavender: #E9E7FA;
  --pastel-mint: #E7FAF2;
  --gray-100: #F6F9FB;
  --gray-200: #EAEFF4;
  --gray-300: #CED5E0;
  --black: #182D4B;
  --white: #fff;
}

/* ==================================================
   LAYOUT CONTAINERS
================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gray-100);
  border-radius: 26px;
  box-shadow: 0 2px 18px 0 rgba(35,55,85,0.06);
}
@media (max-width: 900px) {
  .section {
    padding: 32px 10px;
  }
}

/* ==================================================
   HEADER & NAVIGATION
================================================== */
header {
  background: var(--white);
  padding: 0;
  box-shadow: 0 2px 12px 0 rgba(24,45,75,0.05);
  position: relative;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  min-height: 80px;
  position: relative;
}
.logo {
  margin-right: 28px;
  display: flex;
  align-items: center;
}
.logo img { height: 52px; }
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-right: auto;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 8px;
  border-radius: 7px;
  color: var(--primary);
  position: relative;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background-color: rgba(209,188,128,0.23);
  color: var(--accent);
}
.cta-main {
  font-family: 'Playfair Display', serif;
  background: var(--pastel-lavender);
  color: var(--primary);
  font-size: 1.09rem;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 24px;
  transition: background 0.22s, color 0.22s, box-shadow 0.2s;
  box-shadow: 0 2px 12px 0 rgba(24,45,75,0.06);
  border: 2px solid var(--accent);
  margin-left: 10px;
}
.cta-main:hover, .cta-main:focus {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 3px 18px 0 rgba(24,45,75,0.10);
}
/* Burger menu for mobile */
.mobile-menu-toggle {
  display: none;
  outline: none;
  background: var(--accent);
  border-radius: 8px;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  width: 46px;
  height: 46px;
  text-align: center;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px 0 rgba(209,188,128,0.10);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 1003;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 3px 18px rgba(209,188,128,0.19);
}
@media (max-width: 1000px) {
  .main-nav,.cta-main {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ========================
   MOBILE SLIDE MENU
======================== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,249,251, 0.97);
  box-shadow: 0 4px 40px 0 rgba(24,45,75,0.11);
  transform: translateX(-105vw);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.77,0,.18,1), opacity 0.16s;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: var(--primary);
  background: none;
  border: none;
  margin-right: 36px;
  margin-bottom: 17px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  padding: 7px 14px;
  z-index: 2002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 38px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--primary);
  padding: 14px 0;
  font-family: 'Playfair Display', serif;
  border-bottom: 1px solid #e6e6ef;
  transition: color 0.15s, background 0.15s;
  border-radius: 7px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: var(--pastel-lavender);
}
/* Hide mobile menu on desktop */
@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
}

/* ==================================================
   HERO - First section /
================================================== */
.hero {
  background: linear-gradient(135deg, #EAEFF4 70%, #F7E6EA 100%);
  border-radius: 0 0 46px 46px;
  min-height: 330px;
  display: flex;
  align-items: center;
  padding: 60px 0 24px 0;
  box-shadow: 0 10px 36px 0 rgba(35,55,85,0.08);
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
}

.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.hero p {
  color: #46608d;
  font-size: 1.18rem;
  line-height: 1.5;
  max-width: 560px;
  margin-bottom: 18px;
}
.cta-button, .cta-link {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  background: var(--accent);
  color: var(--white);
  padding: 12px 36px;
  font-size: 1.08rem;
  border-radius: 28px;
  margin-top: 8px;
  box-shadow: 0 3px 18px 0 rgba(209,188,128,0.08);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s;
  border: 1.5px solid var(--accent);
  display: inline-block;
}
.cta-button:hover, .cta-button:focus,
.cta-link:hover, .cta-link:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 5px 28px 0 rgba(22,53,87,0.10);
  transform: translateY(-2px) scale(1.03);
  text-decoration: none;
}
.cta-link {
  background: var(--pastel-pink);
  color: var(--primary);
  border-color: var(--pastel-lavender);
  padding: 12px 18px;
  margin-top: 0;
}
.cta-link:hover, .cta-link:focus {
  background: var(--accent);
  color: var(--white);
}

@media (max-width: 700px) {
  .hero {
    padding: 35px 0 16px 0;
    border-radius: 0 0 25px 25px;
  }
  .hero h1 { font-size: 1.5rem; }
}

/* ==================================================
   FEATURES (Index)
================================================== */
.features {
  margin-top: 44px;
}
.features .content-wrapper { gap: 34px; }
.features h2 {
  color: var(--primary);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 18px;
}
.feature-icon {
  flex: 0 0 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-description {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: flex-start;
}
.feature-description h3 {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 0;
}
/* Responsive: stack feature grid on mobile */
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ==================================================
   GENERIC SECTION SPACING & FLEXBOX
================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--gray-200);
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(24,45,75,0.05);
  padding: 28px 20px;
  flex: 1 1 320px;
  transition: transform 0.19s, box-shadow 0.19s;
}
.card:hover, .card:focus-within {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 6px 24px rgba(209,188,128,0.10);
}
.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: stretch; gap: 20px; }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-blue);
  border-radius: 20px;
  margin-bottom: 22px;
  box-shadow: 0 2px 16px 0 rgba(24,45,75,0.07);
  min-width: 220px;
  max-width: 390px;
  color: #20325a;
  font-size: 1.08rem;
  transition: box-shadow 0.25s, transform 0.15s;
}
.testimonial-card strong {
  color: var(--primary);
  letter-spacing: 0.03em;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 700px) {
  .testimonial-slider { flex-direction: column; gap: 14px; }
}

/* ==================================================
  ABOUT TEAM (about.html)
================================================== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.team-member {
  background: var(--pastel-mint);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(60,119,91,0.07);
  padding: 26px 20px;
  flex: 1 1 280px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.16s;
}
.team-member:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 5px 28px 0 rgba(60,119,91,0.12);
}

/* ==================================================
   TEXT SECTIONS
================================================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul, .text-section ol {
  padding-left: 16px;
  margin-bottom: 12px;
}
.text-section li {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 1.02rem;
}
.text-section h2, .text-section h3, .text-section h4 {
  margin-bottom: 9px;
}
.text-section a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

/* ==================================================
   TABLES (pricing.html)
================================================== */
table {
  width: 100%;
  margin-bottom: 24px;
  border-collapse: collapse;
  border-radius: 11px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 12px 0 rgba(60,60,70,0.04);
  font-size: 1rem;
}
thead {
  background: var(--gray-200);
}
th, td {
  text-align: left;
  padding: 16px 10px;
}
th {
  font-family: 'Playfair Display', serif;
  font-size: 1.06rem;
  color: var(--primary);
}
tbody tr:not(:last-child) {
  border-bottom: 1px solid var(--gray-300);
}
tbody tr:hover {
  background: var(--pastel-blue);
  transition: background 0.18s;
}

/* ==================================================
   CONTACT INFO
================================================== */
.icon-text {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.03rem;
  color: #163557;
  margin-bottom: 12px;
}
.icon-text img {
  height: 24px;
  width: 24px;
  opacity: 0.92;
}
.contact-quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 10px 0;
}
@media (max-width: 700px) {
  .contact-quick-info {
    flex-direction: column;
    gap: 10px;
  }
}

/* ==================================================
   BLOG
================================================== */
.article-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 24px;
}
.article-previews article {
  background: var(--pastel-pink);
  border-radius: 14px;
  padding: 22px 16px;
  box-shadow: 0 2px 12px 0 rgba(200,60,120,0.07);
  min-width: 200px;
  flex: 1 1 320px;
  margin-bottom: 14px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.article-previews article:hover {
  box-shadow: 0 5px 22px 0 rgba(200,60,120,0.13);
  transform: translateY(-2px) scale(1.01);
}
.read-more, .blog-categories span, .featured-article .cta-link {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  background: none;
  border-radius: 6px;
  font-size: 1rem;
  padding: 2.5px 6px;
  margin: 0 4px;
  transition: color 0.12s, background 0.13s;
}
.read-more:hover {
  color: var(--accent);
  background: var(--pastel-lavender);
}
.blog-categories span {
  color: #34435e;
}
@media (max-width: 700px) {
  .article-previews {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==================================================
   FOOTER
================================================== */
footer {
  background: var(--primary);
  color: var(--white);
  border-radius: 42px 42px 0 0;
  box-shadow: 0 -6px 28px 0 rgba(35,55,85,0.05);
  margin-top: 44px;
  padding-bottom: 18px;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 26px 10px 10px 10px;
  margin: 0 auto 7px auto;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}
.footer-nav a {
  color: var(--accent);
  transition: color 0.13s, text-decoration 0.13s;
  text-decoration: underline;
  padding: 1px 5px;
}
.footer-nav a:hover {
  color: var(--white);
  text-decoration: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  padding: 0 8px;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.89);
}

/* ==================================================
   COOKIE CONSENT BANNER & MODAL
================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(96deg, #EAEFF4 90%, #E9E7FA 100%);
  box-shadow: 0 -2px 24px 0 rgba(39,43,60,0.11);
  border-radius: 26px 26px 0 0;
  padding: 22px 10vw 22px 10vw;
  font-size: 1.07rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  z-index: 8000;
  justify-content: space-between;
  opacity: 1;
  transition: transform 0.3s, opacity 0.25s;
  gap: 18px;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(150px);
  pointer-events: none;
}
.cookie-banner p {
  flex: 1 1 220px;
  color: #2a3855;
  margin: 0 14px 0 0;
  font-size: 1.07rem;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}
.cookie-btn {
  padding: 8px 23px;
  border-radius: 20px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  border: none;
  transition: background 0.19s, color 0.16s;
  font-size: 1rem;
  margin-right: 2px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(209,188,128,0.09);
}
.cookie-btn.settings {
  background: var(--pastel-lavender);
  color: var(--primary);
  border: 1px solid var(--accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: var(--white);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 8px;
    gap: 13px;
    font-size: 0.98rem;
  }
  .cookie-buttons {
    gap: 7px;
  }
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 430px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 80px 5px rgba(22,53,87,0.19), 0 1.5px 6px 0 rgba(22,53,87,0.17);
  padding: 38px 20px 26px 20px;
  z-index: 8001;
  transform: translate(-50%, 60vh);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(.77,0,.18,1), opacity 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%);
}
.cookie-modal h3 {
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.25rem;
}
.cookie-modal .cookie-pref-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 22px;
}
.cookie-modal .cookie-pref-category label {
  font-size: 1.07rem;
  color: #19304C;
}
.cookie-modal .cookie-pref-category input[type="checkbox"] {
  width: 23px;
  height: 23px;
}
.cookie-modal .cookie-pref-category input[disabled] {
  opacity: 0.32;
}
.cookie-modal .modal-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--primary);
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.2s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--pastel-blue);
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 24px 6px 14px 6px;
  }
}

/* ==================================================
   FAQ (pricing.html)
================================================== */
dl {
  margin: 0;
}
dt {
  font-weight: bold;
  margin-top: 15px;
  font-size: 1.07rem;
  color: #2e406a;
}
dd {
  margin-left: 0;
  margin-bottom: 12px;
  color: #384357;
}

/* ==================================================
   THANK YOU PAGE
================================================== */
.thank-you .text-section {
  margin-top: 20px;
}

/* ==================================================
   MEDIA QUERIES FOR RESPONSIVE FLEX
================================================== */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .team-grid, .testimonial-slider, .card-container {
    gap: 14px;
  }
  .card, .team-member {
    min-width: 120px;
    padding: 16px 9px;
  }
}
@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    padding: 17px 2px 8px 2px;
    font-size: 0.97rem;
  }
  .footer-contact {
    font-size: 0.94rem;
    gap: 2.5px;
    padding-bottom: 7px;
  }
  .hero .container {
    min-height: 130px;
  }
}

/* ==================================================
   TRANSITIONS & MICRO-INTERACTIONS
================================================== */
.section, .card, .team-member, .testimonial-card, .article-previews article {
  transition: box-shadow 0.18s, background 0.21s, transform 0.17s;
}
.section:hover, .card:hover, .team-member:hover, .testimonial-card:hover, .article-previews article:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 5px 38px rgba(22,53,87,0.09);
}

/* ==================================================
   VISUAL ELEMENTS & DETAILS
================================================== */
.card, .team-member, .testimonial-card, .article-previews article {
  border-radius: 18px;
}
.section, .about-preview, .contact-short, .services-preview, .testimonial-preview, .about, .services, .process, .benefits, .style, .blog-listing, .featured-article, .inspiration, .real-stories, .pricing-overview, .pricing-table, .package-features, .comparison, .faq, .location, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 26px;
}

/* ==================================================
   UTILITY
================================================== */
.hide { display: none !important; }
.visible { display: block !important; }

/* Accessibility: focus ring for keyboard navigation */
a:focus, button:focus, .cta-main:focus, .cta-button:focus, .cta-link:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

/* ===============================
   END OF STYLES
=============================== */