/**
 * Medicentro Comercio y Servicios, S.A. de C.V.
 * Landing Page - Estilos CSS
 *
 * Diseno: Moderno Limpio / Light Theme con acentos Cyan
 * Estilo: Bento Grid / Cards flotantes / Wave transitions
 */

/* ========================================
   CSS Variables
======================================== */
:root {
    /* Colores principales - Basados en el logo azul/cyan */
    --color-primary: #0891b2;
    --color-primary-dark: #0e7490;
    --color-primary-light: #22d3ee;
    --color-primary-soft: #ecfeff;

    /* Colores secundarios */
    --color-secondary: #06b6d4;
    --color-accent: #67e8f9;

    /* Colores neutros */
    --color-dark: #0f172a;
    --color-dark-800: #1e293b;
    --color-dark-700: #334155;
    --color-gray: #64748b;
    --color-gray-light: #94a3b8;
    --color-gray-100: #f1f5f9;
    --color-light: #f8fafc;
    --color-white: #ffffff;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #ecfeff 0%, #cffafe 50%, #a5f3fc 100%);
    --gradient-dark: linear-gradient(135deg, #0c4a6e 0%, #164e63 100%);

    /* Tipografia */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Espaciado */
    --container-width: 1200px;
    --section-padding: 100px;

    /* Bordes y sombras */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 28px;
    --border-radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.12);
    --shadow-primary: 0 8px 24px rgba(8, 145, 178, 0.25);

    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

/* ========================================
   Typography
======================================== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    border-radius: var(--border-radius-full);
    margin-bottom: 20px;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 16px;
}

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

.text-accent {
    color: var(--color-primary);
}

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

.text-highlight {
    color: var(--color-primary);
}

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

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

.section-header-center .section-description {
    margin: 0 auto;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    cursor: pointer;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(8, 145, 178, 0.4);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-gray-100);
}

.btn-ghost:hover {
    background: var(--color-gray-100);
    border-color: var(--color-gray-100);
}

.btn-ghost svg {
    color: var(--color-primary);
}

.btn-ghost:hover svg {
    transform: scale(1.1);
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost-light:hover svg {
    transform: none;
}

/* ========================================
   Header
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--color-gray-100);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 108px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

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

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-primary);
}

.btn-header svg {
    width: 16px;
    height: 16px;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(8, 145, 178, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: var(--transition-fast);
}

/* ========================================
   Hero Section - Split Design
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-content-wrapper {
    padding: 140px 0 160px;
}

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

.hero-text {
    max-width: 560px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    background: var(--color-white);
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--color-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-avatars {
    display: flex;
    align-items: center;
}

.trust-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 3px solid var(--color-primary-soft);
    border-radius: 50%;
    margin-left: -12px;
    color: var(--color-primary);
}

.trust-avatar:first-child {
    margin-left: 0;
}

.trust-avatar svg {
    width: 20px;
    height: 20px;
}

.trust-avatar.trust-more {
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    border-color: var(--color-white);
}

.trust-text {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 24px;
}

.hero-card-main {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    text-align: center;
    z-index: 3;
}

.hero-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    border-radius: var(--border-radius);
    margin: 0 auto 16px;
}

.hero-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.hero-card-main h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.hero-card-main p {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.hero-card-float-1 {
    top: 10%;
    right: 10%;
    padding: 20px 24px;
    text-align: center;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-card-float-1 .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.hero-card-float-1 .stat-number::after {
    content: '+';
}

.hero-card-float-1 span {
    font-size: 0.75rem;
    color: var(--color-gray);
    display: block;
    margin-top: 4px;
}

.hero-card-float-2 {
    bottom: 15%;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    z-index: 2;
    animation: float 6s ease-in-out infinite 2s;
}

.hero-card-float-2 svg {
    width: 24px;
    height: 24px;
    color: #10b981;
}

.hero-card-float-2 span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-dark);
}

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

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.hero-deco-1 {
    width: 300px;
    height: 300px;
    background: rgba(8, 145, 178, 0.1);
    top: 20%;
    left: 20%;
}

.hero-deco-2 {
    width: 200px;
    height: 200px;
    background: rgba(6, 182, 212, 0.15);
    bottom: 10%;
    right: 30%;
}

.hero-deco-3 {
    width: 100px;
    height: 100px;
    background: rgba(34, 211, 238, 0.2);
    top: 60%;
    right: 10%;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ========================================
   Stats Banner
======================================== */
.stats-banner {
    padding: 60px 0;
    background: var(--color-white);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--color-light);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
}

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

.stat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.stat-icon svg {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
}

.stat-value::after {
    content: '+';
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-gray);
    display: block;
    margin-top: 4px;
}

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

.about-header {
    max-width: 700px;
    margin-bottom: 60px;
}

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

