:root {
  --ame-blue: #0b5fa5;
  --ame-pink: #e83e8c;
  --ame-teal: #28b7b3;
  --ame-orange: #f28c28;
  --ame-dark: #203040;
  --ame-text: #364d59;
  --ame-muted: #6c7a86;
  --ame-light: #f6f8fb;
  --ame-border: rgba(32, 48, 64, 0.12);
  --ame-shadow: 0 14px 34px rgba(32, 48, 64, 0.12);
  --font-body: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-heading: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ame-text);
  background: #fff;
  font-family: var(--font-body);
  line-height: 1.65;
}

body.mobile-nav-active {
  overflow: hidden;
}

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

a {
  color: var(--ame-orange);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--ame-pink);
}

h1,
h2,
h3,
h4 {
  color: var(--ame-dark);
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

.container,
.container-xl {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.container-fluid {
  width: min(1320px, calc(100% - 32px));
  margin-inline: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -12px;
}

.row > * {
  width: 100%;
  padding: 12px;
}

.gy-4 {
  row-gap: 8px;
}

.gy-5 {
  row-gap: 24px;
}

.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-6,
.col-lg-8,
.col-lg-10,
.col-md-3,
.col-md-6 {
  flex: 0 0 100%;
}

@media (min-width: 768px) {
  .col-md-3 {
    flex-basis: 25%;
    max-width: 25%;
  }

  .col-md-6 {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-2 {
    flex-basis: 16.666%;
    max-width: 16.666%;
  }

  .col-lg-3 {
    flex-basis: 25%;
    max-width: 25%;
  }

  .col-lg-4 {
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .col-lg-6 {
    flex-basis: 50%;
    max-width: 50%;
  }

  .col-lg-8 {
    flex-basis: 66.666%;
    max-width: 66.666%;
  }

  .col-lg-10 {
    flex-basis: 83.333%;
    max-width: 83.333%;
  }
}

.d-flex {
  display: flex;
}

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

.align-items-stretch {
  align-items: stretch;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

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

.position-relative {
  position: relative;
}

.img-fluid {
  height: auto;
}

.h-100 {
  height: 100%;
}

.mt-3 {
  margin-top: 16px;
}

.mt-4 {
  margin-top: 24px;
}

.mt-5 {
  margin-top: 40px;
}

.mb-3 {
  margin-bottom: 16px;
}

.pt-3 {
  padding-top: 16px;
}

.px-4 {
  padding-left: 24px;
  padding-right: 24px;
}

.py-2 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.rounded-pill {
  border-radius: 999px;
}

.section {
  padding: 72px 0;
}

.reveal-on-scroll {
  opacity: 0.34;
  filter: saturate(0.86);
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    filter 0.65s ease,
    transform 0.65s ease;
  will-change: opacity, filter, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  filter: saturate(1);
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

.light-background {
  background: var(--ame-light);
}

.section-title {
  text-align: center;
  padding-bottom: 44px;
}

.section-title h2 {
  color: var(--ame-blue);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
}

.section-title h2::before,
.section-title h2::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 3px;
  margin: 0 14px 10px;
  background: var(--ame-orange);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  color: #fff;
  background: rgba(10, 25, 40, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.scrolled .header,
body:not(.index-page) .header {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(32, 48, 64, 0.12);
}

.header .logo img {
  width: auto;
  max-height: 82px;
}

.navmenu ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navmenu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font: 700 13px/1 var(--font-heading);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.scrolled .navmenu a,
body:not(.index-page) .navmenu a {
  color: var(--ame-dark);
}

.navmenu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--ame-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.navmenu a:hover,
.navmenu a.active {
  color: #fff;
}

.scrolled .navmenu a:hover,
.scrolled .navmenu a.active,
body:not(.index-page) .navmenu a:hover,
body:not(.index-page) .navmenu a.active {
  color: var(--ame-orange);
}

.navmenu a:hover::after,
.navmenu a.active::after {
  transform: scaleX(1);
}

.language-toggle {
  display: flex;
  gap: 6px;
}

.language-toggle button {
  border: 1px solid currentColor;
  background: transparent;
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.scrolled .language-toggle button,
body:not(.index-page) .language-toggle button {
  color: var(--ame-dark);
}

.language-toggle button.active {
  border-color: var(--ame-orange);
  background: var(--ame-orange);
  color: #fff;
}

.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
}

.mobile-nav-toggle::before {
  content: "Menu";
  font-weight: 800;
  font-size: 12px;
}

.mobile-nav-active .mobile-nav-toggle::before {
  content: "Close";
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background: #000;
}

.hero .info {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 150px 0 80px;
}

.hero-title {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 28px;
  color: #fff;
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 900;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 84px;
  height: 4px;
  background: var(--ame-orange);
  transform: translateX(-50%);
}

.hero-slogan {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(21px, 3vw, 28px);
  font-style: italic;
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

#hero-carousel,
#hero-carousel .carousel-item {
  position: absolute;
  inset: 0;
}

#hero-carousel .carousel-item {
  opacity: 0;
  transition: opacity 0.7s ease;
}

#hero-carousel .carousel-item.active {
  opacity: 1;
}

#hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero-carousel::after,
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.btn-ame,
.btn-ame-outline,
.btn,
.donation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 5px;
  border-radius: 999px;
  border: 0;
  padding: 11px 24px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-ame,
.btn-primary {
  background: var(--ame-orange);
  color: #fff;
}

.btn-ame:hover,
.btn-primary:hover {
  background: var(--ame-pink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ame:disabled,
.btn-ame.is-working,
.btn.is-working,
.btn-primary.is-working {
  cursor: wait;
  opacity: 0.82;
  pointer-events: none;
  transform: none;
}

.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: button-spin 0.75s linear infinite;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-ame-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-ame-outline:hover {
  background: #fff;
  color: var(--ame-blue);
}

.donation-button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ame-pink), var(--ame-orange));
  color: #fff;
  box-shadow: 0 14px 32px rgba(232, 62, 140, 0.32);
}

.donation-button i {
  display: inline-flex;
  margin: 0;
  color: inherit;
  font-size: 16px;
  line-height: 1;
}

.donation-button:hover,
.donation-button:focus-visible {
  background: linear-gradient(135deg, var(--ame-orange), #ffb347);
  color: #fff;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 44px rgba(242, 140, 40, 0.45);
}

.donation-button:focus-visible {
  outline: 3px solid rgba(242, 140, 40, 0.35);
  outline-offset: 4px;
}

.page-header {
  position: relative;
  isolation: isolate;
  padding: 170px 0 104px;
  color: #fff;
  text-align: center;
  background: center / cover no-repeat;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: #f7c552;
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 900;
}

.about-page .page-header {
  background-image: url("../images/hero-carousel/hero2.webp");
}

.services-page .page-header {
  background-image: url("../images/hero-carousel/hero3.webp");
}

.events-page .page-header {
  background-image: url("../images/hero-carousel/hero4.webp");
}

.gallery-page .page-header,
.support-page .page-header {
  background-image: url("../images/hero-carousel/hero5.webp");
}

.team-page .page-header,
.contact-page .page-header {
  background-image: url("../images/hero-carousel/hero1.webp");
}

.service-item,
.service-card,
.event-card,
.value-box,
.support-card,
.contact-card,
.contact-form-card,
.mission-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--ame-shadow);
}

.service-item,
.service-card,
.value-box,
.support-card,
.contact-card {
  height: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item,
.service-content,
.value-box,
.support-card,
.contact-card,
.contact-form-card,
.mission-box,
.event-content {
  padding: 28px;
}

.service-item:hover,
.service-card:hover,
.event-card:hover,
.support-card:hover,
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(32, 48, 64, 0.16);
}

.service-item img,
.service-card img,
.event-card img,
.gallery-preview img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.service-item img {
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-content h3,
.service-item h3,
.event-content h3,
.support-card h3,
.contact-card h3 {
  color: var(--ame-blue);
  font-weight: 800;
}

.event-card {
  margin-bottom: 64px;
  overflow: hidden;
  border: 3px solid var(--ame-orange);
}

.event-image-wrapper {
  display: flex;
  justify-content: center;
  padding: 36px 24px 0;
}

.event-image-wrapper img {
  width: 320px;
  height: 320px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
}

.event-gallery img,
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.event-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ame-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--ame-shadow);
}

.gallery-item img {
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.team-page main .section .row {
  align-items: stretch;
}

.team-page main .section .row > * {
  display: flex;
}

.team-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--ame-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--ame-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(32, 48, 64, 0.18);
}

.team-card > img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center top;
  background: var(--ame-light);
}

.team-card > img.team-photo-odette {
  object-fit: contain;
  object-position: center;
  padding: 10px;
}

.team-card > img.team-photo-bienda {
  object-position: center 42%;
}

.team-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 26px 24px 30px;
  text-align: center;
}

