/* ---------------------------------------------------------------
   Ingeniería y Criogenia Escudero — landing page (v3)
   Warm industrial palette pulled from the client's own mark: matte
   black + gold on a bone-white ground, with two dark "steel" bands
   (hero + footer) bookending the page. Photography throughout is
   the client's own equipment (extracted from their briefing decks).
--------------------------------------------------------------- */
:root {
    --cream: #F8F6F0; /* page ground — hueso / bone white */
    --paper: #FFFFFF; /* card surfaces */
    --paper-2: #FCFAF4; /* subtle alt surface */
    --ink: #1A1611; /* dark panels (hero / footer) */
    --ink-2: #241F17; /* elevated dark surface */
    --text: #241F17; /* body text on cream */
    --text-soft: #6B5F4C; /* secondary text on cream */
    --text-dim: #A79C86; /* tertiary text on cream */
    --line: #E7E2D4; /* hairline on cream */
    --line-dark: #3A3224; /* hairline on ink */
    --on-ink: #F5EEDC; /* primary text on ink panels */
    --on-ink-soft: #BBAE92; /* secondary text on ink panels */
    --gold: #F0AE1E; /* primary accent — logo gold */
    --gold-deep: #B8790A; /* accent text on light ground (AA contrast) */
    --gold-bright: #FFC94D; /* accent on dark ground */
    --gold-tint: #FBE9B8; /* light gold fill */
    --whats: #25D366; /* recognized WhatsApp affordance — semantic, not accent */
    --radius: 3px;
    --maxw: 1180px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-inline: 20px;
}

@media (min-width: 760px) {
    body {
        padding-inline: 32px;
    }
}

h1, h2, h3 {
    font-family: "Oswald", "Arial Narrow", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-wrap: balance;
    margin: 0;
    color: var(--text);
}

p {
    margin: 0;
}

a {
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

img, svg {
    max-width: 100%;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    background: none;
    border: none;
}

.mono {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.wrap {
    max-width: var(--maxw);
    margin-inline: auto;
}

section {
    padding-block: clamp(56px, 9vw, 120px);
}

.hairline {
    border-top: 1px solid var(--line);
}

:focus-visible {
    outline: 2px solid var(--gold-deep);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

html {
    scroll-behavior: smooth;
}

/* ---------- spec rail (blueprint dimension line, desktop only) ---------- */
.rail {
    position: fixed;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 26px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-block: 28px;
    pointer-events: none;
    z-index: 5;
}

@media (min-width: 1280px) {
    .rail {
        display: flex;
    }
}

.rail::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--line);
    transform: translateX(-50%);
}

.rail span {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.62rem;
    color: var(--text-dim);
    background: var(--cream);
    padding-block: 4px;
    writing-mode: vertical-rl;
    letter-spacing: 0.08em;
}

/* ---------------------------- header ---------------------------- */
header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: color-mix(in srgb, var(--cream) 90%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav {
    max-width: var(--maxw);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 14px;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-mark {
    width: 32px;
    height: 32px;
    flex: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text b {
    font-family: "Oswald", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.brand-text small {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.62rem;
    color: var(--text-soft);
    letter-spacing: 0.08em;
}

nav.links {
    display: none;
    gap: 6px;
    align-items: center;
}

@media (min-width: 900px) {
    nav.links {
        display: flex;
    }
}

nav.links > a, .menu-trigger {
    text-decoration: none;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: color .15s, background .15s;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

nav.links > a:hover, .menu-trigger:hover {
    color: var(--text);
    background: var(--gold-tint);
}

.menu-trigger svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform .18s;
}

.menu-trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.menu-trigger[aria-expanded="true"] {
    background: var(--gold-tint);
    color: var(--text);
}

.nav-item {
    position: relative;
}

.services-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    min-width: 280px;
    max-width: calc(100vw - 32px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 32px rgba(30, 20, 5, 0.14);
    padding: 8px;
    z-index: 40;
}

.services-menu a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 12px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
}

.services-menu a:hover {
    background: var(--gold-tint);
}

.services-menu svg {
    width: 19px;
    height: 19px;
    flex: none;
    margin-top: 2px;
    stroke: var(--gold-deep);
    fill: none;
    stroke-width: 1.5;
}

.services-menu .sm-title {
    font-weight: 600;
    font-size: 0.92rem;
    display: block;
}

.services-menu .sm-desc {
    font-size: 0.78rem;
    color: var(--text-soft);
    display: block;
    margin-top: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tel-chip {
    display: none;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-soft);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.82rem;
}

@media (min-width: 640px) {
    .tel-chip {
        display: flex;
    }
}

.tel-chip svg {
    width: 15px;
    height: 15px;
    stroke: var(--gold-deep);
}

/* ---------------------------- buttons ---------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--gold);
    color: #221800;
}

.btn-primary:hover {
    background: var(--gold-bright);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--gold-deep);
    color: var(--gold-deep);
}

.btn-ghost-invert {
    background: transparent;
    color: var(--on-ink);
    border-color: var(--line-dark);
}

.btn-ghost-invert:hover {
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.btn-whats {
    background: var(--whats);
    color: #06210f;
}

.btn-whats:hover {
    background: #33dd77;
}

.btn-block {
    width: 100%;
}

.btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ---------------------------- hero (dark steel band) ---------------------------- */
.hero-band {
    background: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: stretch;
    padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 104px);
    position: relative;
}

.hero-content {
    padding: 0;
}

@media (min-width: 980px) {
    .hero {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 56px;
        align-items: stretch;
        padding-block: 0;
        min-height: 600px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-inline: 32px;
    }

    .hero-visual {
        aspect-ratio: auto;
        height: 100%;
    }
}

.hero .eyebrow {
    color: var(--gold-bright);
}

.hero h1 {
    font-size: clamp(2.3rem, 5.2vw, 3.6rem);
    line-height: 1.05;
    margin-top: 14px;
    color: var(--on-ink);
}

.hero h1 em {
    font-style: normal;
    color: var(--gold-bright);
}

.hero p.lead {
    margin-top: 20px;
    max-width: 56ch;
    color: var(--on-ink-soft);
    font-size: 1.05rem;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

@media (min-width: 560px) {
    .hero-ctas {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
    }
}

.hero-ctas .btn {
    width: 100%;
}

@media (min-width: 560px) {
    .hero-ctas .btn {
        width: auto;
    }
}

/* ---- hero visual: rotating equipment photography + telemetry-style caption ---- */
.hero-visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line-dark);
    background: var(--ink);
    aspect-ratio: 3/4;
}

@media (min-width: 980px) {
    .hero-visual {
        aspect-ratio: auto;
        height: 100%;
    }
}

.hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.6s ease;
}

.hero-visual img.is-active {
    opacity: 1;
}

.hero-visual-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 18px 18px 20px;
    background: linear-gradient(to top, rgba(12, 10, 6, 0.95) 35%, rgba(12, 10, 6, 0.55) 72%, transparent);
}

