/* Delgado Despachantes - Custom Premium CSS Style Sheet */

/* --- Design System & CSS Variables --- */
:root {
    /* === Paleta Oficial Delgado Despachantes === */
    --color-primary: #3a91cd;          /* Celeste (Pantone P 109-14C) */
    --color-primary-light: #72b8e4;    /* Celeste claro */
    --color-primary-dark: #014c77;     /* Azul (Pantone P 108-15C) */
    --color-navy: #014c77;             /* Azul oscuro institucional */
    --color-navy-light: #2a5f82;       /* Azul medio para textos secundarios */
    --color-bg-light: #ebeced;         /* Gris claro (Pantone P 179-2C) */
    --color-accent: #3a91cd;           /* Celeste como acento (sin dorado en esta marca) */
    --color-accent-hover: #2a7ab5;
    --color-white: #ffffff;
    --color-gray-100: #f5f6f7;
    --color-gray-200: #e0e2e5;
    --color-gray-300: #c8ccd1;
    --color-gray-600: #4a5568;

    /* === Tipografía Institucional === */
    --font-heading: 'Oswald', sans-serif;    /* Títulos y headings */
    --font-body: 'Raleway', sans-serif;      /* Cuerpo y texto corrido */
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(13, 118, 206, 0.08), 0 4px 6px -2px rgba(13, 118, 206, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(13, 118, 206, 0.12), 0 10px 10px -5px rgba(13, 118, 206, 0.04);
    --shadow-glow: 0 0 20px rgba(13, 118, 206, 0.35);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-navy);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* --- Grid Utilities --- */
.grid {
    display: grid;
    gap: 32px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(13, 118, 206, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 118, 206, 0.45);
}

.btn-secondary {
    background: var(--color-accent);
    color: var(--color-navy);
    box-shadow: 0 4px 14px rgba(255, 152, 0, 0.25);
}
.btn-secondary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.btn-glow:hover {
    box-shadow: var(--shadow-glow);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.w-full { width: 100%; }
.text-center { text-align: center; }

/* --- Badge & Gradient Text --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 118, 206, 0.08);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(13, 118, 206, 0.15);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Glassmorphism Cards --- */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* --- Header / Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 118, 206, 0.08);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}
.main-header.scrolled .header-container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-globe {
    height: 50px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-navy);
    letter-spacing: 0.06em;
    line-height: 1.1;
}
.brand-sub {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.65rem;
    color: var(--color-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.logo:hover .logo-globe {
    opacity: 0.85;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}
.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-navy-light);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

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

@media (max-width: 768px) {
    .main-nav, #btn-quick-quote {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}

/* --- Mobile Nav Overlay --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(15, 26, 44, 0.95);
    backdrop-filter: blur(8px);
    z-index: 2000;
    transition: cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
    display: flex;
    justify-content: flex-end;
}
.mobile-nav-overlay.active {
    left: 0;
}

.mobile-nav-content {
    background: var(--color-navy);
    width: 80%;
    max-width: 380px;
    height: 100%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-logo {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.mobile-logo-globe {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
}
.mobile-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.mobile-brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-white);
    letter-spacing: 0.06em;
    line-height: 1.1;
}
.mobile-brand-sub {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto;
}

.mobile-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
}
.mobile-link:hover {
    color: var(--color-primary-light);
    padding-left: 8px;
}

.mobile-nav-actions {
    margin-top: 40px;
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(13, 118, 206, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-bg-gradient {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 90%;
    background: radial-gradient(circle, rgba(13, 118, 206, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-top: 16px;
    margin-bottom: 24px;
    color: var(--color-navy);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--color-gray-600);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
}

.hero-features {
    border-top: 1px solid var(--color-gray-200);
    padding-top: 24px;
    gap: 16px;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.feat-item i {
    color: var(--color-primary);
    font-size: 1.1rem;
}
.feat-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy-light);
}

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

.image-wrapper {
    position: relative;
    width: 90%;
    max-width: 480px;
}

.floating-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    transition: var(--transition-smooth);
}
.image-wrapper:hover .floating-image {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
    width: max-content;
}

.floating-card.card-1 {
    top: 20px;
    left: -40px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 30px;
    right: -30px;
    animation-delay: 3s;
}

.card-icon {
    width: 36px;
    height: 36px;
    background: rgba(13, 118, 206, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.card-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.card-info p {
    font-size: 0.75rem;
    color: var(--color-gray-600);
}

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

@media (max-width: 992px) {
    .hero-section {
        padding-top: 120px;
    }
    .hero-container {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        margin-top: 60px;
        order: -1;
    }
    .floating-card.card-1 { left: 0; }
    .floating-card.card-2 { right: 0; }
}

/* --- Metrics Section --- */
.metrics-section {
    background: var(--color-navy);
    padding: 50px 0;
    position: relative;
    z-index: 10;
}

.metrics-grid {
    text-align: center;
}

.metric-card {
    padding: 16px;
    position: relative;
}
.metric-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.metric-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary-light);
    line-height: 1;
}