.team-content h3 {
  margin-bottom: 8px;
  color: var(--ame-blue);
  font-size: 22px;
  font-weight: 900;
}

.team-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.12);
  color: var(--ame-orange);
  font-size: 14px;
  font-weight: 900;
}

.team-content p {
  max-width: 32ch;
  margin: 0 auto;
  color: var(--ame-muted);
  font-size: 15px;
  line-height: 1.65;
}

.team-preview img,
.team-member img {
  width: 180px;
  height: 180px;
  margin: 0 auto 15px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .team-card {
    min-height: 0;
  }

  .team-card > img {
    height: 300px;
  }
}

@media (max-width: 575px) {
  .team-card > img {
    height: 280px;
  }

  .team-content {
    padding: 22px 18px 26px;
  }
}

.impact-number {
  color: var(--ame-orange);
  font-size: 48px;
  font-weight: 900;
}

.mission-box {
  border-left: 5px solid var(--ame-orange);
  background: #fff;
}

.support-card i,
.contact-card i,
.value-box i {
  display: block;
  margin-bottom: 14px;
  color: var(--ame-orange);
  font-style: normal;
  font-size: 36px;
}

.support-card .donation-button i {
  display: inline-flex;
  margin: 0;
  color: inherit;
  font-size: 16px;
  line-height: 1;
}

