/* =========================================================
   Néctar Agency — estilos
   Paleta y tipografías según manual de marca
   ========================================================= */

:root {
  /* Paleta de marca */
  --miel: #D99A2B;
  --golden: #F2B84B;
  --sunset: #E86F45;
  --terracota: #A84935;
  --crema: #FAF3E7;
  --cacao: #302316;

  /* Derivados */
  --cacao-deep: #1F160D;
  --cacao-soft: #3B2C1D;
  --cacao-line: rgba(250, 243, 231, 0.12);
  --crema-dim: rgba(250, 243, 231, 0.72);
  --crema-mute: rgba(250, 243, 231, 0.5);
  --crema-warm: #F4E8D4;
  --ink: #302316;
  --ink-soft: rgba(48, 35, 22, 0.72);
  --ink-line: rgba(48, 35, 22, 0.14);
  --terracota-text: #94402E; /* terracota oscurecido para texto sobre crema (AA) */

  --grad-gold: linear-gradient(100deg, var(--golden) 0%, var(--miel) 45%, var(--sunset) 100%);
  --grad-warm: linear-gradient(135deg, var(--miel) 0%, var(--sunset) 60%, var(--terracota) 100%);

  /* Tipografía */
  --font-display: "Bodoni FLF", "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 150px);
  --radius: 22px;
  --radius-sm: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--crema);
  background: var(--cacao);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--golden); color: var(--cacao); }

:focus-visible {
  outline: 2px solid var(--golden);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--golden);
  color: var(--cacao);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Superficies ---------- */
.section--dark {
  position: relative;
  background: var(--cacao);
  color: var(--crema);
  padding-block: var(--section-y);
}

.section--light {
  position: relative;
  background: var(--crema);
  color: var(--ink);
  padding-block: var(--section-y);
}

/* textura de sombras de hojas (del mockup de marca) */
.textured { isolation: isolate; }
.textured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/textura-hojas.webp") center top / cover no-repeat;
  opacity: 0.85;
  pointer-events: none;
}
.textured--soft::before { opacity: 0.45; }

/* grano sutil sobre secciones oscuras */
.section--dark::after,
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--dark > *,
.footer > * { position: relative; z-index: 1; }

/* ---------- Tipografía ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 0.55em;
  text-wrap: balance;
}
.section-title em { font-style: italic; }
.section--light .section-title em { color: var(--terracota-text); }

.text-gradient {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--golden);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section--light .eyebrow { color: var(--terracota-text); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p:not(.eyebrow) { color: var(--crema-dim); }
.section--light .section-head p:not(.eyebrow) { color: var(--ink-soft); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px 64px;
  align-items: end;
}
.section-head--split .section-title { margin-bottom: 0; }

.link {
  color: var(--golden);
  text-underline-offset: 4px;
}

/* ---------- Botones ---------- */
.btn {
  --pad-y: 12px;
  --pad-x: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn span[aria-hidden] { transition: transform 0.35s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }

.btn--gold {
  background: var(--grad-gold);
  color: var(--cacao);
  box-shadow: 0 8px 28px -10px rgba(232, 111, 69, 0.6);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(232, 111, 69, 0.75);
}

.btn--ghost {
  border-color: rgba(250, 243, 231, 0.3);
  color: var(--crema);
  background: rgba(250, 243, 231, 0.04);
}
.btn--ghost:hover { border-color: var(--golden); color: var(--golden); }

.btn--dark { background: var(--cacao); color: var(--crema); }
.btn--dark:hover { background: var(--terracota); transform: translateY(-2px); }

.btn--lg { --pad-y: 16px; --pad-x: 30px; font-size: 1rem; }
.btn--sm { --pad-y: 8px; --pad-x: 16px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 10px;
  border: 1px solid var(--cacao-line);
  border-radius: 999px;
  background: rgba(250, 243, 231, 0.05);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--crema-dim);
  margin-bottom: 28px;
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--golden);
  box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.2);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(242, 184, 75, 0); }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 100;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 10px 10px 24px;
  border: 1px solid rgba(250, 243, 231, 0.1);
  border-radius: 999px;
  background: rgba(31, 22, 13, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background-color 0.4s, box-shadow 0.4s, padding 0.4s var(--ease);
}
.site-header.is-scrolled .nav {
  background: rgba(31, 22, 13, 0.85);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}

.nav__logo { flex: none; margin-right: auto; }
.nav__logo img { width: 150px; height: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--crema-dim);
  transition: color 0.25s, background-color 0.25s;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--crema); background: rgba(250, 243, 231, 0.08); }