.metric-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
}

.metric-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .metric-card:not(:last-child)::after {
        display: none;
    }
    .metric-card {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 24px;
    }
    .metric-card:last-child {
        border-bottom: none;
    }
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Services Section --- */
.services-section {
    background-color: var(--color-white);
}

.service-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

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

.srv-icon {
    width: 64px;
    height: 64px;
    background: rgba(13, 118, 206, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}
.service-card:hover .srv-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--color-gray-600);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card .srv-lead {
    color: var(--color-navy);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    flex-grow: 0;
}

.service-card .srv-list-label {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    border-top: 1px solid var(--color-gray-200);
    padding-top: 20px;
    margin-bottom: 12px;
    flex-grow: 0;
}

.srv-list {
    padding-top: 0;
}
.srv-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-navy-light);
    font-weight: 500;
    margin-bottom: 10px;
}
.srv-list li i {
    color: var(--color-primary-light);
    font-size: 0.95rem;
}

/* --- Quote Section & Wizard --- */
.quote-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, #172b43 100%);
    position: relative;
}

.quote-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-white { color: var(--color-white); }
.text-light { color: rgba(255, 255, 255, 0.7); margin-bottom: 40px; }

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

.q-feat {
    display: flex;
    align-items: center;
    gap: 20px;
}

.q-feat-num {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.q-feat-text {
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
}

/* Wizard Box */
.quote-wizard-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-wizard {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    background: rgba(255, 255, 255, 0.92);
    position: relative;
    overflow: hidden;
    min-height: 460px;
}

/* Progress bar inside wizard */
.wizard-progress {
    position: relative;
    height: 4px;
    background: var(--color-gray-200);
    margin-bottom: 40px;
    border-radius: var(--radius-full);
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: -10px;
}

.step-num {
    width: 24px;
    height: 24px;
    background: var(--color-gray-200);
    border: 2px solid var(--color-gray-300);
    color: var(--color-gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}
.step-num.active {
    background: var(--color-primary);
    border-color: var(--color-primary-light);
    color: var(--color-white);
    transform: scale(1.2);
}

/* Form Styles */
.wizard-step {
    display: none;
}
.wizard-step.active {
    display: block;
    animation: fadeInStep 0.4s ease forwards;
}

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

.wizard-step h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--color-navy);
}

.op-grid {
    gap: 16px;
    margin-bottom: 30px;
}

.op-card {
    cursor: pointer;
}
.op-card input[type="radio"] {
    display: none;
}

.op-card-content {
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--color-white);
    transition: var(--transition-bounce);
}

.op-card-content i {
    font-size: 1.8rem;
    color: var(--color-gray-300);
    transition: var(--transition-smooth);
}
.op-card-content span {
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading);
}
.op-card-content small {
    font-size: 0.75rem;
    color: var(--color-gray-600);
}

.op-card input[type="radio"]:checked + .op-card-content {
    border-color: var(--color-primary);
    background: rgba(13, 118, 206, 0.04);
    box-shadow: var(--shadow-md);
}
.op-card input[type="radio"]:checked + .op-card-content i {
    color: var(--color-primary);
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-navy);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-gray-300);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    background: var(--color-white);
}
.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(13, 118, 206, 0.15);
}

.step-desc {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-bottom: 20px;
}

.wizard-buttons {
    margin-top: 30px;
    gap: 16px;
}

/* Result Screen inside Wizard Card */
.wizard-result-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeInStep 0.5s ease forwards;
}
.wizard-result-screen.active {
    display: flex;
}

