/* ===== CSS Variables ===== */
/* Paleta: Peluquería DejaVu - Lavanda Soft */
/* Estilo: Minimalista, femenino y equilibrado */
:root {
    /* Colores principales */
    --color-background: #FFFFFF;
    /* Card basada en el nuevo primario pero más suave */
    --color-card: #E8AAB5; 
    --color-card-light: #d9839326;

    /* Color primario - Dusty Rose (#D98393) */
    --color-primary: #D98393;
    --color-primary-hover: #C66B7C; /* Un tono más oscuro para el feedback visual */

    /* Colores de texto */
    --color-foreground: #2D2D2D; /* Un negro suave para que no contraste tan fuerte con el rosa */
    --color-muted: #8E8E8E;

    /* Bordes y secundarios */
    --color-border: #D98393;
    --color-secondary: #3D3D3D;
    --color-secondary-foreground: #FFFFFF;

    /* Colores adicionales actualizados */
    --color-rosa-suave: #F2C2CB;
    --color-dusty-rose: #D98393;

    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-headline: 'Playfair Display', Georgia, serif;

    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Header ===== */
.header {
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-background);
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* ===== Nav bar ===== */
.navbar {
    background-color: var(--color-background);
    z-index: 1000 !important;
}
.navbar .navbar-brand {
    font-family: var(--font-headline);
    font-size: 1.25rem;
}
.navbar .nav-link {
    font-size: 1rem;
    transition: color 0.2s ease;
}
.navbar .nav-link:hover {
    color: var(--color-primary);
}
.navbar-brand img {
    height: 40px; /* Tamaño por defecto para móvil */
    width: auto;
    transition: transform 0.3s ease;
}

@media (min-width: 992px) {
    .navbar-brand img {
        height: 55px; /* Se agranda un poco en pantallas grandes (Desktop) */
    }
}

.navbar-brand img:hover {
    transform: scale(1.05); /* Un pequeño efecto visual al pasar el mouse */
}

/* --- 1. ESTADO INICIAL (CERRADO / AL RECARGAR) --- */

/* Forzamos que mientras tenga la clase 'collapsed', sea blanco */
.navbar-toggler.collapsed .burger-capsule {
    background-color: white !important;
    border: 2px solid #f2f2f2 !important;
    color: var(--color-primary) !important;
    transform: rotate(0deg) scale(1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Forzamos el color de las rayas manuales cuando está cerrado */
.navbar-toggler.collapsed .rayas-css, 
.navbar-toggler.collapsed .rayas-css::before, 
.navbar-toggler.collapsed .rayas-css::after {
    background-color: var(--color-primary) !important;
}

/* Estilos base del contenedor circular */
.burger-capsule {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- 2. ESTADO ABIERTO (ACTIVO) --- */

/* Cuando Bootstrap quita '.collapsed', aplicamos el diseño de marca */
.navbar-toggler:not(.collapsed) .burger-capsule {
    background: var(--color-primary) !important; /* Aquí puedes poner tu degradado si prefieres */
    color: white !important;
    border-color: transparent !important;
    transform: rotate(90deg) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Las rayas pasan a blanco al abrir */
.navbar-toggler:not(.collapsed) .rayas-css,
.navbar-toggler:not(.collapsed) .rayas-css::before,
.navbar-toggler:not(.collapsed) .rayas-css::after {
    background-color: white !important;
}

/* --- 3. ESTRUCTURA DE LAS RAYAS CSS --- */

.rayas-css, .rayas-css::before, .rayas-css::after {
    width: 22px;
    height: 3px;
    display: block;
    transition: all 0.3s;
    border-radius: 3px;
}

.rayas-css {
    position: relative;
}

.rayas-css::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 0;
}

.rayas-css::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 0;
}

/* --- 4. LIMPIEZA Y FEEDBACK --- */

.navbar-toggler:active .burger-capsule {
    transform: scale(0.9);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none !important;
}
/* Cuando el menú se abre, las rayas cambian a blanco */
.navbar-toggler:not(.collapsed) .rayas-css,
.navbar-toggler:not(.collapsed) .rayas-css::before,
.navbar-toggler:not(.collapsed) .rayas-css::after {
    background-color: white;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 9999px;
    padding: 0.875rem 2rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

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

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

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* ===== EFECTO DE BOTON HERO ===== */

.btn-efecto--hover {
    margin-top: calc(1.5rem + 25px);
    position: relative;
    display: inline-block;
    width: 277px;
    height: 50px;
    font-size: 17px;
    font-weight: 900;
    line-height: 60px; /* Ajustado para centrar mejor el texto */
    text-align: center;
    text-transform: uppercase;
    background-color: transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-body); /* Usando tu variable Inter */
    letter-spacing: 0.045em;
}

.btn-efecto--hover:hover {
    /* Si quieres que el fondo cambie un poco al pasar el mouse */
    filter: brightness(1.1);
}

.btn-efecto--hover svg {
    position: absolute;
    top: 0;
    left: 0;
}

.btn-efecto--hover svg rect {
    /* Color del trazo ahora usa tu variable primaria */
    stroke: var(--color-primary);
    stroke-width: 4;
    stroke-dasharray: 353, 0;
    stroke-dashoffset: 0;
    transition: all 600ms ease;
}

.btn-efecto--hover span {
    /* Gradiente actualizado a la nueva paleta Rosa */
    background: var(--color-dusty-rose);
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-efecto--hover:hover svg rect {
    /* En el hover, el trazo puede oscurecerse un poco como tu color-primary-hover */
    stroke: var(--color-primary-hover);
    stroke-width: 4;
    stroke-dasharray: 196, 543;
    stroke-dashoffset: 437;
}

/* ===== EFECTO DE BOTON Navbar 2 ===== */
.btn-efecto--hover--2 {
    position: relative;
    display: inline-block;
    width: 210px;
    height: 60px;
    font-size: 17px;
    font-weight: 900;
    line-height: 60px; /* Ajustado para centrar mejor el texto */
    text-align: center;
    text-transform: uppercase;
    background-color: var(--color-dusty-rose);
    border-radius: 55px;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-body); /* Usando tu variable Inter */
    letter-spacing: 0.045em;
    overflow: hidden; 
    transition: all 0.3s ease;
}

.btn-efecto--hover--2 svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.btn-efecto--hover--2 svg rect {
    /* Color del trazo ahora usa tu variable primaria */
    stroke: var(--color-background);
    stroke-width: 4;
    stroke-dasharray: 290, 0;
    stroke-dashoffset: 20;
    transition: all 600ms ease;
}
.btn-efecto--hover--2:hover {
    /* Si quieres que el fondo cambie un poco al pasar el mouse */
    filter: brightness(1.1);
}

.btn-efecto--hover--2 span {
    /* Gradiente actualizado a la nueva paleta Rosa */
    background: var(--color-background);
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-efecto--hover--2:hover svg rect {
    /* En el hover, el trazo puede oscurecerse un poco como tu color-primary-hover */
    stroke: var(--color-background);
    stroke-width: 4;
    stroke-dasharray: 130, 470;
    stroke-dashoffset: 360;
}


/* ===== Hero Section ===== */
.hero {
    position: relative;
    width: 100%;
    /* height: 800px; <-- Cuidado aquí */
    min-height: 800px; /* Es mejor usar min-height para que el contenido no se desborde en móvil */
    overflow: visible; /* CAMBIO CLAVE: Permite que el hover se vea fuera de la sección */
    background-color: var(--color-background);
    padding: 4rem 0 6rem;
    z-index: 10; /* Asegura que TODA la sección esté por encima de la siguiente */
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

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

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

@media (min-width: 768px) {
    .hero {
        padding: 6rem 0 10rem;
    }

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

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: left;
}

.hero-text h1 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-foreground);
}

.hero-text h1 .text-primary {
    display: block;
    color: var(--color-primary);
    font-style: italic;
}

.hero-text p {
    max-width: 28rem;
    color: var(--color-muted);
    font-size: 1rem;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-text p {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 4.5rem;
    }
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 25px 50px -12px rgba(179, 136, 219, 0.25);
    /* 1. Cambiamos el 'border' por 'outline' */
    outline: 3px solid var(--color-secondary);
    
    /* 2. Creamos el espacio (ejemplo: 10px) */
    outline-offset: 6px; 
    
    /* 3. Opcional: un borde finito extra para definir la imagen */
    border: 2px solid white;
}

@media (min-width: 768px) {
    .hero-image img {
        max-width: 450px;
    }
}


/* ===== EFECTO DE TEXTO ANIMADO EN BUCLE (IDA Y VUELTA) ===== */

.text-animado {
    display: inline-flex;
    gap: 1px;
    vertical-align: bottom;
}

.text-animado > span {
    position: relative;
    color: transparent;
    display: inline-block;
    font-family: var(--font-headline);
    font-weight: 700;
    line-height: 1.2;
}

.text-animado span::before,
.text-animado span::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
}

/* DURACIÓN TOTAL: 4s (ajustable)
   - 0% a 20%: Animación de entrada.
   - 20% a 70%: Pausa (el texto se queda visible).
   - 70% a 90%: Animación de salida (reversa).
   - 90% a 100%: Reset para el siguiente bucle.
*/

.text-animado span::before {
    color: var(--color-foreground);
    height: 0;
    width: 100%;
    z-index: 1;
    animation: reveal-vertical-loop 6s cubic-bezier(0.61, 1, 0.88, 1) infinite;
}

.text-animado span::after {
    color: var(--color-primary);
    width: 0;
    height: 100%;
    z-index: 2;
    animation: reveal-horizontal-loop 6s cubic-bezier(0.61, 1, 0.88, 1) infinite;
}

/* Delays en cascada */
.text-animado span:nth-child(1)::before, .text-animado span:nth-child(1)::after { animation-delay: 0.1s; }
.text-animado span:nth-child(2)::before, .text-animado span:nth-child(2)::after { animation-delay: 0.2s; }
.text-animado span:nth-child(3)::before, .text-animado span:nth-child(3)::after { animation-delay: 0.3s; }
.text-animado span:nth-child(4)::before, .text-animado span:nth-child(4)::after { animation-delay: 0.4s; }
.text-animado span:nth-child(5)::before, .text-animado span:nth-child(5)::after { animation-delay: 0.5s; }
.text-animado span:nth-child(6)::before, .text-animado span:nth-child(6)::after { animation-delay: 0.6s; }
.text-animado span:nth-child(7)::before, .text-animado span:nth-child(7)::after { animation-delay: 0.7s; }
.text-animado span:nth-child(8)::before, .text-animado span:nth-child(8)::after { animation-delay: 0.8s; }
.text-animado span:nth-child(9)::before, .text-animado span:nth-child(9)::after { animation-delay: 0.9s; }

/* KEYFRAMES AJUSTADOS (MÁS TIEMPO VISIBLE) */

@keyframes reveal-vertical-loop {
    0% { height: 0; }
    /* El texto termina de aparecer al 15% */
    15% { height: 100%; } 
    /* SE MANTIENE HASTA EL 90% (Antes era 75%) */
    90% { height: 100%; } 
    /* Se retira rápido en el último 10% */
    100% { height: 0; }     
}

@keyframes reveal-horizontal-loop {
    0%, 5% { width: 0; }
    /* El color principal termina de cubrir al 20% */
    20% { width: 100%; }
    /* SE MANTIENE HASTA EL 85% (Antes era 70%) */
    85% { width: 100%; } 
    /* Comienza la retirada */
    95%, 100% { width: 0; }      
}
.resaltado-estilo {
    font-style: italic; /* El itálico siempre denota "estilo" */;
    animation: glow-loop 6s infinite;
}

/* Accesibilidad */
@media (prefers-reduced-motion) {
    .text-animado > span {
        color: var(--color-primary);
        font-style: italic;
    }
    .text-animado span::before,
    .text-animado span::after {
        display: none;
    }
}

/* ===== Section Styles ===== */
.servicios-seccion {
    width: 100%;
    min-height: 80vh;
    position: relative;
    margin-bottom: 150px;
    margin-top: 100px;
    background: transparent;
    z-index: 1;
}

/* Fondo decorativo (Tu Vector) */
.servicios-seccion::before {
    content: "";
    position: absolute;
    top: 40%; bottom: 20%; left: 12%; right: 12%;
    background-image: url('Vector_cuadradosGrandes.PNG'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px; 
    z-index: -1;
}

.titulo-linea {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Playfair Display', serif;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}
.servicios-seccion .text-muted.mt-3 {
    margin-bottom: 4rem !important; 
}

.titulo-linea::before, .titulo-linea::after {
    content: "";
    flex: 1;
    height: 3px;
    background: var(--color-primary);
}

/* MARCO DE LA TARJETA */
.card-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 3 / 4;
    border: 5px solid var(--color-rosa-suave);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-img-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    z-index: 10;
}

/* CONTENEDOR ANTES Y DESPUÉS */
.ba-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.ba-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.5s ease;
}

.ba-img.active {
    opacity: 1;
}

/* Zoom en hover (Tu efecto original aplicado a la imagen activa) */
.card-img-wrapper:hover .ba-img {
    transform: scale(1.1);
}

/* OVERLAY DE INFORMACIÓN */
.info-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
    text-align: center;
    z-index: 5; /* Por encima de las imágenes */
    color: white;

    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.info-overlay p {
    padding: 0 10px;
    line-height: 1.6; /* Mejora la legibilidad */
}

.card-img-wrapper:hover .info-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    /* 1. Ajustamos la franja decorativa (Vector) */
    .servicios-seccion::before {
        top: 13%;      /* Sube más para cubrir los primeros servicios */
        bottom: 5%;    /* Baja más para cubrir los últimos */
        left: 3%;      /* Se estira casi hasta los bordes laterales */
        right: 3%;
        
        border-radius: 15px; /* Bordes un poco menos redondeados */
        background-size: cover; /* Mantiene la imagen llenando el espacio */
    }

    /* 2. Ajustamos las líneas decorativas */
    .servicios-seccion::after {
        top: 9%;       /* Un poco por fuera de la franja */
        bottom: 4%;
        left: 5%;      /* Un poco más cortas que la franja */
        right: 5%;
        
        border-top-width: 2px;    /* Líneas un poco más finas en móvil */
        border-bottom-width: 2px;
    }

    /* 3. Reducimos los márgenes de la sección para que no haya tanto hueco */
    .servicios-seccion {
        margin-top: 50px;
        margin-bottom: 80px;
        padding-bottom: 2rem;
    }

    /* 4. Ajustamos el título con líneas para que no se amontone */
    .titulo-linea::before, 
    .titulo-linea::after {
        display: none; /* En móviles muy pequeños, ocultar las líneas laterales ayuda a leer el título */
    }
}
/* ===== Instagram Carousel Section ===== */

#container-carrucel{
    padding-top: 5rem !important;
}


    /* ===== Cartas Carrucel ===== */
