/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    /* Colores principales */
    --primary: #ff9d00;
    --primary-glow: rgba(255, 157, 0, 0.4);
    --primary-gold: #c5a059;
    --gold-hover: #e0b86c;

    /* Fondos */
    --dark-bg: #1c2438;
    --bg-dark: #081a3e;  /*color principal*/
    --bg-obsidian: #0a0c10;
    --card-bg: rgba(255, 255, 255, 0.05);

    /* Bordes */
    --glass-border: rgba(255, 255, 255, 0.1);
    --border-color: #26334d;

    /* Textos */
    --text-main: #f8fafc;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #94a3b8;
    --text-dim: #a0a0a0;
    --text-silver: #d1d5db;

    /* Animaciones */
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


/* =========================================================
   2. RESET GLOBAL
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}


/* =========================================================
   3. CONTENEDOR
   ========================================================= */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   4. NAVEGACIÓN
   ========================================================= */

header {
    background: rgba(11, 15, 23, 0.9);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: rgba(10, 15, 26, 0.8);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo span {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 1px;
}

/* Navegación */

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-gold);
}

.nav-phone {
    color: var(--primary-gold) !important;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}


/* =========================================================
   5. HERO
   ========================================================= */

.hero {
    min-height: 100vh;

    background:
        linear-gradient(rgba(10, 15, 26, 0.7),
            rgba(28, 36, 56, 0.95)),
        url('https://images.unsplash.com/photo-1503387762-592dea58ef21?auto=format&fit=crop&w=1600&q=80') no-repeat center center / cover;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 5% 60px;
}

.hero-content {
    animation: fadeInUp 1.2s ease-out;
}

.badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 20px;

    background: rgba(255, 157, 0, 0.15);
    border: 1px solid var(--primary);

    border-radius: 50px;

    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 25px;
}

.highlight {
    color: var(--primary);
}

.hero p {
    max-width: 700px;
    margin: 0 auto 40px;

    color: var(--text-muted);
    font-size: 1.2rem;
}


/* =========================================================
   6. BOTONES
   ========================================================= */

.hero-actions,
.intro-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn,
.btn-primary,
.btn-outline {
    display: inline-block;
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition);
    cursor: pointer;
}

.btn {
    background: var(--primary);
    color: #000;

    padding: 16px 45px;

    border: none;
    border-radius: 50px;

    font-size: 0.9rem;
    text-transform: uppercase;

    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

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

    padding: 14px 45px;

    border: 1px solid var(--primary-gold);
    border-radius: 50px;

    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--bg-obsidian);
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 8px;
}

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


/* =========================================================
   7. ABOUT HERO
   ========================================================= */

.about-hero {
    min-height: 60vh;

    background:
        linear-gradient(to bottom,
            rgba(5, 7, 10, 0.4),
            var(--bg-obsidian)),
        url('https://images.unsplash.com/photo-1541976535033-5f71b9f50671?auto=format&fit=crop&w=1600&q=80') no-repeat center center / cover;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 100px 5% 60px;
}


/* =========================================================
   8. INTRO / ABOUT
   ========================================================= */

