/* ============================================================
   ZIPWEB — contacto.css
   Estilos específicos de la página contacto.html
   ============================================================ */

/* PAGE HERO */
.ph {
    padding: 8.5rem 6% 4rem;
    border-bottom: 1px solid var(--border);
}

.ph h1 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--white);
}

.ph h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--orange), var(--orange2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ph p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 520px;
    margin-top: 0.9rem;
    line-height: 1.8;
}

/* CONTACT SECTION */
.ctsec {
    padding: 4.5rem 6%;
}

.cw {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

@media(max-width:900px) {
    .cw {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.cl h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.9rem;
}

.cl p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

.cd {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.cdi {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--orange-soft);
    border: 1px solid rgba(255, 92, 0, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cdt strong {
    color: var(--white);
    font-size: 0.88rem;
    display: block;
}

.cdt span {
    color: var(--muted);
    font-size: 0.78rem;
}

.hbox {
    background: var(--card);
    border: 1px solid rgba(255, 92, 0, .2);
    border-radius: 13px;
    padding: 1.4rem;
    margin-top: 1.8rem;
}

.hbox h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.hr2 {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.hr2 strong {
    color: var(--orange);
}

/* CONTACT FORM */
.cfb {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.4rem;
}

.fg {
    margin-bottom: 1.2rem;
}

.fg label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.fg input,
.fg textarea,
.fg select {
    width: 100%;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.82rem 1.1rem;
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.fg input::placeholder,
.fg textarea::placeholder {
    color: var(--muted);
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 92, 0, .1);
}

.fg select option {
    background: var(--dark);
}

.fg textarea {
    resize: vertical;
    min-height: 115px;
}

.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media(max-width:500px) {
    .frow {
        grid-template-columns: 1fr;
    }
}

.sb2 {
    width: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange2));
    color: var(--white);
    border: none;
    padding: 1.05rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 0 28px var(--orange-glow);
    transition: opacity 0.2s, transform 0.2s;
}

.sb2:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.fn {
    text-align: center;
    font-size: 0.73rem;
    color: var(--muted);
    margin-top: 0.75rem;
}

/* CALENDAR SECTION */
.calsec {
    background: var(--dark);
    padding: 4rem 6%;
    text-align: center;
}

.calsec h2 {
    margin-bottom: 0.8rem;
}

.calsec p {
    color: var(--muted);
    max-width: 440px;
    margin: 0 auto 2rem;
}

.calbox {
    max-width: 540px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.calbox .ci {
    font-size: 2.8rem;
    margin-bottom: 0.9rem;
}

.calbox h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.calbox p {
    color: var(--muted);
    font-size: 0.86rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ============================================================
   RESPONSIVE - CONTACTO.CSS
   Sistema completo para la página de contacto
   ============================================================ */

/* ─── TABLET (≤1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {
    .cw {
        gap: 3rem;
    }
}

/* ─── MOBILE LARGE (≤768px) ──────────────────────────────── */
@media (max-width: 768px) {
    /* Page hero */
    .ph {
        padding: 7rem 5% 3rem;
    }

    .ph h1 {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .ph p {
        font-size: 0.92rem;
        max-width: 100%;
    }

    /* Contact section */
    .ctsec {
        padding: 3.5rem 5%;
    }

    .cw {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cl h2 {
        font-size: 1.3rem;
    }

    .cl p {
        font-size: 0.85rem;
    }

    .cd {
        gap: 0.8rem;
    }

    .cdi {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .cdt strong {
        font-size: 0.82rem;
    }

    .cdt span {
        font-size: 0.73rem;
    }

    .hbox {
        padding: 1.2rem;
    }

    .hbox h4 {
        font-size: 0.75rem;
    }

    .hr2 {
        font-size: 0.78rem;
    }

    /* Contact form */
    .cfb {
        padding: 2rem 1.6rem;
        border-radius: 16px;
    }

    .fg label {
        font-size: 0.73rem;
    }

    .fg input,
    .fg textarea,
    .fg select {
        padding: 0.75rem 0.95rem;
        font-size: 0.85rem;
    }

    .frow {
        gap: 0.8rem;
    }

    .sb2 {
        padding: 0.95rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .fn {
        font-size: 0.68rem;
    }

    /* Calendar section */
    .calsec {
        padding: 3.5rem 5%;
    }

    .calsec h2 {
        font-size: 1.5rem;
    }

    .calsec p {
        font-size: 0.88rem;
        max-width: 100%;
    }

    .calbox {
        padding: 2rem 1.6rem;
        border-radius: 16px;
    }

    .calbox .ci {
        font-size: 2.4rem;
    }

    .calbox h3 {
        font-size: 1.05rem;
    }

    .calbox p {
        font-size: 0.8rem;
    }

    .calbox .btn-p {
        padding: 0.75rem 1.4rem;
        font-size: 0.85rem;
    }
}

/* ─── MOBILE SMALL (≤480px) ──────────────────────────────── */
@media (max-width: 480px) {
    /* Page hero */
    .ph {
        padding: 6rem 5% 2.5rem;
    }

    .ph h1 {
        font-size: clamp(1.6rem, 7vw, 2.3rem);
    }

    .ph p {
        font-size: 0.85rem;
    }

    /* Contact section */
    .ctsec {
        padding: 3rem 5%;
    }

    .cw {
        gap: 2rem;
    }

    .cl h2 {
        font-size: 1.2rem;
    }

    .cl p {
        font-size: 0.8rem;
    }

    .cd {
        gap: 0.7rem;
    }

    .cdi {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .cdt strong {
        font-size: 0.78rem;
    }

    .cdt span {
        font-size: 0.68rem;
    }

    .hbox {
        padding: 1rem;
        border-radius: 11px;
    }

    .hbox h4 {
        font-size: 0.7rem;
    }

    .hr2 {
        font-size: 0.73rem;
        gap: 0.5rem;
    }

    /* Contact form */
    .cfb {
        padding: 1.6rem 1.3rem;
        border-radius: 14px;
    }

    .fg label {
        font-size: 0.68rem;
        margin-bottom: 0.3rem;
    }

    .fg input,
    .fg textarea,
    .fg select {
        padding: 0.68rem 0.85rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .fg textarea {
        min-height: 100px;
    }

    .frow {
        gap: 0.7rem;
    }

    .sb2 {
        padding: 0.85rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .fn {
        font-size: 0.65rem;
    }

    /* Calendar section */
    .calsec {
        padding: 3rem 5%;
    }

    .calsec h2 {
        font-size: 1.3rem;
    }

    .calsec p {
        font-size: 0.82rem;
    }

    .calbox {
        padding: 1.8rem 1.3rem;
        border-radius: 14px;
    }

    .calbox .ci {
        font-size: 2.2rem;
    }

    .calbox h3 {
        font-size: 0.98rem;
    }

    .calbox p {
        font-size: 0.75rem;
        margin-bottom: 1.2rem;
    }

    .calbox .btn-p {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
}

/* ─── DISPOSITIVOS MUY PEQUEÑOS (≤360px) ─────────────────── */
@media (max-width: 360px) {
    .ph h1 {
        font-size: clamp(1.4rem, 8vw, 2rem);
    }

    .ph p {
        font-size: 0.8rem;
    }

    .cl h2 {
        font-size: 1.1rem;
    }

    .cl p {
        font-size: 0.75rem;
    }

    .cdt strong {
        font-size: 0.73rem;
    }

    .cdt span {
        font-size: 0.65rem;
    }

    .fg label {
        font-size: 0.65rem;
    }

    .fg input,
    .fg textarea,
    .fg select {
        font-size: 0.75rem;
    }

    .sb2 {
        font-size: 0.8rem;
    }

    .calbox h3 {
        font-size: 0.9rem;
    }

    .calbox p {
        font-size: 0.7rem;
    }
}

/* ─── DESKTOP GRANDE (≥1440px) ───────────────────────────── */
@media (min-width: 1440px) {
    .ph {
        max-width: 1400px;
        margin: 0 auto;
    }

    .cw {
        max-width: 1200px;
        margin: 0 auto;
    }

    .calbox {
        max-width: 600px;
    }
}