.card-stack-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 600px;
  margin: 0 auto;
}

.card-item {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  opacity: 0;
  transform: scale(0.9) translateX(0);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  background-color: #333;
}

/* Enlace a pantalla completa dentro de la carta */
.card-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.card-item.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  z-index: 10;
}

/* Carta de abajo a la IZQUIERDA */
.card-item.next {
  opacity: 0.6;
  transform: scale(0.9) translateX(-60px) rotate(-1deg);
  z-index: 5;
  display: block;
  pointer-events: none; /* Evita clics accidentales en la carta de atrás */
}

.card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
    /* ===== Boton Carrucel ===== */

#btnNextCard {
    width: 40px; 
    height: 40px;
    background-color: var(--color-background);
    color: var(--color-primary);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.6s;
    
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    position: relative;
    left: -30px;
}

#btnNextCard:active {
    box-shadow: none;
    transform: translateY(2px);
    transform: rotate(10deg);

    background-color: var(--color-primary);
    color: var(--color-background);
}
    
#btnNextCard i {
    align-items: center;
    justify-content: center;
}

/* ============================================================
   ADAPTACIÓN CARRUSEL: TÍTULO ARRIBA (MÓVIL)
   ============================================================ */

@media screen and (max-width: 991px) {
    #container-carrucel {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        display: flex !important;
        flex-direction: column !important; /* Apila los elementos */
        align-items: center !important;
    }

    /* 1. El Texto pasa a estar arriba */
    #textContainer {
        order: 1 !important;           /* Primer lugar */
        position: static !important;
        text-align: center !important;
        margin: 0 auto 2rem !important; /* Espacio abajo para separar del carrusel */
        padding: 0 1.5rem !important;
        width: 100% !important;
        right: auto !important;         /* Limpia el valor de desktop */
        top: auto !important;           /* Limpia el valor de desktop */
    }

    /* 2. El Carrusel en el medio */
    .card-stack-container {
        order: 2 !important;           /* Segundo lugar */
        width: 85%;
        max-width: 350px;
        height: 480px;
        margin: 0 auto !important;
    }

    /* 3. El Botón al final */
    #btnNextCard {
        order: 3 !important;           /* Tercer lugar */
        position: static !important;
        margin: 2rem auto 0 !important; /* Espacio arriba para separar de las cartas */
        display: flex !important;
        left: auto !important;          /* Limpia el valor de desktop */
    }

    .card-item.next {
        /* Ajuste para que la carta de atrás no se salga de la pantalla */
        transform: scale(0.9) translateX(-30px) rotate(-2deg);
    }
}


