:root {
  --color-primary: #E8714F;
  --color-primary-dark: #C85A3B;
  --color-secondary: #4FBDAE;
  --color-secondary-light: #E3F6F3;
  --color-accent: #FFC857;
  --color-bg: #FFFBF6;
  --color-surface: #FFFFFF;
  --color-text: #2E2A26;
  --color-text-light: #6B645C;
  --color-border: #F0E5DA;

  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 12px 30px rgba(232, 113, 79, 0.12);
  --shadow-card: 0 8px 24px rgba(46, 42, 38, 0.06);

  --container-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.7rem, 2.5vw + 1rem, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--color-text-light); }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-heading { text-align: center; max-width: 640px; margin: 0 auto 56px; }

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 10px;
}

.section-lead { font-size: 1.05rem; margin-top: 12px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; flex-shrink: 0; }
.btn .icon path { fill: currentColor; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 246, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  border-color: var(--color-border);
  box-shadow: 0 4px 20px rgba(46, 42, 38, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
}
.logo-mark { font-size: 1.6rem; }
.logo-text em { color: var(--color-primary); font-style: normal; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav ul { display: flex; gap: 28px; }
.main-nav a:not(.btn) {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-text-light);
  transition: color .15s ease;
}
.main-nav a:not(.btn):hover { color: var(--color-primary); }
.nav-cta { padding: 10px 22px; font-size: .9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
}
.hero-lead { font-size: 1.1rem; margin: 20px 0 32px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-art { position: relative; }
.hero-illustration { width: 100%; height: auto; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: -1;
  opacity: .6;
}
.blob-1 { width: 180px; height: 180px; background: var(--color-accent); top: -30px; right: 20px; opacity: .35; }
.blob-2 { width: 140px; height: 140px; background: var(--color-secondary); bottom: -20px; left: 0; opacity: .3; }
.blob-3 { width: 200px; height: 200px; background: var(--color-primary); top: -40px; left: -40px; opacity: .12; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-art { position: relative; }
.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.about-highlights li { font-size: .95rem; color: var(--color-text-light); }
.about-highlights strong { display: block; color: var(--color-primary); font-family: var(--font-heading); font-size: 1.1rem; }

/* Cards / Services */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }

/* Features */
.features { background: var(--color-secondary-light); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}
.feature-emoji { font-size: 2rem; display: block; margin-bottom: 12px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .92rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}
.team-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 18px;
}
.team-role {
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 10px;
}
.team-card p:not(.team-role) { font-size: .93rem; }

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { margin: 28px 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-list .icon { width: 22px; height: 22px; flex-shrink: 0; }

.social-links { display: flex; gap: 14px; margin-bottom: 28px; }
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.social-links a:hover { background: var(--color-accent); transform: translateY(-2px); }
.social-links .icon { width: 20px; height: 20px; }

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 10;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 8px;
}
.form-row input, .form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color .15s ease;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-submit { width: 100%; justify-content: center; }
.form-note { font-size: .8rem; margin-top: 12px; text-align: center; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform .2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* Footer */
.site-footer {
  background: #2E2A26;
  color: #D8D2C9;
  padding: 48px 0;
}
.site-footer .logo { color: #fff; }
.site-footer .logo-text em { color: var(--color-accent); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: .9rem; color: #D8D2C9; }
.footer-links a:hover { color: var(--color-accent); }
.footer-copy { width: 100%; font-size: .8rem; color: #9A9188; text-align: center; margin-top: 8px; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-inner {
    grid-template-columns: 1fr;
  }
  .about-inner { text-align: left; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .about-art { max-width: 260px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 12px 24px rgba(46,42,38,.08);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; }
  .main-nav ul { flex-direction: column; gap: 16px; }
  .nav-cta { text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
}
