@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg:            #FAFAF8;
  --white:         #FFFFFF;
  --dark:          #1C1C1E;
  --accent:        #B5784B;
  --accent-light:  #F2E9DF;
  --accent-dark:   #8A5A34;
  --muted:         #6E6B66;
  --border:        #E5DDD3;

  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w:         1120px;
  --radius:        6px;
  --radius-lg:     12px;

  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-family: var(--font-body); }
p { color: var(--muted); max-width: 60ch; }

/* ── Layout ─────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section--sm { padding: 3rem 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.65); }
.section--tint { background: var(--accent-light); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Real Photos ────────────────────────────────────────── */
.img-photo {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.img-photo--hero    { aspect-ratio: 16/9; }
.img-photo--4x3     { aspect-ratio: 4/3; }
.img-photo--portrait{ aspect-ratio: 3/4; }
.img-photo--fill    { width: 100%; height: 100%; border-radius: 0; }

/* ── Image Placeholders ─────────────────────────────────── */
.img-placeholder {
  background: var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.img-placeholder::after {
  content: attr(data-label);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}
.img-placeholder--hero    { aspect-ratio: 16/9; background: linear-gradient(135deg, #D9C9B8 0%, #C4B09A 100%); }
.img-placeholder--square  { aspect-ratio: 1/1; }
.img-placeholder--4x3     { aspect-ratio: 4/3; }
.img-placeholder--portrait{ aspect-ratio: 3/4; }
.img-placeholder--wide    { aspect-ratio: 21/9; }
.img-placeholder--person  { aspect-ratio: 1/1; border-radius: 50%; background: linear-gradient(135deg, #C4B09A 0%, #B5784B 100%); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex; align-items: center; gap: 2rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--dark); }
.nav__links .nav__cta {
  background: var(--dark);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.nav__links .nav__cta:hover { background: var(--accent); color: var(--white); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center;
}
.nav--open .nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav--open .nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown > a::after { content: ' ↓'; font-size: 0.7rem; opacity: 0.5; }
.nav__dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: -1rem;
  padding-top: 0.75rem;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
/* Invisible bridge fills the gap between trigger and menu so hover isn't lost */
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0; right: 0;
  height: 0.75rem;
}
/* Move the visible padding/border inside, away from the bridge */
.nav__dropdown-menu { padding: 0.75rem 0.5rem 0.5rem; }
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: background 0.15s;
}
.nav__dropdown-menu a:hover { background: var(--accent-light); color: var(--dark); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--dark {
  background: var(--dark);
  color: var(--white);
}
.btn--dark:hover { background: var(--accent); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--outline-white:hover { border-color: var(--white); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.hero__label {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero__title { margin-bottom: 1.5rem; }
.hero__subtitle { font-size: 1.15rem; margin-bottom: 2.5rem; max-width: 50ch; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 4rem; }
.hero__trust {
  display: flex; gap: 2rem; align-items: center;
  font-size: 0.85rem; color: var(--muted);
}
.hero__trust-item { display: flex; align-items: center; gap: 0.4rem; }
.hero__trust-icon { color: var(--accent); font-size: 1rem; }

/* ── Service Cards ───────────────────────────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); transform: translateY(-3px); }
.service-card__icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.service-card__label { margin-bottom: 0.5rem; }
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.service-card p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.service-card a { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.service-card a:hover { text-decoration: underline; }

/* ── Problem/Solution ────────────────────────────────────── */
.problem-list { margin: 1.5rem 0; }
.problem-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.problem-list li::before { content: '—'; color: var(--accent); flex-shrink: 0; }

.solution-block {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding: 2rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 2rem 0;
}
.solution-block p { color: var(--dark); }

/* ── Stats / Results ─────────────────────────────────────── */
.stat-block { text-align: center; padding: 2rem; }
.stat-block__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-block__label { font-size: 0.9rem; color: var(--muted); }

/* ── Testimonial Cards ───────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testimonial-card__stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 0.15em; }
.testimonial-card__text { font-size: 0.95rem; color: var(--dark); margin-bottom: 1.5rem; font-style: italic; max-width: 100%; }
.testimonial-card__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-light); flex-shrink: 0; }
.testimonial-card__name { font-weight: 600; font-size: 0.9rem; }
.testimonial-card__role { font-size: 0.8rem; color: var(--muted); }

/* ── Service Page Layout ─────────────────────────────────── */
.service-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: var(--dark);
  color: var(--white);
}
.service-hero p { color: rgba(255,255,255,0.65); max-width: 55ch; }
.service-hero__badge {
  display: inline-block;
  background: rgba(181,120,75,0.2);
  color: #E6A97A;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.content-block { margin-bottom: 4rem; }
.content-block h3 { margin-bottom: 1rem; }

.outcome-list { margin: 1rem 0; }
.outcome-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.outcome-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

.audience-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin: 0.25rem;
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.65); margin: 0 auto 2.5rem; max-width: 50ch; }

/* ── Contact Form ────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── Trust Badges ────────────────────────────────────────── */
.trust-badge {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; color: var(--muted);
}
.trust-badge__icon { color: var(--accent); font-size: 1.2rem; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__logo span { color: var(--accent); }
.footer__desc { font-size: 0.875rem; margin-bottom: 1.5rem; max-width: 28ch; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s;
  color: rgba(255,255,255,0.55);
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.footer__col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__col ul li { margin-bottom: 0.5rem; }
.footer__col ul li a { font-size: 0.875rem; transition: color 0.2s; }
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a { transition: color 0.2s; }
.footer__bottom-links a:hover { color: var(--white); }

/* ── Section Header ──────────────────────────────────────── */
.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }
.section-header h4 { margin-bottom: 0.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; }

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.divider--center { margin: 1rem auto 1.5rem; }

/* ── Logo Strip ──────────────────────────────────────────── */
.logo-strip { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.logo-placeholder {
  height: 40px;
  width: 110px;
  background: var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--muted); font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__trust { flex-wrap: wrap; gap: 1rem; }

  /* backdrop-filter creates a stacking context that clips fixed children */
  .nav { backdrop-filter: none; background: var(--bg); }

  .nav__hamburger { display: flex; }

  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    inset: 0;
    top: 65px;
    background: var(--bg);
    padding: 2rem 1.5rem 3rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 99;
  }
  .nav--open .nav__links { transform: translateX(0); }

  .nav__links li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav__links > li > a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
  }

  /* CTA button stays styled */
  .nav__links .nav__cta {
    display: inline-flex;
    margin-top: 1.5rem;
    border-radius: 100px;
  }

  /* Flatten the services dropdown inside mobile menu */
  .nav__dropdown > a::after { content: ''; }
  .nav__dropdown-menu {
    display: block !important;
    position: static;
    padding: 0 0 0.75rem 0.75rem;
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
  }
  .nav__dropdown-menu::before { display: none; }
  .nav__dropdown-menu a {
    font-size: 0.9rem;
    color: var(--muted);
    padding: 0.4rem 0;
    border-radius: 0;
  }
  .nav__dropdown-menu a:hover { background: transparent; color: var(--accent); }
}