/* ======= Texto Carrucel ======= */

#textContainer {
    color: var(--color-foreground);
    font-family: var(--font-headline);
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    right: -160px;
    top: -150px;
    padding-top: 0 !important;
}

#textContainer p {
    color: var(--color-muted);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-top: 1rem;
}

.resaltado-estilo {
    color: var(--color-muted);
}

@media screen and (max-width: 991px) {
    #textContainer {
        /* Eliminamos desplazamientos laterales */
        position: static; 
        left: auto;
        
        /* Añadimos un respiro a los lados para que el texto no toque los bordes */
        padding: 0 1.5rem;
        margin: 2rem 0;  
    }
}
/* Para pantallas menores a 991px (Móvil y Tablet) */
@media screen and (max-width: 991px) {
    #textContainer {
        margin-top: -80px; /* Un poco menos de salto en móvil para que no tape el carrusel */
        padding-left: 1rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Para pantallas intermedias (992px a 1399px) */
@media (min-width: 992px) and (max-width: 1399px) {
    #textContainer {
        position: relative;
        /* El top ya se hereda del ID general, no hace falta repetirlo 
           a menos que quieras ajustarlo sutilmente aquí */
        
        padding-left: 1.5rem;
        left: 0;
    }
}
/* ======= Link Insta ======= */

