/* TORVISCAKES - ESTILO GENERAL */
:root {
    --cream: #fffaf7;
    --rose: #ad356d;
    --rose-dark: #85234f;
    --rose-light: #fff0f3;
    --ink: #45323c;
    --muted: #74616a;
    --border: rgba(173,53,109,.13);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--rose);
    outline-offset: 4px;
}

/* TOPBAR */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,250,247,.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1320px;
    height: 100px;
    padding: 0 36px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.brand img {
    width: 245px;
    height: 82px;
    object-fit: contain;
}
.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 36px);
}
.desktop-nav a {
    font-size: .9rem;
    font-weight: 600;
    transition: color .2s;
}
.desktop-nav a:hover { color: var(--rose); }
.nav-cta {
    flex-shrink: 0;
    padding: 11px 23px;
    border: 1px solid var(--rose);
    border-radius: 100px;
    color: var(--rose);
    font-weight: 700;
    font-size: .85rem;
    transition: .25s;
}
.nav-cta:hover {
    background: var(--rose);
    color: white;
}
.menu-button, .mobile-nav { display: none; }

/* HERO */
.hero {
    position: relative;
    min-height: 650px;
    min-height: min(750px, calc(100svh - 100px));
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #f6e9e4;
    background-image:
        linear-gradient(90deg,
            rgba(255,250,247,.90) 0%,
            rgba(255,250,247,.76) 26%,
            rgba(255,250,247,.30) 55%,
            rgba(255,250,247,.02) 85%),
        url("/images/fondohero.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 80px));
    margin: auto;
    padding: 85px 0 105px;
}
.hero-content > * { max-width: 590px; }
.eyebrow, .section-eyebrow {
    display: block;
    color: var(--rose);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .19em;
    margin-bottom: 20px;
}
.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 4.7vw, 5rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.12;
}
.hero h1 span {
    color: var(--rose);
    font-style: italic;
}
.hero p {
    margin: 24px 0 0;
    max-width: 510px;
    color: #584650;
    font-size: 1.02rem;
    line-height: 1.85;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}
.button-primary, .button-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 100px;
    font-weight: 700;
    font-size: .9rem;
    transition: transform .25s, background .25s, box-shadow .25s;
}
.button-primary {
    background: var(--rose);
    color: white;
    box-shadow: 0 12px 28px rgba(173,53,109,.20);
}
.button-primary:hover {
    background: var(--rose-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(173,53,109,.25);
}
.button-secondary {
    color: var(--rose-dark);
    background: rgba(255,255,255,.8);
    border: 1px solid rgba(173,53,109,.3);
}
.button-secondary:hover {
    background: white;
    transform: translateY(-3px);
}
.hero-bottom {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    white-space: nowrap;
    font-size: .65rem;
    letter-spacing: .22em;
    font-weight: 700;
    color: var(--rose-dark);
    opacity: .65;
}

/* SECCIONES SIGUIENTES */
.section-container {
    width: min(1100px, calc(100% - 48px));
    margin: auto;
}
.intro-section, .simple-section, .contact-section {
    padding: 100px 0;
    text-align: center;
}
.intro-section { background: #fffdfb; }
.simple-section { background: #fff2f4; }
.contact-section { background: #fffaf7; }
.section-container h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}
.section-container h2 em {
    color: var(--rose);
    font-weight: inherit;
}
.section-container p {
    max-width: 660px;
    margin: 0 auto 24px;
    color: var(--muted);
}
.text-link {
    color: var(--rose);
    font-weight: 700;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}
.contact-section .button-primary { margin-top: 12px; }
.footer {
    padding: 48px 20px;
    background: #47313e;
    color: white;
    text-align: center;
}
.footer img {
    width: 190px;
    max-height: 90px;
    object-fit: contain;
    margin: 0 auto 15px;
    background: #fffaf7;
    border-radius: 12px;
}
.footer p { font-weight: 600; }
.footer small { opacity: .75; }

/* TABLET */
@media (max-width: 1000px) {
    .nav-container { padding: 0 22px; }
    .brand img { width: 205px; }
    .desktop-nav { gap: 16px; }
    .nav-cta { display: none; }
}

/* MOBILE */
@media (max-width: 800px) {
    .nav-container { height: 78px; padding: 0 18px; }
    .brand img { width: 190px; height: 68px; }
    .desktop-nav { display: none; }
    .menu-button {
        display: flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
    .menu-button span {
        width: 26px;
        height: 2px;
        background: var(--rose-dark);
        display: block;
        margin: 0 auto;
        transition: .2s;
    }
    .mobile-nav {
        display: none;
        background: var(--cream);
        padding: 10px 24px 20px;
        border-top: 1px solid var(--border);
    }
    .mobile-nav.active { display: grid; }
    .mobile-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        font-weight: 600;
    }
    .hero {
        min-height: 690px;
        align-items: flex-end;
        background-image:
            linear-gradient(0deg,
                rgba(255,250,247,.98) 0%,
                rgba(255,250,247,.91) 38%,
                rgba(255,250,247,.25) 80%),
            url("/images/fondohero.png");
        background-position: center center;
    }
    .hero-content {
        width: calc(100% - 40px);
        padding: 90px 0 75px;
    }
    .hero-content > * { max-width: 100%; }
    .hero h1 { font-size: clamp(2.5rem, 9vw, 4rem); }
    .hero p { font-size: .95rem; }
    .hero-bottom { display: none; }
    .intro-section, .simple-section, .contact-section {
        padding: 75px 0;
    }
}

/* CELULARES PEQUEÑOS */
@media (max-width: 480px) {
    .brand img { width: 165px; }
    .hero { min-height: 680px; }
    .hero h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions a { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
\n
/* SOBRE TORVISCAKES - LOGO + TEXTO */

.about-torvis {
    background: #fff2f4;
    padding: 95px 0;
    text-align: left;
}

.about-torvis .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: clamp(35px, 6vw, 90px);
    align-items: center;
}

.about-logo-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 55px rgba(133,35,79,.10);
    border: 1px solid rgba(173,53,109,.10);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    overflow: hidden;
}

.about-logo-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-text h2 {
    max-width: 550px;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.about-text p {
    margin: 0;
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.9;
}

@media (max-width: 800px) {
    .about-torvis {
        padding: 70px 0;
        text-align: center;
    }

    .about-torvis .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-logo-card {
        max-width: 340px;
        margin: 0 auto;
    }

    .about-text h2,
    .about-text p {
        margin-left: auto;
        margin-right: auto;
    }
}
\n
/* CONTACTO TORVISCAKES */

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

.contact-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 35px;
}

.contact-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 100px;
    background: #25D366;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(37,211,102,.20);
    transition: .25s ease;
}

.contact-whatsapp:hover {
    background: #1eae54;
    transform: translateY(-3px);
}

.contact-whatsapp svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 100px;
    border: 2px solid var(--rose);
    color: var(--rose);
    font-weight: 700;
    transition: .25s ease;
}

.contact-instagram:hover {
    background: var(--rose);
    color: white;
    transform: translateY(-3px);
}

.contact-inner .contact-phone {
    margin: 24px auto 0;
    font-size: .9rem;
    color: var(--muted);
}

@media (max-width: 600px) {
    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-whatsapp,
    .contact-instagram {
        width: 100%;
    }
}


/* INICIO CSS GALERIA TORVISCAKES */

/* ===== GALERIA TORVISCAKES ===== */

.tc-gallery-section {
    padding: 100px 0;
    background: #fffaf7;
}

.tc-gallery-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.tc-gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 35px;
}

