/* ==========================================================================
   Sukhomlyn Gebäudereinigung Hamburg - Premium Styles
   Mobile First Approach
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-white: #ffffff;
    --color-off-white: #f9fafb;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;

    /* Brand Colors */
    --color-primary: #1e3a5f;
    --color-primary-light: #2d4a6f;
    --color-primary-dark: #152a47;
    --color-accent: #22c55e;
    --color-accent-light: #4ade80;
    --color-cta: #f97316;
    --color-cta-hover: #ea580c;
    --color-cta-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --color-whatsapp: #25d366;
    --color-whatsapp-hover: #128c7e;

    /* Typography */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Font Sizes - Mobile First */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Borders & Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

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

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-fab: 999;
    --z-cookie: 1000;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gray-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-500);
}

/* Text Selection */
::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

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

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

ul, ol {
    list-style: none;
}

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

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.section {
    padding: var(--space-16) 0;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.section-title {
    font-size: var(--text-2xl);
    color: var(--color-gray-900);
}

/* --------------------------------------------------------------------------
   Cookie Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 -4px 20px rgb(0 0 0 / 0.1);
    z-index: var(--z-cookie);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    padding: var(--space-5);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.cookie-content p {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.cookie-link {
    font-size: var(--text-sm);
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-btn {
    padding: var(--space-3) var(--space-6);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--text-lg);
    color: var(--color-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-cta-gradient);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo--footer .logo-img {
    height: 50px;
}

.nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: var(--space-8);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
}

.nav.active {
    transform: translateX(0);
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.nav-link {
    display: block;
    padding: var(--space-4);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-gray-700);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-link:hover {
    background: var(--color-gray-100);
    color: var(--color-primary);
}

.nav-link--cta {
    background: var(--color-cta-gradient);
    color: var(--color-white);
    text-align: center;
    margin-top: var(--space-4);
}

.nav-link--cta:hover {
    background: var(--color-cta-hover);
    color: var(--color-white);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    z-index: var(--z-fixed);
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-gray-700);
    border-radius: var(--radius-full);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background: var(--color-cta-gradient);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgb(249 115 22 / 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(249 115 22 / 0.5);
}

.btn-secondary {
    background: var(--color-gray-100);
    color: var(--color-gray-700);
}

.btn-secondary:hover {
    background: var(--color-gray-200);
}

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

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

.btn-icon {
    width: 18px;
    height: 18px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('1.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(45, 74, 111, 0.75) 50%, rgba(30, 58, 95, 0.85) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    padding-top: var(--space-20);
    padding-bottom: var(--space-16);
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: var(--text-3xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-accent-light);
    margin-bottom: var(--space-6);
}

.hero-text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-3);
}

.hero-subtext {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-6);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent-light);
    margin-bottom: var(--space-6);
    animation: badge-glow 2s ease-in-out infinite;
}

.hero-badge-icon {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 20px 2px rgba(34, 197, 94, 0.2); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.hero-cta {
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-6);
}

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

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

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

.hero-trust svg {
    color: var(--color-accent);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

.hero-scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    position: relative;
}

.hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-full);
    transform: translateX(-50%);
    animation: scroll-indicator 2s infinite;
}

@keyframes scroll-indicator {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.section-about {
    background: var(--color-off-white);
}

.about-wrapper {
    display: grid;
    gap: var(--space-10);
    overflow: hidden;
}

.about-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.about-card {
    background: var(--color-white);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.about-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
}

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

.about-card-content {
    flex: 1;
}

.about-card-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: var(--space-1);
}

.about-card-text {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services-featured {
    display: grid;
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.service-featured-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-featured-image {
    height: 200px;
    overflow: hidden;
}

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

.service-featured-card:hover .service-featured-image img {
    transform: scale(1.05);
}

.service-featured-content {
    padding: var(--space-6);
}

.service-featured-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-2);
}

.service-featured-text {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.service-card {
    position: relative;
    background: var(--color-white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-200);
    text-align: center;
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-card--featured {
    border-color: var(--color-accent);
    background: linear-gradient(to bottom, rgba(34, 197, 94, 0.05), var(--color-white));
}

.service-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: var(--space-1) var(--space-2);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    transition: background var(--transition-fast);
}

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

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

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

.service-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: var(--space-1);
}

.service-desc {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
}

/* --------------------------------------------------------------------------
   Benefits Section
   -------------------------------------------------------------------------- */
.section-benefits {
    background: var(--color-off-white);
}

.benefits-wrapper {
    display: grid;
    gap: var(--space-10);
    overflow: hidden;
}

.benefits-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.benefit-card {
    display: flex;
    gap: var(--space-5);
    background: var(--color-white);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.benefit-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.benefit-number {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-gray-200);
    line-height: 1;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: var(--space-2);
}

.benefit-text {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

/* --------------------------------------------------------------------------
   Process Section
   -------------------------------------------------------------------------- */
.process-wrapper {
    display: grid;
    gap: var(--space-10);
    overflow: hidden;
}

.process-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    order: -1;
}

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

.process-timeline {
    position: relative;
    padding-left: var(--space-10);
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-gray-200);
}

