/* --------------------------------------------------
   CSS RESET & BASELINE NORMALIZE
---------------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2E4053;
  background-color: #F4F1EE;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-attachment: fixed;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #D4A373;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2E4053;
  text-decoration: none;
}
ul, ol {
  padding-left: 1.3em;
}
li + li {
  margin-top: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #2E4053;
  line-height: 1.2;
  margin-bottom: 0.6em;
}
h1 {
  font-size: 2.375rem; /* 38px */
  margin-bottom: 16px;
}
h2 {
  font-size: 1.875rem; /* 30px */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* --------------------------------------------------
   BRAND COLORS & LAYOUT HELPERS
---------------------------------------------------*/
:root {
  --color-primary: #2E4053;
  --color-secondary: #D4A373;
  --color-accent: #F4F1EE;
  --color-dark: #232d37;
  --color-neutral: #EDE3DA;
  --color-error: #b94a48;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 4px 16px 0 rgba(44, 47, 52, 0.07);
  --shadow-hover: 0 8px 28px 0 rgba(44, 47, 52, 0.10);
  --transition: 0.2s cubic-bezier(.5,.13,.27,1);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------
   HEADER & NAVIGATION
---------------------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 1px 12px 0 rgba(44, 47, 52, 0.05);
  position: sticky;
  top: 0;
  z-index: 90;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 18px;
  z-index: 100;
}
.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin: 0 0 0 12px;
}
.nav-list > li > a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2E4053;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  font-weight: 500;
}
.nav-list > li > a:hover, .nav-list > li > a:focus {
  background: #F4F1EE;
  color: #D4A373;
}
.cta-btn {
  display: inline-block;
  font-size: 1.06rem;
  background: #D4A373;
  color: #2E4053;
  border: none;
  border-radius: var(--radius);
  padding: 10px 28px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform 0.13s;
  text-decoration: none;
  margin-left: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2E4053;
  color: #fff;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.04);
}

