/* =========================================
   LEMBAS CON FUET PODCAST
========================================= */

/*FONTS*/

@font-face {
  font-family: "IM Fell English";
  src: url(../assets/fonts/IMFellEnglish-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "IM Fell English Italic";
  src: url(../assets/fonts/IMFellEnglish-Italic.ttf) format("truetype");
}

@font-face {
  font-family: "Crimson Pro";
  src: url(../assets/fonts/CrimsonPro-VariableFont_wght.ttf) format("truetype");
}

@font-face {
  font-family: "Crimson Pro Italic";
  src: url(../assets/fonts/CrimsonPro-Italic-VariableFont_wght.ttf) format("truetype");
}

/*ROOT*/

:root {
    --forest: #173d2b; /* rgba(23, 61, 43, 1) */
    --forest-dark: #0b2119; /* rgba(11, 22, 25, 1) */
    --forest-light: #28583b; /* rgba(40, 88, 59, 1) */

    --fuet-letters: #69200c; /* rgba(66, 12, 1, 1) */
    --fuet-fuet: #7e1a06; /* rgba(66, 12, 1, 1) */

    --parchment: #ead09a; /* rgba(234, 208, 154, 1) */
    --parchment-light: #f5e4b8; /* rgba(245, 228, 184, 1) */
    --parchment-dark: #c39b5b; /* rgba(195, 155, 91, 1) */

    --ink: #101713; /* rgba(16, 23, 19, 1) */
    --ink-soft: #263129; /* rgba(38, 49, 41, 1) */

    --ember: #9b3e1e; /* rgba(155, 62, 30, 1) */
    --ember-light: #c45a29; /* rgba(196, 90, 41, 1) */

    --gold: #d8ad52; /* rgba(216, 173, 82, 1) */
    --gold-light: #f0d27d; /* rgba(240, 210, 125, 1) */

    --magic: #2cb9b0; /* rgba(44, 185, 176, 1) */
    --purple: #7352a5; /* rgba(115, 82, 165, 1) */

    --white: #fffdf5; /* rgba(255, 253, 245, 1) */

    --shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);

    --radius: 22px;

    --max-width: 1180px;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(44, 185, 176, 0.08),
            transparent 35%
        ),
        var(--forest-dark);

    color: var(--white);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
summary {
    font: inherit;
}

::selection {
    background: var(--gold);
    color: var(--ink);
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 1000;

    background: rgba(11, 22, 25, 0.9);

    border-bottom: 1px solid rgba(240, 210, 125, 0.12);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar {
    width: min(100% - 40px, var(--max-width));

    min-height: 76px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}


/* Brand */

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    letter-spacing: -0.02em;
}

.brand-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(240, 210, 125, 0.5);
    border-radius: 50%;

    color: var(--gold-light);

    background:
        linear-gradient(
            145deg,
            rgba(216, 173, 82, 0.2),
            rgba(44, 185, 176, 0.1)
        );
}

#brand-logo-image {
    width: 100%;
    max-width: 100px;
    height: auto;
}

.brand strong {
    display: block;

    color: var(--parchment-light);

    font-family: Georgia, serif;

    font-size: 1.15rem;
}

.brand small {
    display: block;

    margin-top: -5px;

    color: var(--gold);

    font-size: 0.67rem;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


/* Navigation */

.nav-links {
    display: flex;
    gap: 34px;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-links a {
    position: relative;

    color: rgba(255, 253, 245, 0.93);

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        color 0.25s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;

    border: 0;

    background: transparent;

    color: var(--gold-light);

    font-size: 1.5rem;

    cursor: pointer;
}

#cta-link {
    position: relative;
    margin-left: auto;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgb(255, 211, 91, 1);
    color: var(--forest-dark);
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(216, 173, 82, 0.25);
}

#cta-link::after {
    display: none;
}

#cta-link:hover {
    background: rgb(255, 211, 91);
    color: var(--forest-dark);
    box-shadow: 0 8px 12px 3px rgba(255, 211, 91, 0.4);
    transform: translateY(-2px);
}

/* =========================================
   GENERAL
========================================= */

