@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   VARIABLES & DESIGN SYSTEM
   ========================================== */
:root {
    /* Colors */
    /*--color-primary: #0b5a60;*/    /* Deep Teal */
    --color-primary: #009ca6;         /* Pantone 288 C */
    /*--color-primary-light: #127981; */   /* Medium Teal */
    --color-primary-light: #009ca6;    /* Pantone 320 C*/    
    /*--color-primary-dark: #063d41; */   /* Dark Teal */
    --color-primary-dark: #002d72;    /* Dark Teal */
    /*--color-secondary: #6bb1a6;  */    /* Mint Green */
    --color-secondary: #009ca6;       /* Pantone 320 C */
    /*--color-secondary-light: #e8f4f2; */ /* Soft Mint Background */
    --color-secondary-light: #ffffff; /* Soft Mint Background #f4f9ff */
    /*--color-accent: #d4af37; */          /* Warm Gold */
    --color-accent: #009ca6;          /* Warm Gold */
    /*--color-accent-hover: #bda030; */  /* Darker Gold */
    --color-accent-hover: #009ca6;   /* Darker Gold */
    /*--color-text-dark: #2c3e50; */     /* Navy/Slate text */
    --color-text-dark: #002d72;      /* Navy/Slate text */
    /*--color-text-muted: #5a738e; */    /* Muted text */
    --color-bg-light: #f8fafc;      /* Off-white background */
    --color-bg-white: #ffffff;      /* Pure white */

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(11, 90, 96, 0.05);
    --shadow-md: 0 10px 20px rgba(11, 90, 96, 0.08);
    --shadow-lg: 0 20px 40px rgba(11, 90, 96, 0.12);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Layout */
    --header-height: 80px;
    --max-width: 1200px;
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary-dark);
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 2rem;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: var(--radius-full);
}

h2.section-title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: var(--radius-full);
}

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

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

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

.section {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--color-bg-light);
}

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

.section-dark h2,
.section-dark h3,
.section-dark p {
    color: var(--color-bg-white);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

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

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

/* ==========================================
   BUTTONS & CTAs
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: var(--color-secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 1.00);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11, 90, 96, 0.08);
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

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

.logo img {
    height: 48px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.logo img:hover {
    opacity: 0.85;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 600;
    color: var(--color-text-dark);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.nav-link svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: var(--transition-fast);
}

.nav-item.dropdown:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Dropdown styling */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(11, 90, 96, 0.08);
    padding: 12px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: var(--color-bg-white);
    border-left: 1px solid rgba(11, 90, 96, 0.08);
    border-top: 1px solid rgba(11, 90, 96, 0.08);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    border-radius: var(--radius-sm);
}

.dropdown-link {
    display: block;
    padding: 10px 16px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.dropdown-link:hover {
    background-color: var(--color-secondary-light);
    color: var(--color-primary);
}

/* Hamburger button & Mobile navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--color-secondary-light) 0%, #ffffff 100%);
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 177, 166, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    right: -100px;
    z-index: 0;
    pointer-events: none;
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    background-color: rgba(11, 90, 96, 0.08);
    color: var(--color-primary-dark);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-title span {
    color: var(--color-primary);
    position: relative;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

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

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

.hero-image-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 20px;
    left: 20px;
    z-index: -1;
    opacity: 0.2;
    animation: blobMorph 12s infinite alternate;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
}

@keyframes blobMorph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
    }

    100% {
        border-radius: 70% 30% 50% 50% / 40% 30% 70% 60%;
    }
}

/* ==========================================
   CARDS & FEATURES
   ========================================== */
.feature-card {
    background-color: var(--color-bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(11, 90, 96, 0.03);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 90, 96, 0.1);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

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

.feature-icon-wrapper svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper svg {
    fill: var(--color-bg-white);
}

.feature-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.feature-link {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.feature-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: var(--transition-fast);
}

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

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.about-feature-item svg {
    width: 20px;
    height: 20px;
    fill: var(--color-accent);
}

/* ==========================================
   TESTIMONIALS (Pure CSS & JS Slider)
   ========================================== */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: var(--transition-slow);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 40px;
    text-align: center;
    box-sizing: border-box;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--color-accent);
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-primary-dark);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 24px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: var(--color-bg-white);
    border: 1px solid rgba(11, 90, 96, 0.1);
    box-shadow: var(--shadow-sm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

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

.slider-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(11, 90, 96, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--color-primary);
    width: 24px;
    border-radius: var(--radius-full);
}

