/* ==========================================================================
   PANADERÍA PICCADILLY - ESTILOS PRINCIPALES (DESIGN SYSTEM & LAYOUT)
   ========================================================================== */

/* 1. Design System & CSS Variables */
:root {
    /* Color Palette */
    --color-primary: #a44314;
    --color-primary-hover: #88360f;
    --color-primary-light: #fbeee8;
    --color-accent: #9e3a0c;
    --color-accent-gold: #d97706;
    
    --bg-white: #ffffff;
    --bg-cream: #faf7f2;
    --bg-cream-card: #f4f0e8;
    --bg-dark: #1f2421;
    --bg-darker: #151816;
    --bg-card: #ffffff;

    --text-heading: #1f2421;
    --text-body: #3c403d;
    --text-muted: #6b7260;
    --text-light: #ffffff;
    --text-light-muted: #a3ab9e;

    --border-color-light: #eae5dc;
    --border-color-dark: rgba(255, 255, 255, 0.12);

    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout & Spacing */
    --container-max-width: 1240px;
    --header-height: 80px;
    --topbar-height: 40px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.10);
    --shadow-hover: 0 20px 45px rgba(164, 67, 20, 0.15);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-apple: 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Global Resets & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-body);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    position: relative;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Scroll Progress Bar (Apple / Google aesthetic) */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #e65c00, var(--color-accent-gold));
    width: 0%;
    z-index: 2000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(164, 67, 20, 0.5);
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    line-height: 1.25;
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.section-kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem auto;
}

.section {
    padding: 6.5rem 0;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
}

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

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(164, 67, 20, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(164, 67, 20, 0.35);
}

.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--bg-white);
    color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background-color: var(--bg-cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   3. Apple / Google Scroll Reveal Animations
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(4px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    filter: blur(4px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    filter: blur(4px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.91);
    filter: blur(6px);
    transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
}

/* Image reveal zoom effect */
.reveal-img-wrapper {
    overflow: hidden;
}

.reveal-img-wrapper img {
    transform: scale(1.12);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-img-wrapper.revealed img {
    transform: scale(1);
}

/* ==========================================================================
   4. Topbar Component (Barra Superior Informativa)
   ========================================================================== */
.topbar {
    background: linear-gradient(90deg, #88360f 0%, #a44314 50%, #9e3a0c 100%);
    color: #ffffff;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

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

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
}

.topbar-text {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
}

.topbar-item svg {
    color: #fce7da;
    flex-shrink: 0;
}

.topbar-item a {
    color: #ffffff;
    font-weight: 600;
}

.topbar-item a:hover {
    color: #fbeee8;
    text-decoration: underline;
}

/* ==========================================================================
   5. Header & Sticky Navbar
   ========================================================================== */
.header {
    background-color: var(--bg-white);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 1px solid var(--border-color-light);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    height: 70px;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-heading);
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-text span {
    color: var(--color-primary);
    font-style: italic;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    z-index: 1002;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-heading);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height) - var(--topbar-height));
    max-height: 780px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    padding: 5rem 0 6rem 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    will-change: transform;
    transition: transform 0.1s linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(21, 24, 22, 0.72) 0%, rgba(21, 24, 22, 0.88) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    font-size: 0.875rem;
    font-weight: 500;
    color: #fce7da;
    margin-bottom: 1.75rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.18;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-fast);
}

.hero-scroll-indicator a:hover {
    color: var(--text-light);
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ==========================================================================
   7. Benefits Bar Section
   ========================================================================== */
.benefits-bar {
    background-color: var(--bg-cream);
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--border-color-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    background-color: var(--bg-white);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
}

.benefit-title {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-heading);
    margin-bottom: 0.35rem;
}

.benefit-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ==========================================================================
   8. Specialties Section ("Nuestras Delicias")
   ========================================================================== */
.specialties-section {
    background-color: var(--bg-white);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.specialty-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(164, 67, 20, 0.2);
}

.specialty-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect ratio */
    overflow: hidden;
    background-color: var(--bg-cream);
}

.specialty-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.specialty-card:hover .specialty-image {
    transform: scale(1.08);
}

.specialty-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(31, 36, 33, 0.85);
    color: var(--text-light);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.specialty-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.specialty-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.specialty-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.specialty-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

.specialty-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color-light);
}

.specialty-price {
    font-weight: 700;
    color: var(--text-heading);
    font-size: 1rem;
}