.section {
    width: min(100% - 40px, var(--max-width));

    margin: auto;

    padding: 115px 0;
}

.eyebrow-dark {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--ember);

    font-size: 0.8rem;
    font-weight: 850;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.eyebrow-light {
    display: inline-block;

    margin-bottom: 15px;

    color: rgb(255, 153, 106);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}

.section-heading {
    max-width: 700px;

    margin: 0 auto 60px;

    text-align: center;
}

.section-heading h2 {
    color: var(--parchment-light);

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(2.3rem, 5vw, 4rem);

    line-height: 1;

    letter-spacing: -0.04em;
}

.section-heading h2 span {
    color: var(--gold);
}

.section-heading p {
    max-width: 650px;

    margin: 20px auto 0;

    color: rgba(255, 253, 245, 0.93);

    font-size: 1.05rem;
}

.text-link {
  color: rgb(255, 153, 106);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* Animated underline */
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #ffe57e;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.text-link:hover {
  color: #ffe57e;
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Keyboard accessibility */
.text-link:focus-visible {
  outline: 2px solid #ffe57e;
  outline-offset: 4px;
}

/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding: 140px 20px 90px;
}

.hero-background {
    content: "";

    position: absolute;
    inset: 0;

    /* background: rgba(245, 228, 184, 1); */
    background-image: url("../assets/images/Background_parchment.png");
    background-repeat: repeat-x;
}

/* ORIGINAL -------> .hero-background {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 15, 11, 0.97) 0%,
            rgba(5, 15, 11, 0.86) 35%,
            rgba(5, 15, 11, 0.42) 65%,
            rgba(5, 15, 11, 0.85) 100%
        ),
        url("../assets/images/Versión 9.png") center / cover no-repeat;

    filter: saturate(0.9);
    transform: scale(1.02);
}

.hero-background::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(44, 185, 176, 0.18),
            transparent 28%
        ),
        linear-gradient(
            to bottom,
            transparent 60%,
            var(--forest-dark) 100%
        );
}  */

.hero-content {
    position: relative;
    z-index: 1;

    width: min(100%, var(--max-width));

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(350px, 0.75fr);

    align-items: center;

    gap: 70px;
}

.hero-copy {
    max-width: 680px;
}

.hero-copy h1 {
    margin-bottom: 25px;

    color: rgb(16, 47, 32);

    font-family: "Crimson Pro", Georgia, "Times New Roman", serif;

    font-size: clamp(9rem, 8vw, 7.5rem);

    line-height: 0.78;

    letter-spacing: -0.03em;

    /* Original:
     font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(4rem, 8vw, 7.5rem);

    line-height: 0.78;

    letter-spacing: -0.07em;
    */

    text-shadow:
        0 8px 35px rgba(0, 0, 0, 0.55);
}

.hero-copy h1 span {
    margin-bottom: 25px;

    color: var(--fuet-letters);

    font-family: "Crimson Pro", Georgia, "Times New Roman", serif;

    font-size: clamp(9rem, 8vw, 7.5rem);

    line-height: 0.78;

    letter-spacing: -0.02em;

    text-shadow:
        0 8px 35px rgba(0, 0, 0, 0.55);
}

/* .hero-copy h1 span {
    display: block;

    margin-top: 17px;

    color: var(--ember-light);

    font-size: 0.55em;

    letter-spacing: -0.04em;
} */

.hero-description {
    max-width: 580px;

    color: rgba(11, 22, 25, 1);

    font-size: 1.12rem;

    line-height: 1.8;
}


/* Buttons */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;

    margin-top: 34px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 23px;

    border-radius: 999px;

    font-size: 0.88rem;
    font-weight: 666;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: rgb(255, 249, 233);

    border: 1px solid rgba(11, 22, 25, 1);
    
    background: rgba(40, 88, 59, 1);

    box-shadow:
        0 12px 35px rgba(216, 173, 82, 0.25);
}

.button-primary:hover {
    background: rgb(26, 63, 40);

    box-shadow:
        0 15px 45px rgba(216, 173, 82, 0.35);
}

.button-secondary {
    color: rgba(11, 61, 43, 1);
    
    border: 1px solid rgba(40, 88, 59, 1);

    background: rgba(216, 173, 82, 0.7);

    backdrop-filter: blur(10px);
}

