:root {
  --verde-oscuro: #1f6f5c;
  --gris-texto: #333;
  --blanco: #ffffff;
}

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

body {
  font-family: 'Montserrat', sans-serif;
}

/* ================= HEADER ================= */
.header {
  background-color: var(--verde-oscuro);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================= LOGO ================= */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--blanco);
}

.logo img {
  height: 46px;
}

/* ================= NAV ================= */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: var(--blanco);
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.8;
}

.lang-btn {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn:hover {
  background-color: #ffffff;
  color: #1f6f5c;
}


/* ================= MENU MOBILE ================= */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background-color: var(--blanco);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .menu-icon {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--verde-oscuro);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;      /* centra horizontal */
    text-align: center;       /* centra texto */
    padding: 24px 0;
    gap: 18px;
  }

  .nav-menu a {
    color: var(--blanco);
    font-size: 1.1rem;
  }

  #menu-toggle:checked ~ .nav {
    max-height: 320px;
  }


  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--verde-oscuro);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .nav-menu a {
    color: var(--blanco);
  }

  #menu-toggle:checked ~ .nav {
    max-height: 300px;
  }


  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--verde-oscuro);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  #menu-toggle:checked ~ .nav {
    max-height: 300px;
  }
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 85vh;
  background-image: url('img/FracturaTitulo.jpeg'); /* Reemplazar por tu imagen */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 111, 92, 0.75); /* verde institucional con transparencia */
}

.hero-content {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 40px 24px;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }
}

/* ================= CARDS ================= */
.info-cards {
  max-width: 1200px;
  margin: 40px auto 80px; /* sube las cards sobre el hero */
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #1f6f5c, #30c09e);
  color: #ffffff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #1f6f5c;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
.info-cards {
grid-template-columns: 1fr;
margin: 32px auto 64px; /* separación segura en mobile */
}
}


/* Evita solapamientos con el HERO en mobile */
@media (max-width: 768px) {
.hero {
padding-bottom: 40px;
}
}

/* ================= OBJETIVO ================= */
.objective {
  background-color: #ffffff;
  padding: 64px 24px;
}

.objective-container {
  max-width: 1000px;
  margin: auto;
}

.objective-card {
  background-color: #f0f7f5;
  padding: 40px 36px;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.objective-card h3 {
  color: #1f6f5c;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.objective-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .objective {
    padding: 48px 24px;
  }
}


/* ================= WORKSHOP ================= */
.workshop {
  background-color: #f0f7f5;
  padding: 96px 24px;
}

.workshop-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  text-align: justify;

}

.workshop-text h2 {
  font-size: 2.4rem;
  color: #1f6f5c;
  margin-bottom: 16px;
}

.workshop-highlight {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f6f5c;
  margin-bottom: 24px;
}

.workshop-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.workshop-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
  max-width: 60%;
  height: auto;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .workshop-container {
    grid-template-columns: 1fr;
  }

  .workshop {
    padding: 72px 24px;
  }

  .workshop-text h2 {
    text-align: center;
  }

  .workshop-highlight {
    text-align: center;
  }
}

/* ================= CALL FOR ABSTRACTS (BLOQUE) ================= */
.call-abstracts {
  background-color: #1f6f5c;
  padding: 56px 24px;
}

.call-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.call-text h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.call-text p {
  color: #e9f5f1;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.call-deadline {
  color: #ffffff;
  font-weight: 600;
}

.btn-call {
  background-color: #ffffff;
  color: #1f6f5c;
  padding: 16px 32px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .call-container {
    flex-direction: column;
    text-align: center;
  }
}


/* ================= SPONSORS ================= */
.sponsors {
  background-color: #f0f7f5; /* mismo gris suave que Workshop */
  padding: 56px 24px;
}

.sponsors-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.sponsors-container h2 {
  font-size: 2.3rem;
  color: #1f6f5c;
  margin-bottom: 12px;
}

.sponsors-subtitle {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 56px;
}

.sponsors-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  align-items: center;
}

.sponsor-card {
  background-color: #ffffff; /* cards blancas */
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.15);
}

.sponsor-card img {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .sponsors {
    padding: 72px 24px;
  }

  .sponsors-subtitle {
    margin-bottom: 40px;
  }
}



/* ================= CONFERENCISTAS ================= */
.speakers {
  background-color: #ffffff;
  padding: 96px 24px;
}

.speakers-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.speakers-container h2 {
  font-size: 2.4rem;
  color: #1f6f5c;
  margin-bottom: 12px;
}

.speakers-subtitle {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 56px;
}

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

.speaker-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px 28px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.18);
}

.speaker-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f0f7f5;
}

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

.speaker-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #1f6f5c;
}

.speaker-affiliation {
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
}

.speaker-area {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .speakers-grid {
    grid-template-columns: 1fr;
  }

  .speakers {
    padding: 72px 24px;
  }
}

/* ================= FOOTER ================= */
.footer {
  background-color: #1f6f5c;
  color: #ffffff;
  padding: 56px 24px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-column ul a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.3);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column ul {
    padding: 0;
  }
}

/* ================= PRESENTACIÓN DE RESÚMENES ================= */
.abstracts {
  background-color: #f0f7f5;
  padding: 96px 24px;
}

.abstracts-container {
  max-width: 900px;
  margin: auto;
}

.abstracts h2 {
  text-align: center;
  color: #1f6f5c;
  font-size: 2.4rem;
  margin-bottom: 24px;
}

.abstracts-intro {
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 40px;
}

.abstracts-info ul {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

.abstracts-info li {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.abstracts-topics h3 {
  color: #1f6f5c;
  margin-bottom: 16px;
}

.abstracts-topics ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .abstracts {
    padding: 72px 24px;
  }
}

.abstracts-mail {
  margin-top: 24px;
  font-size: 0.95rem;
  text-align: center;
}

.abstracts-mail a {
  color: #1f6f5c;
  text-decoration: none;
  font-weight: 600;
}

.abstracts-mail a:hover {
  text-decoration: underline;
}

/* ================= INSCRIPCIONES ================= */
.registration {
  background-color: #ffffff;
  padding: 96px 24px;
}

.registration-container {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.registration h2 {
  color: #1f6f5c;
  font-size: 2.4rem;
  margin-bottom: 24px;
}

.registration-intro {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 40px;
}

.registration-card {
  background-color: #f0f7f5;
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.registration-card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* BOTÓN INSCRIBIRSE */
.btn-register {
  display: inline-block;
  background-color: #1f6f5c;
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  margin: 24px 0 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* FORMULARIO */
.registration-form {
  margin-top: 32px;
  text-align: left;
}

.registration-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.registration-form input,
.registration-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .registration {
    padding: 72px 24px;
  }
}