/* -------------- MOBILE MENU -------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2E4053;
  cursor: pointer;
  padding: 0 6px;
  z-index: 150;
  border-radius: var(--radius-sm);
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F4F1EE;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.78,.06,.28,.99);
  box-shadow: -8px 0 24px rgba(44, 47, 52, 0.12);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #2E4053;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 30px 8px 0;
  padding: 0 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F4F1EE;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 32px 40px;
}
.mobile-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  color: #2E4053;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  width: 100%;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F1EE;
  color: #D4A373;
}
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 899px) {
  .nav-list,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------
   HERO SECTION
---------------------------------------------------*/
.hero {
  background: linear-gradient(102deg, #F4F1EE 60%, #EDE3DA 100%);
  padding: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  min-height: 340px;
  box-shadow: 0 4px 24px -10px rgba(82, 74, 58, 0.06);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 60px 20px 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #2E4053;
  font-size: 2.375rem;
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 8px;
}
.hero p {
  color: #5A5143;
  font-size: 1.13rem;
  max-width: 700px;
  margin-bottom: 12px;
}
.hero .cta-btn {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .hero .container {
    padding: 38px 10px 20px 10px;
  }
  .hero {
    min-height: 210px;
  }
}

/* --------------------------------------------------
   SECTIONS & FLEXBOX LAYOUTS
---------------------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

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

/* ----------- FEATURES GRID (warm, friendly) ----------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  margin-top: 24px;
}
.feature-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px 22px 20px;
  min-width: 210px;
  flex: 1 1 240px;
  max-width: 350px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(212, 163, 115, 0.05));
}
.feature-item h3 {
  color: #2E4053;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.19rem;
}
.feature-item p {
  color: #443d37;
  font-size: 1rem;
}
.feature-item.service-card {
  background: #F4F1EE;
  border: 2.5px solid #D4A37338;
  box-shadow: 0 2px 8px 0 rgba(212, 163, 115, 0.10);
}
.feature-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.018);
}

/* Responsive Adjust for Features */
@media (max-width: 1200px) {
  .features-grid {
    justify-content: center;
  }
  .feature-item {
    min-width: 180px;
    max-width: 95vw;
    flex: 1 1 250px;
  }
}
@media (max-width: 900px) {
  .features-grid {
    gap: 16px;
  }
  .feature-item {
    padding: 18px 14px;
    min-width: 140px;
  }
}
@media (max-width: 650px) {
  .features-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-item {
    width: 100%;
    min-width: unset;
    max-width: unset;
    margin-bottom: 8px;
  }
}

.text-section {
  color: #2E4053;
  font-size: 1.07rem;
  background: none;
  border-radius: var(--radius-sm);
  padding: 6px 0 0 0;
  margin-bottom: 0.5em;
}

section h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

/* ------------ TESTIMONIAL CARDS ------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 6px solid #D4A373;
  transition: box-shadow .19s, border-color .25s;
  color: #2E4053;
}
.testimonial-card blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.13rem;
  font-style: italic;
  color: #2E4053;
  margin: 0;
}
.testimonial-card p {
  margin: 0;
  color: #2E4053;
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #2E4053;
}
@media (max-width: 640px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 16px 10px;
  }
}

/* ------------ CTA SECTION ------------- */
.cta-section {
  background: #D4A373;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 32px 0 rgba(212, 163, 115, 0.11);
  color: #2E4053;
  margin: 36px 0 0 0;
  padding: 44px 20px;
}
.cta-section h2 {
  color: #2E4053;
  font-size: 2rem;
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 12px;
}
.cta-section p {
  color: #396107;
  margin-bottom: 24px;
  font-weight: 500;
}
.cta-section .cta-btn {
  background: #2E4053;
  color: #fff;
  margin-top: 4px;
}
.cta-section .cta-btn:hover {
  background: #fff;
  color: #2E4053;
  border: 1px solid #2E4053;
}
@media (max-width: 700px) {
  .cta-section {
    border-radius: var(--radius);
    padding: 32px 10px;
  }
}

/* --------------------------------------------------
   FOOTER
---------------------------------------------------*/
footer {
  background: #2E4053;
  color: #fff;
  padding: 38px 0 12px 0;
  margin-top: 44px;
  box-shadow: 0 -3px 24px 0 rgba(46,64,83,0.10);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #F4F1EE;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.17s;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D4A373;
  background: #fff1db;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.footer-brand img {
  max-height: 40px;
  margin-bottom: 4px;
}
.footer-brand p {
  font-size: 1rem;
  color: #F4F1EE;
  text-align: center;
}
@media (max-width: 500px) {
  .footer-nav {
    gap: 10px;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
  }
  .footer-brand p {
    font-size: 0.98rem;
  }
}

/* --------------------------------------------------
   COOKIE CONSENT BANNER/STYLES
---------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe6;
  border-top: 2px solid #D4A373;
  box-shadow: 0 -5px 32px 0 rgba(212,163,115,.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  z-index: 10000;
  gap: 15px;
  transition: transform 0.34s;
  font-size: 1.03rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  color: #2E4053;
  flex: 1;
  min-width: 150px;
  margin-right: 10px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-btn {
  border: none;
  border-radius: var(--radius);
  padding: 8px 21px;
  font-weight: bold;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  margin-right: 4px;
  transition: background 0.16s, color 0.16s, box-shadow 0.12s;
}
.cookie-btn.accept {
  background: #D4A373;
  color: #2E4053;
}
.cookie-btn.accept:hover {
  background: #2E4053;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #D4A373;
  border: 2px solid #D4A373;
}
.cookie-btn.reject:hover {
  background: #F4F1EE;
  color: #2E4053;
}
.cookie-btn.settings {
  background: #EDE3DA;
  color: #2E4053;
}
.cookie-btn.settings:hover {
  background: #D4A373;
  color: #fff;
}
@media (max-width: 740px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 12px;
    font-size: 1rem;
  }
  .cookie-banner__actions {
    width: 100%;
    gap: 12px;
    justify-content: flex-start;
  }
}

/* -------- Cookie Modal --------- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(46,64,83, 0.52);
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 42px 0 rgba(46,64,83,0.23);
  padding: 34px 28px 18px 28px;
  min-width: 330px;
  max-width: 95vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  animation: popupIn .19s cubic-bezier(.53,.04,.69,1);
}
@keyframes popupIn {
  from { transform: scale(0.93) translateY(38px); opacity: 0;}
  to { transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal__close {
  position: absolute;
  right: 15px;
  top: 12px;
  background: none;
  border: none;
  color: #2E4053;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 6px;
  border-radius: var(--radius-sm);
  transition: background 0.14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #F4F1EE;
}
.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 2px;
}
.cookie-pref-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #F4F1EE;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
}
.cookie-pref-label {
  flex: 1;
  color: #2E4053;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 20px;
  background: #ddd;
  position: relative;
  outline: none;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #D4A373;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 100px;
  background: #fff;
  position: absolute;
  left: 1px;
  top: 1px;
  transition: transform 0.17s;
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-pref-always {
  color: #84827e;
  font-size: 0.98rem;
  margin-left: 8px;
  font-style: italic;
  font-weight: 500;
}
.cookie-modal__actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  min-width: 90px;
}
@media (max-width: 500px) {
  .cookie-modal__dialog {
    padding: 18px 6vw 13px 6vw;
    min-width: 0;
  }
  .cookie-pref-list {
    gap: 12px;
  }
}

/* --------------------------------------------------
   FORMS (Contact/Inputs)
---------------------------------------------------*/
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid #D4A37344;
  outline: none;
  background: #fff;
  color: #2E4053;
  padding: 11px 13px;
  margin-bottom: 13px;
  box-shadow: none;
  transition: border 0.16s, box-shadow 0.19s;
}
input:focus, textarea:focus, select:focus {
  border-color: #D4A373;
  box-shadow: 0 2px 12px rgba(212,163,115,0.08);
}
button, input[type=submit] {
  cursor: pointer;
  background: #D4A373;
  color: #2E4053;
  border: none;
  transition: background var(--transition), color var(--transition);
}
button:hover, button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: #2E4053;
  color: #fff;
}

