/* ==========================================================================
   SUPER HORMIGÓN SRL — Diseño Limpio e Industrial
   Paleta oficial: #FF8A00 | #FFC107 | #6B6F72 | #A7ADB3 | #2E3A46 | #1A1A1A
========================================================================== */

:root {
    --orange: #FF8A00;
    --orange-dark: #E07400;
    --amber: #FFC107;
    --concrete: #6B6F72;
    --steel: #A7ADB3;
    --deep-blue: #2E3A46;
    --ink: #1A1A1A;
    --white: #FFFFFF;
    --surface: #F6F7F8;
    --border: #E4E7EA;

    --grad-primary: linear-gradient(135deg, #FF8A00 0%, #FFC107 100%);
    --grad-dark: linear-gradient(135deg, #2E3A46 0%, #1A1A1A 100%);

    --font-display: 'Barlow Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 4px 16px rgba(26, 26, 26, 0.05);
    --shadow-md: 0 14px 36px rgba(26, 26, 26, 0.10);
    --shadow-lg: 0 22px 50px rgba(26, 26, 26, 0.18);
    --transition: 0.22s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-display);
    line-height: 1.06;
    letter-spacing: 0.02em;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   ACENTOS DE MARCA & BOTONES
========================================================================== */
.slash-accent {
    display: inline-block;
    width: 9px;
    height: 15px;
    background: var(--grad-primary);
    transform: skewX(-22deg);
    border-radius: 2px;
    flex-shrink: 0;
}

.slash-title {
    display: inline-block;
    width: 11px;
    height: 26px;
    background: var(--grad-primary);
    transform: skewX(-22deg);
    border-radius: 2px;
    flex-shrink: 0;
}

.text-gradient-orange {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.94rem;
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.86rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 0.98rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(255, 138, 0, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 138, 0, 0.38);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
}

1 .btn-whatsapp {
    background: #25D366;
    color: #0D2917;
}

.btn-whatsapp:hover {
    background: #20BD5A;
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER ÚNICO Y LIMPIO
========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(24, 28, 33, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 20px;
}

.brand-logo img {
    height: 48px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-admin-link {
    color: var(--amber);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0 9px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* ==========================================================================
   HERO
========================================================================== */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(18, 23, 28, 0.92) 0%, rgba(26, 33, 41, 0.76) 46%, rgba(26, 33, 41, 0.22) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 84px;
    padding-bottom: 68px;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 580px;
}

.eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--amber);
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(2.9rem, 5.8vw, 4.7rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.96;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 30px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-pillars {
    position: relative;
    z-index: 2;
    background: rgba(20, 26, 32, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-item:last-child {
    border-right: none;
}

.pillar-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 138, 0, 0.14);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.pillar-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--steel);
}

/* ==========================================================================
   SECCIONES GENERALES
========================================================================== */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--white);
}

.section-dark {
    background: var(--grad-dark);
    color: var(--white);
}

.section-header {
    margin-bottom: 40px;
}

.section-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.section-title-group h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: var(--deep-blue);
    text-transform: uppercase;
    white-space: nowrap;
}

.section-title-light h2 {
    color: var(--white);
}

.section-rule {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--steel) 0%, rgba(167, 173, 179, 0.12) 100%);
}

.section-lead {
    margin: 0;
    color: var(--concrete);
    font-size: 1rem;
    max-width: 600px;
}

/* ==========================================================================
   SERVICIOS (3 TARJETAS LIMPIAS)
========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 138, 0, 0.45);
}

.service-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--deep-blue);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.04);
}

.service-category {
    position: absolute;
    left: 14px;
    bottom: 12px;
    background: rgba(26, 26, 26, 0.85);
    color: var(--amber);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    border-left: 3px solid var(--orange);
}

.service-body {
    padding: 22px;
}

.service-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.service-body p {
    margin: 0;
    color: var(--concrete);
    font-size: 0.92rem;
}

/* Banda sutil de resistencias */
.mix-strip {
    margin-top: 32px;
    padding: 18px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.mix-strip-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--deep-blue);
}

.mix-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mix-pill {
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--deep-blue);
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.mix-pill:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--ink);
}

