/* ===================== CSS RESET & NORMALIZATION ===================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
}
body {
  background: #FAFAFA;
  color: #111;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
}

img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 1px;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  background: #fff;
}
th, td {
  border: 1px solid #d4d4d4;
  padding: 12px 18px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #EEE;
  font-weight: 600;
}

blockquote {
  font-style: italic;
  color: #444;
  border-left: 4px solid #222;
  margin: 24px 0;
  padding-left: 18px;
  font-size: 1.15rem;
  background: #F5F5F5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', Times, serif;
  font-weight: 600;
  color: #131313;
  margin-bottom: 0.65em;
  line-height: 1.1;
}
h1 {
  font-size: 2.6rem;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 2rem;
  margin-top: 32px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 20px;
}

strong {
  color: #111;
  font-weight: 700;
}
em {
  font-style: italic;
}

p {
  margin-bottom: 1.3em;
  font-size: 1.04rem;
  color: #202020;
}

hr {
  border: none;
  border-top: 1px solid #DDD;
  margin: 32px 0;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 4px;
  background: #fff;
  color: #222;
}

/* ================== GLOBAL LAYOUT + CONTAINER ================== */
.container {
  width: 100%;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

main {
  flex: 1 1 auto;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
}
.section,
.hero-section,
.features-section,
.services-section,
.about-section,
.testimonials-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =============== HEADER & NAVIGATION =============== */
header {
  width: 100%;
  background: #FAFAFA;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 70;
  box-shadow: 0 2px 8px rgba(66,66,66,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-right: 30px;
}
.main-nav a {
  font-size: 1.09rem;
  font-weight: 400;
  padding: 7px 0;
  color: #323232;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border-color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #293329;
  border-bottom: 2px solid #D6A96D;
}

.cta-btn {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 11px 28px;
  border-radius: 40px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(45,45,45,0.09);
  transition: background 0.13s, color 0.17s, box-shadow 0.2s;
  margin-left: 16px;
  border: 2px solid #111;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: #111;
  border-color: #293329;
  box-shadow: 0 8px 18px rgba(50,50,50,0.15);
}

/* ============= MOBILE MENU ============= */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #131313;
  font-size: 2rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  margin-left: 12px;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  max-width: 400px;
  background: #faf8f4;
  box-shadow: -2px 0 24px rgba(30,30,30,0.13);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.8,0.1,0.3,1);
  z-index: 130;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #1a1a1a;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 20px 26px 0 0;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D6A96D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px 0 0 0;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #1a1a1a;
  padding: 11px 0;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.17s, border-color 0.17s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #293329;
  border-bottom: 1px solid #D6A96D;
}
body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 1020px) {
  header .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-nav {
    gap: 18px;
    margin-right: 18px;
  }
  .cta-btn {
    margin-left: 5px;
    padding: 10px 20px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============= HERO SECTION ============= */
.hero-section {
  background: #fff;
  border-bottom: 1.5px solid #ececec;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 44px;
  padding-bottom: 30px;
}
.hero-section .content-wrapper {
  justify-content: center;
  align-items: flex-start;
}
.hero-section h1 {
  color: #131313;
  font-family: 'Cormorant Garamond', serif;
}
.hero-section p {
  font-size: 1.15rem;
  color: #444;
  max-width: 580px;
}
.hero-section .cta-btn {
  margin-top: 12px;
}

/* ============= FEATURES & SERVICES CARDS ============= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.feature {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(40,40,40,0.07);
  padding: 32px 24px;
  flex: 1 1 280px;
  min-width: 235px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s, border-color 0.18s, background 0.17s;
  margin-bottom: 20px;
  position: relative;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 7px;
}
.feature h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: 0;
}
.feature p {
  font-size: 1.05rem;
  color: #252525;
}
.feature a {
  color: #111;
  background: #F1EFE4;
  border-radius: 22px;
  padding: 8px 23px;
  margin-top: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.07rem;
  transition: background 0.18s, color 0.14s;
  border: 1.5px solid #293329;
}
.feature a:hover,
.feature a:focus {
  background: #293329;
  color: #fff;
}
.feature:hover {
  box-shadow: 0 8px 24px rgba(32,32,32,0.16);
  border-color: #d1c5b3;
  background: #FAFAF6;
  z-index: 2;
}

/* ============= SECTION AND CARD CONTAINERS ============= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 30px 24px;
}

.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;
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F5F8;
  border-radius: 13px;
  box-shadow: 0 4px 20px rgba(50,50,60,0.08);
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card p {
  color: #151515;
  font-size: 1.11rem;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 9px;
}
.testimonial-meta {
  font-size: 0.99rem;
  color: #595959;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  letter-spacing: 0.01em;
}

/* ========== ABOUT/INFO CARDS & ALERTS ========== */
.alert-info {
  background: #EDEEEC;
  color: #161616;
  border-left: 5px solid #293329;
  border-radius: 7px;
  padding: 13px 20px;
  font-size: 1.03rem;
  margin: 14px 0;
}

.quick-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 19px;
}
.quick-links a {
  color: #293329;
  font-weight: 500;
  transition: color 0.15s;
  font-size: 1.01rem;
}
.quick-links a:hover {
  color: #D6A96D;
}

/* ========== FOOTER ========== */
footer {
  background: #181818;
  color: #FAFAFA;
  padding: 32px 0 18px 0;
  box-shadow: 0 -2px 12px rgba(44,44,44,0.08);
  font-size: 1rem;
  margin-top: auto;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
}
.footer-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #E3E3E3;
  font-size: 1.01rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  transition: color 0.15s;
  letter-spacing: 0.01em;
}
.footer-nav a:hover {
  color: #D6A96D;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.footer-brand img {
  width: 31px;
  height: 31px;
}
.footer-brand span {
  color: #b6b6b6;
  font-size: 0.98rem;
  font-family: 'Cormorant Garamond', serif;
}

