/* ============================================================================
   FIGUETRONIC — CORPORATE LANDING PAGE
   Engineering Laboratory — Professional Automotive Workshop
   ============================================================================
   Hybrid: Dark hero + Light body
   Brand: Soft Blue #3b82f6 + Dark #0f1d32
   Font: Inter (Google Fonts CDN)
   Icons: Font Awesome 6.4.0 (CDN)
   ============================================================================ */

/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
    /* Brand */
    --primary: #1e3a5f;
    --primary-dark: #142942;
    --primary-light: #2a5080;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --success: #10b981;
    --danger: #ef4444;

    /* Surfaces */
    --bg-dark: #0f1d32;
    --bg-darker: #0a1322;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-card: #ffffff;

    /* Text */
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;

    /* Borders & Shadows */
    --border: #e2e8f0;
    --border-focus: #3b82f6;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

    /* Spacing */
    --section-py: 100px;
    --section-px: 24px;
    --max-w: 1200px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

a:hover {
    color: var(--accent-light);
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--section-px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal="scale"] {
    transform: scale(0.95);
}

[data-reveal].visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
    background: transparent;
}

.header.scrolled {
    background: rgba(15, 29, 50, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--section-px);
}

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

.header-logo img {
    height: 42px;
    width: auto;
}

.header-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.header-logo-text span {
    color: var(--accent-light);
}

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

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.nav-cta::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.35;
    transform: scale(1.05);
    transition: opacity 0.5s var(--ease);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 19, 34, 0.7) 0%,
        rgba(15, 29, 50, 0.85) 50%,
        rgba(10, 19, 34, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--section-px);
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: fadeInDown 0.8s var(--ease) 0.2s both;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s var(--ease) 0.4s both;
}

.hero-title .accent {
    color: var(--accent-light);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s var(--ease) 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease) 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease);
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.section {
    padding: var(--section-py) 0;
}

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

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-desc {
    color: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT / QUIENES SOMOS
   ═══════════════════════════════════════════════════════════════════════════ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    pointer-events: none;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: var(--accent-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-suffix {
    font-size: 1.25rem;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════════════════ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 36px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-glow), rgba(59,130,246,0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 1.4rem;
    transition: all 0.3s var(--ease);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PHILOSOPHY / FILOSOFIA
   ═══════════════════════════════════════════════════════════════════════════ */

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-quote {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 32px;
    font-style: italic;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}

.pillar:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s var(--ease);
}

.pillar:nth-child(1) .pillar-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
}
.pillar:nth-child(2) .pillar-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}
.pillar:nth-child(3) .pillar-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.pillar:hover .pillar-icon {
    transform: scale(1.1);
}

.pillar h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.pillar p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.philosophy-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PORTFOLIO / TRABAJOS
   ═══════════════════════════════════════════════════════════════════════════ */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-alt);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.portfolio-item:hover::after {
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT FORM / SOLICITAR VISITA
   ═══════════════════════════════════════════════════════════════════════════ */

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-card);
    transition: all 0.3s var(--ease);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-submit:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-submit .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.form-submit.loading .spinner {
    display: block;
}

.form-submit.loading .btn-text {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-link {
    text-align: center;
    margin-top: 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.form-link a {
    font-weight: 600;
}

/* Contact Info sidebar */
.contact-info {
    padding: 40px;
    background: var(--bg-dark);
    border-radius: 16px;
    color: var(--white);
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(59,130,246,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 0.9rem;
}

.info-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.info-text p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.info-hours {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.info-hours h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent-light);
}

.info-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.info-hours-row .day {
    color: rgba(255,255,255,0.6);
}

.info-hours-row .time {
    color: var(--white);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
    background: var(--bg-darker);
    padding: 60px 0 24px;
    color: rgba(255,255,255,0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    transition: color 0.3s var(--ease);
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s var(--ease);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONFIRMATION MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s var(--ease);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 1.8rem;
}

.modal h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.modal p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.modal .folio {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
}

.modal .btn {
    min-width: 160px;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FORM SECTION TITLES & DIVIDERS
   ═══════════════════════════════════════════════════════════════════════════ */

.form-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-section-title i {
    color: var(--accent);
    font-size: 0.85rem;
}

.form-divider {
    border-top: 1px solid var(--border);
    margin: 24px 0;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   CALENDAR WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */

.calendar-wrap {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.cal-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cal-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.cal-nav-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
}

.cal-month-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 4px;
}

.cal-weekdays span {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-light);
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: all 0.2s;
    position: relative;
    cursor: default;
}

.cal-day.empty {
    visibility: hidden;
}

.cal-day.disabled {
    opacity: 0.35;
}

.cal-day.has-slots {
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
}

.cal-day.has-slots:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent);
}

.cal-day.selected {
    background: var(--accent) !important;
    color: var(--white) !important;
    font-weight: 700;
}

.cal-day.selected::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--white);
}

