@charset "UTF-8";

/* =========================================================
   MineyMig / Alba Minerva
   CSS profesional, responsivo y amigable
   Reemplaza tu archivo CSS actual por este.
   ========================================================= */

:root {
  --green-950: #071f17;
  --green-900: #0d3527;
  --green-850: #123f2e;
  --green-800: #174f3a;
  --green-700: #236247;
  --green-600: #2f7b59;
  --green-100: #eaf5ef;
  --green-50: #f4fbf7;

  --sage: #b9cab8;
  --mint: #edf8f2;
  --cream: #fff9ed;
  --cream-2: #f8efe0;
  --white: #ffffff;

  --earth: #7b6544;
  --gold: #c9a456;
  --gold-2: #b98d38;
  --gold-soft: #ead9a2;

  --text: #1d2d27;
  --muted: #65766e;
  --muted-2: #84938d;
  --line: rgba(18, 61, 44, .12);

  --shadow-xs: 0 8px 22px rgba(7, 31, 23, .07);
  --shadow-sm: 0 12px 34px rgba(7, 31, 23, .10);
  --shadow-md: 0 18px 52px rgba(7, 31, 23, .14);
  --shadow-lg: 0 28px 80px rgba(7, 31, 23, .18);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 42px;

  --header-height: 82px;
  --container: 1120px;
}

/* ==============================
   Base
   ============================== */

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  min-width: 320px;
  padding-top: var(--header-height);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 2%, rgba(201, 164, 86, .14), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(35, 98, 71, .10), transparent 34%),
    linear-gradient(180deg, var(--cream) 0%, #fffdf8 46%, #fff8eb 100%);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(201, 164, 86, .45);
  outline-offset: 3px;
}

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

.section {
  position: relative;
  padding: clamp(64px, 7vw, 108px) 0;
}

.section-soft {
  background:
    radial-gradient(circle at 8% 16%, rgba(201, 164, 86, .15), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(35, 98, 71, .12), transparent 32%),
    linear-gradient(135deg, #fffaf2 0%, #f8f1e7 48%, #eef8f2 100%);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--white);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==============================
   Header
   ============================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(255, 250, 241, .86);
  border-bottom: 1px solid rgba(18, 61, 44, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 241, .96);
  border-color: rgba(18, 61, 44, .10);
  box-shadow: var(--shadow-sm);
}

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

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(201, 164, 86, .35);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(7, 31, 23, .12);
}

.brand-copy {
  min-width: 0;
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--green-900);
  font-weight: 850;
  font-size: clamp(1rem, 2vw, 1.16rem);
  letter-spacing: -.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--earth);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 20px);
  color: rgba(29, 45, 39, .82);
  font-size: .88rem;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--green-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green-900);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(18, 61, 44, .14);
  border-radius: 999px;
  place-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 8px 18px rgba(7, 31, 23, .06);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--green-900);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==============================
   Botones
   ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  font-size: .92rem;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 0%, rgba(234, 217, 162, .28), transparent 34%),
    linear-gradient(135deg, var(--green-900), var(--green-700));
  box-shadow: 0 14px 34px rgba(18, 61, 44, .24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 46px rgba(18, 61, 44, .32);
}

.btn-ghost {
  color: var(--green-900);
  background: rgba(255, 255, 255, .76);
  border-color: rgba(18, 61, 44, .14);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(201, 164, 86, .52);
  box-shadow: var(--shadow-xs);
}

.btn-small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: .84rem;
}

.btn-large {
  min-height: 54px;
  padding-inline: 26px;
}

/* ==============================
   Hero
   ============================== */

.hero {
  position: relative;
  min-height: calc(88svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(58px, 7vw, 104px) 0 clamp(66px, 7vw, 104px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 300px;
  height: 300px;
  left: -132px;
  bottom: 5%;
  background: rgba(201, 164, 86, .14);
  filter: blur(18px);
}

.hero::after {
  width: 400px;
  height: 400px;
  right: -150px;
  top: 10%;
  background: rgba(18, 61, 44, .10);
  filter: blur(24px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 400px);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}

.hero-content h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--green-950);
  font-size: clamp(2.4rem, 5.7vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.068em;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(29, 45, 39, .78);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--earth);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.centered .eyebrow::before,
.contact-card .eyebrow::before {
  display: none;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.trust-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(18, 61, 44, .10);
  border-radius: 999px;
  color: var(--green-900);
  background: rgba(255, 255, 255, .76);
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(7, 31, 23, .04);
}

.hero-media {
  position: relative;
  min-width: 0;
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 16px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 30px -18px auto auto;
  width: 78%;
  height: 78%;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(201, 164, 86, .16), rgba(35, 98, 71, .10));
  transform: rotate(4deg);
  z-index: -1;
}