#logoLink-Container {
    transition: opacity 0.3s ease;
    cursor: pointer;
}

#logoLink-Container:hover a {
    opacity: 0.7;
}

/* --- Sección Ventas (Tamaño Reducido y Vertical) --- */
#container-ventas {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Limitamos el ancho de las columnas para que las tarjetas no sean tan anchas */
#container-ventas .col-md-5 {
    max-width: 420px; /* Tarjetas ligeramente más angostas */
}

/* Contenedores base */
.col-simple, .row-foto {
    border-radius: 25px; /* Ajustamos el radio al nuevo tamaño */
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: 0px 8px 20px -5px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0,0,0,0.05);
    width: 100%;
    background-color: #fdfdfd;
}

/* Alturas Reducidas Manteniendo Proporción */
.col-simple {
    height: 550px; /* Antes 650px */
}

.row-foto {
    height: 265px; /* (265 * 2) + 20px de gap = 550px. Alineación perfecta */
}

/* Imágenes */
.col-simple img, .row-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Efecto Hover */
.col-simple:hover img, .row-foto:hover img {
    transform: scale(1.08); /* Zoom suave a la imagen al pasar el mouse */
}

.col-simple:hover, .row-foto:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 35px rgba(0,0,0,0.18);
    z-index: 5;
}

