/* ==========================================================================
   YAŞAR SU KAÇAKLARI - Complete Website Styles
   Professional water leak detection company
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties (Theming)
   ========================================================================== */
:root {
    /* Brand Colors - Warm & Organic */
    --primary: #1B4965;
    --primary-dark: #143a52;
    --primary-light: #3d7a9e;
    --secondary: #5FA8D3;
    --accent-green: #2d9f6f;
    --accent-green-dark: #237a56;
    --accent-red: #c75c3a;
    --accent-red-dark: #a84a2e;
    --accent-orange: #d4943a;
    --accent-orange-dark: #b47a2e;

    /* Neutral Colors - Warm tones */
    --white: #ffffff;
    --light-bg: #F7F0E8;
    --light-gray: #FAF6F1;
    --border-color: #e6ddd2;
    --text-dark: #2c3e50;
    --text-body: #5a6a78;
    --text-muted: #8a9aaa;
    --footer-bg: #1a2d3d;
    --footer-text: #a8bcc8;
    --cream: #FDFBF7;

    /* Typography - Warm & Rounded */
    --font-heading: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

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

    /* Border Radius - Organic shapes */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50%;
    --radius-organic: 14px 18px 14px 20px;

    /* Shadows - Softer, warmer */
    --shadow-sm: 0 2px 8px rgba(27,73,101,0.06);
    --shadow-md: 0 4px 12px rgba(27,73,101,0.08);
    --shadow-lg: 0 8px 24px rgba(27,73,101,0.1);
    --shadow-xl: 0 16px 40px rgba(27,73,101,0.12);
    --shadow-primary: 0 6px 20px rgba(27,73,101,0.18);

    /* Transitions - Slightly slower, organic feel */
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.25s var(--ease-smooth);
    --transition-normal: 0.35s var(--ease-smooth);
    --transition-slow: 0.55s var(--ease-smooth);

    /* Layout */
    --header-height: 75px;
    --container-max: 1140px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

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

ul, ol {
    list-style: none;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

p {
    color: var(--text-body);
}

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

/* ==========================================================================
   3. Preloader
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-icon {
    animation: preloaderBounce 1.2s infinite ease-in-out;
    margin-bottom: var(--space-md);
}

.preloader-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.85rem 1.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-organic);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    white-space: nowrap;
    line-height: 1.4;
}

.btn i {
    font-size: 1.1rem;
}

.btn-whatsapp {
    background-color: var(--accent-green);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(45, 159, 111, 0.3);
}

.btn-whatsapp:hover {
    background-color: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(45, 159, 111, 0.4);
    color: var(--white);
}

.btn-call {
    background-color: var(--accent-red);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(199, 92, 58, 0.3);
}

.btn-call:hover {
    background-color: var(--accent-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.45);
    color: var(--white);
}

.btn-cta-phone {
    background-color: var(--white);
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.btn-cta-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--primary-dark);
}

.btn-cta-whatsapp {
    background-color: var(--accent-green);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
}

.btn-cta-whatsapp:hover {
    background-color: var(--accent-green-dark);
    transform: translateY(-2px);
    color: var(--white);
}

/* Cookie buttons */
.btn-cookie-accept {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

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

.btn-cookie-decline {
    background: transparent;
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.btn-cookie-decline:hover {
    color: var(--text-dark);
    border-color: var(--text-muted);
}

/* ==========================================================================
   5. Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 9999;
    padding: var(--space-sm) 0;
    transition: all var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    padding: var(--space-xs) 0;
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-color);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    overflow: visible;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon svg {
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    overflow: visible;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
    line-height: 1.15;
    overflow: visible;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-body);
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

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

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

/* Header Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.header-phone i {
    font-size: 0.9rem;
    color: var(--accent-green);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 10001;
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all var(--transition-normal);
    transform-origin: center;
}

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

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* ==========================================================================
   6. Hero Section
   ========================================================================== */
.hero {
    margin-top: var(--header-height);
    background: linear-gradient(135deg, var(--primary) 0%, #1e5a7d 50%, var(--primary-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(95, 168, 211, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(20, 58, 82, 0.6) 0%, transparent 60%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    padding: var(--space-3xl) 0 var(--space-2xl);
    min-height: 520px;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-sm);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--white);
}

.title-white {
    display: block;
    color: var(--white);
}

.title-accent {
    display: block;
    color: #7dd3fc;
    margin-top: var(--space-xs);
}

.hero-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
    max-width: 500px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--white);
}

.hero-badge i {
    color: var(--accent-green);
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-height: 450px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-logo-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(11, 83, 148, 0.7);
    backdrop-filter: blur(8px);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    color: var(--white);
}

.hero-logo-overlay span {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.hero-logo-overlay small {
    font-size: 0.6rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Floating Badge */
.hero-floating-badge {
    position: absolute;
    top: 10%;
    right: -10px;
    z-index: 3;
    animation: floatBadge 3s ease-in-out infinite;
}

.floating-badge-inner {
    background: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    max-width: 200px;
}

.floating-badge-inner i {
    color: var(--accent-red);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.floating-badge-inner p {
    font-size: 0.8rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

/* Hero Areas Bar */
.hero-areas-bar {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-md) 0;
    position: relative;
    z-index: 1;
}

.areas-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.areas-bar-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.areas-bar-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.areas-bar-list li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

.areas-bar-list li i {
    color: var(--accent-green);
    font-size: 0.75rem;
}

/* ==========================================================================
   7. Section Headers
   ========================================================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.section-line {
    height: 3px;
    width: 50px;
    background: var(--secondary);
    border-radius: 5px 15px 5px 15px; /* organic shape */
    opacity: 0.7;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    white-space: nowrap;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: var(--space-3xl);
    line-height: 1.3;
}

/* ==========================================================================
   8. Services Section
   ========================================================================== */
.services {
    background-color: var(--white);
    padding: var(--space-4xl) 0;
}

.services-grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.services-grid-top {
    grid-template-columns: repeat(3, 1fr);
}

.services-grid-bottom {
    grid-template-columns: repeat(3, 1fr);
}

/* Service Card - Base */
.service-card {
    background: var(--cream);
    border-radius: var(--radius-organic);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(230, 221, 210, 0.5); /* subtle warm border */
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(230, 221, 210, 1);
}

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

.service-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.service-card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Service Card - Icon Type */
.service-card-icon-type {
    position: relative;
}

.service-icon-circle {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    width: 55px;
    height: 55px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    z-index: 3;
    box-shadow: var(--shadow-md);
}

.service-icon-green { background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark)); }
.service-icon-red { background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark)); }
.service-icon-orange { background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark)); }
.service-icon-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.service-icon-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.service-icon-navy { background: linear-gradient(135deg, #6366f1, #4f46e5); }

.service-card-img-small {
    height: 160px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card-icon-type:hover .service-card-img-small img {
    transform: scale(1.08);
}

/* ==========================================================================
   9. Why Us Section
   ========================================================================== */
.why-us {
    background: var(--light-bg);
    padding: var(--space-4xl) 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.why-us-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
}

.why-us-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: var(--space-2xl);
}

.why-us-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: var(--radius-full);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.feature-item span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Region Visual */
.why-us-visual {
    position: relative;
}

.region-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.region-image-wrapper img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.region-overlay-card {
    position: absolute;
    bottom: var(--space-xl);
    right: var(--space-xl);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 320px;
}

.region-overlay-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.region-overlay-card h3 i {
    color: var(--secondary);
}

.region-areas {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.region-areas strong {
    color: var(--primary);
}

.region-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   10. Stats Section
   ========================================================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%23ffffff' 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");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   11. FAQ Section
   ========================================================================== */
.faq-section {
    background: var(--white);
    padding: var(--space-4xl) 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 2px solid rgba(230, 221, 210, 0.4);
    border-radius: var(--radius-organic);
    background: var(--cream);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--secondary);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
    text-align: left;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--secondary);
    transition: transform var(--transition-normal);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   12. CTA Bar
   ========================================================================== */
.cta-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(26, 139, 199, 0.3) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.cta-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: var(--space-xl);
}

.cta-bar-text h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.cta-bar-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.cta-bar-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cta-bar-mascot {
    display: flex;
    align-items: flex-end;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.mascot-bubble {
    background: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.mascot-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: 15px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid var(--white);
}

.mascot-bubble p {
    font-size: 0.8rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.mascot-bubble strong {
    color: var(--accent-red);
}

.mascot-icon {
    animation: mascotBounce 2s ease-in-out infinite;
}

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

/* ==========================================================================
   13. Footer
   ========================================================================== */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: var(--space-3xl) 0 0;
}

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

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-about p {
    color: var(--footer-text);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Footer Columns */
.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 0.65rem;
}

.footer-col ul li a {
    color: var(--footer-text);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

/* Footer Contact */
.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: 0.85rem;
    color: var(--footer-text);
    font-size: 0.9rem;
}

.footer-contact ul li i {
    color: var(--secondary);
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact ul li a {
    color: var(--footer-text);
}

.footer-contact ul li a:hover {
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: var(--footer-text);
    font-size: 0.85rem;
    margin: 0;
}

/* ==========================================================================
   14. Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: all var(--transition-normal);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background: var(--accent-green-dark);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--text-dark);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

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

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   15. Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   16. Cookie Consent
   ========================================================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 99998;
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cookie-content p i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

/* ==========================================================================
   17. Scroll Animations
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.animate-on-scroll[data-animation="fade-up"] {
    transform: translateY(40px);
}

.animate-on-scroll[data-animation="fade-left"] {
    transform: translateX(40px);
}

.animate-on-scroll[data-animation="fade-right"] {
    transform: translateX(-40px);
}

.animate-on-scroll[data-animation="zoom-in"] {
    transform: scale(0.85);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ==========================================================================
   18. Custom Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--light-bg);
}

/* ==========================================================================
   19. Responsive Design
   ========================================================================== */

/* Large Desktop (1200px) */
@media (max-width: 1200px) {
    .hero-content {
        gap: var(--space-xl);
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

/* Tablet Landscape (992px) */
@media (max-width: 992px) {
    :root {
        --header-height: 65px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-2xl) var(--space-2xl);
        box-shadow: var(--shadow-xl);
        transition: left var(--transition-normal);
        z-index: 10000;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .nav-link {
        display: block;
        padding: var(--space-md) 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-phone {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-2xl) 0;
        min-height: auto;
    }

    .hero-visual {
        display: none;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }

    .cta-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-bar-mascot {
        display: none;
    }

    .cta-bar-actions {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .hero-badges {
        gap: var(--space-md);
    }

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

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

    .region-overlay-card {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 100%;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-title {
        font-size: 1.6rem;
    }

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

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

    .areas-bar-content {
        flex-direction: column;
        gap: var(--space-md);
    }

    .areas-bar-list {
        gap: var(--space-md);
    }

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

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .cta-bar-text h2 {
        font-size: 1.2rem;
    }

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

    .cta-bar-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Small Mobile (360px) */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .logo-title {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   20. Print Styles
   ========================================================================== */
@media print {
    .header,
    .hero,
    .cta-bar,
    .whatsapp-float,
    .back-to-top,
    .cookie-consent,
    .preloader {
        display: none !important;
    }

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

    .container {
        max-width: 100%;
        padding: 0;
    }

    .service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* ==========================================================================
   21. Accessibility
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

/* Skip to content (for screen readers) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Mobile Nav Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
