/* 
  Design System for Iara Desentupidora (2026)
  Colors, Typography and Custom Animations
*/

:root {
    /* Color Palette */
    --primary: #0f52ba;          /* Sapphire Blue */
    --primary-light: #3b82f6;    /* Bright Blue */
    --primary-dark: #092c7a;     /* Deep Navy */
    --secondary: #25d366;        /* WhatsApp Green */
    --secondary-hover: #1ebd57;
    --accent: #ff6b35;           /* Urgency Alert Orange */
    --accent-light: #ffa600;     /* Gold/Yellow Accent */
    
    /* Grayscale & Backgrounds */
    --bg-dark: #0b132b;          /* Dark Space Blue */
    --bg-card-dark: #1c2541;     /* Glassmorphism card dark base */
    --bg-light: #f8fafc;         /* Crisp Light Mode Background */
    --bg-card-light: #ffffff;    /* Card light base */
    --text-dark: #0f172a;        /* Deep slate text */
    --text-light: #f1f5f9;       /* Light text */
    --text-muted: #64748b;       /* Muted gray text */
    
    /* Layout & Utilities */
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-title: 'Outfit', -apple-system, sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Gaps & Containers */
    --container-width: 1200px;
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography & Layout */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-blue { color: var(--primary-light); }
.text-green { color: var(--secondary); }
.text-yellow { color: var(--accent-light); }
.text-red { color: #f43f5e; }
.text-white { color: #ffffff; }
.text-light { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.text-xs { font-size: 0.75rem; }
.bg-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-sans);
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-secondary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(15, 82, 186, 0.3);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 82, 186, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
}

.btn-outline:hover {
    background-color: var(--primary-light);
    color: #ffffff;
}

.btn-success {
    background-color: var(--secondary);
    color: white;
    font-size: 1.1rem;
    padding: 16px 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-success:hover {
    background-color: var(--secondary-hover);
    transform: scale(1.02);
}

/* Pulsing Action Animation */
.btn-pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Header & Nav Styling */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 82, 186, 0.08);
    transition: var(--transition-smooth);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    position: relative;
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    background-color: rgba(15, 82, 186, 0.08);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrench {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 0.85rem;
    transform: rotate(45deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-dark);
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--primary-light);
}

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

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: rgba(37, 211, 102, 0.1);
    border-radius: 50px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.status-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-hover);
    white-space: nowrap;
}

.btn-whatsapp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--secondary);
    color: white;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    transition: var(--transition-smooth);
}

.btn-whatsapp-header:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section Styling */
.hero {
    position: relative;
    padding: 160px 0 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 82, 186, 0.25) 0%, rgba(11, 19, 43, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge-urgency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.animate-pulse {
    animation: pulseIcon 1s infinite alternate;
}

@keyframes pulseIcon {
    from { opacity: 0.6; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.1); }
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(241, 245, 249, 0.85);
    margin-bottom: 30px;
    font-weight: 400;
}

.quick-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Tech Widget */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-card {
    background-color: var(--bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.tech-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.pulse-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tech-card-graphic {
    background: #070d1e;
    border-radius: var(--border-radius-sm);
    height: 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-light), transparent);
    box-shadow: 0 0 10px var(--primary-light);
    animation: scan 4s infinite linear;
}

@keyframes scan {
    0% { left: 0%; }
    50% { left: 100%; }
    100% { left: 0%; }
}

.pipe-glow {
    stroke-dasharray: 8;
    animation: flow 2s infinite linear;
}

@keyframes flow {
    to { stroke-dashoffset: -16; }
}

.leak-pulse {
    animation: leakPulse 1.5s infinite ease-in-out;
}

@keyframes leakPulse {
    0% { r: 4; opacity: 0.5; }
    50% { r: 10; opacity: 1; }
    100% { r: 4; opacity: 0.5; }
}

