/* ============================================================
   Argon – Letras 3D de Aluminio Premium
   Main Stylesheet
   ============================================================ */

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #000;
    color: #f5f5f7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   Shared Utilities
   ============================================================ */
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #10b981;
    margin-bottom: 20px;
}

/* ============================================================
   Header & Navigation
   ============================================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #10b981;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
    max-width: 860px;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 88px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero p {
    font-size: clamp(18px, 2.5vw, 24px);
    color: #86868b;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero .cta-button {
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   3D Scroll Reveal Section
   ============================================================ */
.product-3d {
    height: 500vh;
    position: relative;
    background: #000;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    box-sizing: border-box;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ──────────────────────────────────────────────────────────
   Scroll Copy (Animated Text Overlays)
   ──────────────────────────────────────────────────────── */
.scroll-copy-container {
    position: absolute;
    top: 1.5em;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2%;
}

/* Apple/Spotify-style frosted glass pill */
.scroll-copy {
    position: absolute;
    text-align: center;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 720px;
    padding: 28px 40px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.scroll-copy.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-copy.fade-up {
    opacity: 0;
    transform: translateY(-50px) scale(1.05);
}

.scroll-copy h2 {
    font-size: clamp(24px, 3.8vw, 48px);
    padding-top: 0.2em;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #fff 0%, #d1d1d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}

.scroll-copy p {
    font-size: clamp(15px, 2vw, 20px);
    color: rgba(200, 200, 210, 0.88);
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* ============================================================
   Authority Section
   ============================================================ */
.authority {
    padding: 120px 40px;
    background: #000;
    position: relative;
    z-index: 20;
    border-top: 1px solid rgba(16, 185, 129, 0.12);
}

.authority-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.authority h2 {
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #fff 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.authority p {
    font-size: clamp(17px, 2.2vw, 22px);
    color: #86868b;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 64px;
}

.authority-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: #86868b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================================
   Gallery Section
   ============================================================ */
.gallery {
    padding: 120px 40px;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-header {
    max-width: 1200px;
    margin: 0 auto 60px;
}

.gallery-header h2 {
    font-size: clamp(30px, 4.5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery-header p {
    font-size: clamp(16px, 2vw, 20px);
    color: #86868b;
    line-height: 1.5;
    max-width: 600px;
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
    position: relative;
}

.gallery-card:hover {
    transform: scale(1.02);
    border-color: rgba(16, 185, 129, 0.3);
}

.gallery-card--large {
    grid-column: span 4;
    /* 4/6 ≈ 67% */
    aspect-ratio: 16 / 9;
}

.gallery-card--third {
    grid-column: span 2;
    /* 2/6 ≈ 33% */
    aspect-ratio: 3 / 4;
}

.gallery-card--half {
    grid-column: span 3;
    /* 3/6 = 50% each */
    aspect-ratio: 4 / 3;
}

/* Real photo fills the card */
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Subtle dark-tint applied via filter so it blends with the black site */
    filter: brightness(0.82) saturate(0.9);
    transition: filter 0.4s ease, transform 0.5s ease;
}

.gallery-card:hover img {
    filter: brightness(0.92) saturate(1.05);
    transform: scale(1.04);
}

/* Dark gradient overlay from bottom */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.15) 45%,
            transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px 24px;
    pointer-events: none;
}

.gallery-overlay span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(16, 185, 129, 0.85);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================================
   Evaluation / Contact Form
   ============================================================ */
.evaluation {
    padding: 120px 40px;
    background: #000;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.evaluation-inner {
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}

.evaluation h2 {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.evaluation-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 56px;
}

.eval-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-group input,
.form-group select {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #f5f5f7;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
    appearance: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2386868b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
}

.form-group select option {
    background: #111;
    color: #f5f5f7;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    flex: 1;
    min-width: 220px;
}

.radio-option:hover {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.04);
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #10b981;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    background: none;
    border: none;
}

.radio-option span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
}

.submit-button {
    width: 100%;
    padding: 20px 48px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 12px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

/* ============================================================
   Shared CTA Button (hero)
   ============================================================ */
.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

/* ============================================================
   Footer
   ============================================================ */
footer {
    padding: 60px 40px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: #86868b;
    text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card--large {
        grid-column: span 1;
    }

    .authority-stats {
        gap: 48px;
    }

    .nav-links {
        display: none;
    }
}