/* ========================================
   LOTTUS INJETECH - STYLES
   Cores: Amarelo/Dourado, Preto, Cinza Metálico, Branco
======================================== */

/* CSS Variables */
:root {
    /* Cores Principais - Baseadas no Logo */
    --color-primary: #1a1a1a;
    --color-primary-dark: #0a0a0a;
    --color-primary-light: #2d2d2d;

    /* Amarelo/Dourado do Logo */
    --color-gold: #F5B800;
    --color-gold-light: #FFD54F;
    --color-gold-dark: #E5A800;
    --color-orange: #FF8C00;
    --color-orange-light: #FFA033;

    /* Mantendo compatibilidade com classes existentes */
    --color-royal: #F5B800;
    --color-royal-light: #FFD54F;

    /* Neutros - Cinza Metálico */
    --color-black: #0a0a0a;
    --color-gray-900: #121212;
    --color-gray-800: #1a1a1a;
    --color-gray-700: #2d2d2d;
    --color-gray-600: #404040;
    --color-gray-500: #6b7280;
    --color-gray-400: #9ca3af;
    --color-gray-300: #d1d5db;
    --color-gray-200: #e5e7eb;
    --color-gray-100: #f5f5f5;
    --color-white: #ffffff;

    /* Accent */
    --color-accent: #F5B800;
    --color-accent-hover: #E5A800;
    --color-success: #22c55e;
    --color-whatsapp: #25d366;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --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);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Header */
    --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gray-900);
}

.text-red {
    color: #DC2626 !important;
}

/* ========================================
   HEADER
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: #000000;
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

.footer-logo {
    height: 70px;
    margin-bottom: var(--spacing-md);
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-300);
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

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

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

/* Menu Toggle */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    color: var(--color-white);
    align-items: center;
    justify-content: center;
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
}

/* ========================================
   WHATSAPP FLOAT
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-gray-800) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(245, 184, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.15) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F5B800' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 10, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-4xl) var(--spacing-lg);
    max-width: 900px;
}

.hero-title {
    margin-bottom: var(--spacing-lg);
}

.hero-brand {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-main {
    display: block;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--color-gold);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 32px;
    height: 32px;
}

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

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.1rem;
}

.btn-lg svg {
    width: 24px;
    height: 24px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-orange) 100%);
    color: var(--color-black);
    box-shadow: 0 4px 15px rgba(245, 184, 0, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 184, 0, 0.5);
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary-dark);
}

.btn-secondary:hover {
    background: var(--color-gray-100);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary-dark);
}

.btn-white:hover {
    background: var(--color-gray-100);
    transform: translateY(-2px);
}

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

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-primary-dark);
}

.btn-block {
    width: 100%;
}

/* ========================================
   SECTION STYLES
======================================== */
section {
    padding: var(--spacing-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-md);
}

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

/* ========================================
   SERVICES SECTION
======================================== */
.services {
    background: var(--color-gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--color-gray-200);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-gray-700) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    border: 2px solid var(--color-gold);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-orange) 100%);
    border-color: var(--color-gold-light);
}

.service-card:hover .service-icon svg {
    color: var(--color-black);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-gold);
}

.service-title {
    font-size: 1.15rem;
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* ========================================
   DIAGNOSTIC SECTION
======================================== */
.diagnostic {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
}

.diagnostic .section-tag {
    color: var(--color-gold);
}

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

.diagnostic-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.diagnostic-description {
    font-size: 1.1rem;
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.diagnostic-features {
    margin-bottom: var(--spacing-xl);
}

.diagnostic-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    color: var(--color-gray-200);
}

.diagnostic-features svg {
    width: 22px;
    height: 22px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.diagnostic-image {
    display: flex;
    justify-content: center;
}

.diagnostic-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(245, 184, 0, 0.1) 0%, rgba(255, 140, 0, 0.15) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(245, 184, 0, 0.3);
}

.diagnostic-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-orange) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.diagnostic-icon-large svg {
    width: 60px;
    height: 60px;
    color: var(--color-black);
}

.diagnostic-stats {
    display: flex;
    gap: var(--spacing-2xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-gold);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-gray-400);
}

