/* ════════════════════════════════════════════════════════════════
   Wirkraft Gruppe — sitio institucional
   Identidad según manual de marca (Wrikraft logo & colours.jpeg):
   - Paleta: navy #1F3A5F · teal #29BBA8 · claro #F4F6F8
   - Tipografía: Inter (única familia, pesos 400-800)
   Estructura: página única con secciones ancladas
   (Compañía · Soluciones · TerritoryOS · Nosotros · Contacto).
   Sin estilos inline: la CSP del sitio es style-src 'self'.
   ════════════════════════════════════════════════════════════════ */

:root {
    /* Paleta de marca */
    --navy:       #1F3A5F;
    --navy-deep:  #0F2233;   /* paneles oscuros del manual */
    --navy-mid:   #16314E;
    --teal:       #29BBA8;
    --teal-dark:  #1E9886;
    --teal-soft:  #D9F4F0;
    --teal-tint:  #EEF9F7;
    --light:      #F4F6F8;
    --white:      #FFFFFF;

    /* Texto */
    --text:       #1F3A5F;
    --text-muted: #5A718D;

    /* Bordes de tarjetas sobre fondo claro */
    --line:       rgba(31, 58, 95, 0.10);

    --font-display: 'Inter', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;

    --radius: 14px;
    --radius-lg: 20px;
    --container: 1120px;

    --shadow-soft: 0 18px 50px -18px rgba(15, 34, 51, 0.28);
    --shadow-card: 0 10px 30px -14px rgba(15, 34, 51, 0.18);

    /* Offset del header sticky para el scroll por anclas */
    --header-h: 76px;
}

/* ── Reset mínimo ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.1;
    margin: 0 0 0.5em;
    font-weight: 800;
    letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
html { scroll-behavior: smooth; }

/* Compensa el header sticky al navegar por anclas */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

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

/* Accesibilidad: enlace para saltar al contenido */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 var(--radius) 0;
    z-index: 100;
}
.skip-link:focus { left: 0; }

/* ── Marca (logo + wordmark) ───────────────────────────────────── */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-logo { width: 34px; height: 25px; flex-shrink: 0; }
.logo-stroke {
    stroke: var(--navy);
    stroke-width: 7;
    stroke-linecap: butt;
    fill: none;
}
.logo-accent { stroke: var(--teal); }
.brand-logo-light .logo-stroke { stroke: #fff; }
.brand-logo-light .logo-accent { stroke: var(--teal); }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: 0.14em;
    color: var(--navy);
}
.brand-sub {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.62rem;
    letter-spacing: 0.42em;
    color: var(--text-muted);
}

/* ── Botones ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border: 0;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-arrow svg { transition: transform 0.18s ease; }
.btn-arrow:hover svg { transform: translateX(3px); }
.btn-wide { min-width: 290px; }
.btn-block { width: 100%; }

.btn-teal {
    background: var(--teal);
    color: var(--navy-deep);
    box-shadow: 0 14px 36px -14px rgba(41, 187, 168, 0.55);
}
.btn-teal:hover { background: #33CCB8; }

.btn-navy {
    background: var(--navy);
    color: #fff;
    box-shadow: var(--shadow-soft);
}
.btn-navy:hover { background: var(--navy-mid); }

.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}
.btn-outline-light:hover { border-color: var(--teal); color: var(--teal); }

.btn-outline-teal {
    border: 1.5px solid var(--teal-dark);
    color: var(--teal-dark);
    background: transparent;
}
.btn-outline-teal:hover { background: var(--teal-tint); }

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 58, 95, 0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.site-nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--navy);
    position: relative;
    transition: color 0.18s ease;
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
/* Sección visible (scroll-spy en website.js) */
.site-nav a.is-active { color: var(--teal-dark); }
.site-nav a.is-active::after { transform: scaleX(1); }

/* Botón hamburguesa (solo móvil) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
}
.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: transform 0.2s ease;
}

/* ── Hero (panel navy del manual de marca) ─────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 130px 0 120px;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 70%, var(--navy-mid) 100%);
    color: #fff;
}
/* Trama de cuadrícula sutil: alusión a la red urbana / territorio */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
/* Resplandor teal, como el panel lateral del manual */
.hero-glow {
    position: absolute;
    right: -180px;
    top: -120px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(41, 187, 168, 0.28), transparent 65%);
    filter: blur(10px);
}

.kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
}
.kicker-teal { color: var(--teal-dark); }
/* Kicker de subgrupo (Productos / Servicios) */
.subkicker {
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin: 0 0 14px;
}

