/* ─── Design Tokens ─────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Inter:wght@200;300;400;500;700&display=swap');

:root {
  --color-bg:      #f5f2ee;
  --color-primary: #c7927d;
  --color-dark:    #26382b;
  --color-footer:  #eae6de;
  --color-text:    #000000;
  --color-white:   #ffffff;
  --color-cream:   #f5f2ee;

  --font-display: 'Marcellus', serif;
  --font-body:    'Inter', sans-serif;

  --max-width: 1280px;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text);
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
p  {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
@media (min-width: 768px)  { p { font-size: 18px; } }
@media (min-width: 1024px) { p { font-size: 20px; } }

/* ─── Shared Content Width ───────────────────────────────────────────────── */
/* Every inner wrapper: max 1280px, centered, always 20px from screen edges. */
.container,
.header-inner,
.footer-inner,
.cta-inner {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 1300px) {
  .container,
  .header-inner,
  .footer-inner,
  .cta-inner {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ─── CTA Button ─────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-cream);
  border: 3px solid var(--color-primary);
  border-radius: 15px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .btn-primary { padding: 15px 24px; font-size: 24px; width: fit-content!important; }
}

@media (min-width: 350px) {
  .btn-primary {
    font-size: 20px;
  }
}
.btn-primary:hover {
  background-color: var(--color-bg);
  color: var(--color-primary);
}

/* ─── Sticky Header ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* horizontal padding + max-width from shared rule */
  padding-top: 16px;
  padding-bottom: 16px;
}


@media (min-width: 1024px) {
  .header-inner { padding-top: 18px; padding-bottom: 24px; }
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px) {
  .header-brand { align-items: flex-end; gap: 12px; }
}

.header-logo img { width: 48px; height: auto; }
@media (min-width: 768px)  { .header-logo img { width: 70px; } }
@media (min-width: 1024px) { .header-logo img { width: 80px; } }

.header-name { display: flex; flex-direction: column; }

.header-name .name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--color-text);
}
@media (min-width: 768px)  { .header-name .name { font-size: 28px; } }
@media (min-width: 1024px) { .header-name .name { font-size: 35px; letter-spacing: 0.05em; } }

.header-name .title {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--color-text);
}
@media (min-width: 768px)  { .header-name .title { font-size: 16px; } }
@media (min-width: 1024px) { .header-name .title { font-size: 20px; letter-spacing: 0.05em; } }

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  width: 32px;
  height: 32px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
              opacity   0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Hamburger → ✕ morph */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1077px) { .nav-toggle { display: none; } }

/* Nav dropdown — use opacity+transform instead of display:none so transitions fire */
.header-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  padding: 20px 24px;
  gap: 18px;
  list-style: none;
  z-index: 99;
  /* closed state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity   0.25s cubic-bezier(0.4,0,0.2,1),
              transform 0.25s cubic-bezier(0.4,0,0.2,1);
}
.header-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Nav items stagger in */
.header-nav li {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity   0.2s ease,
              transform 0.2s ease;
}
.header-nav.open li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.04s; }
.header-nav.open li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.header-nav.open li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.12s; }
.header-nav.open li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.16s; }
.header-nav.open li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.20s; }

@media (min-width: 1077px) {
  .header-nav {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    gap: 22px;
    box-shadow: none;
    /* reset all animation state for desktop */
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }
  .header-nav li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.header-nav a {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: color 0.15s;
}
@media (min-width: 1024px) { .header-nav a { font-size: 22px; } }

.header-nav a:hover,
.header-nav a.active { text-decoration: underline; }

/* ─── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .hero { flex-direction: row; gap: 20px; }
}

.hero-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-image { flex: 0 0 calc(50% - 20px); width: auto; height: calc(100vh - 108px); }
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px;
}
@media (min-width: 768px) {
  .hero-content { flex: 0 0 calc(50% - 60px); justify-content: center; gap: 10px; }
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

@media (min-width: 1024px) { .hero-heading { font-size: 62px; line-height: 1.12; letter-spacing: 0.02em; } }
@media (min-width: 1100px) { .hero-heading { font-size: 68px; line-height: 1.12; letter-spacing: 0.02em; } }

.hero-subtext {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--color-text);
  font-weight: 200;
  margin-bottom: 12px;
}
@media (min-width: 768px)  { .hero-subtext { font-size: 24px; margin-bottom: 10px; } }
@media (min-width: 1024px) { .hero-subtext { font-size: 32px; letter-spacing: 0.04em; } }

.hero-cta { width: 100%; }
@media (min-width: 1024px) { .hero-cta { max-width: 480px; } }

/* ─── About Intro Section ────────────────────────────────────────────────── */
.about-intro { padding: 10px 0 30px; }
@media (min-width: 768px)  { .about-intro { padding: 60px 0; } }
@media (min-width: 1024px) { .about-intro { padding: 60px 0; } }

.about-intro .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-intro h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.21;
  letter-spacing: 0.03em;
}
@media (min-width: 768px)  { .about-intro h2 { font-size: 32px; line-height: 1.4; } }
@media (min-width: 1024px) { .about-intro h2 { font-size: 40px; line-height: 1.6; } }