.readout-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 12px 20px;
}

.readout-cell {
    border-top: 1px solid var(--line-dark);
    padding-top: 8px;
}

.readout-cell.span2 {
    grid-column: 1 / -1;
}

.readout-cell .lbl {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.62rem;
    color: var(--on-ink-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.readout-cell .val {
    font-family: "IBM Plex Mono", monospace;
    font-size: 1rem;
    color: var(--on-ink);
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
}

/* ---------------------------- section headers ---------------------------- */
.sec-head {
    max-width: 64ch;
}

.sec-head h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    margin-top: 10px;
}

.sec-head p {
    color: var(--text-soft);
    margin-top: 14px;
    font-size: 1.02rem;
}

/* ---------------------------- quienes somos ---------------------------- */
.about-grid {
    display: grid;
    grid-template-columns:1fr;
    gap: 40px;
    margin-top: 40px;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns:1.1fr 0.9fr;
        gap: 64px;
    }
}

.about-copy p {
    color: var(--text-soft);
    max-width: 60ch;
}

.about-copy p + p {
    margin-top: 14px;
}

.mv-card {
    border: 1px solid var(--line);
    padding: 22px;
    border-radius: var(--radius);
    background: var(--paper);
}

.mv-card + .mv-card {
    margin-top: 16px;
}

.mv-card h3 {
    font-size: 0.95rem;
    color: var(--gold-deep);
}

.mv-card p {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 0.94rem;
}

.values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.value-chip {
    border: 1px solid var(--line);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--text-soft);
    font-family: "IBM Plex Mono", monospace;
    background: var(--paper);
}

/* ---------------------------- services: horizontal image accordion ---------------------------- */
.h-accordion {
    display: flex;
    gap: 6px;
    margin-top: 44px;
    height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
}

@media (min-width: 680px) {
    .h-accordion {
        height: 380px;
    }
}

@media (min-width: 980px) {
    .h-accordion {
        height: 520px;
    }
}

.h-panel {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    text-align: left;
    transition: flex 0.5s cubic-bezier(.22, .61, .36, 1);
}

