﻿:root {
  --c1: #202940;
  --c2: #4B4038;
  --c3: #9A8678;
  --c4: #CAAA98;
  --bg: #f4f1ee;
  --text: #1f2430;
  --muted: #5a5f6b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(32, 41, 64, 0.12);
  --space-xs: 0.5rem;
  --space-sm: 0.9rem;
  --space-md: 1.4rem;
  --space-lg: 2.4rem;
  --space-xl: 4.2rem;
  --font: "Segoe UI", "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #faf7f4 0, #f2ece8 35%, #ece5df 100%);
  line-height: 1.6;
}

a {
  color: var(--c1);
  text-decoration: none;
  transition: color .3s ease, opacity .3s ease;
}

a:hover {
  color: var(--c2);
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 241, 238, 0.95);
  backdrop-filter: blur(7px);
  border-bottom: 1px solid rgba(32, 41, 64, 0.1);
}

.site-header .container {
  padding: 1rem 0 .8rem;
}

.logo-wrap {
  text-align: center;
  margin-bottom: .75rem;
}

.logo {
  display: block;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  padding-bottom: .2rem;
  font-weight: 500;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--c3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.hero-split {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-left,
.hero-right {
  padding: clamp(1.4rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left {
  background: var(--c1);
  color: #fff;
}

.hero-right {
  background: #e9e1dc;
}

.hero-right img {
  width: 100%;
  height: min(68vh, 600px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c4);
  font-size: .82rem;
  margin: 0 0 .5rem;
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}

.hero-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .72rem 1.2rem;
  cursor: pointer;
  font: inherit;
  transition: transform .25s ease, background-color .3s ease, color .3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--c4);
  color: #1e2023;
}

.btn-primary:hover {
  background: #d8b8a8;
}

.btn-ghost {
  border-color: var(--c3);
  color: var(--c1);
  background: transparent;
}

.section {
  width: min(1100px, 92%);
  margin: var(--space-xl) auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--space-lg);
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(32, 41, 64, 0.08);
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(32, 41, 64, 0.17);
  border-color: rgba(154, 134, 120, 0.45);
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.card li {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}

.card.accent {
  background: linear-gradient(160deg, #f6ece6, #efe2d8);
}

.zigzag {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
}

.zig {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
}

.block-a {
  grid-column: 1 / 8;
}

.block-b {
  grid-column: 5 / -1;
}

.timeline-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.step {
  border: 1px solid rgba(32, 41, 64, 0.15);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.85);
  transition: border-color .3s ease, background-color .3s ease;
}

.step:hover {
  border-color: var(--c3);
  background: #fff;
}

.step span {
  font-weight: 700;
  color: var(--c2);
}

.image-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: var(--space-lg);
  align-items: center;
}

.panel-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.text-link {
  font-weight: 600;
  text-decoration: underline;
}

.faq-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.faq {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.faq-accordion {
  display: grid;
  gap: .6rem;
}

.faq-q {
  width: 100%;
  border: 1px solid rgba(32, 41, 64, 0.2);
  background: #fff;
  border-radius: 12px;
  text-align: left;
  font: inherit;
  font-weight: 600;
  padding: .95rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: border-color .25s ease, transform .25s ease;
}

.faq-q:hover {
  border-color: var(--c3);
  transform: translateX(2px);
}

.faq-q.active i {
  transform: rotate(45deg);
}

.faq-q i {
  transition: transform .25s ease;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .35s ease;
  opacity: 0;
  background: #fff;
  border-radius: 10px;
}

.faq-a.open {
  max-height: 150px;
  opacity: 1;
  padding: 0 .95rem .75rem;
}

.cta-band {
  text-align: center;
  background: var(--c1);
  color: #fff;
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
}

.inner-main {
  padding-top: 1rem;
}

.page-hero {
  width: min(900px, 92%);
  margin: 2.2rem auto 1rem;
}

.testimonials-grid,
.card-stack {
  display: grid;
  gap: var(--space-md);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--space-lg);
}

.contact-note {
  margin-top: .9rem;
  border-left: 3px solid var(--c3);
  padding: .7rem .85rem;
  background: #f7f2ee;
  border-radius: 8px;
}

.mini-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.mini-steps article {
  background: #fff;
  border: 1px solid rgba(32, 41, 64, 0.12);
  border-radius: 12px;
  padding: 1rem;
}

label {
  font-weight: 600;
  margin-top: .7rem;
  display: block;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c8ccd4;
  border-radius: 10px;
  padding: .72rem;
  font: inherit;
  transition: border-color .25s ease, box-shadow .25s ease;
}

input:focus,
textarea:focus {
  border-color: var(--c3);
  outline: none;
  box-shadow: 0 0 0 3px rgba(154, 134, 120, 0.2);
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: 1rem 0 .25rem;
  font-weight: 500;
}

.checkbox-line input {
  width: auto;
  margin-top: .25rem;
}

.error {
  color: #9f2335;
  min-height: 1rem;
  display: block;
  font-size: .86rem;
}

.map-wrap {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
}

.legal-page .legal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-page h2 {
  margin-top: 1.6rem;
}

.policy-note {
  background: linear-gradient(140deg, #f4ece6, #efe4dc);
  border: 1px solid rgba(32, 41, 64, 0.1);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.calm-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.fact-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(75, 64, 56, 0.2);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.interactive-planner {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(32, 41, 64, 0.14);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.planner-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: .6rem .9rem;
  align-items: center;
}

.planner-grid input[type="range"] {
  accent-color: var(--c2);
}

.planner-result {
  margin-top: .9rem;
  background: #f2ece7;
  border-radius: 10px;
  padding: .8rem;
  font-weight: 600;
}

.site-footer {
  margin-top: var(--space-xl);
  background: #1e2332;
  color: #e8eaf0;
  padding: 2.2rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr 1fr;
  gap: var(--space-lg);
}

.site-footer a {
  color: #d6dbe9;
  display: block;
  margin-bottom: .4rem;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  margin: 1.4rem 0 0;
  color: #d0d5e3;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: #fff;
  border: 1px solid rgba(32, 41, 64, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: none;
  gap: .8rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 33, .5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem;
  width: min(440px, 100%);
}

.cookie-modal-content label {
  display: block;
  margin: .65rem 0;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: .12s;
}

.delay-2 {
  transition-delay: .2s;
}

@media (max-width: 960px) {

  .hero-split,
  .grid-2,
  .image-panel,
  .faq-wrap,
  .timeline-row,
  .contact-layout,
  .footer-grid,
  .calm-facts,
  .planner-grid,
  .mini-steps {
    grid-template-columns: 1fr;
  }

  .block-a,
  .block-b {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .hero-right img {
    height: 270px;
  }

  .site-header .container {
    padding: .8rem 0;
  }

  .section {
    margin: 2.4rem auto;
  }
}