/* ====================================
   RECREARTE - PREMIUM MODERN DESIGN
   ==================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores Premium */
    --primary: #263b34;
    --secondary: #354d44;
    --accent: #b78b58;
    --accent-light: #e6d2b7;
    --accent-dark: #8c6740;
    --botanical: #526c5d;
    --terracotta: #c47e69;
    --white: #ffffff;
    --light-bg: #f4f5ef;
    --dark-text: #263b34;
    --light-text: #66716a;
    --success: #6b9b7f;
    
    /* Sombras Sofisticadas */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* Transiciones */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
    letter-spacing: 0;
    padding-top: 80px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ====================================
   NAVIGATION
   ==================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    z-index: 1001;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 2.5px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

/* ====================================
   HERO SECTION
   ==================================== */

.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #3a342f 100%);
    color: var(--white);
    padding: 100px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 165, 116, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a574' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 50px;
    font-weight: 300;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.precios-page {
    background: linear-gradient(180deg, #f4ece4 0%, #f9f3ed 35%, #ffffff 100%);
}

.precios-card {
    background: radial-gradient(circle at top, rgba(212, 165, 116, 0.12), rgba(255, 255, 255, 0.9));
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.precios-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    animation: floatImage 10s ease-in-out infinite alternate;
}

@keyframes floatImage {
    from {
        transform: translateY(0px) scale(1);
    }
    to {
        transform: translateY(-24px) scale(1.02);
    }
}

.cta-button-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(255, 255, 255, 0.18);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(212, 165, 116, 0.3);
}

.cta-button i {
    font-size: 1.3rem;
}

.cta-button-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 1px 16px;
    background: linear-gradient(1deg, #e4e4e4 0%, #ccc5bb 100%);
    color: black;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.cta-button-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.cta-button-small:hover::before {
    left: 100%;
}

.cta-button-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 165, 116, 0.3);
}

.cta-button-small i {
    font-size: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================
   INTRO SECTION
   ==================================== */

.intro {
    background: var(--light-bg);
    padding: 60px 30px;
    text-align: center;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
}

.intro-content {
    max-width: 700px;
    margin: 0 auto;
}

.intro-icon {
    font-size: 4rem;
    color: var(--accent);
    margin: 0 auto 25px;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

.intro-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--dark-text);
    letter-spacing: -0.5px;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
    font-weight: 300;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ====================================
   GALERÍA
   ==================================== */

.galeria {
    padding: 100px 30px;
    background: var(--white);
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-text);
    font-weight: 900;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 60px;
    font-weight: 300;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.galeria-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(212, 165, 116, 0.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay p {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.5px;
    margin: 0;
}

.overlay-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
    margin-top: 10px;
    display: block;
}

/* ====================================
   SERVICIOS
   ==================================== */

.servicios {
    padding: 80px 30px;
    background: linear-gradient(135deg, #f8f6f3 0%, #faf8f6 100%);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.servicio-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 6px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.servicio-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.servicio-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.servicio-header i {
    font-size: 3rem;
    color: var(--accent);
    flex-shrink: 0;
}

.servicio-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    filter: drop-shadow(0 4px 8px rgba(212, 165, 116, 0.3)) blur(0.2px);
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    padding: 12px;
    box-sizing: border-box;
}

.servicio-header h3 {
    color: var(--dark-text);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.servicio-subtitle {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 25px;
    font-weight: 400;
}

.servicio-lista {
    list-style: none;
    position: relative;
    z-index: 1;
}

.servicio-lista li {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.servicio-lista li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.servicio-nombre {
    display: block;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.servicio-lista p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.beneficios {
    padding: 100px 30px;
    background: linear-gradient(180deg, #faf8f6 0%, #ffffff 100%);
    border-top: 1px solid rgba(212, 165, 116, 0.12);
}

 .beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.beneficio-item {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.beneficio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.beneficio-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .beneficios-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 640px) {
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
}

/* Carrusel: cuando la grid tiene la clase .carousel se muestra una sola imagen a la vez */
.beneficios-grid.carousel {
    position: relative;
    height: auto; /* altura definida por la imagen visible */
    display: block;
}

.beneficios-grid.carousel .beneficio-item {
    display: none; /* solo el activo será visible */
}

.beneficios-grid.carousel .beneficio-item.active {
    display: block;
}

.beneficios-grid.carousel .beneficio-item {
    border-radius: 20px;
    overflow: hidden;
}

.beneficios-grid.carousel .beneficio-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* mostrar imagen completa sin recortar */
    background: var(--light-bg);
}

/* ====================================
   METODOLOGÍA - TECNOLOGÍA + NATURALEZA
   ==================================== */

.metodologia {
    padding: 80px 30px;
    background: linear-gradient(180deg, var(--white) 0%, #f8f6f3 100%);
    border-top: 1px solid rgba(212, 165, 116, 0.15);
}

.metodologia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.metodologia-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--accent);
    position: relative;
}

.metodologia-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.metodologia-center {
    border-top-color: #6b9b7f;
    background: linear-gradient(135deg, var(--white) 0%, #fafaf8 100%);
}

.metodologia-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.metodologia-center .metodologia-icon {
    color: #6b9b7f;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.metodologia-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.metodologia-card p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}
    line-height: 1.7;
    margin: 0;
}

.metodologia-highlight {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.metodologia-highlight::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.metodologia-highlight::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.highlight-content {
    position: relative;
    z-index: 1;
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--white);
    display: block;
    margin-bottom: 15px;
}

.metodologia-highlight h4 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.metodologia-highlight p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ====================================
   NOSOTROS
   ==================================== */

.nosotros {
    background: var(--white);
    padding: 100px 30px;
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.nosotros-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--dark-text);
}

.nosotros-text p {
    margin-bottom: 25px;
    color: var(--light-text);
    font-weight: 300;
}

.valores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.valor {
    text-align: center;
    padding: 35px 25px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #faf8f6 100%);
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.2);
    transition: var(--transition);
}

.valor:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.valor i {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 15px;
    display: block;
}

.valor h4 {
    color: var(--dark-text);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 800;
}

.valor p {
    color: var(--light-text);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 300;
}

.nosotros-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.nosotros-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.1) 0%, transparent 100%);
}