/* Adaptación a Móvil */
@media (max-width: 768px) {
    #container-ventas .col-md-5 {
        max-width: 100%; /* En móvil que ocupen el ancho disponible */
    }
    
    .col-simple {
        height: 420px; 
    }
    
    .row-foto {
        height: 200px;
    }
}
/* ===== Contact Section ===== */
.contact {
    width: 100%;
    background-color: var(--color-card);
    padding: 5rem 0;
}

.contact .section-header h2,
.contact .section-header p {
    color: var(--color-foreground);
}

.contact .section-header p {
    color: rgba(0, 0, 0, 0.7);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form-wrapper {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px -10px rgba(179, 136, 219, 0.2);
}

.contact-form-wrapper h3 {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--color-foreground);
}

@media (min-width: 1024px) {
    .contact-form-wrapper {
        padding: 3rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    background-color: var(--color-background);
    color: var(--color-foreground);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    border-radius: 1rem;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(179, 136, 219, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-muted);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-image {
    border-radius: 0.5rem;
    overflow: hidden;
}
.contact-image:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.contact-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(0, 0, 0, 0.7);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--color-secondary-foreground);
}
 .contact-item a {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-muted);
}
.contact-item a:hover {
    color: var(--color-primary);
}


/* ===== Footer ===== */
.footer {
    background-color: var(--color-secondary);
    color: var(--color-secondary-foreground);
    padding: 3rem 0;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo span {
    color: var(--color-secondary-foreground);
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 20rem;
}

.footer-contact h4,
.footer-social h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-links a {
    color: var(--color-secondary-foreground);
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-muted);
}

#titulo-footer {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-foreground);
}

#texto-footer {
    font-size: 1rem;
    color: var(--color-foreground);
}
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.developer-signature {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
}

.developer-signature a {
    color: var(--color-primary); /* O el color dorado/rosa que uses */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.developer-signature a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Línea sutil debajo de tu nombre al hacer hover */
.developer-signature a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.developer-signature a:hover::after {
    width: 100%;
}