.cal-day.today:not(.selected) {
    color: var(--accent);
    font-weight: 700;
}

.cal-day.has-slots::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--success);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TIME SLOTS
   ═══════════════════════════════════════════════════════════════════════════ */

.slots-section {
    display: none;
    margin-bottom: 16px;
    animation: fadeSlideUp 0.3s var(--ease);
}

.slots-section.visible {
    display: block;
}

.slots-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.slots-loading {
    display: none;
    text-align: center;
    padding: 12px;
    color: var(--text-light);
    font-size: 0.88rem;
}

.slots-loading.visible {
    display: block;
}

.slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.time-pill {
    padding: 8px 16px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.time-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
}

.time-pill.active {
    background: var(--accent) !important;
    color: var(--white) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 2px 8px var(--accent-glow);
}

.time-pill i {
    font-size: 0.72rem;
}

.selected-summary {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.02));
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 10px;
    margin-bottom: 16px;
    animation: fadeSlideUp 0.3s var(--ease);
}

.selected-summary.visible {
    display: flex;
}

.ss-icon {
    font-size: 1.4rem;
    color: var(--success);
}

.ss-datetime {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
}

.ss-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 1px;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   UPLOAD ZONE
   ═══════════════════════════════════════════════════════════════════════════ */

.upload-zone {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--bg-alt);
    margin-bottom: 12px;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.04);
}

.upload-zone input[type="file"] {
    display: none;
}

.upload-zone-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    transition: all 0.3s;
}

.upload-zone:hover .upload-zone-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.05);
}

.upload-zone-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.upload-zone-hint {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.upload-zone-formats {
    font-size: 0.78rem;
    color: var(--text-light);
}

.upload-zone .file-counter {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 600;
}

/* Preview Grid */

.preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.preview-grid:empty {
    display: none;
}

.preview-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-thumb .remove-thumb {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    z-index: 2;
    line-height: 1;
}

.preview-thumb:hover .remove-thumb {
    display: flex;
}

.preview-thumb .thumb-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2px 4px;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 0.6rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════════════════════════════
   VOICE NOTE
   ═══════════════════════════════════════════════════════════════════════════ */

.voice-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 20px;
}

.voice-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.voice-btn:hover {
    background: rgba(59, 130, 246, 0.08);
}

.voice-btn.recording {
    background: var(--danger) !important;
    border-color: var(--danger) !important;
    color: var(--white) !important;
    animation: voicePulse 1.5s ease-in-out infinite;
}

@keyframes voicePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.voice-info {
    flex: 1;
    min-width: 0;
}

.voice-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.voice-sub {
    font-size: 0.78rem;
    color: var(--text-light);
}

.voice-timer {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--danger);
    display: none;
}

.voice-timer.visible {
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FORM ERROR & TOAST
   ═══════════════════════════════════════════════════════════════════════════ */

.form-error {
    display: none;
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.form-error.visible {
    display: block;
}

@keyframes slideInToast {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --section-py: 60px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        transition: right 0.3s var(--ease);
        box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .hamburger {
        display: flex;
    }

    .about-grid,
    .philosophy-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .services-grid { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 480px) {
    .stats { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row-3 { grid-template-columns: 1fr; }
}
