/* RESET & BASE TYPOGRAPHY */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #25323F;
  background: #f9fafa;
  font-weight: 400;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* LUXURY BRAND COLOR PALETTE */
:root {
  --color-primary: #25323F;
  --color-secondary: #D2B48C;
  --color-gold: #CCAD60;
  --color-accent: #EAEFF2;
  --color-bg: #f9fafa;
  --color-light: #ffffff;
  --color-dark: #212934;
  --color-border: #E5E7EB;
  --shadow-card: 0 4px 20px 0 rgba(37,50,63,0.07), 0 1.5px 8px 0 rgba(210,180,140,0.12);
  --radius-base: 14px;
  --transition: all 0.22s cubic-bezier(0.6,0.07,0.34,0.96);
}

@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: local('Merriweather Bold'), url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&display=swap');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
}

/* BASE TYPOGRAPHY */
h1, .h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.17;
  color: var(--color-primary);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
h2, .h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p, ul, ol, li, address, span, label {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-primary);
}
strong {
  font-weight: 700;
}
a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.15s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* CONTAINER, SECTION SPACING -- FLEXBOX EVERYWHERE */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
main > section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section:last-child {
  margin-bottom: 0;
}

/* CARD CONTAINERS, GRIDS, FLEXBOX ONLY */
.card-container, .features-grid, .team-grid, .service-grid, .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, .feature, .team-member, .service, .post-list > li {
  background: var(--color-light);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-base);
  padding: 28px 22px 24px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
}
.card:hover, .feature:hover, .service:hover, .post-list > li:hover {
  box-shadow: 0 8px 32px 0 rgba(210,180,140,0.18);
  transform: translateY(-3px) scale(1.02);
}

.features-grid, .service-grid, .team-grid {
  gap: 24px;
}
.features-grid > .feature, .service-grid > .service, .team-grid > .team-member {
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 345px;
}
.team-grid {
  align-items: stretch;
}

.faq-item {
  background: var(--color-light);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-base);
  padding: 18px 24px 14px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO & CTA SECTIONS */
.hero-section {
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: 0 0 34px 34px;
  box-shadow: 0 8px 32px 0 rgba(37,50,63,0.11);
  padding: 44px 0 56px 0;
  margin-bottom: 60px;
}
.hero-section .container {
  padding-top: 16px;
  padding-bottom: 16px;
}
.hero-section h1, .hero-section .h1,
.hero-section .subheadline {
  color: var(--color-light);
}
.hero-section .subheadline {
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-accent);
  margin-bottom: 22px;
}
.cta-banner {
  background: var(--color-light);
  border-radius: var(--radius-base);
  box-shadow: 0 3px 12px 0 rgba(210,180,140,0.14);
  margin-bottom: 64px;
}
.cta-banner p {
  font-size: 1.15rem;
  color: var(--color-primary);
}
.cta-banner .cta-btn {
  margin-top: 16px;
}

/* BUTTONS & CTA */
.cta-btn {
  font-family: 'Merriweather', serif;
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-dark);
  border: none;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 100px;
  padding: 13px 36px;
  box-shadow: 0 2px 8px rgba(210,180,140,0.15);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: var(--transition);
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 4px 18px 0 rgba(210,180,140,0.2);
  transform: translateY(-2px) scale(1.04);
}
.cta-link {
  color: var(--color-gold);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.22s cubic-bezier(.4,0,.2,1);
}
.cta-link:hover, .cta-link:focus {
  color: var(--color-secondary);
}

/* NAVIGATION - MAIN */
header {
  background: var(--color-light);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px 0 rgba(37,50,63,0.045);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 7px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
}
header .cta-btn {
  margin-left: 20px;
  font-size: 1rem;
  padding: 10px 18px;
}
header img {
  max-height: 42px;
  margin-right: 18px;
  vertical-align: middle;
  border-radius: 0 0 18px 4px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 8px;
  border-radius: 8px;
  padding: 6px 12px; 
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:focus {
  background: var(--color-accent);
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
  }
  header .cta-btn {
    padding: 8px 11px;
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
  header .cta-btn {
    display: none;
  }
}
@media (max-width: 860px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 95;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,50,63,.97);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw; height: 100vh;
  transform: translateX(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.7,0,.22,1), opacity 0.25s cubic-bezier(.7,0,.22,1);
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-gold);
  margin: 18px 0 12px 20px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 151;
  border-radius: 10px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(210,180,140,.18);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 32px 0 0 28px;
}
.mobile-nav a {
  color: var(--color-light);
  font-family: 'Merriweather', serif;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.19s, border-color 0.19s;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
}

/* BLOG POST LISTS */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}
.post-list > li {
  background: var(--color-light);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  padding: 24px 21px 18px 21px;
}
.post-list h3 {
  margin-bottom: 10px;
}

/* NEWSLETTER */
.newsletter-form {
  margin: 20px 0;
  background: var(--color-accent);
  border-radius: var(--radius-base);
  padding: 18px 20px;
  font-size: 1.07rem;
  color: var(--color-dark);
  box-shadow: 0 1.5px 7px 0 rgba(37,50,63,0.06);
}

/* TESTIMONIALS */
.testimonials-preview, .testimonials-section {
  background: var(--color-accent);
  border-radius: var(--radius-base);
  box-shadow: 0 3px 14px 0 rgba(210,180,140,0.095);
  padding: 40px 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-light);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-base);
  padding: 20px 24px 20px 22px;
  margin-bottom: 20px;
  gap: 10px;
  min-width: 240px;
  border-left: 4px solid var(--color-gold);
  color: var(--color-dark);
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-meta {
  color: var(--color-secondary);
  font-size: 1.01rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-top: 2px;
}