.button-secondary:hover {
    background: rgba(216, 173, 82, 1);
}


/* Tags */

.hero-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 35px;
}

.hero-tags span {
    padding: 6px 11px;

    border: 1px solid rgba(240, 210, 125, 0.15);

    border-radius: 999px;

    background: rgba(10, 30, 22, 0.5);

    color: rgba(255, 253, 245, 0.65);

    font-size: 0.72rem;
}


/* =========================================
   HERO CARDS / ROTATING INFORMATION
========================================= */

.podcast-carousel {
    position: relative;

    min-height: 460px;
}

.carousel-card {
    position: absolute;
    inset: 0;

    overflow: hidden;

    border:
        1px solid rgba(240, 210, 125, 0.3);

    border-radius: 28px;

    box-shadow: var(--shadow);

    background-size: cover;
    background-position: center;

    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
    z-index: 1;
}

.carousel-card.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 2;
}

.card-image {
    margin-bottom: 12px;
}

.card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 14px;
}

.card-one {
    background-image:
        linear-gradient(
            to top,
            rgba(7, 21, 15, 0.98),
            rgba(7, 21, 15, 0.15)
        ),
        url("Versión 9(1).png");
}

.card-two {
    background-image:
        linear-gradient(
            to top,
            rgba(25, 12, 8, 0.3),
            rgba(25, 12, 8, 0)
        ),
        url("../assets/images/Version_47.png");

    background-position: 70% center;
}

.card-three {
    background-image:
        linear-gradient(
            to top,
            rgba(25, 12, 8, 0.3),
            rgba(25, 12, 8, 0)
        ),
        url("../assets/images/Join_the_party.png");

    background-position: 70% center;
}

.card-four {
    background-image:
        linear-gradient(
            to top,
            rgba(25, 12, 8, 0.3),
            rgba(25, 12, 8, 0)
        ),
        url("../assets/images/Subscribe.png");

    background-position: 70% center;
}

.card-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px;

    background:
        linear-gradient(
            transparent,
            rgba(5, 15, 11, 0.95)
        );
}

.card-overlay span {
    color: var(--gold-light);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.18em;
}

.card-overlay h2 {
    margin: 10px 0;

    color: var(--parchment-light);

    font-family: Georgia, serif;

    font-size: 1.7rem;

    line-height: 1.05;
}

.card-overlay p {
    color: rgba(255, 253, 245, 0.93);
}

.carousel-dots {
    position: absolute;

    left: 50%;
    bottom: -27px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 13px;
    transform: translateX(-50%);
}

.carousel-dots button {
    width: 25px;
    height: 5px;

    border: 0;
    border-radius: 10px;

    background: var(--forest-light);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.carousel-dots button.active {
    background: var(--gold);
    transform: scaleX(1.2);
}


/* =========================================
   EPISODES
========================================= */

.episodes {
    position: relative;
}

.episodes::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 1px;
    height: 100%;

    background:
        linear-gradient(
            transparent,
            rgba(216, 173, 82, 0.18),
            transparent
        );

    pointer-events: none;
}

.episodes-grid {
    display: grid;

    gap: 18px;
}

.episode-card {
    position: relative;

    display: grid;

    grid-template-columns: 75px 1fr auto;

    gap: 25px;

    padding: 30px;

    border:
        1px solid rgba(216, 173, 82, 0.15);

    border-radius: var(--radius);

    background:
        linear-gradient(
            135deg,
            rgba(39, 83, 57, 0.5),
            rgba(10, 28, 20, 0.85)
        );

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.episode-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(216, 173, 82, 0.4);
}

.episode-number {
    color: var(--gold);

    font-family: Georgia, serif;

    font-size: 2rem;
    font-weight: 700;
}

.episode-category {
    color: var(--magic);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.16em;
}

.episode-content h3 {
    margin: 5px 0 8px;

    color: var(--parchment-light);

    font-family: Georgia, serif;

    font-size: 1.55rem;
}

.episode-content p {
    max-width: 650px;

    margin-bottom: 18px;

    color: rgba(255, 253, 245, 0.93);

    font-size: 0.92rem;
}

