:root {
    --primary-color: #0B132B;
    --secondary-color: #C5A059; /* Gold/Bronze */
    --dark-color: #021703;
    --text-color: #334155;
    --muted-text-color: #64748b;
    --light-color: #f4f4f4;
    --white: #ffffff;
    --accent-color: #e8f0f7;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Roboto', sans-serif;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(#e3e3e3);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Container adjustment for larger screens */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    width: 100%;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Base Typography Improvements */
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }

@media (min-width: 992px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.8rem; }
    .hero-title { font-size: 4rem; }
}

/* Footer Colors */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-cta-primary:hover {
    background-color: #128c7e;
    border-color: #080958;
    color: white;
}

.btn-cta-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-cta-secondary:hover {
    background-color: var(--light-color);
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 15px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    line-height: 1.4;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.top-bar-item:hover {
    transform: translateY(-1px);
}

.top-bar-item i {
    color: var(--secondary-color);
    font-size: 1rem;
    min-width: 16px;
}

.top-bar-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-item a:hover {
    color: var(--secondary-color);
}

.top-bar-item--highlight {
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navigation refinements */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.4s ease-in-out;
        z-index: 1000;
    }
    
    nav.active {
        clip-path: inset(0 0 0 0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
}

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

.logo-img {
    height: 60px;
}

.logo-text {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.7)), url('../img/imeg-legales/index%20-%20mejo.png');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    height: auto;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-center {
    max-width: 900px;
    width: 100%;
    padding: 0 25px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    max-width: 700px;
    margin: 0 auto;
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.eyebrow {
    display: block;
    text-align: center;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-differentiators {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
}

@media (min-width: 576px) {
    .about-differentiators {
        grid-template-columns: 1fr 1fr;
    }
}

.differentiator {
    background-color: var(--accent-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.differentiator:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.differentiator i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.differentiator h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.differentiator p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--muted-text-color);
}

/* Signature Section - RESTORED & NEW */
.about-signature {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 35px 0;
    padding: 25px 30px;
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 50%, #eef2f5 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.signature-info {
    flex: 1;
}

.signature-lawyer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.signature-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.signature-photo:hover {
    transform: scale(1.1);
}

.signature-name {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 700;
}

.signature-role {
    font-size: 0.95rem;
    color: var(--muted-text-color);
    font-style: italic;
    margin-top: 15px;
    font-family: var(--font-secondary);
    padding-left: 5px;
}

.signature-mark {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--secondary-color);
    letter-spacing: 0.08em;
    font-style: italic;
    opacity: 0.85;
}

/* About Image */
.about-image {
    position: relative;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.about-image:hover .about-image-background {
    transform: scale(1.05);
}

.about-logo-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.about-logo {
    height: 40px;
}

/* Practice Areas */
.practice-areas {
    background-color: var(--light-color);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.area-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.area-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.area-image {
    height: 150px;
    margin: -30px -30px 20px -30px;
    overflow: hidden;
    display: none; /* Hidden by default */
}

.area-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.area-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.area-card p {
    font-size: 0.95rem;
    color: var(--muted-text-color);
}

.areas-cta {
    text-align: center;
    margin-top: 50px;
}

/* Value Proposition */
.value-proposition {
    background-color: var(--primary-color);
    color: var(--white);
}

.value-proposition .section-title, 
.value-proposition .eyebrow,
.value-proposition h2,
.value-proposition h3 {
    color: var(--white);
}

.value-proposition .section-title::after {
    background-color: var(--secondary-color);
}

.value-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.value-card:hover {
    background: rgba(255,255,255,0.1);
}

.value-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    background-color: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 10px;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-family: var(--font-primary);
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--muted-text-color);
}

/* Methodology */
.methodology {
    background-color: #f9f9f9;
}

.methodology-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.timeline-step {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border-top: 4px solid var(--secondary-color);
}

.step-number {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(0,0,0,0.05);
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

/* Insights */
.insights {
    background-color: var(--accent-color);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.insight-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.insight-card .eyebrow {
    text-align: left;
    margin-bottom: 10px;
}

.text-link {
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
}

/* Video Section */
.video-section {
    background-color: var(--dark-color);
    color: var(--white);
    text-align: center;
}

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

.video-description {
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.9)), url('../img/suferencia-oficina.jpeg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
}

.cta-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.cta-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.cta-text h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-feature i {
    color: var(--secondary-color);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer structure */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.10rem;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Team Header */
.team-header {
    background: linear-gradient(rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.8)), url('../img/nuestros%20abogados.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.team-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.team-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Attorneys Section */
.attorneys-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.attorney-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
}

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

.attorney-image {
    width: 180px;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin: 30px auto 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 5px solid var(--secondary-color);
}

.attorney-image::after {
    content: none;
}

.attorney-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.attorney-content h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.position {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.attorney-description {
    color: var(--muted-text-color);
    margin-bottom: 25px;
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.6;
}

.attorney-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.expertise-tag {
    background: #eef2f6;
    color: #475569;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.expertise-tag:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.attorney-actions {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.attorney-actions .btn {
    flex: 0 1 auto;
    padding: 10px 25px;
    font-size: 0.9rem;
    background-color: #25d366;
    border-color: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    border-radius: 8px;
}

.attorney-actions .btn:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    color: var(--white);
    transform: scale(1.05);
}

.attorney-actions .btn i {
    font-size: 1.2rem;
}

/* Services Header */
.services-header {
    background: linear-gradient(rgba(2, 6, 23, 0.137), rgba(2, 6, 23, 0.144)), url('../img/photo.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.services-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.services-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.service-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 19, 43, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: translateY(0);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-content h3 i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.service-description {
    color: var(--muted-text-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-content ul {
    margin-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.service-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.service-content ul li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* Contact Header */
.contact-header {
    background: linear-gradient(rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.8)), url('../img/imeg-legales/suferencia-oficina.jpeg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.contact-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info h3, .location-images h3 {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.contact-info h3::after, .location-images h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover i {
    background: var(--secondary-color);
    color: var(--white);
}

.contact-item div strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-item div p {
    color: var(--muted-text-color);
    margin: 0;
}

.location-description {
    margin-bottom: 20px;
    color: var(--muted-text-color);
}

.location-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.location-image-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
    box-shadow: var(--shadow-sm);
}

.location-image-card:first-child {
    grid-column: span 2;
    height: 200px;
}

.location-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-image-card:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.location-image-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        padding: 12px 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .top-bar-item {
        min-width: auto;
        justify-content: center;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    nav.active {
        clip-path: inset(0 0 0 0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    nav ul li a::after {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 300px;
        order: -1;
    }
    
    .about-signature {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    /* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: var(--white);
    transform: scale(1.1);
}

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

/* Internal Pages Responsive */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-header, .services-header, .contact-header {
        padding: 100px 0 60px;
    }

    .team-header h1, .services-header h1, .contact-header h1 {
        font-size: 2.5rem;
    }

    .location-gallery {
        grid-template-columns: 1fr;
    }

    .location-image-card:first-child {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 420px;
        padding: 0 16px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 0;
    }

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

    .team-header h1,
    .services-header h1,
    .contact-header h1 {
        font-size: 2rem;
    }
}