.hero-title {
    font-size: clamp(2.6rem, 6.2vw, 4.4rem);
    margin-bottom: 24px;
    color: #fff;
}
.hero-title em {
    font-style: normal;
    color: var(--teal);
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── Compañía como apertura (ocupa el lugar del hero) ──────────── */
.hero-company { padding: 104px 0 96px; }
.hero-company-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
    text-align: left;
}
.hero-company .kicker { color: var(--teal); }
.hero-company .hero-title {
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    margin-bottom: 34px;
}
.hero-company .hero-actions { justify-content: flex-start; }
.hero-company-body p {
    font-size: 1rem;
    color: rgba(244, 246, 248, 0.72);
}
.hero-company-body .lead {
    font-size: 1.14rem;
    color: rgba(244, 246, 248, 0.92);
}
.lead-light { color: rgba(244, 246, 248, 0.92); }

/* ── Secciones ─────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-light { background: var(--light); }

.section-intro h2,
.impact-head h2,
.about-copy h2,
.contact-copy h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    color: var(--navy);
}
.section-intro { max-width: 640px; margin-bottom: 40px; }
.section-intro h2 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); }
.lead {
    font-size: 1.1rem;
    color: var(--navy);
}
.lead-muted { color: var(--text-muted); }

/* Chip de etiqueta ("Nuestro estandarte") */
.chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.chip-teal { background: var(--teal-soft); color: var(--teal-dark); }

/* Enlace con flecha */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--teal-dark);
    text-decoration: none;
}
.link-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.18s ease;
}
.link-arrow:hover svg { transform: translateX(3px); }

/* Círculo de ícono (servicios, áreas, creencias) */
.icon-circle,
.area-icon,
.feature-icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--teal-tint);
    color: var(--teal-dark);
}
.icon-circle svg,
.area-icon svg,
.feature-icon svg,
.belief-icon svg,
.demo-glyph {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* Puntos decorativos de las ilustraciones de fondo */
.deco-dot { fill: var(--teal); stroke: none; }

/* ── Soluciones ────────────────────────────────────────────────── */
.product-card {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    align-items: center;
    gap: 40px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 0 36px 40px;
    margin-bottom: 56px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.product-copy h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin: 18px 0 12px;
    color: var(--navy);
}
.product-copy p {
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 380px;
    margin-bottom: 26px;
}
.product-visual {
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 6px 0;
}
.product-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px 0 0 12px;
    box-shadow: var(--shadow-soft);
}

.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 32px 30px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.service-head {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
}
.service-head .icon-circle { width: 72px; height: 72px; }
.service-head .icon-circle svg { width: 30px; height: 30px; }
.service-head h3 {
    font-size: 1.32rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy);
}
.service-head p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }
.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}
.service-list li {
    position: relative;
    padding-left: 22px;
    font-weight: 500;
    font-size: 0.95rem;
}
.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
}

/* Banda CTA con arcos decorativos */
.cta-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px 44px 44px 230px;
}
.cta-deco {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 260px;
    height: 200px;
    fill: none;
    stroke: var(--teal);
    stroke-opacity: 0.35;
    stroke-width: 1.5;
    pointer-events: none;
}
.cta-copy { position: relative; max-width: 460px; }
.cta-copy h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    margin-bottom: 8px;
    color: var(--navy);
}
.cta-copy p { margin: 0; color: var(--text-muted); }
.cta-card .btn { position: relative; }

/* ── TerritoryOS ───────────────────────────────────────────────── */
.tos-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
}
.tos-title {
    font-size: clamp(2.6rem, 5vw, 3.9rem);
    color: var(--navy);
    margin-bottom: 14px;
}
.tos-copy .lead { max-width: 380px; margin-bottom: 34px; }

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.feature {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px 22px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
    transform: translateY(-3px);
    border-color: rgba(41, 187, 168, 0.5);
    box-shadow: var(--shadow-soft);
}
.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    background: transparent;
    border-radius: 12px;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--navy);
}
.feature p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.tos-visual {
    position: relative;
    padding-bottom: 84px;
    padding-right: 40px;
}
.tos-dashboard {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}
.tos-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 27%;
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(15, 34, 51, 0.28));
}

/* Tarjeta "¿Sos parte del equipo…?" */
.demo-card {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-card);
}
.demo-icon {
    position: relative;
    width: 108px;
    height: 108px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.demo-orbit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--teal);
    stroke-opacity: 0.45;
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
}
.demo-glyph {
    width: 44px;
    height: 44px;
    color: var(--teal-dark);
}
.demo-text {
    flex: 1 1 280px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
}
.demo-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── Áreas de impacto ──────────────────────────────────────────── */
.section-impact { padding: 72px 0; }
.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
}
.impact-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 0; }
.areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-height: 168px;
    padding: 24px 12px 22px;
    text-align: center;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.25;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    color: var(--navy);
}
.area-icon { width: 60px; height: 60px; background: transparent; }
.area-icon svg { width: 40px; height: 40px; stroke-width: 1.6; }

