/* ====================================
    Mac Podologia - Diseño Renovado
    Paleta: Salvia + Terracota + Crema
    ==================================== */

/* ============ Variables CSS ============ */
:root {
    /* Paleta Principal */
    --primary-color: #4A7C6F;        /* Salvia profundo */
    --primary-dark: #2E5C51;         /* Salvia oscuro */
    --primary-light: #EAF2F0;        /* Salvia muy claro */
    --primary-mid: #6B9E91;          /* Salvia medio */

    /* Acento Cálido */
    --accent-color: #C26B56;         /* Terracota */
    --accent-dark: #A0503D;          /* Terracota oscuro */
    --accent-light: #F5E6E2;         /* Terracota muy claro */

    /* Dorado Premium */
    --gold-color: #C9A84C;           /* Dorado */
    --gold-light: #FAF3DF;           /* Dorado claro */

    /* Textos */
    --text-dark: #1E2E2A;
    --text-mid: #3D5047;
    --text-gray: #6B7B74;
    --text-muted: #9BB0A8;

    /* Fondos */
    --bg-white: #FEFFFE;
    --bg-cream: #F8FAF9;
    --bg-light: #EFF5F3;
    --bg-dark: #1E3330;

    /* Bordes y Sombras */
    --border-color: #D5E3DF;
    --border-light: #EAF2F0;
    --shadow-sm: 0 1px 3px rgba(30, 46, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(30, 46, 42, 0.10);
    --shadow-lg: 0 12px 36px rgba(30, 46, 42, 0.14);
    --shadow-xl: 0 20px 50px rgba(30, 46, 42, 0.18);

    /* Transición */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.18s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 74px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============ Tipografía ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); }

p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

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

a:hover { color: var(--primary-dark); }

/* ============ Contenedores ============ */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.container-nav {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* ============ Etiqueta de Sección ============ */
.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

/* ============ Botones ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.9rem;
    font-size: 0.97rem;
    font-weight: 600;
    border: none;
    border-radius: 0.65rem;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 18px rgba(74, 124, 111, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 24px rgba(74, 124, 111, 0.45);
    color: white;
}

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

.btn-secondary:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: 0 4px 18px rgba(194, 107, 86, 0.35);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 24px rgba(194, 107, 86, 0.45);
    color: white;
}

.btn-large {
    padding: 1.2rem 2.6rem;
    font-size: 1.05rem;
    border-radius: 0.8rem;
}

/* ============ Navbar ============ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(254, 255, 254, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 74px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-icon { font-size: 2rem; }

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.logo-text small {
    display: block;
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.93rem;
    color: var(--text-gray);
    padding: 0.5rem 0.85rem;
    border-radius: 0.5rem;
    transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-dark);
    background: var(--primary-light);
}

.nav-menu a.active { font-weight: 600; }

.cta-nav {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark)) !important;
    color: white !important;
    padding: 0.6rem 1.3rem !important;
    border-radius: 0.65rem !important;
    box-shadow: 0 3px 12px rgba(194, 107, 86, 0.3);
}

.cta-nav:hover {
    background: var(--accent-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(194, 107, 86, 0.4) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

/* ============ Hero Section ============ */
.hero {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    min-height: calc(100vh - 74px);
    background: linear-gradient(145deg, var(--bg-cream) 0%, var(--primary-light) 60%, #D8EDE8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(74, 124, 111, 0.12) 0%, transparent 68%);
    border-radius: 50%;
    animation: float 14s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(194, 107, 86, 0.08) 0%, transparent 68%);
    border-radius: 50%;
    animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(28px) scale(1.04); }
}