.portrait-card {
  position: relative;
  width: min(100%, 350px);
  justify-self: end;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 86, .34);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 48%, rgba(7, 31, 23, .70) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 40%);
  pointer-events: none;
}

.portrait-card img {
  width: 100%;
  height: clamp(410px, 42vw, 500px);
  object-fit: cover;
  object-position: center top;
  transform: scale(1.01);
}

.portrait-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  color: var(--white);
  background: rgba(7, 31, 23, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

/* Logo separado de la foto para que no se encime */
.floating-card {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  justify-self: end;
  width: min(42%, 148px);
  padding: 8px;
  border: 1px solid rgba(201, 164, 86, .34);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
}

.floating-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-glow-one {
  width: 16px;
  height: 16px;
  top: 28%;
  left: 54%;
  background: var(--gold-soft);
  box-shadow: 0 0 38px 20px rgba(201, 164, 86, .18);
}

.hero-glow-two {
  width: 10px;
  height: 10px;
  right: 12%;
  bottom: 22%;
  background: var(--gold);
  box-shadow: 0 0 34px 16px rgba(201, 164, 86, .20);
}

/* ==============================
   Encabezados de sección
   ============================== */

.section-header {
  max-width: 750px;
  margin-bottom: clamp(30px, 4.5vw, 52px);
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-header h2,
.section-kicker h2,
.split-content h2,
.contact-card h2 {
  margin-bottom: 16px;
  color: var(--green-950);
  font-size: clamp(1.88rem, 4vw, 3.08rem);
  line-height: 1.06;
  letter-spacing: -.055em;
}

.section-header p,
.about-content p,
.split-content p,
.contact-card p {
  color: rgba(29, 45, 39, .76);
  font-size: 1rem;
}

/* ==============================
   Acerca / estadísticas
   ============================== */

.about-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: start;
  gap: clamp(30px, 5vw, 72px);
}

.about-content {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid rgba(18, 61, 44, .10);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(201, 164, 86, .12), transparent 34%),
    rgba(255, 255, 255, .80);
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.stats-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(18, 61, 44, .09);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(233, 243, 237, .92), rgba(255, 250, 241, .95));
}

.stats-grid strong {
  display: block;
  color: var(--green-900);
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.stats-grid span {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

/* ==============================
   Tarjetas
   ============================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.care-card {
  overflow: hidden;
  border: 1px solid rgba(18, 61, 44, .10);
  border-radius: 26px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-xs);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.care-card:hover,
.care-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 86, .36);
  box-shadow: var(--shadow-md);
}

.care-card img {
  width: 100%;
  height: clamp(160px, 17vw, 210px);
  object-fit: cover;
  object-position: center;
}

.care-card-body {
  padding: 21px;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border: 1px solid rgba(201, 164, 86, .22);
  border-radius: 999px;
  color: var(--green-900);
  background: rgba(201, 164, 86, .16);
  font-size: .78rem;
  font-weight: 850;
}

.care-card h3 {
  margin-bottom: 9px;
  color: var(--green-950);
  font-size: 1.2rem;
  line-height: 1.18;
  letter-spacing: -.035em;
}

.care-card p {
  margin-bottom: 18px;
  color: rgba(29, 45, 39, .72);
  font-size: .94rem;
}

.care-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-900);
  font-size: .92rem;
  font-weight: 850;
}

.care-card a::after {
  content: "→";
  transition: transform .2s ease;
}

.care-card a:hover::after,
.care-card a:focus-visible::after {
  transform: translateX(4px);
}

/* ==============================
   Split / proceso
   ============================== */

.split-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
}

.split-content {
  max-width: 660px;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.timeline div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(18, 61, 44, .10);
  border-radius: 22px;
  background: rgba(255, 255, 255, .80);
  box-shadow: 0 8px 20px rgba(7, 31, 23, .04);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--white);
  background:
    radial-gradient(circle at 30% 0%, rgba(234, 217, 162, .35), transparent 34%),
    linear-gradient(135deg, var(--green-900), var(--green-700));
  font-weight: 850;
}

.timeline p {
  margin: 0;
  color: rgba(29, 45, 39, .78);
}

.feature-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4.2vw, 42px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(201, 164, 86, .34), transparent 36%),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .12), transparent 28%),
    linear-gradient(145deg, var(--green-950), var(--green-800));
  box-shadow: var(--shadow-lg);
}

.feature-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(234, 217, 162, .34);
  border-radius: 999px;
}