label {
  display: block;
  color: #2E4053;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 500;
}

/* --------------------------------------------------
   GLOBAL RESPONSIVENESS
---------------------------------------------------*/
@media (max-width: 1000px) {
  section,
  .section {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 720px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.19rem; }
  .hero .container { padding-top: 24px; padding-bottom: 8px; }
  .cta-section { padding: 26px 4vw; }
}
@media (max-width: 480px) {
  .container { padding-left: 4px; padding-right: 4px; }
  h1 { font-size: 1.21rem; }
  h2 { font-size: 1.13rem; }
  .cta-section { border-radius: var(--radius-sm); }
  .feature-item, .service-card { padding: 13px 7px; }
}

/* --------------------------------------------------
   INTERACTIONS & MICRO ANIMATIONS
---------------------------------------------------*/
.card, .feature-item, .testimonial-card, .cta-section {
  transition: box-shadow 0.20s, transform 0.12s, border-color 0.16s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .cta-section:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.017);
}
.cta-btn, .cookie-btn {
  transition: background-color 0.19s, color 0.15s, box-shadow 0.18s, transform 0.12s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.96);
}

/* Accessibility focus */
.cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #D4A373;
  outline-offset: 2px;
}

/* --------------------------------------------------
   PRINT STYLES (simple, so not interfere with screen)
---------------------------------------------------*/
@media print {
  header, footer, .hero, .cta-section, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  section, .section {
    margin: 0;
    padding: 0;
  }
}
