/* ========== CSS RESET & NORMALIZE ========== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}

/* ========== ROOT VARIABLES FOR WARM_FRIENDLY ========== */
:root {
  --color-primary: #374A3D;
  --color-secondary: #BDA37A;
  --color-accent: #FFFFFF;
  --color-bg: #F6F3ED;
  --color-warm1: #FFF7EE;
  --color-warm2: #F3E6D4;
  --color-warm3: #ECD3B6;
  --color-shadow: rgba(189,163,122,0.13);
  --border-radius: 18px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

@media (max-width: 1200px) {
  html { font-size: 15px; }
}
@media (max-width: 768px) {
  html { font-size: 14px; }
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-primary);
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 22px; }
h3 { font-size: 1.33rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol { font-size: 1rem; }
strong, b { font-weight: 700; color: var(--color-primary); }
.text-section h2 {
  color: var(--color-secondary);
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.12rem; }
}

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-warm1);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px var(--color-shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .18s cubic-bezier(.5,1,.4,1),box-shadow .2s;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 6px 32px rgba(189,163,122,0.23);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 24px;
  font-size: 1.1rem;
  color: #422c18;
  border-left: 5px solid var(--color-secondary);
  transition: box-shadow .2s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px rgba(189,163,122,0.25);
}
.testimonial-card span {
  font-size: 0.95rem;
  color: var(--color-secondary);
  font-family: var(--font-display);
  margin-top: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Grid-alternative for services cards on homepage */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.services-grid > div {
  background: var(--color-warm2);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 16px var(--color-shadow);
  padding: 28px 22px 22px 22px;
  flex: 1 1 266px;
  min-width: 260px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .18s, transform .15s;
}
.services-grid > div:hover {
  box-shadow: 0 8px 32px rgba(189,163,122,0.21);
  transform: translateY(-2px) scale(1.012);
}

/* Pricing highlight */
.starting-price {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  background: var(--color-warm3);
  padding: 8px 18px;
  border-radius: 30px;
  align-self: flex-start;
  box-shadow: 0 1px 6px rgba(189,163,122,0.14);
  margin-top: 12px;
}

.map-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-warm2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}
/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--color-accent);
  box-shadow: 0 3px 20px var(--color-shadow);
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  margin-bottom: 22px;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 78px;
  padding: 0 20px;
}
.logo img {
  height: 44px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: 10px;
  transition: background .18s, color .18s;
}
nav a:hover,
nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 32px;
  box-shadow: 0 2px 10px var(--color-shadow);
  cursor: pointer;
  transition: background .17s, color .17s, transform .13s;
  border: none;
  outline: none;
  display: inline-block;
}
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.btn-primary:hover, .btn-primary:focus {
  background: #9d8052;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 18px rgba(189,163,122,0.23);
}
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-accent);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #5f7d61;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 24px rgba(55,74,61,0.20);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-accent);
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 1.4rem;
  margin-left: 8px;
  border: none;
  box-shadow: 0 2px 6px var(--color-shadow);
  transition: background .14s, color .14s, transform .11s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #9d8052;
  transform: scale(1.08);
  color: var(--color-accent);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,240,230,0.98);
  z-index: 199;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform .34s cubic-bezier(.44,.23,.52,.91),
    opacity .23s;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-secondary);
  position: absolute;
  top: 26px;
  right: 34px;
  z-index: 12;
  padding: 10px 18px;
  cursor: pointer;
}
.mobile-menu-close:hover {
  color: var(--color-primary);
  background: rgba(189,163,122,0.14);
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  overflow-y: auto;
  padding: 78px 38px 40px 30px;
  margin-top: 0;
  height: 100vh;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding: 10px 0 10px 0;
  color: var(--color-primary);
  border-radius: 0 12px 12px 0;
  min-width: 180px;
  transition: color .14s, background .13s;
}
.mobile-nav a:hover {
  color: var(--color-accent);
  background: var(--color-secondary);
  padding-left: 12px;
}

/* HEADER RESPONSIVITY */
@media (max-width: 992px) {
  header .container {
    gap: 5px;
  }
  nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: 0;
  }
}
/* Only on desktop: show nav, hide burger */
@media (min-width: 769px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none!important;
  }
  nav {
    display: flex;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  background: var(--color-warm2);
  border-radius: var(--border-radius);
  margin-bottom: 48px;
  padding: 53px 0;
  box-shadow: 0 4px 32px var(--color-shadow);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  text-align: center;
  color: var(--color-primary);
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.hero p {
  max-width: 480px;
  text-align: center;
  margin: 0 auto 24px auto;
  color: #43361e;
  font-size: 1.18rem;
}
.hero .btn {
  font-size: 1.13rem;
  margin: 0 auto;
  display: block;
}
@media (max-width: 768px) {
  .hero {
    padding: 27px 0 23px 0;
    margin-bottom: 28px;
  }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 1rem; }
}

