/* SYSTEM DESIGN & VARIABLES */
:root {
  --color-navy: #062B5F;
  --color-navy-hover: #031c3f;
  --color-green: #95C11F;
  --color-green-hover: #81a719;
  --color-bg: #F7F3EC;
  --color-khaki: #C7BE9C;
  --color-white: #FFFFFF;
  --color-text-primary: #2d3748;
  --color-text-secondary: #4a5568;
  --color-text-light: #718096;

  --font-title: 'Poppins', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-quote: 'Playfair Display', serif;

  --shadow-sm: 0 2px 4px rgba(6, 43, 95, 0.04);
  --shadow-md: 0 8px 20px rgba(6, 43, 95, 0.06);
  --shadow-lg: 0 15px 35px rgba(6, 43, 95, 0.1);
  --shadow-xl: 0 25px 55px rgba(6, 43, 95, 0.15);

  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --max-width-content: 720px;
}

/* RESET & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(199, 190, 156, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(149, 193, 31, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* SCROLL ENTRANCE/EXIT ANIMATIONS */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(199, 190, 156, 0.3);
  padding: 0.12rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 136px; /* Logo doble de grande */
  width: auto;
  display: block;
  transition: var(--transition-smooth);
  margin-top: -20px;
  margin-bottom: -20px;
}

.header-cta {
  background-color: var(--color-green);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.65rem 1.4rem;
  border-radius: 99px;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(149, 193, 31, 0.25);
}

.header-cta:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(6, 43, 95, 0.25);
  transform: translateY(-2px);
}

.header-cta:active {
  transform: translateY(0);
}

/* HERO */
.hero-section {
  width: 100%;
  background-color: #000;
}

.hero {
  display: block;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* MAIN CONTENT */
.main-content {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* INTRO SECTION */
.intro-section {
  text-align: center;
  padding: 3.5rem 0 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--color-green);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.event-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.event-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 2.5rem;
}

.chip-item {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
  background-color: rgba(199, 190, 156, 0.15);
  padding: 0.45rem 1rem;
  border-radius: 99px;
  border: 1px solid rgba(199, 190, 156, 0.3);
}

.chip-dot {
  font-size: 1rem;
  color: var(--color-khaki);
  user-select: none;
}

.cta-wrapper {
  margin-top: 1.5rem;
}

.cta-btn-primary {
  display: inline-block;
  background-color: var(--color-green);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 1.1rem 2.5rem;
  border-radius: 99px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(149, 193, 31, 0.3);
}

.cta-btn-primary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 6px 22px rgba(6, 43, 95, 0.3);
  transform: translateY(-3px);
}

.cta-btn-primary:active {
  transform: translateY(0);
}

/* ABOUT SECTION */
.about-section {
  margin-bottom: 4rem;
  text-align: center;
}

.about-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  padding: 0 1rem;
}

.about-text::before {
  content: "“";
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 4rem;
  color: var(--color-khaki);
  font-family: var(--font-quote);
  opacity: 0.3;
}

/* EMPATHY SECTION (cards grid) */
.empathy-section {
  margin-bottom: 4.5rem;
  text-align: center;
}

.empathy-title {
  font-family: var(--font-title);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2rem;
}

.empathy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.empathy-card {
  background-color: var(--color-white);
  border-radius: 20px;
  padding: 2rem 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(199, 190, 156, 0.2);
  text-align: left;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.empathy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(149, 193, 31, 0.4);
}

.card-indicator {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(149, 193, 31, 0.25);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.empathy-card-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.empathy-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.empathy-cta-wrapper {
  margin-top: 1rem;
}

.cta-btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--color-navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.9rem 2.25rem;
  border-radius: 99px;
  border: 2px solid var(--color-navy);
  transition: var(--transition-smooth);
}

.cta-btn-secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(6, 43, 95, 0.2);
  transform: translateY(-2px);
}

/* SPEAKER CARD REDESIGN - PREMIUM DARK INTEGRATION */
.speaker-section {
  margin-bottom: 5rem;
}

.speaker-card-container {
  padding: 0;
}

.speaker-accent-bg {
  display: none;
  /* Quitamos el bloque decorativo de fondo */
}

.speaker-card-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--color-navy) 0%, #031c3f 100%);
  color: var(--color-white);
  border-radius: 28px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  overflow: hidden;
}