.hero-content {
    padding: 4rem 3rem 4rem 5vw;
    z-index: 2;
    animation: fadeInLeft 0.9s ease-out;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 0.45rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 {
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 2.25rem;
    max-width: 480px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.hero-stat {
    text-align: left;
}

.hero-stat strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.hero-stat span {
    font-size: 0.78rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-image {
    height: 100%;
    min-height: 500px;
    z-index: 2;
    animation: fadeInRight 0.9s ease-out;
    position: relative;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-badge {
    position: absolute;
    bottom: 2.5rem;
    left: -2rem;
    background: white;
    border-radius: 1rem;
    padding: 1rem 1.4rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 3;
}

.hero-image-badge-icon {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-badge-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
}

.hero-image-badge-text span {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* ============ About Section ============ */
.about {
    padding: 6rem 0;
    background: var(--bg-white);
}

.about-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-header {
    margin-bottom: 2.5rem;
}

.about h2 {
    margin-bottom: 1rem;
}

.about-lead {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 480px;
}

.mission-vision {
    display: grid;
    gap: 1.25rem;
}

.card-info {
    padding: 1.75rem;
    background: var(--bg-cream);
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.card-info:nth-child(2) { border-left-color: var(--accent-color); }
.card-info:nth-child(3) { border-left-color: var(--gold-color); }

.card-info:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    background: white;
}

.card-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-info p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-gray);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    display: block;
}

.about-image-frame {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-light);
    border-radius: 1.5rem;
    z-index: -1;
}

.about-image-badge {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: var(--primary-dark);
    color: white;
    border-radius: 1rem;
    padding: 1.1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    text-align: center;
}

.about-image-badge strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.about-image-badge span {
    font-size: 0.72rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============ Services Section ============ */
.services {
    padding: 6rem 0;
    background: var(--bg-cream);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-top: 0.75rem;
    line-height: 1.75;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.service-card {
    padding: 2.25rem 2rem;
    background: white;
    border-radius: 1.2rem;
    border: 1px solid var(--border-light);
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::after { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 58px;
    height: 58px;
    background: var(--primary-light);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 1.4rem;
    transition: var(--transition);
}

.service-card:nth-child(2n) .service-icon { background: var(--accent-light); }
.service-card:nth-child(3n) .service-icon { background: var(--gold-light); }

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ============ Consultation Section ============ */
.consultation {
    padding: 6rem 0;
    background: white;
}

.consultation-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 3.5rem;
}

.consultation-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 0;
}

.consultation-item {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 64px;
    height: 64px;
    background: white;
    border: 3px solid var(--primary-color);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    background: white;
    box-shadow: var(--shadow-sm);
}

.consultation-item:nth-child(4) .step-number {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

.consultation-item:hover .step-number {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.08);
    box-shadow: var(--shadow-md);
}

.consultation-item h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.consultation-item p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.65;
}

/* ============ Gallery Section ============ */
.gallery {
    padding: 6rem 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: block;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 51, 48, 0.35) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

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

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

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ============ FAQ Section ============ */
.faq {
    padding: 6rem 0;
    background: white;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(74, 124, 111, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.35rem 1.75rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.97rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
    user-select: none;
    gap: 1rem;
}

.faq-question:hover {
    background: var(--bg-cream);
    color: var(--primary-dark);
}

.faq-item.active .faq-question {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.faq-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.25rem 1.75rem 1.5rem;
    font-size: 0.93rem;
    color: var(--text-gray);
    line-height: 1.8;
    border-top: 1px solid var(--border-light);
}

/* ============ CTA Section ============ */
.cta-section {
    padding: 6rem 24px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2A4842 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 124, 111, 0.3) 0%, transparent 65%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(194, 107, 86, 0.2) 0%, transparent 65%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-section .section-tag {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.cta-buttons .btn-accent {
    box-shadow: 0 6px 24px rgba(194, 107, 86, 0.5);
    padding: 1.2rem 2.8rem;
    font-size: 1.05rem;
}

/* ============ Footer ============ */
.footer {
    background: #131F1D;
    color: white;
    padding: 4rem 24px 0;
}

.footer-content {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section .logo {
    color: white;
    margin-bottom: 1.1rem;
}

.footer-section .logo-text {
    color: white;
}

.footer-section h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-mid);
}

.social-footer {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
}

.footer-bottom a {
    color: var(--primary-mid);
    font-size: 0.82rem;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 5rem 24px 3rem;
        text-align: center;
    }

    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }

    .hero-image {
        min-height: 380px;
        height: 380px;
    }

    .hero-image-badge { left: 1.5rem; bottom: 1.5rem; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image { order: -1; }
    .about-image img { height: 380px; }
    .about-image-frame { display: none; }
    .about-image-badge { left: 1rem; bottom: 1rem; }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0.25rem;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        z-index: 99;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active { display: flex; }
    .menu-toggle { display: flex; }

    .hero-content { padding: 4rem 20px 2.5rem; }

    .hero-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }

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

    .consultation-steps {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .consultation-steps::before { display: none; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) {
        grid-column: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn, .btn-large {
        width: 100%;
        justify-content: center;
    }

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

@media (max-width: 600px) {
    .consultation-steps {
        grid-template-columns: 1fr;
    }

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

    .gallery-item { height: 240px; }

    .hero-image-badge { display: none; }
    .about-image-badge { display: none; }
}

/* ============ WhatsApp Float Button ============ */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    background: #25D366;
    color: white;
    border-radius: 100px;
    padding: 0.85rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float svg {
    width: 22px;
    height: 22px;
    fill: white;
    flex-shrink: 0;
}

.whatsapp-float span {
    color: white;
}

.whatsapp-float:hover {
    background: #1ea855;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55);
    color: white;
}

@media (max-width: 480px) {
    .whatsapp-float span { display: none; }
    .whatsapp-float {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* ============ Botón WhatsApp principal ============ */
.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #1ea855;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
    color: white;
}

/* ============ Social Buttons (CTA) ============ */
.social-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    color: white;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.social-btn svg {
    flex-shrink: 0;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    color: white;
    filter: brightness(1.08);
}

.social-btn-instagram {
    background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}

.social-btn-facebook {
    background: #1877F2;
}

.social-btn-maps {
    background: #34A853;
}

/* ============ Footer Social Icons ============ */
.footer-social-icons {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

.footer-social-icon svg {
    display: block;
}

/* ============ Performance ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============ Print ============ */
@media print {
    .navbar, .cta-buttons, .social-links, .social-btn, .menu-toggle, .whatsapp-float { display: none; }
    body { color: black; background: white; }
    a { text-decoration: underline; }
}