.h-panel.active {
    flex: 5 1 0;
}

.h-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.25) brightness(0.8);
    transition: filter .4s ease, transform .6s ease;
}

.h-panel:hover img {
    transform: scale(1.03);
}

.h-panel.active img {
    filter: grayscale(0) brightness(0.5);
    transform: none;
}

.h-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 6, 4, 0.98) 0%, rgba(8, 6, 4, 0.92) 30%, rgba(8, 6, 4, 0.6) 52%, rgba(8, 6, 4, 0.22) 72%, rgba(8, 6, 4, 0.04) 88%);
}

.h-panel-label {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--on-ink);
    transition: opacity .2s ease;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.h-panel-label .h-panel-icon {
    width: 22px;
    height: 22px;
    stroke: var(--gold-bright);
    fill: none;
    stroke-width: 1.6;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.85));
}

.h-panel-label .h-panel-name {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    writing-mode: vertical-rl;
    white-space: nowrap;
}

.h-panel.active .h-panel-label {
    opacity: 0;
    pointer-events: none;
}

.h-panel-detail {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 3;
    padding: 26px 28px 28px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .3s ease .12s, transform .3s ease .12s;
    background: linear-gradient(to top, rgba(6, 5, 3, 0.55) 0%, rgba(6, 5, 3, 0.3) 60%, rgba(6, 5, 3, 0) 100%);
}

