/* -------------------------------------------------------
   IMPORTS & GLOBAL VARIABLES
-------------------------------------------------------- */
@import url("https://fonts.cdnfonts.com/css/mrs-eaves");

:root {
  --primary-color: #ffe33e;
  --secondary-color: #00243f;
  --text-dark: #0e2344;
}

/* -------------------------------------------------------
   HEADER
-------------------------------------------------------- */
.header {
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 130px;
  padding-bottom: 10px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 50px;
}

.logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* NAVIGATION */
.nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav a {
  font-family: "Mrs Eaves", serif;
  text-decoration: none;
  font-weight: 600;
  color: var(--secondary-color);
  letter-spacing: 0.5px;
  padding: 8px 18px;
  border-radius: 4px;
  background: transparent;
  transition: all 0.3s ease;
}

.nav a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 8px rgba(0, 36, 63, 0.25);
  transform: translateY(-2px);
}

/* -------------------------------------------------------
   HERO SECTION
-------------------------------------------------------- */
.hero {
  width: 100%;
  height: 500px;
  background-image: linear-gradient(
      rgba(0, 36, 63, 0.65),
      rgba(0, 36, 63, 0.65)
    ),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

/* -------------------------------------------------------
   INFO SECTION (CARDS)
-------------------------------------------------------- */
.info-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 60px 10%;
  background-color: #f9f9f9;
  gap: 30px;
}

.info-card {
  background: white;
  flex: 1;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0, 36, 63, 0.25);
}

/* -------------------------------------------------------
   INFO DETAIL SECTIONS
-------------------------------------------------------- */
.info-details-container {
  position: relative;
  width: 80%;
  margin: 40px auto;
}

.info-detail {
  display: none;
  position: relative;
  background: #ffffff;
  border-left: 6px solid var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 36, 63, 0.25);
  padding: 40px 50px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  scroll-margin-top: 400px;
}

.info-detail::before {
  content: "";
  position: absolute;
  top: -20px;
  left: var(--pointer-position, 50%);
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent var(--secondary-color) transparent;
  filter: drop-shadow(0 -2px 3px rgba(0, 0, 0, 0.1));
  transition: left 0.3s ease;
}

.info-detail.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-detail:not(.active) {
  pointer-events: none;
}

/* CONTENT LAYOUT */
.detail-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.detail-image {
  flex: 1 1 350px;
  max-width: 400px;
}

.detail-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 36, 63, 0.3);
}

.detail-text {
  flex: 2 1 400px;
  color: var(--secondary-color);
  font-family: "Mrs Eaves", serif;
}

.detail-text h2 {
  font-family: "Organetto", sans-serif;
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.detail-text ul {
  list-style-type: disc;
  margin-left: 20px;
  line-height: 1.6;
}

.detail-text li {
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

/* -------------------------------------------------------
   RESULTADOS (STATS) SECTION
-------------------------------------------------------- */
.resultados-layout {
  flex-direction: row-reverse;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.stat-card {
  background: var(--secondary-color);
  color: var(--primary-color);
  text-align: center;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 6px 12px rgba(0, 36, 63, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card h3 {
  font-size: 1.8rem;
  font-family: "Organetto", sans-serif;
  margin-bottom: 8px;
}

.stat-card p {
  font-family: "Mrs Eaves", serif;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0, 36, 63, 0.3);
}

/* -------------------------------------------------------
   CONTACT SECTION
-------------------------------------------------------- */
.contact-section {
  background: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 80px 10% 40px;
  position: relative;
  margin-top: 60px;
}

.contact-content h2 {
  font-family: "Mrs Eaves", serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-content p {
  font-size: 1.1rem;
  color: #e5e5e5;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto 50px;
}

.contact-form .form-group {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 6px;
  border: 2px solid var(--primary-color);
  background: white;
  font-family: "Mrs Eaves", serif;
  font-size: 1rem;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  background-color: #fef9d3;
}

.contact-form button {
  background: var(--primary-color);
  color: var(--secondary-color);
  font-family: "Mrs Eaves", serif;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 12px 30px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: white;
  color: var(--secondary-color);
  box-shadow: 0 4px 10px rgba(0, 36, 63, 0.3);
  transform: translateY(-2px);
}

/* CONTACT INFO & SOCIAL */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.contact-item i {
  font-size: 1.3rem;
}

.contact-item:hover {
  transform: translateY(-3px);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-icons a {
  color: var(--primary-color);
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: white;
  transform: translateY(-5px);
}

.footer-note {
  font-size: 0.9rem;
  color: #cccccc;
  margin-top: 30px;
  font-family: "Mrs Eaves", serif;
}

/* -------------------------------------------------------
   TOAST NOTIFICATIONS
-------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 2000;
}

.toast-message {
  background: var(--primary-color);
  color: var(--secondary-color);
  font-family: "Mrs Eaves", serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 36, 63, 0.25);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.toast-message.show {
  opacity: 1;
  transform: translateY(0);
}

.mission-hero {
  height: 50vh;
  background: linear-gradient(rgba(0, 36, 63, 0.65), rgba(0, 36, 63, 0.65)),
    url("assets/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.mission-hero-content {
  max-width: 700px;
  padding-left: 10%;
  color: #fff;
}

.mission-hero-content span {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  opacity: 0.9;
}

.mission-hero-content h1 {
  font-size: 3rem;
  margin: 15px 0;
}

.mission-hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}
.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 70vh;
}

.about-hero-left {
  background: var(--secondary-color);
  color: #fff;
  padding: 100px 80px;
}

.about-hero-left span {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  opacity: 0.85;
}

.about-hero-left h1 {
  font-size: 2.6rem;
  margin: 30px 0;
  line-height: 1.3;
}

.about-hero-left strong {
  color: var(--primary-color);
}

.about-hero-left p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 520px;
}

.about-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-core {
  padding: 100px 10%;
  background: #fff;
}

.about-core-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  max-width: 1200px;
  margin: auto;
}

.about-core-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.about-core-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #3a4a5e;
}

.about-core-stats {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-stat {
  background: #f7f9fc;
  padding: 30px;
  border-radius: 14px;
}

.about-stat h3 {
  font-size: 2rem;
  color: var(--secondary-color);
}

.about-stat span {
  font-size: 0.9rem;
  color: #5a6a7f;
}
.about-approach {
  background: #f9f9f9;
  padding: 90px 10%;
  text-align: center;
}

.about-approach h2 {
  font-size: 2.4rem;
  margin-bottom: 50px;
}

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

.approach-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 36, 63, 0.15);
}

.approach-card h3 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}
.about-divider {
  border: none;
  height: 1px;
  background: rgba(0, 36, 63, 0.15);
  margin: 35px 0 25px;
}

.about-core-text h3 {
  font-family: "Organetto", sans-serif;
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.about-enfoque-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.about-enfoque-list li {
  margin-bottom: 14px;
  line-height: 1.6;
  color: var(--secondary-color);
}

.about-enfoque-list strong {
  color: var(--secondary-color);
}
.services-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.service-block.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.service-block.reverse .service-text {
  order: 2;
}

.service-block.reverse .service-image {
  order: 1;
}

.service-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.service-list {
  margin-top: 1.5rem;
  padding-left: 1.2rem;
}

.service-list li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  list-style-type: disc;
}