/* ========================================
   WHY CHOOSE SECTION
======================================== */
.why-choose {
    background: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.why-card {
    text-align: center;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.why-card:hover {
    background: var(--color-gray-50);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    transition: all var(--transition-base);
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-orange) 100%);
}

.why-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-gray-700);
    transition: color var(--transition-base);
}

.why-card:hover .why-icon svg {
    color: var(--color-black);
}

.why-title {
    font-size: 1.15rem;
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-sm);
}

.why-description {
    font-size: 0.95rem;
    color: var(--color-gray-600);
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    background: var(--color-gray-100);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: url('img/frente-loja.png') center/cover no-repeat;
    border-radius: var(--radius-xl);
    margin: 0 auto;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 12px 24px -8px rgba(0, 0, 0, 0.3);
    overflow: visible;
    transform: scale(1.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.5),
        0 15px 30px -10px rgba(0, 0, 0, 0.4);
}

.about-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon-large svg {
    width: 50px;
    height: 50px;
    color: var(--color-white);
}

.about-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-orange) 100%);
    color: var(--color-black);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

.badge-text {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.badge-year {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
}

.about-text .section-tag,
.about-text .section-title {
    text-align: left;
}

.about-description {
    font-size: 1rem;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.about-values {
    margin-top: var(--spacing-xl);
}

.value-item {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-gold);
}

.value-item h4 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-sm);
}

.value-item h4 svg {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
}

.value-item p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials {
    background: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: var(--color-gray-50);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.testimonial-rating svg {
    width: 20px;
    height: 20px;
}

.star-filled {
    color: #fbbf24;
    fill: #fbbf24;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--color-gray-700);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-gray-800) 0%, var(--color-gray-900) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-gold);
}

.author-avatar svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-gray-900);
}

.author-source {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.author-source svg {
    width: 14px;
    height: 14px;
}

.testimonials-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* ========================================
   LOCATION SECTION
======================================== */
.location {
    background: var(--color-gray-100);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    align-items: stretch;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-200);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-gray-800) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--color-gold);
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
}

.info-text h4 {
    font-size: 1rem;
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-xs);
}

.info-text p {
    font-size: 0.95rem;
    color: var(--color-gray-600);
}

.info-note {
    font-size: 0.85rem !important;
    color: var(--color-gray-500) !important;
    font-style: italic;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow-lg);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ========================================
   CTA SECTION
======================================== */
.cta {
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-black) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(245, 184, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 140, 0, 0.1) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 1.15rem;
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: #000000;
    color: var(--color-gray-400);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand .logo {
    margin-bottom: var(--spacing-md);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
}

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-gray-400);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
}

.footer-contact a {
    color: var(--color-gray-400);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--color-gray-800);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.social-links svg {
    width: 22px;
    height: 22px;
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-primary-dark);
        padding: var(--spacing-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 1.1rem;
        padding: var(--spacing-md);
        display: block;
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .diagnostic-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .diagnostic-text {
        order: 1;
    }

    .diagnostic-image {
        order: 2;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .about-image {
        order: 1;
    }

    .about-text {
        order: 2;
    }

    .about-text .section-tag,
    .about-text .section-title {
        text-align: center;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 65px;
        --spacing-4xl: 4rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-gear {
        width: 24px;
        height: 24px;
    }

    .logo-name {
        font-size: 1.2rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .hero-content {
        padding: var(--spacing-3xl) var(--spacing-md);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .btn-lg {
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: 1rem;
    }

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

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

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

    .diagnostic-image-wrapper {
        max-width: 300px;
    }

    .diagnostic-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .about-image-wrapper {
        max-width: 280px;
    }

    .about-badge {
        bottom: -10px;
        right: -10px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --spacing-4xl: 3rem;
    }

    .hero-brand {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card {
        padding: var(--spacing-lg);
    }

    .testimonial-card {
        padding: var(--spacing-lg);
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .value-item {
        padding: var(--spacing-md);
    }
}

/* Animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-royal-light);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .hero-scroll,
    .cta,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    section {
        page-break-inside: avoid;
    }
}
