:root {
  --cream: #f6f1e4;
  --cream-deep: #efe6d4;
  --paper: #fffaf3;
  --coral: #e07a5a;
  --coral-deep: #c96548;
  --peach: #f0b49a;
  --mint: #9ec9c4;
  --sky: #b7d5e3;
  --cloud: #cfe4ee;
  --ink: #2f2b28;
  --ink-soft: #5c554e;
  --muted: #8a8178;
  --line: rgba(47, 43, 40, 0.1);
  --shadow: 0 18px 50px rgba(47, 43, 40, 0.08);
  --radius: 24px;
  --header-h: 76px;
  --font: "Poppins", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.03em; margin: 0 0 0.55em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 228, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  background: rgba(255, 250, 243, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(47, 43, 40, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(47, 43, 40, 0.08);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 1.02rem; font-weight: 700; }
.logo-text em { font-style: normal; font-size: 0.72rem; color: var(--ink-soft); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.nav a:hover, .nav a:focus-visible { color: var(--ink); }

.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  position: relative;
  margin-left: auto;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.2s ease;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 25px; }
body.nav-open .menu-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fffaf3; }
.btn-dark:hover { background: #1f1c1a; }
.btn-coral { background: var(--coral); color: #fffaf3; }
.btn-coral:hover { background: var(--coral-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(47, 43, 40, 0.22); }
.btn-outline:hover { background: #fff; }
.btn-whatsapp { background: #215c45; color: #f4faf6; }
.btn-lg { padding: 14px 26px; }
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 36px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.hero-copy .tagline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--ink);
  max-width: 22em;
}
.hero-copy .lead { color: var(--ink-soft); max-width: 34em; }
.hero h1 span { display: block; color: var(--coral); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 22px; }
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-chips li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-media img {
  width: 100%;
  border-radius: 32px 32px 80px 32px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* About */
.about { padding: 90px 0; background: var(--paper); }
.about-grid, .clients-grid, .process-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media img, .clients-media img, .process-media img, .contact-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.about-copy p, .clients-copy p { color: var(--ink-soft); }
.about-points {
  list-style: none;
  padding: 16px 0 0;
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
}
.about-points li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-weight: 500;
  color: var(--ink);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 8px 0 0 var(--mint);
}

/* Clients */
.clients { padding: 90px 0; }
.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.client-tags li {
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--line);
}
.client-names { font-size: 0.95rem; }

/* Services */
.services { padding: 90px 0; background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-note { color: var(--ink-soft); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 26px 24px 28px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: var(--line);
}
.service-num {
  display: block;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.service-card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* Portfolio */
.portfolio { padding: 90px 0; }
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.work-card:hover { transform: translateY(-6px); }
.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.work-meta { padding: 20px 22px 24px; }
.work-meta p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.portfolio-cta { margin: 36px 0 0; text-align: center; }

/* Process */
.process { padding: 90px 0; background: var(--paper); }
.steps { list-style: none; padding: 0; margin: 8px 0 0; }
.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.step-num { font-weight: 700; color: var(--coral); font-size: 1.1rem; padding-top: 2px; }
.steps h3 { margin: 0 0 4px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Why */
.why { padding: 90px 0; background: var(--ink); color: var(--cream); }
.why .kicker { color: var(--peach); }
.why h2 { color: #fffaf3; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-grid article {
  border: 1px solid rgba(246, 241, 228, 0.14);
  border-radius: 20px;
  padding: 24px 20px;
  background: rgba(255, 250, 243, 0.04);
}
.stat {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--peach);
  margin: 0 0 6px;
  letter-spacing: -0.03em;
}
.stat-grid p:last-child { margin: 0; color: rgba(246, 241, 228, 0.8); font-size: 0.95rem; }

/* Contact */
.contact { padding: 90px 0; }
.contact-copy > p { color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 8px 0 24px; }
.contact-list li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--coral);
}
.contact-list a { font-weight: 600; }
.contact-list a:hover { color: var(--coral); }
.placeholder-note {
  display: inline-block;
  margin-left: 6px;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 36px;
  background: var(--cream-deep);
}
.footer-inner { display: grid; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand p { margin: 2px 0 0; font-size: 0.88rem; color: var(--ink-soft); font-weight: 400; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--ink-soft); font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-note { margin: 0; font-size: 0.82rem; color: var(--muted); }

@media (max-width: 960px) {
  .hero-grid, .about-grid, .clients-grid, .process-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-grid, .stat-grid { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
  .hero-media { order: -1; }
  .clients-media, .process-media { order: -1; }
}

@media (max-width: 760px) {
  .container { width: min(1160px, calc(100% - 32px)); }
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: rgba(255, 250, 243, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .nav { display: flex; }
  .nav a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero, .about, .clients, .services, .portfolio, .process, .why, .contact { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 24px; }
  .service-grid, .stat-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .hero-media img { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .work-card, .service-card { transition: none; }
}
