


:root {
  --bg: #000;
  --fg: #fff;
  --muted: #c8c8c8;
  --accent: #2e36ff;

  --pad: clamp(16px, 4vw, 28px);
  --maxw: 820px;

  --h1: clamp(2rem, 7vw, 3rem);
  --h2: clamp(1.25rem, 5vw, 1.6rem);
  --lead: clamp(1rem, 4vw, 1.125rem);

  --radius: 12px;
  --shadow: 0 1px 24px rgb(255 255 255 / 8%);
}

/* ================== GLOBAL ================== */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Urbanist", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.container {
  width: min(100%, var(--maxw));
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ================== NAVBAR ================== */

#Navbar{ position: -webkit-sticky; position: sticky; top: 0; z-index: 10000; }

/* ================== HERO ================== */

header.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  position: relative;
  isolation: isolate;
  text-align: left;
  padding-block: clamp(60px, 14vw, 100px);
}

.hero__bg {
   position: absolute;
  inset: 0;
  z-index: -1;
  background: url("img/HOME-img01.jpg") center / cover no-repeat;
  opacity: .4;
  filter: saturate(0);
}

.hero h1 {
  font-size: var(--h1);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.accent {
  color: var(--accent);
}

.lead {
  font-size: var(--lead);
  font-weight: 700;
}

/* ================== SECTIONS ================== */

section {
  padding-block: clamp(36px, 10vw, 72px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.title {
  margin: 0.1rem 0 0.65rem;
  font-size: var(--h2);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.12;
}

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

/* ================== WHAT IT IS ================== */

.what__card {
  margin-top: 1rem;
  padding: clamp(18px, 5vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);

  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px) saturate(140%);
  box-shadow: var(--shadow);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 1rem;
}

.pill {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5pt;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.what__list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0 0;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.what__list li::before {
  content: "• ";
  color: #fff;
  opacity: 0.9;
  margin-right: 0.2rem;
}

.rule {
  height: 1px;
  border: 0;
  margin: 1rem 0 1.25rem;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.08)
  );
}

/* ================== CTA SECTION ================== */

.cta-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta-card {
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);

  background: url(img/lineasBlancas-horiz.png);
    background-size: cover;
    background-repeat: no-repeat;
  backdrop-filter: blur(6px) saturate(140%);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

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

.cta-title {
  margin-bottom: 0.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
}

.cta-desc {
  color: var(--muted);
  font-size: var(--lead);
}

.cta-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  border: 2px solid #fff;
  border-radius: 5pt;
  font-weight: 700;
  transition: all 0.2s ease;
}

.cta-btn:hover {
  background: #fff;
  color: #000;
}
/* ===== Books Grid ===== */
.book-links{
  display:flex; flex-wrap:wrap; gap: clamp(14px,2.6vw,22px);
  justify-content:center; align-items:stretch;
  margin-top:1rem;
}

/* ===== Book Card ===== */
.book-item{
    width: 250pt;
    padding-top: 10pt;
  position:relative;
  display:flex; flex-direction:column;
  border-radius:5pt;
  background: rgba(0,0,0);
  text-decoration:none; color: var(--fg);
  overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.book-item:focus-visible{
  outline: 2px dashed #fff; outline-offset: 4px; border-radius:8px;
}

/* ===== Badge (CTA superior) ===== */
.book-badge{
  position:absolute; z-index:3; top:10px; left:10px;
  padding:.25rem .55rem; font-size:.72rem; font-weight:800; letter-spacing:.06em;
  border:1px solid rgba(255,255,255,.6);
  border-radius:999px; background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
}
.book-badge.badge-accent{ border-color:#2e36ff; color:#cfd3ff; }

/* ===== Media (cover + overlay) ===== */
.book-media{
    position:relative;
    margin:0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.book-cover{
  display:block; width:50%; 
  object-fit: cover; border-bottom:1px solid rgba(255,255,255,.08);
}
#BOOK_2{
  width: 70%;
}

.book-overlay{
  position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:flex-end; gap:.25rem;
  padding: .9rem .9rem 1.1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 5%, rgba(0,0,0,.55) 100%);
  opacity:0; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.book-item:hover .book-overlay{ opacity:1; transform: translateY(0); }

/* Overlay text */
.book-cta1{
  font-weight:800; text-transform:uppercase; font-size:.8rem; letter-spacing:.12em;
  opacity:.95;
}
.book-cta2{
  display:inline-block; margin-top:.15rem;
  font-size:1rem; font-weight:700; letter-spacing:.04em;
  padding:.35rem .6rem; border:2px solid #fff; border-radius:5pt;
  background: rgba(0,0,0,.7);
}

/* ===== Meta (título + descripción) ===== */
.book-meta{ 
    padding: .8rem .9rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.book-title{
  display:block; font-weight:900; letter-spacing:.02em; text-transform:none;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.book-descript{
    text-align: center;
  margin:.35rem 0 0; color: var(--muted);
  font-size: clamp(.9rem, 1.4vw, 1rem);
  line-height:1.4;
}

*---carusel---*/
        .carousel-container {
            width: 100%; /* Ancho del carrusel */
            height: 200pt;
            overflow: hidden;
            position: relative;
            background-color: rgba(49,33,217,0.0);
            padding-bottom: 20pt;
        }

        .carousel {
            display: flex;
            width: calc(300px * 12); /* 3 elementos + duplicados para loop */
            animation: scrollLoop 80s linear  infinite;
        }

        .carousel div {
            width: 300px;
            display: flex;
            align-items: center;
            font-size: 24px;
            font-weight: bold;
            color:white;
        }

        .items {
            margin-top: 20pt;
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color:transparent;
            width: 300px;
}.items h4{
    list-style: none;
    font-size: 18pt;
    width: 90%;
    text-align: left;
    margin: 0;
    font-style: italic;
    color:white;
    font-weight: 700;
    line-height: 20pt;
}.items h4 span{
    color: rgba(255,255,255,1);
    font-size: 14pt;
    font-weight: 400;
    line-height: 14pt;
    
}
/*=====carusel=====*/
#item1 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}
#item2 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}
#item3 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}
#item4 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}
#item5 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}
#item6 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}
#item7 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}
#item8 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}
#item9 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}
#item10 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}
#item11 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}
#item12 p{font-style: italic; width:90%;text-align:left; font-size:12pt; font-weight:700;}

@keyframes scrollLoop {
            0% { margin-left: 0; }
            100% { margin-left: -1800px ; } /* 3 * 300px */
        }
/*========CONTACT FORM=========*/
#Contact-Form{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    padding: 4rem;
}
#Contact-Form h2{
    width: 350pt;
    text-align: center;
    line-height: 40pt;
    font-size: 45pt;
}

#ContactForm-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 320pt;
    height: 320pt;
    background-image: url(img/lineasNegras.png);
    background-size: contain;
    border-radius: 5pt;
}

/* ================== FOOTER ================== */

footer[aria-busy="true"] {
  opacity: .6;
}

/* Footer ocupa 100vw y no genera scroll lateral */
#footer-container {
  inline-size: 100dvw;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

/* ===== Responsive: vertical stack ===== */
@media (max-width: 640px){
  .book-links{ flex-direction:column; align-items:center; }
  .book-item{ width: min(92vw, 420px); }
    
    #Contact-Form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    gap: 2rem;
}
    #Contact-Form h2{
    width: 300pt;
    text-align: center;
    line-height: 40pt;
    font-size: 45pt;
}
    
}