.tech-card-footer {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.badge-tech {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.urgency-floating-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    align-self: flex-start;
}

.floating-icon {
    font-size: 1.6rem;
}

.float-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.float-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Sections Structure */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-tag {
    display: inline-block;
    color: var(--primary-light);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-card-light);
    border-radius: var(--border-radius-md);
    padding: 35px 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 82, 186, 0.04);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 82, 186, 0.15);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(15, 82, 186, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background-color: var(--primary);
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* Simulator Section Styling */
.simulator-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.simulator-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.simulator-info .section-title {
    font-size: 2.2rem;
    line-height: 1.2;
}

.simulator-guarantees {
    display: flex;
    gap: 24px;
    margin-top: 30px;
}

.sim-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.simulator-card {
    background-color: var(--bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.simulator-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.sim-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.sim-step.active {
    background-color: var(--primary-light);
    color: white;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.sim-step-line {
    flex-grow: 1;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
}

.budget-form {
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.form-step-content {
    display: none;
    flex-grow: 1;
    animation: fadeInStep 0.4s ease;
}

.form-step-content.active {
    display: flex;
    flex-direction: column;
}

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

.form-step-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.option-card {
    cursor: pointer;
}

.option-card input {
    display: none;
}

.option-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 10px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    text-align: center;
    height: 100%;
}

.option-card input:checked + .option-box {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-light);
}

.option-icon {
    font-size: 1.8rem;
    color: var(--primary-light);
    transition: var(--transition-smooth);
}

.option-card input:checked + .option-box .option-icon {
    transform: scale(1.1);
}

.option-label {
    font-size: 0.8rem;
    font-weight: 600;
}

.input-group {
    margin-bottom: 24px;
}

.input-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-light);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    color: white;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: auto;
}

.btn-submit {
    flex-grow: 1;
}

/* Differentials Section */
.differentials-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.diff-card {
    background-color: var(--bg-card-light);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.diff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 82, 186, 0.08);
}

.diff-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.2rem;
    font-family: var(--font-title);
    font-weight: 800;
    opacity: 0.06;
}

.diff-icon {
    font-size: 2rem;
    margin-bottom: 24px;
}

.diff-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.diff-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Coverage Section */
.coverage-section {
    padding: 100px 0;
}

.coverage-card {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    color: var(--text-light);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.search-box {
    display: flex;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: var(--border-radius-sm);
    margin: 24px 0;
}

.search-input-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 12px;
}

.search-icon {
    font-size: 1.2rem;
    color: var(--primary-light);
}