.feature-panel h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.6vw, 2.08rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.feature-panel p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .82);
}

.feature-panel .note {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  color: rgba(255, 255, 255, .90);
  background: rgba(255, 255, 255, .09);
  font-size: .92rem;
}

/* ==============================
   Catálogo / descargas
   ============================== */

.download-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid rgba(18, 61, 44, .10);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(201, 164, 86, .12), transparent 34%),
    rgba(255, 255, 255, .90);
  box-shadow: var(--shadow-sm);
}

.download-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(201, 164, 86, .18);
  border-radius: 22px;
  color: var(--green-900);
  background: linear-gradient(135deg, rgba(201, 164, 86, .22), rgba(233, 243, 237, .94));
}

.download-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.download-copy h3 {
  margin-bottom: 7px;
  color: var(--green-950);
  font-size: clamp(1.16rem, 2.4vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.download-copy p {
  margin: 0;
  color: rgba(29, 45, 39, .72);
}

.catalog-files-grid,
.catalog-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.catalog-file-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid rgba(18, 61, 44, .10);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(201, 164, 86, .13), transparent 32%),
    rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-xs);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.catalog-file-card:hover,
.catalog-file-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(201, 164, 86, .38);
  box-shadow: var(--shadow-md);
}

.catalog-file-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(18, 61, 44, .08);
  border-radius: 20px;
  color: var(--green-900);
  background: linear-gradient(135deg, rgba(201, 164, 86, .24), rgba(233, 243, 237, .96));
}

.catalog-file-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.catalog-file-info {
  min-width: 0;
}

.catalog-file-info h3 {
  margin: 0 0 5px;
  color: var(--green-950);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.2;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.catalog-file-info p {
  margin: 0;
  color: rgba(29, 45, 39, .68);
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.btn-catalog-download,
.catalog-file-button {
  white-space: nowrap;
}

.empty-catalog-message,
.catalog-empty {
  margin-top: 22px;
  padding: clamp(22px, 3.5vw, 32px);
  border: 1px dashed rgba(18, 61, 44, .24);
  border-radius: var(--radius-lg);
  text-align: center;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-xs);
}

.empty-catalog-message h3,
.catalog-empty h3 {
  margin-bottom: 8px;
  color: var(--green-950);
  font-size: clamp(1.16rem, 2.4vw, 1.5rem);
  letter-spacing: -.035em;
}

.empty-catalog-message p,
.catalog-empty p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(29, 45, 39, .72);
}

/* ==============================
   Redes sociales
   ============================== */

.social-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(28px, 4.8vw, 58px);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.social-card {
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid rgba(18, 61, 44, .10);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(201, 164, 86, .18), transparent 36%),
    rgba(255, 255, 255, .80);
  box-shadow: var(--shadow-xs);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(201, 164, 86, .35);
  box-shadow: var(--shadow-md);
}

.social-card span {
  color: var(--earth);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.social-card strong {
  color: var(--green-900);
  font-size: clamp(1.24rem, 2.6vw, 1.78rem);
  line-height: 1.1;
  letter-spacing: -.045em;
}

/* ==============================
   Contacto
   ============================== */

.contact {
  overflow: hidden;
}

.contact-card {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid rgba(234, 217, 162, .20);
  border-radius: 40px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 164, 86, .30), transparent 36%),
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, .14), transparent 27%),
    linear-gradient(145deg, var(--green-950), var(--green-800));
  box-shadow: var(--shadow-lg);
}

.contact-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  object-fit: cover;
  border: 1px solid rgba(234, 217, 162, .42);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .20);
}

.contact-card h2 {
  color: var(--white);
}

.contact-card p {
  max-width: 700px;
  margin-inline: auto;
  color: rgba(255, 255, 255, .84);
}

.contact-card .eyebrow {
  color: var(--gold-soft);
}

.contact-actions {
  justify-content: center;
  margin-top: 28px;
}

.contact-card .btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .24);
}

.contact-card .btn-ghost:hover,
.contact-card .btn-ghost:focus-visible {
  background: rgba(255, 255, 255, .16);
}

.contact-note {
  margin-top: 18px !important;
  color: rgba(255, 255, 255, .70) !important;
  font-size: .86rem !important;
}

/* ==============================
   Footer
   ============================== */

.site-footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, .78);
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 164, 86, .12), transparent 30%),
    var(--green-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.footer-logo {
  width: 76px;
  height: 76px;
  margin-bottom: 12px;
  object-fit: cover;
  border: 1px solid rgba(234, 217, 162, .30);
  border-radius: 18px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 800;
}

.footer-links a {
  color: rgba(255, 255, 255, .86);
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-soft);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  font-size: .88rem;
}