/* TEAM CARDS */
.team-member {
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-base);
  background: var(--color-light);
  padding: 26px 20px 18px 20px;
  flex: 1 1 220px;
}

/* FOOTER */
footer {
  background: var(--color-primary);
  padding-top: 34px;
  padding-bottom: 30px;
  color: var(--color-light);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 12px 0 rgba(37,50,63,0.09);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding-left: 20px;
  padding-right: 20px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-right: 8px;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-gold);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 220px;
}
.footer-contact img {
  max-width: 58px;
  margin-bottom: 18px;
}
footer address {
  font-style: normal;
  color: var(--color-accent);
  font-size: 0.98rem;
  line-height: 1.65;
}
footer address a {
  color: var(--color-secondary);
  text-decoration: underline;
}
footer address a:hover, footer address a:focus {
  color: var(--color-gold);
}

/* CONTACT & ABOUT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--color-primary);
}
.contact-details img {
  width: 22px;
  height: 22px;
}

/* LEGAL SECTIONS */
.legal-section {
  background: var(--color-accent);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  padding: 40px 20px;
}
.legal-section h1, .legal-section h2 {
  color: var(--color-primary);
  margin-top: 0;
}

/* THANK YOU PAGE */
.thanks-section {
  background: var(--color-light);
  box-shadow: 0 3px 18px 0 rgba(210,180,140,0.12);
  border-radius: var(--radius-base);
  padding: 80px 20px 60px 20px;
  text-align: center;
}
.thanks-section .cta-btn {
  margin-top: 28px;
}

/* ICON IMAGES */
img, svg {
  vertical-align: middle;
  max-width: 100%;
}
/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--color-dark);
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 18px 24px 18px;
  box-shadow: 0 -4px 18px 0 rgba(37,50,63,0.12);
  animation: cookieBannerIn 0.44s cubic-bezier(.65,0,.24,1);  
}
@keyframes cookieBannerIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-consent-text {
  font-size: 1.08rem;
  color: var(--color-accent);
  text-align: center;
  max-width: 860px;
}
.cookie-consent-actions {
  display: flex;
  gap: 24px;
  margin-top: 11px;
}
.cookie-btn {
  padding: 9px 25px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  border-radius: 40px;
  border: none;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
}
.cookie-btn.accept {
  background: var(--color-gold);
  color: var(--color-dark);
  box-shadow: 0 2px 7px 0 rgba(210,180,140,0.16);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-secondary);
}
.cookie-btn.reject {
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-accent);
  color: var(--color-dark);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 10000;
  background: rgba(37,50,63,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: background 0.23s;
  animation: cookieModalIn 0.33s cubic-bezier(.65,0,.24,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-light);
  border-radius: var(--radius-base);
  box-shadow: 0 6px 32px 0 rgba(37,50,63,0.15);
  padding: 40px 30px 30px 30px;
  max-width: 450px;
  min-width: 310px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  color: var(--color-primary);
  font-family: 'Merriweather', serif;
  margin-bottom: 12px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category label {
  font-size: 1.08rem;
  color: var(--color-primary);
}
.cookie-switch {
  appearance: none;
  width: 44px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 16px;
  border: 1.6px solid var(--color-gold);
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-switch:checked {
  background: var(--color-gold);
}
.cookie-switch:before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 3.5px;
  width: 17px;
  height: 17px;
  background: var(--color-primary);
  border-radius: 50%;
  transition: left 0.16s, background 0.13s;
}
.cookie-switch:checked:before {
  left: 22px;
  background: var(--color-dark);
}
.cookie-category input[disabled] + label {
  color: #9C9C9C;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-close {
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--color-primary);
  position: absolute;
  top: 14px; right: 18px;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-gold);
}
/* Hide modal by default - toggle class with JS */
.cookie-modal,
.cookie-modal[hidden] {
  display: none;
}

/* RESPONSIVE DESIGN (MOBILE-FIRST) */
@media (max-width: 1040px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .features-grid, .service-grid, .team-grid {
    gap: 18px;
  }
}
@media (max-width: 860px) {
  .footer-contact {
    align-items: flex-start;
    margin-top: 16px;
  }
  .footer-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 11px;
    padding-right: 11px;
  }
  main > section, .section, .legal-section, .testimonials-preview, .testimonials-section {
    padding: 25px 7px;
    margin-bottom: 38px;
  }
  .card-container, .features-grid, .team-grid, .service-grid, .content-grid, .post-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card, .feature, .team-member, .service, .post-list > li {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 18px;
  }
  .footer-contact {
    min-width: unset;
    text-align: left;
    margin-top: 24px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 11px;
  }
}
@media (max-width: 430px) {
  h1, .h1 { font-size: 1.6rem; }
  h2, .h2 { font-size: 1.12rem; }
  .footer-contact img { max-width: 38px; }
}
/* FINE DETAILS */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 32px 0;
}
::-webkit-scrollbar { width: 8px; background: #f2f2f2; }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 4px; }

/* MICRO-INTERACTIONS */
button, .cta-btn, .cookie-btn {
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
}

::-selection {
  background: var(--color-gold);
  color: var(--color-primary);
}

/* ALWAYS PREVENT ABSOLUTE FOR CONTENT CARDS, except for minor decorative icon overlays on cards if needed (None here) */

/* FLEXBOX HELPER (OPTIONAL, for dev) */
.flex {
  display: flex !important;
}
.flex-column {
  flex-direction: column !important;
}
.flex-row {
  flex-direction: row !important;
}
.gap20 {
  gap: 20px !important;
}
.gap24 {
  gap: 24px !important;
}

/* END OF CSS */