.search-box input {
    width: 100%;
    background: none;
    border: none;
    color: white;
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.search-box input:focus {
    outline: none;
}

.search-result-alert {
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInStep 0.3s ease;
}

.search-result-alert.success {
    background-color: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #4ade80;
}

.search-result-alert.error {
    background-color: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #fb7185;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tags-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.tag-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tag-btn:hover {
    background: var(--primary-light);
}

.coverage-list-box {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px;
    border-radius: var(--border-radius-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.coverage-list-box h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.coverage-grid-cities {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    flex-grow: 1;
}

.city-col h5 {
    font-size: 0.9rem;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.city-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.city-col li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.neighborhood-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 0.85rem;
    line-height: 1.8;
}

.neighborhood-scroll span {
    background-color: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background-color: var(--bg-card-light);
    border-radius: var(--border-radius-md);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stars {
    color: var(--accent-light);
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.6;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(15, 82, 186, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.client-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.client-location {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.segments-area {
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 40px;
}

.segments-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.segments-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.segment-pill {
    background-color: rgba(15, 82, 186, 0.04);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
}

/* FAQ Accordion */
.faq-section {
    padding: 100px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-card-light);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 22px 28px;
    background: none;
    border: none;
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.faq-toggle-icon {
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    color: var(--primary-light);
}

.faq-answer {
    padding: 0 28px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 22px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Active State Accordion */
.faq-item.active {
    border-color: rgba(15, 82, 186, 0.15);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Safe upper bound for text */
    opacity: 1;
}

/* Footer Section */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.1fr 0.7fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 20px 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contacts li {
    display: flex;
    gap: 16px;
}

.footer-contacts i {
    font-size: 1.4rem;
    margin-top: 4px;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.contact-val {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legal-info p + p {
    margin-top: 6px;
}

.badge-lgbtq {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Floating WhatsApp Button */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 999;
    transition: var(--transition-smooth);
    animation: bounceFloating 2s infinite;
}

.whatsapp-floating:hover {
    background-color: var(--secondary-hover);
    transform: scale(1.1);
}

.floating-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.whatsapp-floating:hover .floating-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@keyframes bounceFloating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero WhatsApp and Simulator CTAs */
.btn-whatsapp-hero {
    font-size: 1.1rem !important;
    padding: 14px 32px !important;
    background-color: var(--secondary) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
}

.btn-whatsapp-hero:hover {
    background-color: var(--secondary-hover) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5) !important;
}

.btn-simulador-hero {
    font-size: 1.1rem !important;
    padding: 14px 32px !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

.btn-simulador-hero:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: white !important;
    color: white !important;
    transform: translateY(-3px) !important;
}

/* Mobile Sticky WhatsApp Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 16px;
    background: rgba(11, 19, 43, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.btn-whatsapp-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: var(--secondary);
    color: white;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    animation: btnPulse 2s infinite;
}

.btn-whatsapp-sticky:hover {
    background-color: var(--secondary-hover);
}

.footer-contact-whatsapp {
    background-color: rgba(37, 211, 102, 0.08);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.text-green-highlight {
    color: #4ade80 !important;
    font-size: 1.2rem !important;
}

/* Gallery & Lightbox Styles */
.gallery-section {
    padding: 100px 0;
    background-color: #ffffff;
}

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

.gallery-card {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 82, 186, 0.05);
    cursor: pointer;
    transition: var(--transition-smooth);
    background-color: #ffffff;
    height: 240px;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 82, 186, 0.15);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 82, 186, 0.85) 0%, rgba(15, 82, 186, 0.2) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-smooth);
    color: white;
    padding: 20px;
    text-align: center;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.overlay-icon {
    font-size: 2.2rem;
    transform: translateY(15px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .overlay-icon {
    transform: translateY(0);
}

.overlay-text {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transform: translateY(15px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.gallery-card:hover .overlay-text {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.lightbox-content-box {
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomLightbox 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.lightbox-content-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    width: 100%;
    margin-top: 20px;
    text-align: center;
    color: white;
}

.lightbox-caption h4 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.lightbox-caption p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .gallery-card {
        height: 200px;
    }
    .gallery-section {
        padding: 60px 0;
    }
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2.2rem;
        width: 40px;
        height: 40px;
    }
    .lightbox-caption h4 {
        font-size: 1.1rem;
    }
    .lightbox-caption p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: block;
    }
    
    .whatsapp-floating {
        display: none !important;
    }
    
    /* Ensure footer doesn't get covered by sticky bar */
    .footer {
        padding-bottom: 90px !important;
    }
}

/* Responsive Styling - Mobile First & Breakpoints */
@media (max-width: 992px) {
    .header-container {
        height: 70px;
    }
    
    .nav-menu {
        display: none; /* Controlled by JS mobile menu toggle */
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero {
        padding: 120px 0 60px 0;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .simulator-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .coverage-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Mobile Active Menu State */
    .nav-menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid rgba(15, 82, 186, 0.1);
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .status-badge {
        display: none; /* Hide badge on extremely small screens */
    }
    
    .btn-whatsapp-header span {
        display: none; /* Icon-only on mobile */
    }
    
    .btn-whatsapp-header {
        padding: 10px 14px;
        border-radius: 50%;
    }
    
    .simulator-card {
        padding: 24px 16px;
    }
    
    .options-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}