/* ==============================
   WhatsApp flotante
   ============================== */

.floating-whatsapp {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 18px 36px rgba(20, 84, 47, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 24px 46px rgba(20, 84, 47, .44);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==============================
   Animaciones suaves
   ============================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: .12s;
}

.reveal-delay-long {
  transition-delay: .22s;
}

/* ==============================
   Responsivo
   ============================== */

@media (max-width: 1120px) {
  .header-whatsapp {
    display: none;
  }

  .main-nav {
    gap: 12px;
    font-size: .84rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  }

  .portrait-card {
    width: min(100%, 325px);
  }

  .portrait-card img {
    height: 440px;
  }

  .floating-card {
    width: 128px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 78px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 16px auto 16px;
    display: grid;
    gap: 0;
    padding: 16px;
    border: 1px solid rgba(18, 61, 44, .10);
    border-radius: 24px;
    background: rgba(255, 250, 241, .98);
    box-shadow: var(--shadow-lg);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(18, 61, 44, .08);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .about-grid,
  .split-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-media {
    width: 100%;
    max-width: 400px;
    justify-items: center;
    margin-inline: auto;
  }

  .hero-media::before {
    inset: 26px auto auto 50%;
    width: 76%;
    height: 74%;
    transform: translateX(-48%) rotate(4deg);
  }

  .portrait-card {
    width: min(100%, 330px);
    justify-self: center;
  }

  .portrait-card img {
    height: min(430px, 105vw);
  }

  .floating-card {
    width: 118px;
    justify-self: center;
  }

  .cards-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .care-card {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }

  .care-card img {
    height: clamp(170px, 34vw, 230px);
  }

  .download-panel {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .catalog-file-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .btn-catalog-download,
  .catalog-file-button {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 56px 0;
  }

  .site-header {
    height: var(--header-height);
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    max-width: 180px;
    font-size: .96rem;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .hero {
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .hero-content h1 {
    font-size: clamp(2.05rem, 12vw, 3.15rem);
    letter-spacing: -.062em;
  }

  .hero-lead {
    margin-bottom: 24px;
    font-size: .98rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  .trust-list span {
    flex: 1 1 100%;
  }

  .portrait-card,
  .about-content,
  .feature-panel,
  .download-panel,
  .contact-card {
    border-radius: 24px;
  }

  .hero-media {
    max-width: 330px;
    gap: 12px;
  }

  .portrait-card {
    width: min(100%, 292px);
    border-radius: 24px;
  }

  .portrait-card img {
    height: 365px;
  }

  .portrait-card figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: .82rem;
  }

  .floating-card {
    width: 98px;
    padding: 6px;
    border-radius: 16px;
  }

  .floating-card img {
    border-radius: 11px;
  }

  .section-header h2,
  .section-kicker h2,
  .split-content h2,
  .contact-card h2 {
    font-size: clamp(1.72rem, 9vw, 2.36rem);
  }

  .about-content {
    padding: 22px;
  }

  .care-card {
    border-radius: 22px;
  }

  .care-card img {
    height: 172px;
  }

  .care-card-body {
    padding: 18px;
  }

  .timeline div {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .timeline span {
    width: 38px;
    height: 38px;
  }

  .download-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .catalog-file-card {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .catalog-file-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .social-card {
    min-height: 132px;
  }

  .contact-logo {
    width: 78px;
    height: 78px;
    border-radius: 18px;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand {
    gap: 10px;
  }

  .brand-copy strong {
    max-width: 145px;
  }

  .hero-content h1 {
    font-size: clamp(1.98rem, 11.4vw, 2.8rem);
  }

  .portrait-card {
    width: min(100%, 280px);
  }

  .portrait-card img {
    height: 352px;
  }

  .floating-card {
    width: 92px;
  }

  .contact-card {
    padding-inline: 22px;
  }
}

@media (max-width: 370px) {
  .brand-copy strong {
    max-width: 120px;
    font-size: .9rem;
  }

  .portrait-card {
    width: min(100%, 260px);
  }

  .portrait-card img {
    height: 330px;
  }

  .floating-card {
    width: 86px;
  }
}

/* ==============================
   Preferencias de dispositivo
   ============================== */

@media (hover: none) {
  .care-card:hover,
  .social-card:hover,
  .catalog-file-card:hover,
  .btn:hover,
  .floating-whatsapp:hover {
    transform: none;
  }
}

@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header {
    background: rgba(255, 250, 241, .98);
  }

  .portrait-card figcaption {
    background: rgba(7, 31, 23, .90);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