/* ========== LISTS (feature, icons, etc.) ========== */
ul, ol {
  margin-left: 1.1em;
  margin-bottom: 16px;
  padding-left: 0;
}
ul li,
ol li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  font-size: 1.05rem;
  gap: 12px;
}
ul li img,
ol li img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}
ol {
  list-style-type: decimal;
  margin-left: 1.4em;
}
ol li {
  align-items: flex-start;
}
ul li strong, ol li strong {
  color: var(--color-secondary);
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 34px 0 24px 0;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  margin-top: 70px;
  box-shadow: 0 -2px 16px var(--color-shadow);
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-size: 1.23rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
}
.footer-links a {
  color: var(--color-accent);
  transition: color .12s;
  opacity: .92;
  padding: 4px 0;
  border-radius: 7px;
}
.footer-links a:hover {
  color: var(--color-secondary);
}
.contact-info {
  font-size: 0.97rem;
  margin-bottom: 10px;
}
.contact-info a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color .16s;
}
.contact-info a:hover { color: var(--color-accent); } 
.social-links {
  margin-top: 8px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-links img {
  width: 30px;
  height: 30px;
  border-radius: 40%;
  box-shadow: 0 2px 7px var(--color-shadow);
  transition: transform .13s, box-shadow .13s;
}
.social-links a:hover img {
  transform: scale(1.14);
  box-shadow: 0 4px 16px rgba(189,163,122,0.30);
}
.legal-links {
  font-size: 0.93rem;
  margin-top: 20px;
  color: var(--color-warm3);
  opacity: 0.82;
}
.legal-links a {
  color: var(--color-warm3);
  text-decoration: underline;
  transition: color .13s;
}
.legal-links a:hover {
  color: var(--color-secondary);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}

/* ========== LEGAL & COOKIE NOTICE ========== */
.legal {
  background: var(--color-warm1);
  border-radius: var(--border-radius);
  padding: 38px 22px;
  margin-bottom: 42px;
}
.text-section {
  background: var(--color-accent);
  border-radius: var(--border-radius);
  padding: 28px 18px;
  box-shadow: 0 2px 14px var(--color-shadow);
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-warm3);
  color: var(--color-primary);
  box-shadow: 0 -2px 16px rgba(189,163,122,0.16);
  z-index: 299;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 22px 12px;
  font-size: 1rem;
  transition: transform .28s, opacity .22s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-message {
  flex: 1 1 auto;
  max-width: 570px;
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
}
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 2em;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 28px;
  background: var(--color-primary);
  color: var(--color-accent);
  cursor: pointer;
  transition: background .15s, color .12s;
  margin-right: 0;
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cookie-banner .cookie-btn.accept {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-banner .cookie-btn.reject {
  background: #fff0db;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .cookie-btn:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 10px;
  }
  .cookie-banner .cookie-message {
    margin-right: 0;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 7px;
    justify-content: flex-end;
  }
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  z-index: 4000;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 430px;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--border-radius);
  box-shadow: 0 7px 60px rgba(71,52,27,0.28);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  transition: opacity .22s, transform .22s;
  padding: 34px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.hide {
  transform: translate(-50%,-42%) scale(0.84);
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-title {
  font-size: 1.22rem;
  font-family: var(--font-display);
  color: var(--color-secondary);
  margin-bottom: 13px;
}
.cookie-modal .modal-category {
  font-weight: 600;
  margin-bottom: 7px;
}
.cookie-modal .modal-switch-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
/* Switch Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e4dbc4;
  border-radius: 32px;
  transition: background .17s;
}
.switch input:checked + .switch-slider {
  background: var(--color-secondary);
}
.switch-slider:before {
  content: "";
  position: absolute;
  left: 4px; top: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .17s;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(17px);
}
/* Modal close btn */
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 2rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
}
.cookie-modal-close:hover {
  background: #fff0db;
  border-radius: 20px;
  color: var(--color-primary);
}

@media (max-width: 480px){
  .cookie-modal {
    padding: 20px 10px 22px 10px;
  }
}

/* ========== FORM FIELDS & INPUTS ========== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid var(--color-secondary);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 16px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(189,163,122,0.09);
  transition: border .12s, box-shadow .12s;
}
input:focus, textarea:focus, select:focus {
  outline: none !important;
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 2px 18px rgba(55,74,61,0.09);
}
label { font-size: 0.99rem; color: var(--color-primary); display: block; margin-bottom: 3px; }

/* ========== UTILITY CLASSES & SPACING ========== */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.pb-40 { padding-bottom: 40px; }

/* Remove underline for emails but underline on hover */
a[href^="mailto:"] { text-decoration: none; border-bottom: 1px dotted var(--color-secondary); }
a[href^="mailto:"]:hover { color: var(--color-primary); text-decoration: underline; }

/* Responsive Flex Direction for Key Sections */
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .services-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .hero .container {
    padding: 0 8px;
  }
}

/* ========== SECTION SPACING RULES ========== */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  border-radius: var(--border-radius);
}
section:last-of-type {
  margin-bottom: 0;
}


/* ========== MICRO-ANIMATIONS & INTERACTIVES ========== */
a, button, .btn {
  transition: background .14s, color .14s, transform .14s, box-shadow .14s;
}

/* ========== OVERRIDES & EDGE-CASE FIXES ========== */
@media (max-width: 420px) {
  .container { padding: 0 6px; }
  .services-grid > div {
    min-width: 90vw;
    max-width: 100vw;
    padding: 18px 6vw;
  }
}
/* Spacing fix for testimonials when stacked */
.testimonial-card + .testimonial-card { margin-top: 18px; }

/* Prevent overlaps, always space at least 20px */
.card, .testimonial-card, .services-grid > div, .content-section, .feature-item, .section {
  margin-bottom: 20px;
}

/* ========== PRINT FRIENDLY ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #111; }
}

/* END OF WARM_FRIENDLY NADAHNUTI DOM CSS */