.about-image-container {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

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

.about-image-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 20px 28px;
    box-shadow: var(--shadow-lg);
}

.overlay-stat {
    display: flex;
    align-items: center;
    gap: 16px;
}

.overlay-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.overlay-text {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.4;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    padding: 28px;
    background: var(--color-light);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
}

.about-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.about-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

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

.about-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.about-card p {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.6;
}

.about-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--color-light);
    border-radius: var(--border-radius);
}

.feature-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
}

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

/* ========================================
   Services - Bento Grid
======================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--color-light);
}

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

.bento-item {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    padding: 32px;
    transition: var(--transition-base);
    overflow: hidden;
}

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

.bento-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 0;
}

.bento-large .bento-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-visual {
    position: relative;
    overflow: hidden;
}

.bento-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.bento-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.bento-icon-small {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

.bento-icon-small svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.bento-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.bento-medium h3 {
    font-size: 1.125rem;
}

.bento-small h3 {
    font-size: 1rem;
}

.bento-item p {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.6;
}

.bento-small p {
    font-size: 0.875rem;
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
}

.bento-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.bento-link:hover svg {
    transform: translateX(4px);
}

.bento-link-small {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
}

.bento-link-small:hover {
    color: var(--color-primary-dark);
}

/* ========================================
   Areas Section
======================================== */
.areas {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
}

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

.area-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    padding: 36px;
    transition: var(--transition-base);
    overflow: hidden;
}

.area-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.area-card-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(103, 232, 249, 0.15);
    line-height: 1;
}

.area-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.area-card-content p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.area-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.area-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.area-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========================================
   Process Section - Timeline
======================================== */
.process {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: var(--color-gray-100);
    z-index: 0;
}

.timeline-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-white);
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-primary);
    position: relative;
}

.step-content {
    padding: 28px 20px;
    background: var(--color-light);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
}

.process-step:hover .step-content {
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    border-radius: var(--border-radius);
    margin: 0 auto 16px;
}

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

.step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.5;
}

/* ========================================
   CTA Section
======================================== */
.cta {
    padding: 80px 0;
    background: var(--color-light);
}

.cta-card {
    position: relative;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-xl);
    padding: 60px;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.cta-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 100px;
}

.cta-circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 30%;
}

/* ========================================
   Contact Section - Side by Side Layout
======================================== */
.contact-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-primary-soft) 100%);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Left Column - Info & Map */
.contact-left {
    padding-right: 20px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin: 16px 0 20px;
}

.contact-title .text-accent {
    color: var(--color-primary);
    position: relative;
}

.contact-title .text-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--color-accent);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.contact-description {
    font-size: 1.0625rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Contact Info List */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid rgba(8, 145, 178, 0.1);
}

.contact-info-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-white);
}

.contact-info-text {
    flex: 1;
}

.contact-info-text .info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.contact-info-text a,
.contact-info-text span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.5;
}

.contact-info-text a:hover {
    color: var(--color-primary);
}

/* Map Embed */
.contact-map {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-white);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 220px;
}

/* Right Column - Form Card */
.contact-right {
    position: relative;
}

.contact-form-card {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.form-card-header {
    padding: 32px 36px 24px;
    border-bottom: 1px solid var(--color-gray-100);
}

.form-card-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.form-card-header p {
    font-size: 0.9375rem;
    color: var(--color-gray);
}

.contact-form {
    padding: 28px 36px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-dark-700);
}

.form-group label .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    font-size: 0.9375rem;
    font-family: var(--font-family);
    color: var(--color-dark);
    background: var(--color-gray-100);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-base);
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* Contact Section Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-left {
        padding-right: 0;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-map iframe {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-title {
        font-size: 1.75rem;
    }

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

    .contact-form {
        padding: 24px 20px 28px;
    }

    .form-card-header {
        padding: 24px 20px 20px;
    }

    .contact-info-item {
        padding: 16px;
    }

    .contact-info-icon {
        width: 42px;
        height: 42px;
    }
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--color-dark);
    padding: 80px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 122px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

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

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

    .hero-visual {
        height: 400px;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .bento-large {
        grid-column: span 2;
    }

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

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .timeline-line {
        display: none;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        background: var(--color-white);
        transition: var(--transition-base);
        box-shadow: var(--shadow-xl);
    }

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

    .nav-link {
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid var(--color-gray-100);
    }

    .btn-header {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero-visual {
        display: none;
    }

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

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

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

    .bento-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .bento-large .bento-content {
        order: 2;
    }

    .bento-visual {
        order: 1;
        height: 200px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 40px 24px;
    }

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

    .cta-decoration {
        display: none;
    }

    .contact-info-cards.three-cols,
    .contact-info-cards.two-cols {
        grid-template-columns: 1fr;
    }

    .contact-form-new {
        padding: 32px 24px;
    }

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

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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

    .about-features-list {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}