/* ── Nosotros ──────────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 28px;
}
.about-copy h2 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.about-copy .lead { max-width: 420px; margin-bottom: 30px; }
.about-visual img { width: 100%; height: auto; }

.quote {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 0;
    padding: 22px 26px;
    border: 1px solid rgba(41, 187, 168, 0.35);
    border-radius: var(--radius);
    background: var(--teal-tint);
}
.quote-mark {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.4rem;
    line-height: 0.7;
    color: var(--teal-dark);
    margin-top: 6px;
}
.quote p {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.35;
    color: var(--teal-dark);
}

.beliefs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.belief {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}
.belief-icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--teal-dark);
    color: #fff;
}
.belief-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.belief p {
    margin: 0;
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.35;
    color: var(--navy);
}

/* ── Contacto ──────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}
.contact-copy h2 { font-size: clamp(2.3rem, 4.4vw, 3.2rem); }
.contact-copy .lead { max-width: 420px; }
.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 24px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--teal-dark);
    text-decoration: none;
}
.contact-email svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-email:hover { text-decoration: underline; }

.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-card);
}
.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 8px;
    color: var(--navy);
}
.field input,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(31, 58, 95, 0.18);
    border-radius: 10px;
    background: var(--white);
    font: inherit;
    font-size: 0.95rem;
    color: var(--navy);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: #A5B2C4; }
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(41, 187, 168, 0.22);
}
.contact-form .btn { margin-top: 4px; }
/* Confirmación breve tras armar el mailto (website.js) */
.form-note {
    margin: 14px 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* ── Footer (panel navy profundo) ──────────────────────────────── */
.site-footer {
    padding: 44px 0 36px;
    background: var(--navy-deep);
    color: #fff;
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(244, 246, 248, 0.1);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 22px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-brand .brand-text { margin: 0; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(244, 246, 248, 0.55); }
.footer-nav {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}
.footer-nav a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(244, 246, 248, 0.85);
}
.footer-nav a:hover { color: var(--teal); }
.footer-legal {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(244, 246, 248, 0.45);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: rgba(244, 246, 248, 0.8);
    transition: background 0.18s ease, color 0.18s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.08); color: var(--teal); }
.footer-social svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Reveal on scroll (activado por website.js) ────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
/* Si no hay JS o el usuario prefiere menos movimiento, todo visible */
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .feature, .service-card, .link-arrow svg { transition: none; }
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1000px) {
    .areas { grid-template-columns: repeat(2, 1fr); }
    .tos-grid { grid-template-columns: 1fr; }
    .tos-visual { max-width: 640px; }
    .cta-card { padding-left: 44px; }
    .cta-deco { opacity: 0.5; }
}

@media (max-width: 900px) {
    .hero-company-inner { grid-template-columns: 1fr; gap: 36px; }
    .impact-grid,
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .product-card {
        grid-template-columns: 1fr;
        padding: 32px 28px 0;
    }
    .product-visual img { border-radius: 12px 12px 0 0; }
    .services,
    .beliefs { grid-template-columns: 1fr; }
    .about-visual { order: -1; }
    .demo-card { padding: 30px 26px; }
    .btn-wide { min-width: 0; width: 100%; }
}

@media (max-width: 760px) {
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid rgba(31, 58, 95, 0.08);
        padding: 12px 24px 20px;
        box-shadow: var(--shadow-soft);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a {
        padding: 13px 4px;
        border-bottom: 1px solid rgba(31, 58, 95, 0.08);
    }
    .site-nav a::after { display: none; }
    .hero, .hero-company { padding: 72px 0 64px; }
    .section { padding: 72px 0; }
    .features { grid-template-columns: 1fr; }
    .cta-card { grid-template-columns: 1fr; padding: 36px 26px; }
    .cta-card .btn { justify-self: start; }
    .tos-visual { padding-bottom: 72px; padding-right: 28px; }
    .tos-phone { width: 36%; }
    .demo-actions { width: 100%; }
    .demo-actions .btn { flex: 1 1 200px; }
    .contact-form { padding: 26px 22px; }
}

@media (max-width: 520px) {
    .quote p br { display: none; }
    .areas { grid-template-columns: 1fr 1fr; gap: 12px; }
    .area { min-height: 140px; }
    .service-list { grid-template-columns: 1fr; }
}