.about-intro p {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
@media (min-width: 768px)  { .about-intro p { font-size: 18px; } }
@media (min-width: 1024px) { .about-intro p { font-size: 20px; } }

.about-intro .btn-primary { align-self: center; margin-top: 10px; width: 100%; }
@media (min-width: 768px)  { .about-intro .btn-primary { width: fit-content; } }

/* ─── Services Section ───────────────────────────────────────────────────── */
.services { padding: 0 0 48px; }
@media (min-width: 768px)  { .services { padding: 0 0 60px; } }
@media (min-width: 1024px) { .services { padding: 0 0 60px; } }

.services-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.21;
  letter-spacing: 0.03em;
  text-align: left;
  margin-bottom: 20px;
}
@media (min-width: 768px)  { .services-heading { font-size: 40px;} }
@media (min-width: 1024px) { .services-heading { font-size: 60px; line-height: 1.2; letter-spacing: 0.05em; } }

.services-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  .services-body { flex-direction: row; gap: 40px; align-items: flex-start; }
}

.services-image {
  order: -1;
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .services-image { max-height: 600px; order: 1; min-width: 350px;}
}

@media (min-width: 1024px) {
  .services-image { order: 0; height: auto; max-height: 776px; border-radius: 8px; }
}

.services-image img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 10%; }

.services-text { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .services-text { flex: 0 0 55%; } }

.services-text p {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
@media (min-width: 768px)  { .services-text p { font-size: 18px; } }
@media (min-width: 1024px) { .services-text p { font-size: 20px; line-height: 1.5; } }

.service-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }

.service-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
@media (min-width: 768px)  { .service-list li { font-size: 18px; gap: 14px; } }
@media (min-width: 1024px) { .service-list li { font-size: 20px; line-height: 1.3; } }


.service-list li:hover {
  text-decoration: underline;
}

.service-list li::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
}
@media (min-width: 1024px) { .service-list li::before { width: 8px; height: 8px; } }

/* ─── CTA Banner ─────────────────────────────────────────────────────────── */
/* Full-width background; .cta-inner constrains content to max-width. */
.cta-banner {
  background-color: var(--color-dark);
  padding-top: 64px;
  padding-bottom: 64px;
}
@media (min-width: 768px) { .cta-banner { padding-top: 60px; padding-bottom: 60px; } }

.cta-inner {
  /* horizontal padding + max-width from shared rule */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
@media (min-width: 768px) { .cta-inner { gap: 30px; } }

.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.21;
  color: var(--color-white);
  letter-spacing: 0.03em;
  text-align: center;
}
@media (min-width: 768px)  { .cta-banner h2 { font-size: 32px; } }
@media (min-width: 1024px) { .cta-banner h2 { font-size: 40px; line-height: 1.05; } }

.cta-banner .btn-primary { width: 100%; }
@media (min-width: 768px) { .cta-banner .btn-primary { width: auto; } }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-footer);
  padding-top: 48px;
  padding-bottom: 48px;
}
@media (min-width: 1024px) { .site-footer { padding-top: 50px; padding-bottom: 50px; } }

.footer-inner {
  /* horizontal padding + max-width from shared rule */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}
@media (min-width: 1024px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    min-height: 120px;
    text-align: left;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 1024px) {
  .footer-brand { flex-direction: row; align-items: center; }
}

.footer-logo img { width: 80px; height: auto; }

.footer-name { display: flex; flex-direction: column; align-items: center; }
@media (min-width: 1024px) { .footer-name { align-items: flex-start; } }

.footer-name .name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.025em;
}
@media (min-width: 768px)  { .footer-name .name { font-size: 28px; } }
@media (min-width: 1024px) { .footer-name .name { font-size: 40px; letter-spacing: 0.04em; } }

.footer-name .title,
.footer-name .region {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
@media (min-width: 768px)  { .footer-name .title, .footer-name .region { font-size: 18px; } }
@media (min-width: 1024px) { .footer-name .title, .footer-name .region { font-size: 20px; letter-spacing: 0.05em; line-height: 1.2; } }

.footer-contact { text-align: center; }
@media (min-width: 1024px) { .footer-contact { text-align: right; } }

.footer-contact h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
}
@media (min-width: 768px)  { .footer-contact h3 { font-size: 26px; } }
@media (min-width: 1024px) { .footer-contact h3 { letter-spacing: 0.04em; } }

.footer-contact p {
  font-weight: 200;
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
@media (min-width: 768px)  { .footer-contact p { font-size: 18px; } }
@media (min-width: 1024px) { .footer-contact p { font-size: 20px; } }

.footer-contact a { color: var(--color-text); text-decoration: none; }

/* ─── Generic Page Hero ──────────────────────────────────────────────────── */
.page-hero { padding: 48px 0 40px; }
@media (min-width: 768px)  { .page-hero { padding: 60px 0 48px; } }
@media (min-width: 1024px) { .page-hero { padding: 80px 0 60px; } }

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}
@media (min-width: 768px)  { .page-hero h1 { font-size: 36px; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 56px; } }

.page-hero p { font-weight: 300; font-size: 16px; line-height: 1.5; letter-spacing: 0.03em; margin-bottom: 20px; }
@media (min-width: 768px)  { .page-hero p { font-size: 18px; } }
@media (min-width: 1024px) { .page-hero p { font-size: 20px; margin-bottom: 30px; } }