.bi-heart-fill::before {
  content: "♥";
}

.bi-people-fill::before {
  content: "●●";
  letter-spacing: -6px;
}

.bi-globe::before,
.bi-geo-alt-fill::before {
  content: "○";
}

.bi-telephone-fill::before {
  content: "☎";
}

.bi-envelope-fill::before {
  content: "@";
}

.map-box iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--ame-shadow);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ame-blue);
  font-weight: 800;
}

.form-control {
  width: 100%;
  border: 1px solid var(--ame-border);
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
}

.form-control:focus {
  outline: 2px solid rgba(242, 140, 40, 0.24);
  border-color: var(--ame-orange);
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(242, 140, 40, 0.18), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(11, 95, 165, 0.22), transparent 30%),
    linear-gradient(135deg, #071421 0%, #0d2436 48%, #06101a 100%);
  color: rgba(255, 255, 255, 0.82);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  padding-top: 58px;
  padding-bottom: 42px;
}

.footer .row {
  align-items: flex-start;
  row-gap: 36px;
}

.footer-about .logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  line-height: 1;
}

.footer h4,
.footer .sitename {
  color: #fff;
}

.footer .sitename {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.footer .sitename::before {
  flex: 0 0 auto;
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ame-orange);
  box-shadow: 18px 0 0 var(--ame-pink), 36px 0 0 var(--ame-teal);
}

.footer h4 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 13px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ame-orange), var(--ame-pink));
}

.footer p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 9px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  padding: 0;
}

.footer-links ul {
  display: grid;
  gap: 12px;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  line-height: 1.35;
}

.footer-links a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(242, 140, 40, 0.55);
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer a:hover,
.footer-links a:hover {
  color: var(--ame-orange);
}

.footer-links a:hover::before {
  background: var(--ame-orange);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  gap: 9px;
  max-width: 320px;
  padding-top: 0;
}

.footer-contact p {
  margin: 0;
}

.footer-contact strong {
  color: #fff;
  font-weight: 900;
}

.footer .footer-about > p {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.75;
}

.footer .footer-about:last-child {
  padding-left: 24px;
}

.footer .container.text-center.mt-4 {
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 34px;
}

.copyright {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 26px 16px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.copyright a {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(242, 140, 40, 0.7);
  text-underline-offset: 4px;
}

.copyright a:hover {
  color: var(--ame-orange);
}

@media (max-width: 991px) {
  .footer-top {
    padding-top: 48px;
  }
}

@media (max-width: 575px) {
  .footer {
    text-align: center;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer .sitename,
  .footer-links a {
    justify-content: center;
  }

  .footer-contact,
  .footer .footer-about > p {
    margin-inline: auto;
  }
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ame-orange);
  color: #fff;
  opacity: 0;
  visibility: hidden;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top i::before {
  content: "↑";
  font-style: normal;
  font-weight: 900;
}

#preloader {
  display: none;
}

.lang-en {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox.active {
  display: grid;
}

.lightbox img {
  max-height: 88vh;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ame-dark);
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .scrolled .mobile-nav-toggle,
  body:not(.index-page) .mobile-nav-toggle {
    background: var(--ame-blue);
    color: #fff;
  }

  .navmenu ul {
    position: fixed;
    inset: 74px 18px auto;
    display: none;
    max-height: calc(100vh - 96px);
    overflow: auto;
    padding: 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  }

  .mobile-nav-active .navmenu ul {
    display: block;
  }

  .navmenu li {
    padding: 8px 0;
  }

  .navmenu a,
  .scrolled .navmenu a,
  body:not(.index-page) .navmenu a {
    color: var(--ame-dark);
  }

  .language-toggle button {
    color: var(--ame-dark);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 54px 0;
  }

  .hero .info {
    padding: 120px 0 60px;
  }

  .page-header {
    padding: 140px 0 78px;
  }

  .section-title h2::before,
  .section-title h2::after {
    width: 28px;
    margin-inline: 8px;
  }
}