.tc-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: #ad356d;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.tc-gallery-heading h2 {
    margin: 0 0 14px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    color: #372632;
}

.tc-gallery-heading h2 em {
    color: #ad356d;
    font-weight: 500;
}

.tc-gallery-heading p {
    margin: 0;
    color: #776a72;
    line-height: 1.7;
}

.tc-gallery-arrows {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.tc-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid #ead6df;
    border-radius: 50%;
    background: #fff;
    color: #ad356d;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}

.tc-arrow:hover {
    background: #ad356d;
    color: #fff;
    transform: translateY(-2px);
}

.tc-arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
    transform: none;
}

.tc-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tc-carousel::-webkit-scrollbar {
    display: none;
}

.tc-track {
    display: flex;
    gap: 20px;
}

.tc-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

.tc-photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #f3e6e9;
    cursor: zoom-in;
}

.tc-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.tc-photo:hover img {
    transform: scale(1.055);
}

.tc-photo-zoom {
    position: absolute;
    right: 15px;
    bottom: 15px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #ad356d;
    font-size: 1.5rem;
}

.tc-gallery-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.tc-counter {
    color: #ad356d;
    font-weight: 700;
    letter-spacing: .08em;
}

.tc-gallery-instagram {
    color: #ad356d;
    font-weight: 700;
    text-decoration: none;
}

.tc-gallery-instagram:hover {
    text-decoration: underline;
}

/* VISOR DE FOTOGRAFIAS */

.tc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 70px;
    background: rgba(20, 13, 20, .94);
}

.tc-lightbox.is-open {
    display: flex;
}

.tc-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.tc-lightbox button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
}

.tc-lightbox button:hover {
    background: rgba(255,255,255,.3);
}

.tc-lightbox-close {
    top: 18px;
    right: 18px;
}

.tc-lightbox-prev {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.tc-lightbox-next {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.tc-lightbox-count {
    position: absolute;
    bottom: 18px;
    color: white;
    font-size: .9rem;
}

@media (max-width: 900px) {
    .tc-slide {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    .tc-gallery-section {
        padding: 65px 0;
    }

    .tc-gallery-container {
        width: min(100% - 32px, 1180px);
    }

    .tc-gallery-heading {
        align-items: flex-end;
    }

    .tc-gallery-heading h2 {
        font-size: 2rem;
    }

    .tc-gallery-arrows {
        gap: 6px;
    }

    .tc-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .tc-slide {
        flex-basis: 100%;
    }

    .tc-track {
        gap: 14px;
    }

    .tc-photo {
        aspect-ratio: 4 / 4.5;
    }

    .tc-lightbox {
        padding: 65px 12px;
    }

    .tc-lightbox-prev {
        left: 8px;
    }

    .tc-lightbox-next {
        right: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tc-carousel {
        scroll-behavior: auto;
    }

    .tc-photo img,
    .tc-arrow {
        transition: none;
    }
}

/* FIN CSS GALERIA TORVISCAKES */




/* ===== FLECHAS FIJAS DEL CARRUSEL ===== */

.tc-carousel-shell {
    position: relative;
    width: 100%;
}

.tc-carousel-shell .tc-carousel {
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.tc-carousel-shell > .tc-gallery-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    z-index: 10;
    pointer-events: none;
}

.tc-carousel-shell .tc-arrow {
    pointer-events: auto;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #ad356d;
    border: 1px solid rgba(173,53,109,.18);
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background .2s, color .2s;
}

.tc-carousel-shell .tc-arrow:hover {
    background: #ad356d;
    color: #ffffff;
}

.tc-carousel-shell .tc-arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .tc-carousel-shell > .tc-gallery-arrows {
        padding: 0 8px;
    }

    .tc-carousel-shell .tc-arrow {
        width: 42px;
        height: 42px;
    }
}
