/* ============================================================
   MANUEL VENTURA — manuelventura.com
   Sistema de diseño completo | Mobile First
   ============================================================ */

/* --- Variables --- */
:root {
  --navy:    #0A2263;
  --blue:    #0066CC;
  --amber:   #F5A623;
  --dark:    #1A1A2E;
  --light:   #F8F9FA;
  --white:   #FFFFFF;
  --gray:    #6B7280;
  --gray-lt: #E5E7EB;
  --font:    'Inter', system-ui, -apple-system, sans-serif;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(10,34,99,0.10);
  --shadow-lg: 0 12px 48px rgba(10,34,99,0.18);
  --transition: 0.3s ease;
  --max-w:   1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { font-size: 1rem; line-height: 1.75; color: var(--gray); }

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--dark  { background: var(--navy); }
.section--light { background: var(--light); }
.section__label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem;
}
.section__title { color: var(--navy); margin-bottom: 1rem; }
.section__title--white { color: var(--white); }
.section__subtitle { font-size: 1.1rem; max-width: 600px; }
.text-center { text-align: center; }
.text-center .section__subtitle { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em;
  transition: all var(--transition); white-space: nowrap;
}
.btn--amber {
  background: var(--amber); color: var(--dark);
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}
.btn--amber:hover { background: #e6941a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.4); }
.btn--outline {
  border: 2px solid rgba(255,255,255,0.7); color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #0d2d7a; transform: translateY(-2px); }
.btn--ghost { color: var(--blue); font-weight: 600; }
.btn--ghost:hover { color: var(--navy); }
.btn--ghost::after { content: ' →'; }

/* --- Scroll reveal --- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 34, 99, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.8rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
}
.navbar__logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.3rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.02em;
}
.navbar__logo span { color: var(--amber); }
.navbar__nav { display: none; }
.navbar__nav a {
  color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500;
  transition: color var(--transition); padding: 0.25rem 0;
}
.navbar__nav a:hover { color: var(--amber); }
.navbar__cta { display: none; }
.navbar__hamburger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 4px; cursor: pointer;
}
.navbar__hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--transition);
}
.navbar__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--navy); flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white); font-size: 1.4rem; font-weight: 600;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--amber); }
.mobile-menu .btn { margin-top: 1rem; }

@media (min-width: 768px) {
  .navbar__nav { display: flex; align-items: center; gap: 2rem; }
  .navbar__cta { display: block; }
  .navbar__hamburger { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--navy);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover; background-position: center top;
  opacity: 0.35;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,34,99,0.9) 0%, rgba(0,102,204,0.6) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 8rem 1.5rem 4rem;
  max-width: 760px; margin-left: auto; margin-right: auto;
  text-align: center;
}
.hero__eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1.5rem;
}
.hero__title {
  color: var(--white); margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
}
.hero__title em { color: var(--amber); font-style: normal; }
.hero__subtitle {
  color: rgba(255,255,255,0.85); font-size: 1.15rem;
  margin-bottom: 2.5rem; line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
  gap: 0.4rem; color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.1em;
}
.hero__scroll-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); animation: bounce 1.6s infinite;
}
@keyframes bounce { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(6px); } }

/* ============================================================
   ABOUT BRIEF
   ============================================================ */
.about {
  display: grid; gap: 3rem; align-items: center;
}
.about__photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 560px; object-fit: cover;
  width: 100%;
}
.about__content .section__label { display: block; }
.about__text { margin: 1rem 0 2rem; }
.stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 2rem;
}
.stat { text-align: center; padding: 1.5rem 1rem; background: var(--light); border-radius: var(--radius); }
.stat__number {
  display: block; font-size: 2.4rem; font-weight: 800;
  color: var(--navy); line-height: 1;
}
.stat__label { font-size: 0.82rem; color: var(--gray); margin-top: 0.3rem; font-weight: 500; }