.process-step {
    position: relative;
    padding-bottom: var(--space-8);
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-step-number {
    position: absolute;
    left: calc(-1 * var(--space-10) + 2px);
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.process-step-content {
    background: var(--color-white);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
}

.process-step-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: var(--space-2);
}

.process-step-text {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.section-faq {
    background: var(--color-off-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-gray-800);
    text-align: left;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--color-gray-50);
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-gray-400);
    transition: transform var(--transition-base);
}

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

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

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

.faq-answer p {
    padding: 0 var(--space-5) var(--space-5);
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.section-contact {
    position: relative;
    background: url('8.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.section-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(45, 74, 111, 0.85) 100%);
}

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

.section-contact .section-label {
    color: var(--color-accent-light);
}

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

.contact-grid {
    display: grid;
    gap: var(--space-10);
}

.contact-actions {
    text-align: center;
}

.contact-actions-title {
    font-size: var(--text-xl);
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.contact-actions-text {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-6);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.contact-buttons .btn {
    width: 100%;
    padding: var(--space-4) var(--space-6);
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-700);
}

.form-input {
    width: 100%;
    padding: var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-gray-800);
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-input.error {
    border-color: #ef4444;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    background-size: 20px;
    padding-right: var(--space-12);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 300px;
    line-height: 1.5;
}

.form-error {
    display: none;
    font-size: var(--text-xs);
    color: #ef4444;
}

.form-input.error + .form-error,
.form-group.error .form-error {
    display: block;
}

.form-group--checkbox {
    gap: var(--space-3);
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--transition-fast);
}

.form-checkbox:checked + .form-checkbox-custom {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.form-checkbox:checked + .form-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox-text {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    line-height: 1.5;
}

.form-checkbox-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    margin-top: var(--space-2);
    position: relative;
}

.btn-submit.loading .btn-text {
    visibility: hidden;
}

.btn-loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-submit.loading .btn-loading {
    display: block;
}

.spinner {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

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

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-10);
}

.form-success.active {
    display: block;
}

.form-success svg {
    width: 64px;
    height: 64px;
    color: var(--color-accent);
    margin: 0 auto var(--space-4);
}

.form-success h3 {
    font-size: var(--text-xl);
    color: var(--color-gray-800);
    margin-bottom: var(--space-2);
}

.form-success p {
    font-size: var(--text-base);
    color: var(--color-gray-500);
}

.contact-form.hidden {
    display: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-400);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.logo--footer {
    margin-bottom: var(--space-4);
}

.logo--footer .logo-text {
    color: var(--color-white);
}