.h-panel.active .h-panel-detail {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.h-panel-detail .h-num {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.76rem;
    color: var(--gold-bright);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.h-panel-detail h3 {
    color: var(--on-ink);
    font-size: 1.25rem;
    margin-top: 8px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.h-panel-detail p.desc {
    color: #E4DAC6;
    margin-top: 10px;
    font-size: 0.9rem;
    max-width: 44ch;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.h-panel-detail ul {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 46ch;
}

.h-panel-detail li {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: #E4DAC6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.h-panel-detail li svg {
    width: 13px;
    height: 13px;
    flex: none;
    margin-top: 4px;
    stroke: var(--gold-bright);
    fill: none;
    stroke-width: 2;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

@media (max-width: 760px) {
    .h-accordion {
        flex-direction: column;
        height: auto;
    }

    .h-panel {
        flex: none !important;
        height: 94px;
        transition: height .4s ease;
    }

    .h-panel.active {
        height: 440px;
    }

    .h-panel-label {
        left: 20px;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: row;
    }

    .h-panel-label .h-panel-name {
        writing-mode: horizontal-tb;
    }

    .h-panel-detail {
        padding: 20px;
    }
}

/* ---------------------------- industries ---------------------------- */
.industries {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
}

.industries span {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 1.05rem;
    color: var(--text);
    padding: 14px 26px 14px 0;
    margin-right: 26px;
    border-right: 1px solid var(--line);
}

.industries span:last-child {
    border-right: none;
}

/* ---------------------------- compliance ---------------------------- */
.compliance {
    display: grid;
    grid-template-columns:1fr;
    gap: 32px;
    margin-top: 40px;
}

@media (min-width: 900px) {
    .compliance {
        grid-template-columns:repeat(3, 1fr);
    }
}

.comp-card {
    border-top: 2px solid var(--gold);
    padding-top: 16px;
}

.comp-card h3 {
    font-size: 1rem;
}

.comp-card p {
    color: var(--text-soft);
    margin-top: 10px;
    font-size: 0.92rem;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}

.badge {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.76rem;
    color: var(--on-ink);
    background: var(--ink);
    padding: 7px 12px;
    border-radius: var(--radius);
}

/* ---------------------------- contact ---------------------------- */
.contact-shell {
    margin-top: 40px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns:1fr;
}

@media (min-width: 940px) {
    .contact-shell {
        grid-template-columns:0.9fr 1.1fr;
    }
}

.contact-side {
    padding: 32px;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    border-radius: var(--radius) var(--radius) 0 0;
}

@media (min-width: 940px) {
    .contact-side {
        border-bottom: none;
        border-radius: var(--radius) 0 0 var(--radius);
    }
}

.contact-side h3 {
    font-size: 1.1rem;
    color: var(--gold-bright);
}

.contact-side p {
    color: var(--on-ink-soft);
    margin-top: 12px;
    font-size: 0.94rem;
}

.contact-info {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.92rem;
    color: var(--on-ink-soft);
}

.contact-info svg {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 2px;
    stroke: var(--gold-bright);
    fill: none;
    stroke-width: 1.6;
}

.contact-info a {
    text-decoration: none;
    color: var(--on-ink);
}

.contact-info a:hover {
    color: var(--gold-bright);
}

.email-short {
    display: none;
}

@media (max-width: 450px) {
    .email-full {
        display: none;
    }

    .email-short {
        display: inline;
    }
}

.contact-info .tag {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    color: var(--whats);
    border: 1px solid var(--whats);
    border-radius: 999px;
    padding: 1px 8px;
    margin-left: 8px;
}

.wizard {
    padding: 32px;
}

.wizard-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.wizard-progress .bar {
    height: 3px;
    flex: 1;
    background: var(--line);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.wizard-progress .bar span {
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.wizard-progress .bar.done span {
    transform: scaleX(1);
}

.wizard-progress .step-label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.7rem;
    color: var(--text-dim);
    white-space: nowrap;
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: stepIn .28s ease;
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.field-label {
    font-size: 0.82rem;
    color: var(--text-soft);
    margin-bottom: 10px;
    display: block;
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    row-gap: 12px;
}

.chip-group .chip-btn {
    flex: 1 1 auto;
    min-width: 100px;
}

@media (min-width: 560px) {
    .chip-group .chip-btn {
        flex: 1 0 auto;
    }
}

.chip-btn {
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--text-soft);
    padding: 11px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color .15s, color .15s, background .15s;
}

.chip-btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

.chip-btn:hover {
    border-color: var(--gold-deep);
    color: var(--text);
}

.chip-btn[aria-pressed="true"] {
    border-color: var(--gold);
    color: #221800;
    background: var(--gold);
}

.form-row {
    display: grid;
    grid-template-columns:1fr;
    gap: 16px;
}

@media (min-width: 560px) {
    .form-row.two {
        grid-template-columns:1fr 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.field label {
    font-size: 0.82rem;
    color: var(--text-soft);
}

.field input, .field textarea {
    background: var(--cream);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 12px 14px;
    border-radius: var(--radius);
    width: 100%;
}

.field input:focus, .field textarea:focus {
    border-color: var(--gold-deep);
    outline: none;
}

.field textarea {
    resize: vertical;
    min-height: 78px;
}

.wizard-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
}

@media (min-width: 560px) {
    .wizard-actions {
        flex-direction: row;
        justify-content: space-between;
    }
}

.wizard-actions .btn {
    width: 100%;
}

@media (min-width: 560px) {
    .wizard-actions .btn {
        width: auto;
    }
}

.wizard-actions span {
    display: none;
}

@media (min-width: 560px) {
    .wizard-actions span {
        display: block;
    }
}

.summary-line {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.78rem;
    color: var(--text-soft);
    border: 1px dashed var(--line);
    padding: 12px 14px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.summary-line b {
    color: var(--gold-deep);
    font-weight: 600;
}

.success {
    display: none;
    text-align: center;
    padding: 28px 8px;
}

.success.active {
    display: block;
}

.success svg {
    width: 44px;
    height: 44px;
    stroke: var(--whats);
    fill: none;
    stroke-width: 1.5;
    margin-inline: auto;
}

.success h3 {
    margin-top: 16px;
    font-size: 1.15rem;
}

.success p {
    color: var(--text-soft);
    margin-top: 10px;
    font-size: 0.92rem;
}

/* ---------------------------- footer (dark steel band) ---------------------------- */
footer {
    background: var(--ink);
    padding-block: 44px;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 760px) {
    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

footer .brand-text b {
    color: var(--on-ink);
}

footer .brand-text small {
    color: var(--on-ink-soft);
}

/* Logo sobre panel claro: su disco blanco se perdería sobre el fondo oscuro del footer */
.footer-logo {
    display: inline-block;
    background: var(--cream);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.footer-logo img {
    display: block;
    width: min(100%, 300px);
    height: auto;
}

footer .footer-tagline {
    display: block;
    color: var(--on-ink-soft);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.86rem;
    color: var(--on-ink-soft);
}

.footer-contact a {
    text-decoration: none;
    color: var(--on-ink-soft);
}

.footer-contact a:hover {
    color: var(--gold-bright);
}

.footer-note {
    margin-top: 24px;
    font-size: 0.78rem;
    color: var(--on-ink-soft);
    font-family: "IBM Plex Mono", monospace;
    border-top: 1px solid var(--line-dark);
    padding-top: 20px;
}

/* ---------------------------- floating whatsapp ---------------------------- */
.fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 35;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whats);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(30, 20, 5, 0.35);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.fab svg {
    width: 27px;
    height: 27px;
    fill: #06210f;
}

.fab:hover {
    background: #33dd77;
}