.intro-section {
    padding: 100px 8%;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-image {
    flex: 1.2;
    min-width: 300px;

    overflow: hidden;

    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.intro-image:hover img {
    transform: scale(1.03);
}


/* =========================================================
   9. STORY / ABOUT US
   ========================================================= */

.story-section {
    padding: 100px 8%;
    background-color: var(--bg-obsidian);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    border-left: 5px solid var(--primary-gold);
    filter: sepia(20%) contrast(1.1);
}

.experience-box {
    position: absolute;
    right: -30px;
    bottom: -30px;

    padding: 40px;

    background: var(--primary-gold);
    color: #fff;

    text-align: center;
}

.experience-box span {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.experience-box p {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-text h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 30px;
}

.story-text p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.value-item h3 {
    display: inline-block;

    color: var(--text-silver);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;

    margin-bottom: 10px;
    border-bottom: 1px solid var(--primary-gold);
}

.value-item p {
    color: var(--text-dim);
    font-size: 0.9rem;
}


/* =========================================================
   10. TÍTULOS DE SECCIÓN
   ========================================================= */

.section-title {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title h2 {
    color: var(--text-primary);
    font-size: 2.4rem;
}

.section-title h2 b {
    color: var(--primary-gold);
}

.section-title p {
    color: var(--text-secondary);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 40px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 10px;
}


/* =========================================================
   11. GALERÍA GENERAL / SERVICES
   ========================================================= */

.services-preview {
    padding: 100px 8%;
}

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

.gallery-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.15);
}

.card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   12. GALERÍA CON IMAGE WRAPPER
   ========================================================= */

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

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-icon {
    position: absolute;
    right: 12px;
    bottom: 12px;

    padding: 8px 12px;

    background: rgba(11, 15, 23, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 50%;

    font-size: 1.2rem;

    backdrop-filter: blur(4px);
}

.item-info {
    padding: 24px;
}

.item-info h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.item-info p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.view-gallery {
    display: inline-block;
    margin-top: 10px;

    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;

    transition: color 0.3s ease;
}

.gallery-item:hover .view-gallery {
    color: var(--gold-hover);
    text-decoration: underline;
}


/* =========================================================
   13. GALERÍA ESTÁTICA
   ========================================================= */

.static-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

.gallery-card {
    position: relative;
    height: 380px;

    background: #111;
    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card:hover .card-image-wrapper img {
    transform: scale(1.06);
}


/* =========================================================
   14. OVERLAY INFERIOR — ÚNICA VERSIÓN
   ========================================================= */

.card-overlay-bottom {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    padding: 30px 20px 20px;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.4) 60%,
            transparent 100%);

    color: #fff;
    box-sizing: border-box;

    transition: background 0.4s ease;
}

.card-overlay-bottom h3 {
    margin: 0 0 5px;

    color: var(--primary-gold);
    font-size: 1.3rem;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.card-overlay-bottom p {
    margin: 0;

    color: #fff;
    font-size: 0.75rem;
    font-weight: 400;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.gallery-card:hover .card-overlay-bottom,
.gallery-item-full:hover .card-overlay-bottom {
    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.55) 70%,
            transparent 100%);
}


/* =========================================================
   15. GALERÍA FULL / KITCHEN
   ========================================================= */

.kitchen-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;

    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 8%;

    justify-content: center;
}

.gallery-item-full {
    position: relative;

    width: 100%;
    height: 400px;

    overflow: hidden;

    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.gallery-item-full img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: brightness(0.85);

    transition:
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        filter 0.6s ease;
}

.gallery-item-full:hover img {
    transform: scale(1.06);
    filter: brightness(1);
}

.gallery-item-full .card-overlay-bottom {
    padding: 35px 25px 20px;
    text-align: left;
    pointer-events: none;
}

.gallery-item-full .card-overlay-bottom h3 {
    color: var(--primary-gold);
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.gallery-item-full .card-overlay-bottom p {
    color: #f8fafc;
    opacity: 0.9;
}


/* =========================================================
   16. FLIP GALLERY
   ========================================================= */

.flip-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.flip-card {
    height: 400px;
    perspective: 1000px;
    position: relative;
}

.flip-card-inner {
    position: relative;

    width: 100%;
    height: 100%;

    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 12px;

    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.slide {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}


/* =========================================================
   17. OVERLAY COMPLETO
   ========================================================= */

.card-overlay.overlay-full {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.4);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    transition: background 0.3s ease;
}

.card-overlay.overlay-full h3 {
    margin: 0;

    color: var(--primary-gold);
    font-size: 2rem;
    font-weight: 900;

    letter-spacing: 2px;
}

.card-overlay.overlay-full p {
    margin-top: 10px;

    color: #fff;
    font-size: 1rem;
    font-weight: 400;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.flip-card:hover .overlay-full {
    background: rgba(0, 0, 0, 0.6);
}


/* =========================================================
   18. INTRO DE SERVICIOS
   ========================================================= */

.kitchen-intro,
.painting-intro,
.carpentry-intro,
.drywall-intro,
.roofing-intro,
.tile-intro {
    padding: 140px 8% 60px;
}

.roofing-intro {
    background:
        linear-gradient(to bottom,
            var(--bg-obsidian),
            rgba(197, 160, 89, 0.03));
}

.tile-intro {
    background:
        radial-gradient(circle at top right,
            rgba(197, 160, 89, 0.05),
            transparent);
}

.painting-intro .stat-card {
    background: rgba(255, 255, 255, 0.02);
}

.painting-intro .stat-card:hover {
    box-shadow: -10px 0 20px rgba(197, 160, 89, 0.1);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;

    max-width: 1400px;
    margin: 0 auto;
}

.gold-subtitle {
    display: block;
    margin-bottom: 15px;

    color: var(--primary-gold);
    font-size: 0.85rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 3px;
}

.intro-text-box h1 {
    margin-bottom: 25px;

    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
}

.intro-text-box p {
    margin-bottom: 30px;

    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.8;
}


/* =========================================================
   19. BENEFICIOS
   ========================================================= */

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 12px;

    color: var(--text-silver);
    font-weight: 500;
}

.gold-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;

    background-color: var(--primary-gold);
    border-radius: 50%;

    box-shadow: 0 0 10px var(--primary-gold);
}


/* =========================================================
   20. ESTADÍSTICAS
   ========================================================= */

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    padding: 30px;

    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary-gold);

    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: rgba(197, 160, 89, 0.08);
    transform: translateX(10px);
}