.btn-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.btn-card-action:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
    transform: scale(1.1);
}

/* ==========================================================================
   9. Story Section ("El arte de la lentitud...")
   ========================================================================== */
.story-section {
    background-color: var(--bg-cream);
}

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

.story-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.story-experience-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: var(--bg-white);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 260px;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.3;
}

.story-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.story-text {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.story-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.25rem;
    margin-top: 1rem;
    transition: all var(--transition-fast);
}

.story-link:hover {
    color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    gap: 0.875rem;
}

/* ==========================================================================
   10. Process Section ("Nuestro Proceso")
   ========================================================================== */
.process-section {
    background-color: var(--bg-white);
}

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

.process-card {
    position: relative;
    background-color: var(--bg-cream);
    padding: 3rem 2rem 2.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color-light);
    transition: all var(--transition-base);
    text-align: center;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-white);
}

.process-step-number {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: rgba(164, 67, 20, 0.15);
}

.process-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
    border: 1px solid rgba(164, 67, 20, 0.15);
}

.process-card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.process-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   11. CTA Banner Section ("¿Celebras un momento especial?")
   ========================================================================== */
.cta-banner {
    position: relative;
    background-color: var(--color-accent);
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    color: var(--text-light);
    padding: 5.5rem 0;
    overflow: hidden;
}

.cta-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%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/svg%3E");
}

.cta-banner-container {
    position: relative;
    z-index: 2;
}

.cta-banner-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.cta-banner-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0.35rem 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.cta-banner-title {
    font-size: 2.85rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.cta-banner-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.25rem;
    line-height: 1.6;
}

/* ==========================================================================
   12. Instagram Section
   ========================================================================== */
.instagram-section {
    background-color: var(--bg-cream);
    padding-bottom: 5rem;
}

.instagram-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color-light);
}

.instagram-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-heading);
}

.instagram-username {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}

.instagram-link:hover {
    color: var(--color-primary-hover);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.instagram-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: block;
}

.instagram-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 36, 33, 0.75);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* ==========================================================================
   13. Testimonials Section ("Lo que dicen nuestros clientes")
   ========================================================================== */
.testimonials-section {
    background-color: var(--bg-white);
}

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

.testimonial-card {
    background-color: var(--bg-cream);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-white);
}

.testimonial-rating {
    color: var(--color-accent-gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-heading);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-top: 1px solid var(--border-color-light);
    padding-top: 1.25rem;
}

.testimonial-name {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-heading);
}

.testimonial-tag {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ==========================================================================
   14. Pre-footer CTA Section ("Lleva el sabor a tu hogar")
   ========================================================================== */
.prefooter-cta {
    background-color: var(--bg-dark);
    padding: 5.5rem 0;
    color: var(--text-light);
}

.prefooter-box {
    background-color: var(--bg-darker);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    border: 1px solid var(--border-color-dark);
    box-shadow: var(--shadow-lg);
}

.prefooter-content {
    max-width: 680px;
    margin: 0 auto;
}

.prefooter-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.prefooter-title {
    font-size: 2.85rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.prefooter-text {
    font-size: 1.1rem;
    color: var(--text-light-muted);
    margin-bottom: 2.25rem;
    line-height: 1.65;
}

/* ==========================================================================
   15. Footer Section
   ========================================================================== */
.footer {
    background-color: var(--bg-darker);
    color: var(--text-light-muted);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid var(--border-color-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.footer-desc {
    font-size: 0.9375rem;
    color: var(--text-light-muted);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.footer-socials {
    display: flex;
    gap: 0.875rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-light-muted);
}

.footer-links a:hover {
    color: var(--text-light);
    padding-left: 4px;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-style: normal;
    margin-bottom: 1rem;
}

.footer-contact-info svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer-contact-info a:hover {
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color-dark);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a:hover {
    color: var(--text-light);
}

/* ==========================================================================
   16. Responsive Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.85rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .story-grid {
        gap: 2.5rem;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .topbar {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .btn-header-wa span {
        display: none;
    }
    
    .btn-header-wa {
        padding: 0.5rem;
        border-radius: 50%;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-white);
        z-index: 1001;
        padding: 5rem 2rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-base);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.15rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

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

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

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

    .story-img {
        height: 380px;
    }

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

    .cta-banner-title {
        font-size: 2rem;
    }

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

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

    .prefooter-title {
        font-size: 2rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