.episode-duration {
    align-self: start;

    padding: 5px 10px;

    border-radius: 999px;

    background: rgba(216, 173, 82, 0.09);

    color: var(--gold-light);

    font-size: 0.72rem;
}


/* Audio */

.audio-wrapper {
    max-width: 650px;
}

audio {
    width: 100%;

    height: 40px;
}


/* =========================================
   FAQ
========================================= */

.faq {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 115px 0 140px;

    background:
        linear-gradient(
            rgba(11, 22, 25, 0.72),
            rgba(11, 22, 25, 0.72)
        ),
        url("../assets/images/faq-bg.jpg") center / cover no-repeat;
}

.faq-container {
    max-width: 850px;

    margin: auto;
}

.faq-item {
    border-bottom:
        1px solid rgba(216, 173, 82, 0.18);
}

.faq-item summary {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 24px 4px;

    color: var(--parchment-light);

    font-family: Georgia, serif;

    font-size: 1.2rem;
    font-weight: 600;

    cursor: pointer;

    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span {
    color: var(--gold);

    font-family: sans-serif;

    font-size: 1.4rem;

    transition:
        transform 0.25s ease;
}

.faq-item[open] summary span {
    transform: rotate(45deg);
}

.faq-item p {
    max-width: 720px;

    padding: 0 35px 25px 4px;

    color: rgba(255, 253, 245, 0.93);

    font-size: 0.96rem;

    line-height: 1.8;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    border-top:
        1px solid rgba(216, 173, 82, 0.15);

    background: #071811;
}

.footer-inner {
    width: min(100% - 40px, var(--max-width));

    margin: auto;

    padding: 30px 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-logo {
    color: var(--parchment-light);

    font-family: Georgia, serif;

    font-size: 1.4rem;
    font-weight: 700;
}

.footer-logo span {
    color: var(--ember-light);
}

.footer-inner p {
    margin-top: 5px;

    color: rgba(255, 253, 245, 0.65);

    font-size: 0.82rem;
}

.footer-links {
    display: flex;

    gap: 25px;
}

.footer-links a {
    color: rgba(255, 253, 245, 0.65);

    font-size: 0.85rem;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    padding: 18px 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.05);

    color: rgba(255, 253, 245, 0.65);

    font-size: 0.7rem;

    text-align: center;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .hero-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-copy {
        text-align: center;

        margin: auto;
    }

    .hero-description {
        margin: auto;
    }

    .hero-buttons,
    .hero-tags {
        justify-content: center;
    }

    .podcast-carousel {
        width: min(100%, 500px);

        min-height: 430px;

        margin: auto;
    }
}


@media (max-width: 700px) {

    .navbar {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 68px;
        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;

        gap: 0;

        padding: 10px;

        border:
            1px solid rgba(216, 173, 82, 0.18);

        border-radius: 16px;

        background:
            rgba(8, 25, 19, 0.96);

        backdrop-filter: blur(20px);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 13px;
    }

    .nav-links a::after {
        display: none;
    }

    .hero {
        padding-top: 115px;
    }

    .hero-copy h1 {
        font-size: clamp(3.6rem, 18vw, 6rem);
    }

    .podcast-carousel {
        min-height: 390px;
    }

    .section {
        padding: 80px 0;
    }

    .episode-card {
        grid-template-columns: 45px 1fr;

        padding: 22px;

        gap: 15px;
    }

    .episode-duration {
        display: none;
    }

    .episode-content h3 {
        font-size: 1.3rem;
    }

    .footer-inner {
        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 480px) {

    .navbar {
        width: min(100% - 28px, var(--max-width));
    }

    .hero,
    .section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero {
        padding-top: 105px;
    }

    .hero-copy h1 {
        font-size: 3.8rem;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .podcast-carousel {
        min-height: 340px;
    }

    .card-overlay {
        padding: 25px;
    }

    .card-overlay h2 {
        font-size: 1.55rem;
    }

    .episode-card {
        padding: 18px;
    }

    .episode-number {
        font-size: 1.5rem;
    }
}


/* =========================================
   ACCESSIBILITY / REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}