.stat-number {
    display: block;

    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-desc {
    color: var(--text-dim);

    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* =========================================================
   21. QUOTE PAGE
   ========================================================= */

.bg-obsidian {
    background-color: var(--bg-obsidian);
    color: #fff;
}

.quote-page {
    padding: 140px 20px 80px;

    background:
        radial-gradient(circle at top,
            rgba(28, 36, 56, 0.9),
            var(--bg-obsidian));
}

.quote-header {
    margin-bottom: 50px;
    text-align: center;
}

.quote-header h1 {
    margin: 20px 0;
    font-size: 3rem;
}

.quote-header b {
    color: var(--primary-gold);
}


/* =========================================================
   22. FORMULARIO DE COTIZACIÓN
   ========================================================= */

.quote-form-premium {
    max-width: 850px;

    margin: 0 auto 100px;
    padding: 50px;

    background: rgba(255, 255, 255, 0.02);

    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;

    backdrop-filter: blur(15px);

    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.full-width {
    grid-column: span 2;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    color: var(--primary-gold);

    font-size: 0.75rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;

    padding: 14px;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;

    color: #fff;

    transition: var(--transition-smooth);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
    outline: none;
}


/* =========================================================
   23. SUBIDA DE ARCHIVOS
   ========================================================= */

.file-drop-area {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    border: 2px dashed rgba(197, 160, 89, 0.3);
    border-radius: 8px;

    cursor: pointer;

    transition: var(--transition-smooth);
}

.file-drop-area i {
    margin-right: 15px;

    color: var(--primary-gold);
    font-size: 2rem;
}

.file-input {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;
}

.file-drop-area:hover {
    background: rgba(197, 160, 89, 0.05);
    border-color: var(--primary-gold);
}


/* =========================================================
   24. FORM FOOTER
   ========================================================= */

.form-footer {
    margin-top: 40px;
    text-align: center;
}

.form-footer .btn {
    width: 100%;
    padding: 20px;

    background: var(--primary-gold);
    color: var(--bg-obsidian);

    border: none;

    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-footer .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.4);
}

/* =========================================================
   FOOTER CON REDES SOCIALES AMPLIADAS
   ========================================================= */
.footer-dark {
    background: #0a0f1a;
    padding: 40px 20px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Íconos de redes sociales flexibles */
.footer-socials {
    display: flex;
    flex-wrap: wrap; /* Permite salto de línea en celulares */
    justify-content: center;
    gap: 12px;
    max-width: 500px; /* Limita el ancho para centrar mejor el bloque */
}

.footer-socials a {
    width: 38px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-gold, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--primary-gold, #d4af37);
    color: #0a0f1a;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 10px;
}

.copyright a {
    color: var(--primary-gold, #d4af37);
    text-decoration: none;
}
/* =========================================================
   25. GALLERY CTA
   ========================================================= */

.gallery-cta {
    margin-top: 40px;
    padding: 50px 20px;

    background: rgba(255, 255, 255, 0.03);

    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 15px;

    text-align: center;
}

.gallery-cta h3 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.btn-main-quote {
    display: inline-block;

    margin-top: 20px;
    padding: 18px 40px;

    background-color: var(--primary-gold);
    color: #000;

    border-radius: 50px;

    font-size: 1.1rem;
    font-weight: 900;

    text-decoration: none;
    text-transform: uppercase;

    transition: all 0.3s ease;
}

.btn-main-quote:hover {
    background-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}


/* =========================================================
   26. UBICACIÓN Y CONTACTO
   ========================================================= */

.location-section {
    margin: 60px auto;
    padding: 0 20px;
}

.location-header {
    margin-bottom: 40px;
    text-align: center;
}

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

.info-card {
    padding: 30px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    margin-top: 5px;

    color: var(--primary-gold);
    font-size: 1.5rem;
}

.info-item h3 {
    margin: 0 0 5px;
}

.info-item p {
    margin: 0;
    color: #ccc;
}

.info-item a {
    color: var(--primary-gold);
    font-weight: bold;
    text-decoration: none;
}

.map-container {
    height: 320px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.action-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    width: 100%;
}

.action-footer p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* =========================================================
   27. FOOTER
   ========================================================= */

.footer-dark {
    margin-top: 80px;
    padding: 40px 0;
    background-color: var(--bg-obsidian);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-dark p a,
.footer-links a,
.main-footer a {
    color: var(--primary-gold) !important;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover,
.footer-dark a:hover,
.main-footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}


/* =========================================================
   28. ANIMACIONES
   ========================================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   29. RESPONSIVE — TABLETS
   ========================================================= */

@media (max-width: 992px) {

    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-btns {
        justify-content: center;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .benefit-list li {
        justify-content: center;
    }

    .stat-card {
        border-left: none;
        border-top: 3px solid var(--primary-gold);
    }

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

    .story-container {
        grid-template-columns: 1fr;
    }

    .experience-box {
        position: static;
        margin-top: 20px;
    }
}


/* =========================================================
   30. RESPONSIVE — MÓVILES
   ========================================================= */

@media (max-width: 768px) {

    .navbar {
        padding: 12px 5%;
    }

    .logo {
        gap: 10px;
    }

    .logo img {
        height: 38px;
    }

    .logo span {
        font-size: 0.9rem;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn,
    .btn-outline {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

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

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

    .full-width {
        grid-column: span 1;
    }

    .quote-form-premium {
        padding: 30px 20px;
    }

    .quote-header h1 {
        font-size: 2.2rem;
    }

    .gallery-grid,
    .static-gallery-grid,
    .flip-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-full,
    .flip-card {
        height: 350px;
    }
}


/* =========================================================
   31. RESPONSIVE — CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 0.7rem;
    }

    .logo span {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .gallery-item-full,
    .gallery-card,
    .flip-card {
        height: 320px;
    }

    .card-overlay-bottom h3 {
        font-size: 1.1rem;
    }
}

/* =========================================================
   32. BOTÓN FLOTANTE WHATSAPP (CHAT BUBBLE)
   ========================================================= */

.chat-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;

    background-color: #25d366;
    color: #ffffff !important;
    text-decoration: none;

    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);

    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: var(--transition-smooth);
    animation: whatsappPulse 2s infinite;
}

.chat-bubble .icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.chat-bubble:hover {
    background-color: #20ba5a;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Animación de pulso continuo */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajuste responsivo para pantallas pequeñas */
@media (max-width: 480px) {
    .chat-bubble {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
    }

    .chat-bubble .text {
        display: none;
        /* Oculta el texto en móviles para dejar solo el icono circular */
    }

    .chat-bubble {
        border-radius: 50%;
        padding: 14px;
    }

    .chat-bubble .icon {
        font-size: 1.6rem;
    }
}

/* =========================================================
   33. BOTÓN FLOTANTE VOLVER A HOME (INFERIOR IZQUIERDA)
   ========================================================= */
.back-home-bubble {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: rgba(10, 15, 26, 0.9);
    border: 1px solid var(--primary-gold, #d4af37);
    color: var(--primary-gold, #d4af37);
    padding: 12px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.back-home-bubble:hover {
    background: var(--primary-gold, #d4af37);
    color: #0a0f1a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

@media (max-width: 600px) {
    .back-home-bubble .text {
        display: none; /* En pantallas pequeñas se oculta el texto y se deja solo la flecha */
    }
    .back-home-bubble {
        padding: 12px;
        border-radius: 50%;
    }
}
html {
    scroll-behavior: smooth;
}