.nav__links-cta { display: none; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 243, 231, 0.08);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--crema);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 100px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 75% 45%, #4A3220 0%, var(--cacao) 55%, var(--cacao-deep) 100%);
}

.hero__glow {
  position: absolute;
  width: 760px;
  height: 760px;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 184, 75, 0.32) 0%, rgba(232, 111, 69, 0.14) 40%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

.hero__dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(242, 184, 75, 0.28) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 70% 50%, #000 0%, transparent 70%);
  opacity: 0.6;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero__title em {
  display: block;
  font-style: italic;
  padding-bottom: 0.08em; /* evita cortar descendentes con background-clip */
}

.hero__lead {
  max-width: 540px;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  font-weight: 300;
  color: var(--crema-dim);
  margin-bottom: 40px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 520px;
  width: 100%;
  justify-self: center;
}
.hero__drop {
  position: relative;
  z-index: 2;
  width: 58%;
  filter: drop-shadow(0 30px 50px rgba(232, 111, 69, 0.35));
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
.hero__shadow {
  position: absolute;
  bottom: 6%;
  width: 34%;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent);
  animation: shadow 6s ease-in-out infinite;
}
.hero__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(242, 184, 75, 0.18);
}
.hero__ring--1 { inset: 4%; animation: spin 40s linear infinite; border-style: dashed; }
.hero__ring--2 { inset: 18%; border-color: rgba(250, 243, 231, 0.08); }

@keyframes float {
  0%, 100% { transform: translateY(-10px) rotate(-2deg); }
  50% { transform: translateY(12px) rotate(2deg); }
}
@keyframes shadow {
  0%, 100% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(250, 243, 231, 0.35);
  border-radius: 999px;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--golden);
  animation: scroll 2s var(--ease) infinite;
}
@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* =========================================================
   CLIENTES
   ========================================================= */
.clients {
  padding-block: 56px 72px;
  background: var(--cacao-deep);
  border-block: 1px solid var(--cacao-line);
}
.clients__title {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 0.98rem;
  color: var(--crema-mute);
}
.clients__title strong { color: var(--crema-dim); font-weight: 500; }

.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  flex: none;
  display: flex;
  gap: 20px;
  padding-right: 20px;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

.logo-ph {
  display: grid;
  place-items: center;
  min-width: 190px;
  height: 72px;
  padding-inline: 24px;
  border: 1px dashed rgba(250, 243, 231, 0.18);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--crema-mute);
  white-space: nowrap;
}

/* =========================================================
   NOSOTROS
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about__intro > p:not(.eyebrow) { color: var(--ink-soft); max-width: 560px; }
.about__intro strong { color: var(--ink); font-weight: 600; }

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.about__tags span {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cacao);
  color: var(--crema);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}
.about__tags span:last-child { background: var(--terracota); }

.about__cards { display: grid; gap: 20px; }

.mv-card {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -40px rgba(48, 35, 22, 0.45);
}
.mv-card--accent { margin-left: clamp(0px, 4vw, 48px); }
.mv-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracota-text);
  margin-bottom: 10px;
}
.mv-card__text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.3;
  color: var(--ink);
}
.mv-card blockquote {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--miel);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* =========================================================
   ESPECIALIDADES
   ========================================================= */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.spec-card {
  position: relative;
  padding: 32px 28px 36px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(250, 243, 231, 0.06), rgba(250, 243, 231, 0.02));
  border: 1px solid var(--cacao-line);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.spec-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(242, 184, 75, 0.28), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.spec-card:hover { transform: translateY(-6px); border-color: rgba(242, 184, 75, 0.4); }
.spec-card:hover::before { opacity: 1; }

.spec-card__num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(250, 243, 231, 0.12);
}
.spec-card__icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  margin-bottom: 44px;
  border-radius: 14px;
  background: var(--grad-gold);
  fill: none;
  stroke: var(--cacao);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spec-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.spec-card p { color: var(--crema-dim); font-size: 0.98rem; margin: 0; position: relative; }

.inline-cta {
  margin: 48px 0 0;
  text-align: center;
  color: var(--crema-dim);
}
.inline-cta a {
  color: var(--golden);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 184, 75, 0.4);
  transition: border-color 0.3s;
}
.inline-cta a:hover { border-color: var(--golden); }

/* =========================================================
   PROPUESTA DE VALOR
   ========================================================= */
