/* =========================
   PIPE GIRALDO | FULLENERGYYY
   style.css
   ========================= */

:root {
  --bg: #080808;
  --bg-soft: #111111;
  --bg-card: #151515;
  --line: rgba(255, 255, 255, 0.08);

  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.52);

  --yellow: #d7e63f;
  --yellow-hover: #edf75b;
  --black: #000000;

  --max-width: 1320px;
  --radius: 22px;
  --radius-sm: 14px;

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  --font-body: "Inter", sans-serif;
  --font-display: "Arial Black", "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

section {
  padding: 90px 24px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* =========================
   TICKER
   ========================= */

.ticker {
  position: relative;
  z-index: 1001;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}

.ticker marquee {
  padding: 0 10px;
}

/* =========================
   HEADER
   ========================= */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 8, 0.72);
  border-bottom: 1px solid var(--line);
  padding: 18px 24px;
}

header .inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  opacity: 0.88;
  transition: 0.25s ease;
}

nav a:hover {
  color: var(--yellow);
  opacity: 1;
}

.nav-login {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* =========================
   BUTTONS
   ========================= */

.btn,
.cta,
.whatsapp-btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn:hover,
.cta:hover,
.whatsapp-btn:hover,
button:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: transparent;
}

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

.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 90px 24px 70px;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.6)),
    linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.4) 35%, rgba(0,0,0,0.2) 100%),
    url("assets/hero.jpg") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero p {
  max-width: 650px;
  font-size: 1.08rem;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* =========================
   SECTION TITLES
   ========================= */

.section-label {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-copy {
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.02rem;
}

/* =========================
   ABOUT
   ========================= */

.about {
  background: var(--bg);
}

.about-wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 54px;
  align-items: center;
}

.about-text p {
  color: var(--text-soft);
  margin-bottom: 24px;
  font-size: 1.02rem;
  max-width: 650px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(0,0,0,0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 18px 20px;
  max-width: 300px;
}

.about-card strong {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 8px;
}

.about-card p {
  color: var(--text-soft);
  font-size: 0.94rem;
  margin: 0;
}

/* =========================
   PODCAST
   ========================= */

.podcast-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 30px 0 34px;
}

.podcast-nav a {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
  transition: 0.25s ease;
}

.podcast-nav a.active,
.podcast-nav a:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.podcast-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: 0.3s ease;
}

.podcast-card:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 230, 63, 0.4);
}

.podcast-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.podcast-card-body {
  padding: 18px 18px 22px;
}

.podcast-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.podcast-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.podcast-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.podcast-links a {
  color: var(--yellow);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* =========================
   COURSES
   ========================= */

.courses-wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.courses-text p {
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 560px;
}

.courses-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
}

.courses-video iframe,
.courses-video video {
  width: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}

/* =========================
   EVENTS
   ========================= */

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.event-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  transition: 0.25s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 230, 63, 0.4);
}

.event-date {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.event-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.event-card p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

/* =========================
   SERVICES
   ========================= */

.services-tabs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 26px 0 34px;
}

.services-tabs button {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--line);
}

.services-tabs button.active,
.services-tabs button:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 460px;
  border: 1px solid var(--line);
  background: #111;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.18)),
    linear-gradient(to bottom, rgba(0,0,0,0.06), transparent);
}

.service-card-content {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
}

.service-card small {
  display: inline-block;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* =========================
   LIBRARY
   ========================= */

.library-wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 30px;
  align-items: start;
}

.featured-book {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 520px;
}

.featured-book-cover {
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.featured-book-cover img {
  width: 100%;
  max-width: 360px;
  object-fit: contain;
  filter: drop-shadow(0 18px 50px rgba(0,0,0,0.5));
}

.featured-book-body {
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-book-body h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.featured-book-body p {
  color: var(--text-soft);
  margin-bottom: 20px;
}

.ebooks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.ebook-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}

.ebook-card img {
  width: 100%;
  height: 158px;
  object-fit: cover;
  border-radius: 14px;
}

.ebook-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.ebook-card p {
  color: var(--text-soft);
  font-size: 0.94rem;
  margin-bottom: 12px;
}

/* =========================
   BUSINESS
   ========================= */

.business-strip {
  margin-top: 30px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  position: relative;
}

.business-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: scrollLogos 24s linear infinite;
}

.business-track a {
  flex: 0 0 auto;
  opacity: 0.86;
  transition: 0.25s ease;
}

.business-track a:hover {
  opacity: 1;
  transform: scale(1.03);
}

.business-track img {
  height: 58px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(2);
}

@keyframes scrollLogos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================
   FAQ
   ========================= */

.faq-list {
  max-width: 980px;
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-card);
  padding: 22px 24px;
}

.faq-item h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.faq-item p {
  color: var(--text-soft);
}

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

footer {
  border-top: 1px solid var(--line);
  padding: 70px 24px 36px;
  background: #050505;
}

.footer-wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
}

.footer-left h3,
.footer-right h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.footer-left p,
.footer-right p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.subscribe-form input {
  flex: 1 1 260px;
  background: #0f0f0f;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 15px 18px;
  border-radius: 999px;
  outline: none;
}

.subscribe-form input:focus {
  border-color: rgba(215, 230, 63, 0.5);
}

.social-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text-soft);
  transition: 0.25s ease;
}

.social-links a:hover {
  color: var(--yellow);
  border-color: rgba(215, 230, 63, 0.45);
}

.footer-bottom {
  width: 100%;
  max-width: var(--max-width);
  margin: 26px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* =========================
   WHATSAPP FLOAT
   ========================= */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1002;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  transition: 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
}

/* =========================
   UTILITIES
   ========================= */

.spacer-top {
  margin-top: 24px;
}

.center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1180px) {
  .about-wrap,
  .courses-wrap,
  .library-wrap,
  .featured-book,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

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

  .featured-book {
    min-height: auto;
  }

  .featured-book-cover {
    padding-top: 40px;
  }
}

@media (max-width: 860px) {
  header .inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    gap: 14px 18px;
    justify-content: flex-start;
  }

  .hero {
    min-height: 82vh;
    align-items: flex-end;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 14vw, 4.7rem);
  }

  .podcast-grid,
  .events-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 390px;
  }

  .library-wrap {
    gap: 20px;
  }

  .ebook-card {
    grid-template-columns: 1fr;
  }

  .ebook-card img {
    height: auto;
    max-height: 280px;
  }

  .courses-video iframe,
  .courses-video video {
    min-height: 280px;
  }

  section {
    padding: 72px 18px;
  }
}

@media (max-width: 560px) {
  .ticker {
    font-size: 0.8rem;
    padding: 11px 0;
  }

  header {
    padding: 16px 18px;
  }

  .logo {
    font-size: 1.45rem;
  }

  nav a {
    font-size: 0.82rem;
  }

  .hero {
    padding: 64px 18px 54px;
    background-position: 62% center;
  }

  .hero p,
  .section-copy,
  .about-text p,
  .courses-text p,
  .event-card p,
  .featured-book-body p,
  .faq-item p,
  .footer-left p,
  .footer-right p {
    font-size: 0.96rem;
  }

  .section-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .service-card h3 {
    font-size: 1.55rem;
  }

  .featured-book-body {
    padding: 26px 22px;
  }

  .footer-bottom {
    font-size: 0.84rem;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    font-size: 1.4rem;
    right: 16px;
    bottom: 16px;
  }
}