/* ============== COOKIES CONSENT BANNER ============== */
.cookie-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #222;
  color: #fafafa;
  padding: 24px 20px 22px 20px;
  z-index: 200;
  box-shadow: 0 -8px 32px rgba(30, 30, 30, 0.20);
  font-size: 1.03rem;
  animation: bannerFadeIn 0.5s cubic-bezier(0.8,0.25,0.5,1);
}
@keyframes bannerFadeIn {
  from {transform: translateY(80px);opacity:0;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-banner .banner-content {
  flex: 1 1 0%;
  max-width: 750px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  border-radius: 21px;
  padding: 9px 20px;
  border: none;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  margin-right: 2px;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.14s;
  border: 1px solid #444;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #D6A96D;
  color: #181818;
  box-shadow: 0 2px 12px #0001;
}
.cookie-btn.reject {
  background: #222;
  color: #fafafa;
  border: 1px solid #777; 
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #B5B5B5;
  color: #222;
}
.cookie-btn.settings {
  background: #fff;
  color: #222;
  border: 1px solid #888;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fffbe8;
  color: #181818;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,28,0.62);
  z-index: 299;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.38s cubic-bezier(0.74,0,0.3,1);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #171717;
  border-radius: 18px;
  box-shadow: 0 8px 36px rgba(50,50,50,0.29);
  padding: 40px 30px 32px 30px;
  width: 95vw;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: menuAppear 0.35s cubic-bezier(0.66,0.05,0.18,1);
}
@keyframes menuAppear {
  from {transform: scale(0.98) translateY(40px);opacity:0;}
  to {transform: scale(1) translateY(0);opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-top: 0;
}
.cookie-modal .cookie-list {
  margin-top: 18px;
  margin-bottom: 17px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F5F5F5;
  border-radius: 9px;
  padding: 12px 16px;
}
.cookie-modal .cookie-category span {
  font-size: 1.03rem;
}
.cookie-modal .toggle-switch {
  width: 46px;
  height: 24px;
  border-radius: 12px;
  background: #ccc;
  position: relative;
  display: inline-block;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.21s cubic-bezier(0.8,0.2,0.45,1), background 0.16s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  left: 24px;
  background: #293329;
}
.cookie-modal .toggle-switch input:disabled + .slider {
  background: #D6A96D;
  opacity: 0.64;
}
.cookie-modal .actions {
  margin-top: 13px;
  display: flex;
  gap: 16px;
}

/* ============= TABLES ============= */
table {
  background: #fafbfd;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 3px 13px rgba(60,60,60,0.04);
  overflow: hidden;
  margin-bottom: 30px;
}
th, td {
  font-size: 1rem;
  color: #222;
}

/* ============= MEDIA QUERIES: RESPONSIVE ============= */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature {
    padding: 28px 15px;
    min-width: 170px;
  }
}
@media (max-width: 680px) {
  .hero-section {
    padding: 28px 0 12px 0;
    min-height: 210px;
  }
  .section, .features-section, .services-section, .about-section, .testimonials-section {
    margin-bottom: 33px;
    padding: 24px 5px;
  }
  .content-wrapper {
    gap: 11px;
  }
  .text-section {
    gap: 10px;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 13px;
  }
  .testimonial-card, .card {
    padding: 17px 10px;
    border-radius: 8px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .feature-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  footer .container {
    align-items: flex-start;
    padding-left: 10px;
  }
  .footer-nav {
    gap: 15px;
    flex-wrap: wrap;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.66rem; }
  h2 { font-size: 1.17rem; }
  .cookie-modal { padding: 20px 9px 20px 9px; }
  .cookie-banner { flex-direction: column; gap: 18px; }
  .cookie-banner .banner-content { max-width: 100vw; }
}

/* ============ ELEGANT MICRO-INTERACTIONS ============ */
a, .cta-btn, .feature, .card, .cookie-btn, .mobile-nav a {
  transition: background 0.15s, color 0.13s, box-shadow 0.2s, border-color 0.19s;
}

a:active, .cta-btn:active {
  transform: translateY(1px) scale(0.98);
}
.feature:active, .card:active {
  box-shadow: 0 2px 6px rgba(32,32,32,0.12);
}

/* ==================== FONT-FACE LOAD ==================== */
@font-face {
  font-family: 'Cormorant Garamond';
  src: local('Cormorant Garamond'), local('CormorantGaramond-Regular'), url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&display=swap');
}
@font-face {
  font-family: 'Source Sans Pro';
  src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap');
}

/* ============ UTILITY CLASSES + VISIBILITY ============ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hide-on-mobile {
  display: block;
}
@media (max-width: 620px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* =================HOLISTIC SPACING BETWEEN SECTIONS================= */
section,
.section,
.features-section,
.about-section,
.services-section,
.testimonials-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .content-grid {
  gap: 24px;
}
.card, .feature {
  margin-bottom: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

/* =================== OVERRIDES VIA BRAND MONOCHROME (CRITICAL) =================== */
body {
  background: #FAFAFA;
}
.section, .features-section, .about-section, .services-section, .testimonials-section, .hero-section {
  background: #fff;
}
h1, h2, h3, .cta-btn, .card, .feature, .footer-brand span {
  font-family: 'Cormorant Garamond', serif;
}

/* Highly readable testimonials on light backgrounds */
.testimonial-card {
  background: #FAFAFA;
  border: 1.5px solid #e1e1e1;
  color: #141414;
}
.testimonial-card p,
.testimonial-card .testimonial-meta {
  color: #2a2a2a;
}

/* =================== END CSS =================== */