/* ==========================================
   TEAM SECTION (Nuestro Equipo)
   ========================================== */
.team-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(11, 90, 96, 0.05);
}

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

.team-image-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: var(--color-secondary-light);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    background: linear-gradient(to top, rgba(11, 90, 96, 0.8), transparent);
    transition: var(--transition-normal);
    opacity: 0;
}

.team-card:hover .team-socials {
    bottom: 0;
    opacity: 1;
}

.team-social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--color-bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.team-social-icon:hover {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
}

.team-social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-colegiado {
    display: inline-block;
    background-color: var(--color-secondary-light);
    color: var(--color-primary-dark);
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.team-bio {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================
   SERVICES DETAIL & CLINICAL PAGES
   ========================================== */
.service-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-bg-white);
    padding: 140px 0 80px;
    text-align: center;
}

.service-header h1 {
    color: var(--color-bg-white);
    margin-bottom: 12px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-secondary-light);
}

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

.breadcrumbs svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.service-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-block:nth-child(even) {
    grid-template-columns: 1.2fr 1fr;
}

.service-block:nth-child(even) .service-block-image-wrapper {
    order: 2;
}

.service-block-image {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.service-list {
    margin-top: 20px;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.service-list-item svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.service-list-item h4 {
    font-size: 1.05rem;
    color: var(--color-primary-dark);
    margin-bottom: 4px;
}

/* ==========================================
   INSTALACIONES (Gallery with Lightbox)
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 90, 96, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    color: var(--color-bg-white);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.gallery-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-bg-white);
}

.gallery-title {
    font-size: 1.15rem;
    font-weight: 700;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: block;
    object-fit: contain;
}

.lightbox-caption {
    color: var(--color-bg-white);
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--color-bg-white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-accent);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-bg-white);
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    transition: var(--transition-fast);
    padding: 10px;
    user-select: none;
}

.lightbox-nav:hover {
    color: var(--color-accent);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

/* ==========================================
   CONTACT PAGE & FORMS
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-panel {
    background-color: var(--color-primary-dark);
    color: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-info-panel h3 {
    color: var(--color-bg-white);
    margin-bottom: 24px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-accent);
}

.contact-info-text h5 {
    color: var(--color-bg-white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-form-panel {
    background-color: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11, 90, 96, 0.05);
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(11, 90, 96, 0.15);
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-light);
    transition: var(--transition-fast);
    color: var(--color-text-dark);
}

.form-control:focus {
    border-color: var(--color-primary);
    background-color: var(--color-bg-white);
    box-shadow: 0 0 0 3px rgba(11, 90, 96, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Map Mock / Embedding */
.map-container {
    height: 400px;
    width: 100%;
    margin-top: 50px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11, 90, 96, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: #042528;
    color: #e2f0f1;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--color-bg-white);
    margin-bottom: 20px;
    font-size: 1.15rem;
    position: relative;
    padding-bottom: 8px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer p {
    color: rgba(226, 240, 241, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

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

.footer-brand .logo img {
    height: 44px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-white);
    transition: var(--transition-fast);
}

.footer-social-icon:hover {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
}

.footer-social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

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

.footer-links a {
    color: rgba(226, 240, 241, 0.7);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(226, 240, 241, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-bottom-links a {
    font-size: 0.85rem;
    color: rgba(226, 240, 241, 0.5);
}

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

/* ==========================================
   SCROLL INTERSECT ANIMATIONS
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Delay multipliers */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

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

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

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

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.25rem;
    }

    .section {
        padding: 60px 0;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero {
        padding-top: calc(var(--header-height) + 30px);
        padding-bottom: 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

    /* Responsive Menu */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-bg-white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 40px 24px;
        gap: 0;
        transition: var(--transition-normal);
        overflow-y: auto;
        border-top: 1px solid rgba(11, 90, 96, 0.08);
    }

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

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(11, 90, 96, 0.05);
    }

    .nav-link {
        padding: 16px 0;
        width: 100%;
        justify-content: space-between;
        font-size: 1.15rem;
    }

    /* Mobile Dropdown accordion */
    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 0 0 16px 16px;
        background-color: var(--color-bg-light);
        border-radius: 0;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-item.dropdown.active .nav-link svg {
        transform: rotate(180deg);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Service Pages columns */
    .service-block {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .service-block-image-wrapper {
        order: 2 !important;
    }

    /* Gallery & Contact grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {

    .grid-3,
    .grid-4,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

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