.footer-brand-text {
    font-size: var(--text-sm);
    line-height: 1.7;
}

.footer-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-list a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.footer-list a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   Active Nav Link
   -------------------------------------------------------------------------- */
.nav-link.active {
    color: var(--color-primary);
    background: var(--color-gray-100);
}

@media (min-width: 1024px) {
    .nav-link.active {
        background: transparent;
        position: relative;
    }

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: var(--space-4);
        right: var(--space-4);
        height: 2px;
        background: var(--color-primary);
        border-radius: var(--radius-full);
    }
}

/* --------------------------------------------------------------------------
   Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    left: var(--space-6);
    width: 48px;
    height: 48px;
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fab);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.back-to-top:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* --------------------------------------------------------------------------
   WhatsApp FAB
   -------------------------------------------------------------------------- */
.fab-whatsapp {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 56px;
    height: 56px;
    background: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: var(--z-fab);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    animation: fab-pulse 4s ease-in-out infinite;
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

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

@keyframes fab-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Adjust FAB position when near footer */
.fab-whatsapp.near-footer {
    bottom: calc(var(--space-6) + 80px);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-fade-up:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-up:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-up:nth-child(4) { animation-delay: 0.4s; }
.animate-fade-up:nth-child(5) { animation-delay: 0.5s; }
.animate-fade-up:nth-child(6) { animation-delay: 0.6s; }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --------------------------------------------------------------------------
   Media Queries - Tablet
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
    .section-title {
        font-size: var(--text-3xl);
    }

    .hero-cta-group {
        flex-direction: row;
        justify-content: flex-start;
    }

    .hero-cta {
        font-size: var(--text-lg);
        padding: var(--space-5) var(--space-8);
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-subtitle {
        font-size: var(--text-2xl);
    }

    .about-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .about-image {
        height: 400px;
    }

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

    .service-featured-image {
        height: 180px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-5);
    }

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

    .service-icon {
        width: 56px;
        height: 56px;
    }

    .service-title {
        font-size: var(--text-base);
    }

    .benefits-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .benefits-image {
        height: 100%;
        min-height: 400px;
    }

    .contact-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .contact-buttons .btn {
        width: auto;
    }

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

    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* --------------------------------------------------------------------------
   Media Queries - Desktop
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-8);
    }

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

    .section-title {
        font-size: var(--text-4xl);
    }

    /* Header Desktop */
    .nav-toggle {
        display: none;
    }

    .nav {
        position: static;
        transform: none;
        background: transparent;
        padding: 0;
        overflow: visible;
    }

    .nav-list {
        flex-direction: row;
        gap: var(--space-1);
    }

    .nav-link {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }

    .nav-link--cta {
        margin-top: 0;
        margin-left: var(--space-4);
        padding: var(--space-3) var(--space-6);
    }

    /* Hero Desktop */
    .hero-title {
        font-size: var(--text-5xl);
    }

    .hero-subtitle {
        font-size: var(--text-3xl);
    }

    .hero-text {
        font-size: var(--text-xl);
    }

    .hero-scroll-indicator {
        display: block;
    }

    /* Services Desktop */
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--space-6);
    }

    /* Process Desktop */
    .process-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .process-image {
        order: 1;
        height: 100%;
        min-height: 450px;
    }

    .process-timeline {
        padding-left: var(--space-10);
    }

    .process-step:last-child {
        padding-bottom: 0;
    }

    /* Contact Desktop */
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--space-12);
        align-items: start;
    }

    .contact-actions {
        text-align: left;
        padding-top: var(--space-8);
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* --------------------------------------------------------------------------
   Media Queries - Large Desktop
   -------------------------------------------------------------------------- */
@media (min-width: 1280px) {
    .hero-content {
        max-width: 800px;
    }

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

    .benefits-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .benefit-card:nth-child(4),
    .benefit-card:nth-child(5) {
        grid-column: span 1;
    }
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */
@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 keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}