:root {
  --terracotta: #C9573A;
  --terracotta-light: #D4715A;
  --cream: #FAF6F0;
  --cream-dark: #F2EDE6;
  --charcoal: #1C1C1E;
  --charcoal-mid: #3D3D3F;
  --charcoal-light: #6B6B6D;
  --accent: #8B6914;
  --border: #E5DED4;
  --success: #2D7A4F;
  --bg: #FAF6F0;
  --fg: #1C1C1E;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}

/* ── UTILITIES ── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.section-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--charcoal-light);
  max-width: 52ch;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 6rem 5% 5rem;
  min-height: 100vh;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--charcoal-mid);
  max-width: 46ch;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-proof {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-num {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.proof-label {
  font-size: 0.72rem;
  color: var(--charcoal-light);
  line-height: 1.3;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Illustration */
.hero-illustration {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 420px;
}

.il-box {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.il-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-light);
}

.il-box--chat { background: linear-gradient(135deg, #fff 0%, #FEF8F5 100%); }
.il-box--site { background: linear-gradient(135deg, #fff 0%, #F5F8F7 100%); }

.il-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.il-msg {
  font-size: 0.7rem;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  line-height: 1.4;
  max-width: 80%;
}

.il-msg--in {
  background: var(--cream-dark);
  color: var(--charcoal);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.il-msg--out {
  background: var(--terracotta);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.il-site-bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.il-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.il-dot:first-child { background: var(--terracotta); }
.il-dot:nth-child(2) { background: #F5A623; }
.il-dot:nth-child(3) { background: var(--success); }

.il-site-hero-bar {
  height: 36px;
  background: var(--cream-dark);
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.il-site-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  flex: 1;
}

.il-site-col {
  background: var(--cream-dark);
  border-radius: 6px;
}

/* ── CHI SIAMO / SERVICES ── */
.chi-siamo {
  background: white;
  padding: 6rem 5%;
}

.chi-siamo-inner { max-width: 1280px; margin: 0 auto; }

.chi-siamo-header {
  text-align: center;
  margin-bottom: 4rem;
}

.chi-siamo-header .section-headline { max-width: 40ch; margin: 0.75rem auto 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,87,58,0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--terracotta);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--charcoal-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-features li {
  font-size: 0.82rem;
  color: var(--charcoal-mid);
  padding-left: 1.25rem;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* ── PER CHI ── */
.per-chi {
  background: var(--charcoal);
  padding: 6rem 5%;
}

.per-chi-inner { max-width: 1280px; margin: 0 auto; }

.per-chi-header { margin-bottom: 3.5rem; }

.per-chi-header .section-eyebrow { color: var(--terracotta-light); }
.per-chi-header .section-headline { color: white; }

.personas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.persona {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.persona-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta-light);
}

.persona-body h4 {
  font-size: 0.95rem;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.persona-body p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ── PRICING ── */
.pricing {
  background: var(--cream);
  padding: 6rem 5%;
  border-top: 1px solid var(--border);
}

.pricing-inner { max-width: 1280px; margin: 0 auto; }

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-header .section-headline { margin-bottom: 0.75rem; }
.pricing-header .section-sub { margin: 0 auto; }

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

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
}

.pricing-card--featured {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: scale(1.03);
}

.pricing-card--featured .pricing-tier,
.pricing-card--featured .pricing-price,
.pricing-card--featured .pricing-desc,
.pricing-card--featured .pricing-features li,
.pricing-card--featured .pricing-note,
.pricing-card--featured h5 { color: white; }

.pricing-card--featured .pricing-note { color: rgba(255,255,255,0.5); }

.pricing-card--featured .pricing-features li::before { background: var(--terracotta-light); }

.pricing-card--featured .pricing-features li { color: rgba(255,255,255,0.75); }

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--charcoal-light);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--charcoal-mid);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  font-size: 0.82rem;
  color: var(--charcoal-mid);
  padding-left: 1.25rem;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

.pricing-note {
  font-size: 0.78rem;
  color: var(--charcoal-light);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.pricing-card--featured .pricing-note {
  border-top-color: rgba(255,255,255,0.1);
}

.pricing-cta {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--charcoal-mid);
}

/* ── CLOSING ── */
.closing {
  background: var(--terracotta);
  padding: 7rem 5%;
}

.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }

.closing-deco {
  width: 60px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin: 0 auto 2.5rem;
}

.closing-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: white;
  margin-bottom: 1.75rem;
  line-height: 1.25;
}

.closing-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 55ch;
  margin: 0 auto 1.25rem;
}

/* ── FOOTER ── */
.footer {
  background: var(--charcoal);
  padding: 4rem 5% 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 5% 3rem;
  }

  .hero-illustration { display: none; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .personas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card--featured { transform: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links { gap: 2rem; }
}

@media (max-width: 600px) {
  .hero-proof { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .proof-divider { display: none; }

  .personas-grid { grid-template-columns: 1fr; }

  .footer-links { flex-direction: column; }
}