.result-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.result-message {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-bottom: 24px;
}

.summary-box {
    width: 100%;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 28px;
    text-align: left;
    border: 1px solid var(--color-gray-200);
}

.summary-box h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--color-navy);
    border-bottom: 1px solid var(--color-gray-200);
    padding-bottom: 8px;
}

.summary-box ul li {
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--color-gray-600);
    display: flex;
    justify-content: space-between;
}

.summary-box ul li strong {
    color: var(--color-navy);
}

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

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content p {
    color: var(--color-gray-600);
    margin-bottom: 20px;
}

.about-values {
    margin-top: 30px;
}

.value-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.value-box i {
    font-size: 1.5rem;
    color: var(--color-primary);
}
.value-box h5 {
    font-size: 1.05rem;
}
.value-box p {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    margin: 0;
}

/* Interactive SVG styling */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    overflow: hidden;
    padding: 40px;
}

.visual-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(15, 26, 44, 0.85);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.about-svg {
    width: 100%;
    max-width: 320px;
    height: auto;
}

.pulse-point {
    animation: pulse 2s infinite;
}

.pulse-ring {
    animation: ringPulse 2s infinite;
    transform-origin: 200px 200px;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes ringPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.route-lines {
    stroke-dasharray: 8;
    animation: dash 30s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* --- Contact Section --- */
.contact-section {
    background: var(--color-bg-light);
}

.contact-form-container {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    position: relative;
    min-height: 520px;
}

.contact-form {
    transition: var(--transition-smooth);
}
.contact-form.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

.form-row {
    gap: 16px;
}

.form-error {
    display: none;
    color: #ef4444;
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.form-error.active {
    display: block;
}

/* Contact Success Message Screen */
.contact-success-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 50px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeInStep 0.4s ease forwards;
}
.contact-success-screen.active {
    display: flex;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.contact-success-screen h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--color-navy);
}

.contact-success-screen p {
    color: var(--color-gray-600);
    margin-bottom: 30px;
    max-width: 440px;
    line-height: 1.6;
}

/* Map Info Container Card */
.contact-info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card-info {
    background: linear-gradient(135deg, var(--color-navy) 0%, #15263d 100%);
    color: var(--color-white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-card-info h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.info-text strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-white);
    display: block;
    margin-bottom: 4px;
}
.info-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Map Representation */
.map-placeholder {
    height: 180px;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at 70% 30%, #1f4268 0%, #102137 100%);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Simulated grid line overlay on map */
.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-overlay {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-pin {
    font-size: 1.6rem;
    color: var(--color-accent);
    animation: pulsePin 2.5s infinite;
}

@keyframes pulsePin {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 152, 0, 0.5)); }
    50% { transform: scale(1.15) translateY(-5px); filter: drop-shadow(0 0 10px rgba(255, 152, 0, 0.8)); }
}

.map-tooltip {
    background: var(--color-white);
    color: var(--color-navy);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    margin-top: 8px;
    position: relative;
}
.map-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent var(--color-white) transparent;
}
.map-tooltip strong {
    display: block;
    font-weight: 700;
}
.map-tooltip p {
    margin: 0;
    font-size: 0.65rem;
    color: var(--color-gray-600);
}

@media (max-width: 768px) {
    .contact-form-container, .contact-card-info {
        padding: 30px;
    }
}

/* --- Footer --- */
.main-footer {
    background: #090f19;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}
.footer-logo-globe {
    height: 40px;
    width: auto;
}
.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.footer-brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-white);
    letter-spacing: 0.06em;
    line-height: 1.1;
}
.footer-brand-sub {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 12px;
}
.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-icons a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary-light);
    transform: translateY(-3px);
}

.footer-links h4, .footer-legal h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-links h4::after, .footer-legal h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links ul a:hover {
    color: var(--color-primary-light);
    padding-left: 6px;
}

.footer-legal p {
    line-height: 1.6;
    margin-bottom: 16px;
}

.copyright {
    font-size: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    margin-top: 16px;
}

/* --- Reveal on Scroll & Animation Helpers --- */
.fade-in {
    animation: fadeIn 1s ease forwards;
}
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Intersection Observer Animations */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}