.value__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.value__logo {
  position: relative;
  padding: clamp(24px, 5vw, 56px);
}
.value__logo::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 184, 75, 0.35), transparent);
  z-index: -1;
}
.value__quote {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 28px;
  text-wrap: balance;
}
.value__quote em { display: block; font-style: italic; color: var(--terracota-text); }
.value__grid p:not(.eyebrow) { color: var(--ink-soft); max-width: 520px; }
.value__note {
  display: inline-block;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--cacao);
  color: var(--crema) !important;
  font-weight: 500;
}

/* =========================================================
   CÓMO AYUDAMOS
   ========================================================= */
.help__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.help__head { position: sticky; top: 120px; margin-bottom: 0; }

.help__list { counter-reset: none; }
.help-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 30px 8px;
  border-top: 1px solid var(--cacao-line);
  transition: padding 0.45s var(--ease), background-color 0.4s;
}
.help-item:last-child { border-bottom: 1px solid var(--cacao-line); }
.help-item:hover { padding-left: 22px; background: linear-gradient(90deg, rgba(242, 184, 75, 0.08), transparent 70%); }
.help-item__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--golden);
}
.help-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 6px;
  transition: color 0.3s;
}
.help-item:hover h3 { color: var(--golden); }
.help-item p { margin: 0; color: var(--crema-dim); }

.services {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--cacao-line);
  background: rgba(250, 243, 231, 0.03);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.services__label {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--golden);
}
.services__list { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.services__list li {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(250, 243, 231, 0.18);
  font-size: 0.88rem;
  color: var(--crema-dim);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.services__list li:hover { background: var(--crema); color: var(--cacao); border-color: var(--crema); }

/* =========================================================
   EQUIPO
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.team-card {
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 50px -36px rgba(48, 35, 22, 0.5);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(48, 35, 22, 0.55); }

.team-card__photo {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: var(--grad-warm);
  position: relative;
  overflow: hidden;
}
.team-card:nth-child(3n+2) .team-card__photo { background: linear-gradient(135deg, var(--golden), var(--miel)); }
.team-card:nth-child(3n) .team-card__photo { background: linear-gradient(135deg, var(--terracota), var(--cacao)); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.team-card__ph {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-style: italic;
  color: rgba(250, 243, 231, 0.92);
}
.team-card__body { padding: 24px 26px 28px; }
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.2;
}
.team-card__role {
  margin: 4px 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracota-text);
}
.team-card__body p:last-child { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

.team-card--lead {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
}
.team-card--lead .team-card__photo { aspect-ratio: auto; min-height: 320px; }
.team-card--lead .team-card__body {
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-card--lead h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.team-card--lead .team-card__body p:last-child { font-size: 1.05rem; max-width: 520px; }

/* =========================================================
   VALORES
   ========================================================= */
.values { background: var(--cacao-deep); }
.values__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.values__head { position: sticky; top: 120px; margin-bottom: 0; }

.value-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--cacao-line);
}
.value-row:last-child { border-bottom: 1px solid var(--cacao-line); }
.value-row h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.05em;
}
.value-row p { margin: 0; color: var(--crema-dim); }

/* =========================================================
   INSTAGRAM
   ========================================================= */
.insta__handle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 20px 40px -30px rgba(48, 35, 22, 0.5);
}
.insta__handle svg,
.contact__channels svg,
.wa-float svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.insta__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.insta__post {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grad-warm);
  text-decoration: none;
  transition: transform 0.5s var(--ease);
}
.insta__post::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/gota.webp") center 45% / 30% auto no-repeat;
  opacity: 0.45;
  transition: transform 0.6s var(--ease);
}
.insta__post--2 { background: linear-gradient(160deg, var(--cacao), var(--terracota)); }
.insta__post--3 { background: linear-gradient(160deg, var(--golden), var(--sunset)); }
.insta__post--4 { background: linear-gradient(160deg, var(--terracota), var(--cacao-deep)); }
.insta__post span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 22, 13, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--crema);
  font-size: 0.78rem;
  font-weight: 600;
}
.insta__post:hover { transform: translateY(-6px); }
.insta__post:hover::before { transform: scale(1.15); }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-item {
  border-top: 1px solid var(--cacao-line);
}
.faq-item:last-child { border-bottom: 1px solid var(--cacao-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250, 243, 231, 0.25);
  background:
    linear-gradient(var(--golden), var(--golden)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--golden), var(--golden)) center / 1.5px 12px no-repeat;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--golden); }