.nosotros-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ====================================
   TESTIMONIOS
   ==================================== */

.testimonios {
    padding: 80px 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.testimonios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.05) 0%, transparent 50%);
}

.testimonios .section-title,
.testimonios .section-subtitle {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.testimonios .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonio-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 165, 116, 0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonio-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.stars i {
    margin-right: 5px;
    color: #ffc107;
}

.testimonio-text {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
    font-weight: 300;
    flex-grow: 1;
}

.testimonio-autor {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

/* ====================================
   CONTACTO
   ==================================== */

.contacto {
    padding: 80px 30px;
    background: var(--white);
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.info-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.info-item i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-top: 5px;
    flex-shrink: 0;
}

.info-item .icon-img {
    width: 48px;
    height: 48px;
    margin-top: 5px;
    flex-shrink: 0;
    object-fit: contain;
}

.info-item h3 {
    color: var(--dark-text);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.info-item p,
.info-item a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 300;
}

.info-item a:hover {
    color: var(--accent);
}

.redes-item {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(212, 165, 116, 0.2);
}

.redes-links-inline {
    display: flex;
    gap: 20px;
}

.mapa-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.mapa-container iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: none;
}

.red-link {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-bg) 0%, #faf8f6 100%);
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.8rem;
    border: 2px solid rgba(212, 165, 116, 0.2);
}

.red-link:hover {
    transform: scale(1.15) translateY(-5px);
    border-color: var(--accent);
}

.red-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    border-color: #f09433;
    box-shadow: 0 10px 30px rgba(240, 148, 51, 0.3);
}

.red-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2 0%, #0a66c2 100%);
    color: var(--white);
    border-color: #1877f2;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.3);
}

/* ====================================
   FOOTER
   ==================================== */

/* ====================================
   TARJETA 3D - CONTACTO
   ==================================== */

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}


.business-card {
    width: 340px;
    max-width: 100%;
    perspective: 900px;
}

.card-inner {
    width: 100%;
    border-radius: 14px;
    overflow: visible;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.2,0.9,0.2,1), box-shadow 0.25s;
    box-shadow: var(--shadow-md);
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
    will-change: transform;
    transform-origin: center center;
}