@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1fr; }
  .about__photo { max-height: none; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid; gap: 1.5rem; margin-top: 3rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  border: 1px solid var(--gray-lt);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.service-card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.service-card__icon svg { width: 26px; height: 26px; fill: none; stroke: white; stroke-width: 2; }
.service-card__title { color: var(--navy); margin-bottom: 0.75rem; }
.service-card__link { margin-top: 1.25rem; color: var(--blue); font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; transition: gap var(--transition); }
.service-card__link:hover { gap: 0.6rem; }

@media (min-width: 640px)  { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   SOCIAL MEDIA TALK (dark section)
   ============================================================ */
.smt { position: relative; overflow: hidden; }
.smt__bg {
  position: absolute; inset: 0;
  background: url('../images/speaking.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.smt__content { position: relative; z-index: 2; }
.smt__grid {
  display: grid; gap: 2rem; margin-top: 3rem;
}
.smt__stat { text-align: center; }
.smt__stat-number {
  display: block; font-size: 3.5rem; font-weight: 800;
  color: var(--amber); line-height: 1;
}
.smt__stat-label { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-top: 0.4rem; }
.smt__photos {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem; margin-top: 3rem;
}
.smt__photos img {
  border-radius: 8px; aspect-ratio: 4/3; object-fit: cover;
  filter: brightness(0.85) saturate(1.1);
  transition: filter var(--transition);
}
.smt__photos img:hover { filter: brightness(1) saturate(1.3); }
.smt__cta { margin-top: 2.5rem; text-align: center; }

@media (min-width: 480px)  { .smt__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px)  { .smt__grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   SPEAKING
   ============================================================ */
.speaking__grid { display: grid; gap: 3rem; align-items: center; margin-top: 2rem; }
.speaking__photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.topics { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0 2rem; }
.topic {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem; background: var(--light);
  border-radius: 8px; border-left: 3px solid var(--amber);
  font-weight: 500; font-size: 0.95rem; color: var(--navy);
  transition: all var(--transition);
}
.topic:hover { background: #eef4ff; border-color: var(--blue); transform: translateX(4px); }
.topic::before { content: '→'; color: var(--blue); font-size: 0.9rem; }

@media (min-width: 900px) { .speaking__grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials__grid {
  display: grid; gap: 1.5rem; margin-top: 3rem;
}
.testimonial {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  border: 1px solid var(--gray-lt);
  position: relative;
}
.testimonial::before {
  content: '"'; font-size: 4rem; line-height: 1;
  color: var(--amber); font-family: Georgia, serif;
  position: absolute; top: 1rem; left: 1.5rem;
  opacity: 0.4;
}
.testimonial__text { color: var(--dark); margin-bottom: 1.5rem; font-style: italic; padding-top: 1rem; }
.testimonial__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testimonial__name { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.testimonial__role { font-size: 0.82rem; color: var(--gray); }

@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   MEDIA LOGOS
   ============================================================ */
.media { background: var(--light); }
.media__logos {
  display: flex; flex-wrap: wrap; gap: 2rem;
  align-items: center; justify-content: center;
  margin-top: 2.5rem;
}
.media__logo {
  padding: 0.75rem 1.5rem;
  background: var(--white); border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-weight: 800; font-size: 1rem;
  color: var(--gray); letter-spacing: -0.02em;
  transition: all var(--transition);
}
.media__logo:hover { color: var(--navy); box-shadow: var(--shadow); }

/* ============================================================
   BOOK
   ============================================================ */
.book { overflow: hidden; }
.book__grid { display: grid; gap: 3rem; align-items: center; }
.book__cover {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius); padding: 3rem 2rem;
  text-align: center; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.book__cover::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.04)"/></svg>');
}
.book__cover-title {
  color: var(--white); font-size: 1.3rem; line-height: 1.3;
  margin-bottom: 0.75rem; position: relative;
}
.book__cover-author { color: var(--amber); font-size: 0.9rem; font-weight: 600; position: relative; }
.book__icon { font-size: 4rem; margin-bottom: 1rem; }
.book__content .section__label { display: block; }
.book__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.book__tag {
  display: inline-block; padding: 0.3rem 0.85rem;
  background: var(--light); border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; color: var(--navy);
}

@media (min-width: 900px) { .book__grid { grid-template-columns: 1fr 1.8fr; } }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3d8a 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(0,102,204,0.15);
}
.cta-banner__title { color: var(--white); margin-bottom: 1rem; }
.cta-banner__sub { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; font-size: 1.1rem; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); padding: 4rem 0 2rem; }
.footer__grid {
  display: grid; gap: 3rem; margin-bottom: 3rem;
}
.footer__brand .navbar__logo { margin-bottom: 1rem; }
.footer__brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.7; }
.footer__col h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.2rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--amber); }
.footer__social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 700;
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--amber); color: var(--dark); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer__copy { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.footer__made { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.footer__made a { color: var(--amber); }

@media (min-width: 640px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.gap-1 { gap: 1rem; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