.faq-item p {
  margin: 0;
  padding: 0 56px 26px 0;
  color: var(--crema-dim);
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contact {
  position: relative;
  padding-block: var(--section-y);
  color: var(--cacao);
  overflow: hidden;
  isolation: isolate;
}
.contact__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    url("../img/textura-hojas.webp") center / cover,
    var(--grad-gold);
  background-blend-mode: multiply;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.contact__copy { position: relative; }
.contact__drop {
  width: 70px;
  margin-bottom: 24px;
  filter: drop-shadow(0 12px 20px rgba(48, 35, 22, 0.35));
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.02;
  margin-bottom: 18px;
  text-wrap: balance;
}
.contact__lead {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 36px;
  max-width: 420px;
}
.contact__channels { display: grid; gap: 12px; }
.contact__channels a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  text-decoration: none;
}
.contact__channels svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: var(--cacao);
  stroke: var(--golden);
  transition: transform 0.35s var(--ease), background-color 0.3s;
}
.contact__channels a:hover svg { transform: scale(1.08); background: var(--terracota); stroke: var(--crema); }
.contact__channels a:hover span { text-decoration: underline; text-underline-offset: 4px; }

.contact-form {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  background: var(--crema);
  box-shadow: 0 40px 80px -40px rgba(48, 35, 22, 0.6);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.15;
}
.contact-form__hint { margin: 6px 0 24px; font-size: 0.92rem; color: var(--ink-soft); }

.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label,
.field legend {
  display: block;
  padding: 0;
  margin-bottom: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--miel);
  box-shadow: 0 0 0 4px rgba(217, 154, 43, 0.2);
}
.field input[aria-invalid="true"] { border-color: var(--terracota); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 500;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover span { border-color: var(--miel); }
.chip input:checked + span { background: var(--cacao); border-color: var(--cacao); color: var(--crema); }
.chip input:focus-visible + span { outline: 2px solid var(--miel); outline-offset: 2px; }

.form-error {
  margin: -4px 0 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--terracota-text);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  background: var(--cacao-deep);
  color: var(--crema-dim);
  padding-top: clamp(64px, 8vw, 96px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand img { width: 150px; margin-bottom: 20px; }
.footer__brand p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--crema);
}
.footer h4 {
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--golden);
}
.footer__col li { margin-bottom: 10px; font-size: 0.95rem; }
.footer__col a { text-decoration: none; transition: color 0.25s; }
.footer__col a:hover { color: var(--crema); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--cacao-line);
  font-size: 0.85rem;
  color: var(--crema-mute);
}
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--crema); }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--cacao);
  box-shadow: 0 14px 30px -10px rgba(232, 111, 69, 0.7);
  transform: translateY(120px);
  transition: transform 0.5s var(--ease);
}
.wa-float.is-visible { transform: none; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; stroke-width: 1.8; }

/* =========================================================
   Animación de entrada
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav { padding: 8px 8px 8px 20px; }

  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(250, 243, 231, 0.1);
    background: rgba(31, 22, 13, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav__links-cta { display: block; margin-top: 8px; }
  .nav__links-cta .btn { width: 100%; color: var(--cacao); }
  .nav__links-cta .btn:hover { background: var(--grad-gold); }

  .hero { padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { order: -1; max-width: 300px; justify-self: start; margin-bottom: -20px; }
  .hero__glow { width: 520px; height: 520px; right: auto; left: -20%; top: 22%; }
  .hero__dots { -webkit-mask-image: radial-gradient(ellipse 70% 40% at 30% 25%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 40% at 30% 25%, #000, transparent 70%); }
  .hero__scroll { display: none; }

  .about__grid,
  .value__grid,
  .help__grid,
  .values__grid,
  .faq__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .help__head,
  .values__head { position: static; }
  .value__logo { max-width: 380px; margin-inline: auto; }
  .mv-card--accent { margin-left: 0; }

  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .insta__handle { justify-self: start; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card--lead { grid-column: span 2; grid-template-columns: 1fr; }
  .team-card--lead .team-card__photo { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero__visual { max-width: 220px; }
  .hero__actions .btn { width: 100%; }
  .spec-grid,
  .team-grid,
  .field-row { grid-template-columns: 1fr; }
  .team-card--lead { grid-column: auto; }
  .insta__grid { gap: 10px; }
  .value-row { grid-template-columns: 1fr; gap: 6px; }
  .help-item { gap: 18px; padding-block: 24px; }
  .faq-item p { padding-right: 0; }
  .services { padding: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .logo-ph { min-width: 150px; height: 60px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