.card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.32) 50%, rgba(255,255,255,0.12) 100%);
    transform: translateX(var(--shineX, -50%)) rotate(10deg);
    pointer-events: none;
    opacity: var(--shineOpacity, 0);
    transition: opacity 0.18s ease, transform 0.18s ease;
    mix-blend-mode: overlay;
}

.card-image {
    width: 100%;
    height: auto;
    display: block;
    transform: translateZ(60px);
    transition: transform 0.2s ease;
    backface-visibility: hidden;
}

.card-overlay h3 {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.card-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 300;
}

.business-card:hover .card-inner {
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

@media (max-width: 880px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .contact-right {
        align-items: stretch;
    }

    .business-card {
        width: 100%;
    }

    /* METODOLOGÍA */
    .metodologia-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* TESTIMONIOS */
    .testimonios-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* pequeña mejora de accesibilidad: foco */
.business-card:focus .card-inner,
.business-card:active .card-inner {
    transform: rotateX(0deg) rotateY(0deg);
}


.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 40px 30px;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
}

.footer p {
    margin: 10px 0;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.footer i {
    color: var(--accent);
    margin: 0 5px;
}

.footer .highlight-link {
    color: var(--accent);
    font-weight: bold;
    text-decoration: underline;
    transition: var(--transition);
}

.footer .highlight-link:hover {
    color: var(--accent-light);
    text-decoration: none;
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    /* NOSOTROS */
    .nosotros-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* CONTACTO */
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* NAVBAR */
    .nav-menu {
        gap: 30px;
    }

    /* METODOLOGÍA */
    .metodologia-grid {
        gap: 25px;
    }

    /* TESTIMONIOS */
    .testimonios-grid {
        gap: 25px;
    }

    /* VALORES */
    .valores {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* SERVICIOS */
    .servicio-header h3 {
        font-size: 1.15rem;
    }

    .servicio-header {
        gap: 15px;
    }

    .servicio-icon {
        width: 60px;
        height: 60px;
        padding: 10px;
    }

    .servicio-nombre {
        font-size: 0.95rem;
    }

    .servicio-card {
        padding: 35px 25px;
    }

    /* METODOLOGÍA */
    .metodologia-grid {
        gap: 20px;
    }

    .metodologia-card {
        padding: 35px 25px;
    }

    .metodologia-card h3 {
        font-size: 1.2rem;
    }

    .metodologia-highlight {
        padding: 40px 25px;
    }

    .metodologia-highlight h4 {
        font-size: 1.3rem;
    }

    .metodologia-highlight p {
        font-size: 0.95rem;
    }

    /* TESTIMONIOS */
    .testimonios-grid {
        gap: 25px;
    }

    .testimonio-card {
        padding: 30px;
    }

    .testimonio-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .stars {
        font-size: 1rem;
        margin-bottom: 15px;
        color: #ffc107;
    }

    /* NAVBAR */
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        padding: 30px 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .brand-name {
        display: inline;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    /* HERO */
    .hero {
        padding: 80px 20px;
        min-height: auto;
    }

    /* GRID LAYOUTS */
    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .valores {
        grid-template-columns: 1fr;
    }

    .galeria-item:hover img {
        transform: scale(1.08) rotate(0deg);
    }

    /* BUTTONS */
    .cta-button {
        width: 100%;
        justify-content: center;
    }

    /* CONTACTO */
    .info-item {
        margin-bottom: 30px;
    }

    .mapa-container iframe {
        height: 300px;
    }

    .red-link {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* INTRO */
    .intro {
        padding: 50px 20px;
    }

    .intro-content h2 {
        font-size: 1.8rem;
    }

    .intro-content p {
        font-size: 1rem;
    }

    .intro-icon {
        font-size: 3rem;
    }

    /* GALERÍAS */
    .galeria {
        padding: 60px 20px;
    }

    .galeria-grid {
        gap: 20px;
    }

    .galeria-overlay p {
        font-size: 1.3rem;
    }

    /* FOOTER */
    .footer {
        padding: 30px 20px;
    }

    .footer p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* SERVICIOS */
    .servicio-card {
        padding: 25px 20px;
    }

    .servicio-header h3 {
        font-size: 1rem;
    }

    .servicio-header {
        gap: 12px;
    }

    .servicio-icon {
        width: 50px;
        height: 50px;
        padding: 8px;
    }

    .servicio-nombre {
        font-size: 0.9rem;
    }

    .servicio-lista p {
        font-size: 0.9rem;
    }

    /* METODOLOGÍA */
    .metodologia-card {
        padding: 25px 20px;
    }

    .metodologia-card h3 {
        font-size: 1.1rem;
    }

    .metodologia-icon {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }

    .metodologia-card p {
        font-size: 0.9rem;
    }

    .metodologia-highlight {
        padding: 30px 20px;
    }

    .metodologia-highlight h4 {
        font-size: 1.1rem;
    }

    .metodologia-highlight p {
        font-size: 0.9rem;
    }

    .highlight-icon {
        font-size: 2rem;
    }

    /* TESTIMONIOS */
    .testimonio-card {
        padding: 20px;
    }

    .testimonio-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .testimonio-autor {
        font-size: 0.95rem;
    }

    .stars {
        font-size: 0.9rem;
        margin-bottom: 12px;
        color: #ffc107;
    }

    .stars i {
        margin-right: 3px;
    }

    /* NAVBAR */
    .nav-link {
        font-size: 0.9rem;
    }

    /* HERO */
    .cta-button {
        padding: 15px 30px;
        font-size: 0.95rem;
    }

    /* LAYOUT */
    .valores {
        gap: 15px;
    }

    .galeria-grid {
        gap: 15px;
    }

    .red-link {
        width: 55px;
        height: 55px;
    }

    /* INTRO */
    .intro {
        padding: 40px 15px;
    }

    .intro-icon {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .intro-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .intro-content p {
        font-size: 0.95rem;
    }

    /* GALERÍAS */
    .galeria {
        padding: 40px 15px;
    }

    .galeria-item {
        aspect-ratio: auto;
        min-height: 200px;
    }

    .galeria-overlay p {
        font-size: 1.1rem;
    }

    .galeria-overlay span {
        font-size: 0.8rem;
    }

    /* CONTACTO */
    .contacto {
        padding: 40px 15px;
    }

    .info-item {
        gap: 15px;
    }

    .info-item i {
        font-size: 1.8rem;
    }

    .info-item h3 {
        font-size: 1.1rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    .mapa-container iframe {
        height: 250px;
    }

    .business-card {
        width: 100%;
    }

    .card-overlay h3 {
        font-size: 1rem;
    }

    /* FOOTER */
    .footer {
        padding: 25px 15px;
    }

    .footer p {
        font-size: 0.9rem;
        margin: 8px 0;
    }
}

/* ====================================
   CHAT FLOTANTE (derecha)
   ==================================== */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;          /* aseguramos que está por encima de todo */
    font-family: inherit;
    pointer-events: auto;
    transform: translateZ(0); /* ayuda en móviles a fijar el elemento */
    will-change: transform;
}

.chat-toggle {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
    z-index: 10000; /* asegúrate de que el botón siempre esté al frente */
}

.chat-toggle:hover {
    transform: scale(1.05);
}

.chat-window {
    display: none;
    width: 320px;
    max-height: 420px;
    background: var(--white);
    border: 1px solid var(--accent);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: 10px;
}

.chat-window.active {
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: var(--accent);
    color: var(--white);
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.chat-messages {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    max-height: 260px;
    background: linear-gradient(180deg, var(--white), var(--light-bg));
}

.message {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.3;
    box-shadow: var(--shadow-sm);
}

.message.bot {
    background: #f6f4f2;
    color: var(--dark-text);
    align-self: flex-start;
}

.message.user {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    align-self: flex-end;
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: var(--white);
}

.chat-input input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    outline: none;
}

.chat-send {
    background: var(--accent);
    border: none;
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

/* ====================================
   BOTÓN FLOTANTE DE WHATSAPP (izquierda)
   ==================================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: #25d366; /* Color oficial de WhatsApp */
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* responsive adjustments for chat */
@media (max-width: 600px) {
    .chat-window {
        width: 280px;
    }

    .chat-messages {
        max-height: 200px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ====================================
   RECREARTE - IDENTIDAD CÁLIDA
   ==================================== */

.navbar {
    background: rgba(248, 249, 244, 0.96);
    border-bottom: 1px solid rgba(38, 59, 52, 0.1);
    box-shadow: 0 4px 18px rgba(38, 59, 52, 0.06);
}

.nav-brand {
    gap: 12px;
}

.brand-name {
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: var(--primary);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    letter-spacing: 0;
}

.brand-name small {
    color: var(--accent-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 1.5px;
}

.nav-link {
    color: var(--primary);
    letter-spacing: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--botanical);
}

.nav-link::after {
    background: var(--terracotta);
}

.menu-toggle span {
    background: var(--primary);
}

.hero {
    min-height: calc(100vh - 80px);
    padding: 90px 8vw;
    background-color: var(--primary);
    background-image: linear-gradient(90deg, rgba(28, 45, 38, 0.84) 0%, rgba(28, 45, 38, 0.62) 48%, rgba(28, 45, 38, 0.18) 100%), url('./images/metodos-naturales-2026.webp');
    background-size: cover;
    background-position: center 55%;
    text-align: left;
    justify-content: flex-start;
}

.hero::before,
.hero::after,
.hero-overlay {
    display: none;
}

.hero-content {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.hero-eyebrow {
    margin-bottom: 18px;
    color: #ead9c0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.7px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    max-width: 720px;
    margin-bottom: 18px;
    color: var(--white);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: 0;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hero-subtitle {
    max-width: 540px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
}

.hero-buttons {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 0;
}

.cta-button {
    min-height: 54px;
    padding: 15px 24px;
    border-radius: 4px;
    background: var(--botanical);
    box-shadow: 0 10px 24px rgba(15, 29, 23, 0.18);
    font-size: 0.98rem;
    letter-spacing: 0;
}

.cta-button:hover {
    background: #405a4b;
    box-shadow: 0 12px 28px rgba(15, 29, 23, 0.24);
}

.cta-button-secondary,
.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: none;
}

.intro {
    background: var(--light-bg);
    border: 0;
    padding: 58px 30px 66px;
}

.intro-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 15px;
    animation: none;
}

.intro-content h2,
.section-title {
    color: var(--primary);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0;
}

.intro-content h2 {
    margin-bottom: 12px;
    font-size: 2.6rem;
}

.intro-content p {
    color: #58665d;
    font-size: 1.05rem;
    font-weight: 400;
}

.section-title {
    margin-bottom: 8px;
    font-size: 3.2rem;
}

.section-subtitle {
    color: var(--light-text);
    font-weight: 400;
}

.galeria {
    background: var(--white);
}

.galeria-grid {
    gap: 22px;
}

.galeria-item {
    border-radius: 4px;
    box-shadow: none;
}

.galeria-overlay {
    align-items: flex-start;
    justify-content: flex-end;
    padding: 26px;
    background: linear-gradient(180deg, transparent 28%, rgba(31, 49, 41, 0.88) 100%);
    opacity: 1;
}

.galeria-overlay p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0;
    text-align: left;
}

.overlay-desc {
    margin-top: 4px;
    font-weight: 400;
    text-align: left;
}

.servicios {
    background: #f2f4ee;
}

.servicio-card {
    border: 1px solid rgba(38, 59, 52, 0.1);
    border-top: 3px solid var(--terracotta);
    border-left: 1px solid rgba(38, 59, 52, 0.1);
    border-radius: 4px;
    box-shadow: none;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(38, 59, 52, 0.08);
}

.servicio-card::before {
    display: none;
}

.servicio-header h3 {
    color: var(--primary);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: 0;
}

.servicio-icon {
    filter: none;
    background: #f4e9df;
}

.servicio-lista li {
    border-bottom-color: rgba(38, 59, 52, 0.12);
}

.beneficios {
    background: var(--white);
    border-top: 0;
}

.beneficio-item {
    border-radius: 4px;
    box-shadow: none;
}

.nosotros {
    background: #edf1e9;
    border-top: 0;
}

.nosotros-text p {
    color: #58665d;
    font-weight: 400;
}

.valor {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(38, 59, 52, 0.1);
    border-radius: 4px;
}

.nosotros-image {
    border-radius: 4px;
    box-shadow: 0 16px 36px rgba(38, 59, 52, 0.12);
}

.testimonios {
    background: #f4f5ef;
}

.testimonios::before {
    display: none;
}

.testimonios .section-title {
    color: var(--primary);
}

.testimonios .section-subtitle {
    color: var(--light-text);
}

.testimonio-card {
    background: var(--white);
    border: 1px solid rgba(38, 59, 52, 0.1);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(38, 59, 52, 0.05);
}

.testimonio-card:hover {
    background: var(--white);
    border-color: rgba(196, 126, 105, 0.55);
    transform: translateY(-4px);
}

.testimonio-text {
    color: #4b5951;
    font-weight: 400;
}

.testimonio-autor {
    color: var(--botanical);
}

.stars,
.stars i {
    color: var(--accent-dark);
}

.contacto {
    border-top: 0;
}

.footer {
    background: var(--primary);
    border-top: 3px solid var(--terracotta);
}

.precios-page {
    background: #f4f5ef;
}

.precios-main {
    padding-top: 40px;
    padding-bottom: 56px;
}

.download-wrapper {
    margin-bottom: 24px;
    text-align: center;
}

.precios-card {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(38, 59, 52, 0.1);
    border-radius: 4px;
    background: var(--white);
    box-shadow: 0 14px 36px rgba(38, 59, 52, 0.08);
}

.precios-card img {
    animation: none;
}

.nav-link-instagram {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--terracotta);
    font-weight: 700;
}

.nav-link-instagram i {
    font-size: 1.15rem;
}

.instagram-section {
    padding: 90px 30px;
    background: #edf1e9;
}

.instagram-heading {
    margin-bottom: 38px;
    text-align: center;
}

.instagram-eyebrow,
.instagram-date {
    color: var(--botanical);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.instagram-eyebrow {
    margin-bottom: 8px;
}

.instagram-content {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
    gap: 60px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
}

.instagram-copy h3 {
    margin: 12px 0;
    color: var(--primary);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.05;
}

.instagram-copy > p:not(.instagram-date) {
    max-width: 380px;
    margin-bottom: 24px;
    color: var(--light-text);
}

.instagram-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid rgba(38, 59, 52, 0.28);
    border-radius: 4px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.instagram-profile-link:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.instagram-profile-link i {
    font-size: 1.2rem;
}

.instagram-embed-wrap {
    width: 100%;
    max-width: 540px;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    justify-self: center;
}

.instagram-post-frame {
    display: block;
    width: 100%;
    min-width: 326px;
    max-width: 540px;
    height: 680px;
    margin: 0 auto;
    border: 1px solid rgba(38, 59, 52, 0.12);
    border-radius: 4px;
    background: var(--white);
    box-shadow: 0 12px 32px rgba(38, 59, 52, 0.08);
}

.instagram-contact-icon {
    width: 48px;
    margin-top: 5px;
    color: var(--terracotta);
    font-size: 2.2rem;
    flex-shrink: 0;
}

@media (max-width: 880px) {
    .nav-menu {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .galeria-grid,
    .testimonios-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    }

    .navbar {
        background: rgba(248, 249, 244, 0.98);
    }

    .nav-menu {
        background: rgba(248, 249, 244, 0.99);
        border-bottom-color: rgba(38, 59, 52, 0.12);
    }

    .hero {
        min-height: 630px;
        padding: 90px 24px;
        background-image: linear-gradient(90deg, rgba(28, 45, 38, 0.82) 0%, rgba(28, 45, 38, 0.56) 100%), url('./images/metodos-naturales-2026.webp');
        background-position: 58% center;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-buttons {
        display: flex;
        align-items: stretch;
    }

    .section-title {
        font-size: 2.6rem;
    }

    .intro-content h2 {
        font-size: 2.2rem;
    }

    .galeria-overlay {
        padding: 20px;
    }

    .servicio-header h3 {
        font-size: 1.45rem;
    }

    .instagram-section {
        padding: 64px 20px;
    }

    .instagram-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .instagram-copy {
        text-align: center;
    }

    .instagram-copy > p:not(.instagram-date) {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.55rem;
    }

    .hero {
        min-height: 590px;
        padding: 76px 20px;
        background-position: 60% center;
    }

    .hero-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 1.2px;
    }

    .hero-title {
        font-size: 2.7rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons .cta-button {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .instagram-copy h3 {
        font-size: 2rem;
    }

    .galeria-overlay p {
        font-size: 1.55rem;
    }
}