/* Destello sutil de luz verde en el fondo para profundidad visual */
.speaker-card-content::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 75% 75%, rgba(149, 193, 31, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.speaker-image-container {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  /* Avatar redondo en versión móvil */
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
  flex-shrink: 0;
  z-index: 2;
}

.speaker-card-content:hover .speaker-image-container {
  transform: scale(1.05) rotate(3deg);
  border-color: var(--color-green);
}

.speaker-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.speaker-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.speaker-name {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.speaker-quote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  border-left: none;
  border-top: 2px solid rgba(149, 193, 31, 0.4);
  border-bottom: 2px solid rgba(149, 193, 31, 0.4);
  padding: 1rem 0.5rem;
  margin: 1rem 0 1.5rem 0;
  max-width: 580px;
}

.speaker-bio {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 1.5rem;
}

.speaker-cta-wrapper {
  margin-top: 0.5rem;
}

.small-cta {
  font-size: 0.925rem;
  padding: 0.75rem 1.75rem;
  box-shadow: 0 4px 10px rgba(149, 193, 31, 0.2);
}

/* FORM SECTION */
.form-section {
  margin-bottom: 5rem;
  scroll-margin-top: 100px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.form-card {
  background-color: var(--color-white);
  border-radius: 24px;
  padding: 3rem 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(199, 190, 156, 0.35);
  text-align: center;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.form-section-title {
  font-family: var(--font-title);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.form-lead {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.form-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fcfcfc;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.form-wrapper iframe {
  width: 100%;
  max-width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* SITE FOOTER */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 4.5rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 4px solid var(--color-green);
  position: relative;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-quote-box {
  max-width: 600px;
  margin: 0 auto 0.8rem;
}

.footer-quote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo-box {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.footer-logo {
  height: 150px;
  /* Logo doble de grande */
  width: auto;
  filter: brightness(0) invert(1);
  /* Logo blanco mediante CSS filter */
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.developer-credit {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.developer-credit a {
  color: var(--color-green);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.developer-credit a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* FLOATING CTA */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background-color: var(--color-green);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 99px;
  box-shadow: 0 4px 16px rgba(6, 43, 95, 0.25);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.2s ease,
    color 0.2s ease;
  opacity: 1;
  transform: translateY(0);
}

.floating-cta.hidden {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

.floating-cta:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(6, 43, 95, 0.35);
  transform: translateY(-2px);
}

/* RESPONSIVE MEDIA QUERIES */
@media (min-width: 576px) {
  .form-card {
    padding: 3.5rem 3rem;
  }
}

@media (min-width: 768px) {
  .event-title {
    font-size: 3rem;
  }

  .site-header {
    padding: 0.17rem 1.6rem;
  }
}

@media (max-width: 767px) {
  .empathy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .speaker-card-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
  }

  .speaker-details {
    align-items: center;
  }

  .speaker-quote {
    border-left: none;
    border-top: 3px solid var(--color-green);
    border-bottom: 3px solid var(--color-green);
    padding: 0.75rem 0.5rem;
    margin: 1rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.1rem 1rem;
  }

  .brand-logo {
    height: 96px;
    /* Logo doble de grande en móvil */
    margin-top: -12px;
    margin-bottom: -12px;
  }

  .header-cta {
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
  }

  .event-title {
    font-size: 2rem;
  }

  .event-chips {
    flex-direction: column;
    gap: 0.35rem;
  }

  .chip-dot {
    display: none;
  }

  .floating-cta {
    left: 20px;
    right: 20px;
    text-align: center;
    bottom: 20px;
  }
}

/* PC Horizontal Viewport Expansion (>= 992px) */
@media (min-width: 992px) {
  :root {
    --max-width-content: 1140px;
  }

  .main-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4.5rem 2rem;
    padding: 0 2rem;
  }

  /* Intro Section left-aligned and About Section right-aligned */
  .intro-section {
    grid-column: span 7;
    text-align: left;
    padding: 4.5rem 0 0 0;
  }

  .intro-section .event-chips {
    justify-content: flex-start;
  }

  .about-section {
    grid-column: span 5;
    text-align: left;
    margin-bottom: 0;
    padding: 4.5rem 0 0 0;
    display: flex;
    align-items: center;
  }

  .about-text {
    text-align: left;
    margin: 0;
  }

  .about-text::before {
    left: -20px;
  }

  /* Empathy grid spans full width */
  .empathy-section {
    grid-column: span 12;
    margin-bottom: 5rem;
  }

  .empathy-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .empathy-card {
    padding: 2.5rem 2rem;
  }

  /* Speaker card spans full width with a wide split visual design */
  .speaker-section {
    grid-column: span 12;
    margin-bottom: 5.5rem;
  }

  .speaker-card-container {
    max-width: 1000px;
    margin: 0 auto;
  }

  .speaker-card-content {
    grid-template-columns: 260px 1fr;
    display: grid;
    gap: 4rem;
    padding: 4.5rem;
    text-align: left;
    align-items: center;
  }

  .speaker-image-container {
    width: 260px;
    height: 260px;
    border-radius: 24px;
    /* Cambia a cuadrado redondeado en PC */
  }

  .speaker-details {
    align-items: flex-start;
    text-align: left;
  }

  .speaker-quote {
    border-top: none;
    border-bottom: none;
    border-left: 3px solid var(--color-green);
    padding: 0 0 0 1.5rem;
    text-align: left;
    margin: 0.75rem 0 1.25rem 0;
  }

  /* Form Section spans full width and centers the card */
  .form-section {
    grid-column: span 12;
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
  }

  .form-card {
    display: block;
    padding: 4.5rem 3rem;
    text-align: center;
  }

  .form-section-title {
    text-align: center;
    font-size: 2.25rem;
  }

  .form-lead {
    text-align: center;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .form-wrapper {
    margin: 0 auto;
  }
}