/* ===================================
   Variables y Reset
   =================================== */
:root {
    --primary-color: #1a3a52;
    --secondary-color: #c9a96e;
    --accent-color: #8b6f47;
    --dark-color: #0f1e2b;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-color: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-primary: 'Raleway', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Navegación
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.language-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
}

.lang-btn i {
    font-size: 0.9rem;
}

.lang-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%),
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920&h=1080&fit=crop') center/cover;
    background-blend-mode: overlay;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.92) 0%, rgba(15, 30, 43, 0.88) 100%);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 20%;
    top: 30%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 60%;
    top: 20%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    left: 80%;
    top: 60%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    left: 30%;
    top: 70%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    left: 50%;
    top: 50%;
    animation-delay: 3s;
    animation-duration: 16s;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201, 169, 110, 0.2);
    border: 2px solid var(--secondary-color);
    padding: 12px 30px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.hero-badge i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.hero-badge span {
    color: var(--white);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-line-1,
.hero-line-2 {
    display: block;
}

.hero-line-1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 10px;
    animation: slideInLeft 0.8s ease;
}

.hero-line-2 {
    font-size: 5rem;
    color: var(--secondary-color);
    background: linear-gradient(90deg, var(--secondary-color), #f4e4c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInRight 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    position: relative;
}

.hero-stat::after {
    content: '';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-stat:last-child::after {
    display: none;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-text {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(201, 169, 110, 0.4);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* ===================================
   Secciones Generales
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-divider.left {
    margin: 0 0 20px 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   Servicios Destacados
   =================================== */
.services-highlight {
    padding: 100px 0;
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 2.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 15px;
    color: var(--accent-color);
}

/* ===================================
   Sobre Nosotros
   =================================== */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
}

.image-box img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.95), rgba(15, 30, 43, 0.95)),
                url('https://images.unsplash.com/photo-1479142506502-19b3a3b7ff33?w=600&h=800&fit=crop') center/cover;
    background-blend-mode: overlay;
    color: var(--white);
    gap: 20px;
}

.image-placeholder i {
    font-size: 8rem;
    color: var(--secondary-color);
    opacity: 0.8;
}

.image-placeholder p {
    font-size: 1.5rem;
    text-align: center;
    margin: 0;
    font-family: var(--font-heading);
}

.image-placeholder strong {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.photo-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 58, 82, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.experience-badge {
    background: var(--secondary-color);
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.experience-badge i {
    font-size: 2.5rem;
    color: var(--white);
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.experience-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

.experience-text {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experience-name {
    display: block;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.credential-item {
    background: var(--light-color);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.credential-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.credential-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.credential-item span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.about-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 30px 0 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-dark);
    padding: 12px 0;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===================================
   Áreas de Práctica
   =================================== */
.practice-areas {
    padding: 100px 0;
    background: var(--white);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.practice-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.practice-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.practice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.practice-card:hover .practice-image img {
    transform: scale(1.1);
}

.practice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 58, 82, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.practice-overlay h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.practice-content {
    padding: 30px;
}

.practice-list {
    list-style: none;
}

.practice-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
}

.practice-list li:last-child {
    border-bottom: none;
}

.practice-list i {
    color: var(--secondary-color);
}

/* ===================================
   Estadísticas
   =================================== */
.stats-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%),
                url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?w=1920&h=600&fit=crop') center/cover;
    background-blend-mode: overlay;
    background-attachment: fixed;
    color: var(--white);
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 82, 0.9);
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Resultados Logrados
   =================================== */
.results-section {
    padding: 100px 0;
    background: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.result-card {
    background: var(--light-color);
    border-radius: 15px;
    padding: 35px;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.result-card:hover::before {
    transform: scaleX(1);
}

.result-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.result-card:hover .result-icon {
    transform: scale(1.1) rotate(5deg);
}

.result-content {
    position: relative;
}

.result-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.result-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.result-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.result-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.results-cta {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(201, 169, 110, 0.1) 100%);
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
}

.results-cta-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.results-cta .btn {
    font-size: 1.1rem;
    padding: 18px 50px;
}

/* ===================================
   Testimonios
   =================================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    color: var(--secondary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-stars {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===================================
   Banner Ciudad
   =================================== */
.city-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.city-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.city-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 58, 82, 0.85) 0%,
        rgba(15, 30, 43, 0.75) 100%
    );
    z-index: 1;
}

.city-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.city-banner-content .container {
    max-width: 720px;
    padding: 28px 30px;
    border-radius: 12px;
    background: linear-gradient(
        to top,
        rgba(26, 58, 82, 0.95) 0%,
        rgba(26, 58, 82, 0.6) 60%,
        rgba(26, 58, 82, 0.35) 100%
    );
    border: 1px solid rgba(201, 169, 110, 0.3);
    box-shadow: var(--shadow);
}

.city-banner-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.city-banner-text {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Galería de Fotos
   =================================== */
.gallery-section {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 16/10;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(26, 58, 82, 0.95) 0%,
        rgba(26, 58, 82, 0.6) 50%,
        rgba(26, 58, 82, 0) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.gallery-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-view {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-view {
    opacity: 1;
    transform: scale(1);
}

.gallery-view:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 1200px;
    max-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#lightboxImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    animation: zoomIn 0.4s ease;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 30px;
    background: rgba(26, 58, 82, 0.8);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: var(--secondary-color);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Animaciones para lightbox */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================
   Contacto
   =================================== */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.contact-text h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form-container {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.85rem !important;
    font-style: italic;
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* ===================================
   WhatsApp Widget
   =================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25D366;
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: slideInLeft 0.5s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn i {
    font-size: 1.8rem;
}

.whatsapp-text {
    font-family: var(--font-primary);
    letter-spacing: 0.5px;
}

.whatsapp-pulse {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    animation: whatsappPulse 2s infinite;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-200px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===================================
   Animaciones
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-50px) translateX(30px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) translateX(-20px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-50px) translateX(40px);
        opacity: 0.4;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .practice-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transition: var(--transition);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .language-selector {
        margin-left: 0;
        margin-top: 20px;
        justify-content: center;
    }

    .lang-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-line-1 {
        font-size: 2rem;
    }

    .hero-line-2 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .hero-stat::after {
        display: none;
    }

    .stat-num {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 10px 20px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .services-grid,
    .practice-grid,
    .testimonials-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .result-card {
        padding: 25px;
    }

    .result-title {
        font-size: 1.2rem;
    }

    .result-description {
        font-size: 0.95rem;
    }

    .result-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .results-cta {
        padding: 30px 20px;
    }

    .results-cta-text {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .city-banner {
        height: 300px;
    }

    .city-banner-content .container {
        max-width: 640px;
        padding: 24px 22px;
    }

    .city-banner-title {
        font-size: 1.8rem;
    }

    .city-banner-text {
        font-size: 1rem;
    }

    .lightbox-content {
        padding: 10px;
    }

    #lightboxImage {
        max-height: 70vh;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-caption {
        font-size: 1rem;
        padding: 10px 20px;
        margin-top: 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-brand {
        font-size: 1rem;
    }

    .nav-brand i {
        font-size: 1.3rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .image-placeholder {
        height: 500px;
    }

    .image-placeholder i {
        font-size: 6rem;
    }

    .image-placeholder p {
        font-size: 1.2rem;
    }

    .image-placeholder strong {
        font-size: 1.4rem;
    }

    .credentials {
        flex-direction: column;
    }

    .contact-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-line-1 {
        font-size: 1.5rem;
    }

    .hero-line-2 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .hero-badge {
        padding: 8px 15px;
    }

    .hero-badge span {
        font-size: 0.75rem;
    }

    .scroll-indicator span {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .result-card {
        padding: 20px;
    }

    .result-icon {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
        margin-bottom: 20px;
    }

    .result-title {
        font-size: 1.1rem;
    }

    .result-description {
        font-size: 0.9rem;
    }

    .result-value {
        font-size: 1.3rem;
    }

    .result-label {
        font-size: 0.8rem;
    }

    .results-cta-text {
        font-size: 0.95rem;
    }

    .city-banner {
        height: 250px;
    }

    .city-banner-content .container {
        padding: 20px 16px;
    }

    .city-banner-title {
        font-size: 1.5rem;
    }

    .city-banner-text {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 3rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .service-card,
    .testimonial-card {
        padding: 30px 20px;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        bottom: 90px;
        left: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .whatsapp-btn i {
        font-size: 1.5rem;
    }

    .whatsapp-text {
        font-size: 0.9rem;
    }

    .image-placeholder {
        height: 400px;
    }

    .image-placeholder i {
        font-size: 5rem;
    }

    .image-placeholder p {
        font-size: 1rem;
    }

    .image-placeholder strong {
        font-size: 1.2rem;
    }

    .photo-note {
        font-size: 0.75rem;
        padding: 6px 15px;
    }

    .experience-badge {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
    }

    .badge-content {
        align-items: center;
        text-align: center;
    }

    .experience-name {
        font-size: 1.1rem;
    }

    .credential-item {
        padding: 12px 15px;
    }

    .credential-item i {
        font-size: 1.2rem;
    }

    .credential-item span {
        font-size: 0.9rem;
    }

    .whatsapp-btn {
        bottom: 90px;
        left: 15px;
        padding: 12px 15px;
        border-radius: 50px;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-btn i {
        font-size: 1.6rem;
    }

    .whatsapp-pulse {
        left: 50%;
    }
}