/* ==========================================================================
   NOSOTROS
========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.about-text {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.04rem;
    margin: 18px 0 28px;
}

.values-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.value-badge {
    text-align: center;
    padding: 14px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid var(--orange);
    border-radius: var(--radius-sm);
}

.value-badge span {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--white);
}

.about-image-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid rgba(255, 138, 0, 0.4);
    box-shadow: var(--shadow-lg);
}

.about-image-frame img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* ==========================================================================
   COTIZACIÓN Y CONTACTO
========================================================================== */
.quote-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.45fr;
    gap: 28px;
    align-items: start;
}

.contact-card {
    background: var(--grad-dark);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    border-top: 5px solid var(--orange);
    box-shadow: var(--shadow-md);
}

.ch-label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber);
    font-weight: 700;
}

.ch-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--white);
    margin: 6px 0 8px;
    letter-spacing: 0.04em;
}

.contact-hours {
    margin: 0 0 22px;
    font-size: 0.9rem;
    color: var(--steel);
}

.quote-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.form-row-3 {
    grid-template-columns: 1.2fr 0.9fr 0.8fr;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-group label {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--deep-blue);
}

.field-group input,
.field-group select {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #CBD2D9;
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    color: #111827;
    caret-color: var(--orange);
    font-family: var(--font-body);
    font-size: 0.93rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.field-group input::placeholder {
    color: #6B7280;
    opacity: 1;
}

.field-group input:focus,
.field-group select:focus {
    outline: none;
    border-color: var(--orange);
    background: #FFFFFF;
    color: #111827;
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.16);
}

.field-group input:-webkit-autofill,
.field-group input:-webkit-autofill:hover,
.field-group input:-webkit-autofill:focus {
    -webkit-text-fill-color: #111827;
    -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-feedback {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-feedback.is-success {
    background: #ECFDF3;
    border: 1px solid #86EFAC;
    color: #14532D;
}

.form-feedback.is-error {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
}

.feedback-wa-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 8px 14px;
    background: #25D366;
    color: #0D2917;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.86rem;
}

/* ==========================================================================
   FOOTER COMPACTO & WHATSAPP
========================================================================== */
.brand-accent-line {
    height: 5px;
    background: var(--grad-primary);
}

.site-footer {
    background: #14181C;
    color: var(--steel);
}

.footer-compact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 40px;
    padding-bottom: 34px;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 8px;
}

.footer-tagline {
    margin: 0;
    font-size: 0.86rem;
    color: var(--steel);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-nav a:hover {
    color: var(--orange);
}

.footer-admin {
    color: var(--amber);
}

.footer-contact {
    text-align: right;
}

.fc-phone {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.fc-hours {
    font-size: 0.8rem;
    color: var(--steel);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    font-size: 0.8rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-tag {
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 950;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #0D2917;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.38);
    transition: transform var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.04);
}

/* ==========================================================================
   ENTRADA PANEL ADMINISTRATIVO (admin/index.php)
========================================================================== */
.admin-stub-body {
    min-height: 100vh;
    background: var(--grad-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.admin-stub-wrap {
    width: 100%;
    max-width: 540px;
}

.admin-stub-card {
    background: #171D23;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.admin-stub-stripe {
    height: 6px;
    background: var(--grad-primary);
}

.admin-stub-inner {
    padding: 34px;
}

.admin-stub-logo img {
    height: 48px;
    width: auto;
    margin-bottom: 20px;
}

.admin-stub-card h1 {
    font-size: 2.2rem;
    margin: 6px 0 12px;
}

.admin-stub-text {
    color: var(--steel);
    margin: 0 0 22px;
    font-size: 0.94rem;
}

.admin-stub-roadmap {
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.roadmap-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.roadmap-dot.active {
    background: #22C55E;
}

.roadmap-dot.pending {
    background: var(--orange);
}

.roadmap-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
}

.roadmap-item span {
    font-size: 0.82rem;
    color: var(--steel);
}

/* Animación suave */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ==========================================================================
   RESPONSIVE
========================================================================== */
@media (max-width: 960px) {
    .main-nav {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: #14191F;
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 24px;
        gap: 16px;
        border-bottom: 2px solid var(--orange);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
    }

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

    .nav-toggle {
        display: flex;
    }

    .header-actions .btn-sm {
        display: none;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillar-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .services-grid,
    .about-grid,
    .quote-grid {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 58px 0;
    }

    .section-title-group h2 {
        white-space: normal;
    }

    .pillars-grid,
    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .values-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}