/* ================================================================
   TechRemo IT — Smart Hands LATAM
   Single-source stylesheet. No external fonts, icons or images.
   ================================================================ */

/* ---- Design tokens ---- */
:root {
    --primary: #0b1f33;        /* deep navy */
    --accent: #0b6b53;         /* teal-green brand accent */
    --accent-strong: #085843;  /* accent on hover */
    --accent-soft: #6fd4b4;    /* bright mint, used on navy */
    --light: #f8fafc;          /* page background */
    --text: #26364a;           /* body text */
    --muted: #475569;          /* secondary text */
    --on-navy: #9fb3c8;        /* muted text on navy */
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--light);
}

::selection {
    background: rgba(14, 138, 107, 0.22);
}

/* ---- Header ---- */
header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--primary);
    color: #fff;
    padding: 1.15rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.tagline {
    color: var(--on-navy);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* ---- Hero ---- */
.hero {
    background:
        radial-gradient(130% 95% at 82% 112%, rgba(14, 138, 107, 0.22) 0%, rgba(14, 138, 107, 0) 55%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, rgba(255, 255, 255, 0) 0 26px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, rgba(255, 255, 255, 0) 0 26px),
        linear-gradient(155deg, #0d2138 0%, #132a45 55%, #0b1f33 100%);
    color: #fff;
    padding: 5.5rem 1.5rem;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 1.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: currentColor;
    margin: 0 0.7rem 0.3rem;
    vertical-align: middle;
}

.hero h1 {
    margin: 0 0 1.4rem;
    font-size: clamp(2rem, 5vw, 3.3rem);
    font-weight: 800;
    line-height: 1.12;
}

.hero .lead {
    margin: 0 0 2.25rem;
    max-width: 640px;
    margin-inline: auto;
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--on-navy);
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.95rem 2.1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 10px 22px -8px rgba(14, 138, 107, 0.55);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
    background: var(--accent-strong);
    transform: translateY(-2px);
    box-shadow: 0 16px 28px -10px rgba(14, 138, 107, 0.6);
}

.btn:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(14, 138, 107, 0.6);
    outline-offset: 3px;
}

/* ---- Shared section headings ---- */
.kicker {
    margin: 0 0 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--accent);
}

h2 {
    margin: 0 0 2.4rem;
    font-size: clamp(1.5rem, 3.5vw, 1.9rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

/* ---- Services ---- */
.services {
    padding: 4.5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.services .kicker,
.services h2 {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    padding: 2.25rem 2rem 2.4rem;
    border-radius: 16px;
    border: 1px solid rgba(11, 31, 51, 0.1);
    box-shadow: 0 10px 22px -12px rgba(11, 31, 51, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 138, 107, 0.4);
    box-shadow: 0 20px 30px -12px rgba(11, 31, 51, 0.3);
}

.card-index {
    display: block;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    font-variant-numeric: tabular-nums;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(11, 31, 51, 0.12);
    margin-bottom: 1.1rem;
}

.card h3 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.9rem;
}

.card p {
    margin: 0;
    line-height: 1.6;
}

/* ---- Stats band ---- */
.stats {
    background: var(--primary);
    border-top: 3px solid var(--accent);
    color: #fff;
    padding: 3.25rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-value {
    margin: 0;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    margin: 0.55rem 0 0;
    font-size: 0.83rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--on-navy);
}

/* ---- Process ---- */
.process {
    padding: 4.5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.process .kicker,
.process h2 {
    text-align: center;
}

.step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.25rem;
}

.step {
    text-align: left;
}

.step-num {
    display: block;
    color: var(--accent);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
    padding: 0 0 0.5rem;
    border-bottom: 2px solid rgba(14, 138, 107, 0.35);
    margin-bottom: 1rem;
}

.step h3 {
    margin: 0 0 0.7rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.15rem;
}

.step p {
    margin: 0;
    line-height: 1.6;
}

/* ---- Coverage ---- */
.coverage {
    background: #edf2f8;
    padding: 4.5rem 1.5rem;
    text-align: center;
}

.coverage .kicker,
.coverage h2,
.coverage .chip-list {
    max-width: 920px;
    margin-inline: auto;
}

.chip-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.chip {
    padding: 0.55rem 1.2rem;
    border: 1px solid rgba(14, 138, 107, 0.4);
    border-radius: 999px;
    background: rgba(14, 138, 107, 0.09);
    color: #0b6b53;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.coverage-detail {
    max-width: 640px;
    margin: 1.4rem auto 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-top: 1rem;
    border-top: 1px solid rgba(11, 31, 51, 0.12);
}

/* ---- Contact ---- */
.contact {
    padding: 4.5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    /* Keeps the sticky header from covering the heading after the #contacto jump. */
    scroll-margin-top: 5rem;
}

.contact .kicker,
.contact h2 {
    text-align: center;
}

.contact h2 {
    margin-bottom: 1.1rem;
}

.contact-intro {
    max-width: 640px;
    margin: 0 auto 2.4rem;
    text-align: center;
    color: var(--muted);
}

.contact-form {
    max-width: 640px;
    margin: 0 auto;
    display: grid;
    gap: 1.15rem;
    text-align: left;
}

/* The card lift effect suits the service tiles, not a form panel. */
.contact-form:hover {
    transform: none;
}

.field {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.field label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(11, 31, 51, 0.18);
    border-radius: 10px;
    background: var(--light);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
    min-height: 8rem;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 138, 107, 0.18);
}

.contact-form button {
    justify-self: start;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

/* ---- Footer ---- */
footer {
    background: var(--primary);
    border-top: 3px solid var(--accent);
    color: var(--on-navy);
    text-align: center;
    padding: 2.5rem 1.5rem;
    font-size: 0.9rem;
}

.footer-brand {
    margin: 0 0 0.6rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.footer-contact {
    margin: 0 0 0.6rem;
    color: var(--accent-soft);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Footer mail link: inherit the mint footer tone instead of the default link blue. */
.footer-contact a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(111, 212, 180, 0.45);
    text-underline-offset: 0.2em;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration-color: currentColor;
}

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

/* ---- Tablets & small laptops ---- */
@media (max-width: 960px) {
    .services-grid,
    .step-list {
        grid-template-columns: 1fr;
    }
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---- Phones ---- */
@media (max-width: 560px) {
    header {
        gap: 0.35rem 1rem;
        padding: 0.9rem 1.25rem;
    }

    .brand {
        font-size: 1rem;
    }

    .tagline {
        font-size: 0.82rem;
    }

    .hero {
        padding: 3.5rem 1.25rem;
    }

    .hero .lead {
        font-size: 1.05rem;
    }

    .eyebrow {
        letter-spacing: 0.12em;
        font-size: 0.75rem;
    }

    .eyebrow::before,
    .eyebrow::after {
        display: none;
    }

    .btn {
        display: block;
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    h2 {
        margin-bottom: 1.8rem;
    }

    .services,
    .process,
    .coverage,
    .contact {
        padding: 3rem 1.25rem;
    }

    .services-grid,
    .step-list {
        gap: 1.5rem;
    }

    .card {
        padding: 1.75rem 1.4rem 1.9rem;
    }

    .stats {
        padding: 2.5rem 1.25rem;
        gap: 1.5rem;
    }
}

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

    .card,
    .btn,
    .footer-contact a,
    .field input,
    .field textarea {
        transition: none;
    }
}