:root {
  --color-bg: #040404;
  --color-surface: #0d0d0d;
  --color-surface-alt: #121212;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #f6f6f7;
  --color-muted: #d0d0d5;
  --color-accent: #ff5c1a;
  --color-accent-dark: #d9480f;
  --color-whatsapp: #25d366;
  --color-blue: #d4d4d8;
  --color-neutral: #141414;
  --color-orange: var(--color-accent);
  --color-orange-dark: var(--color-accent-dark);
  --color-green: var(--color-whatsapp);
  --radius: 18px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  --transition: 300ms ease;
}

html {
  scroll-behavior: smooth;
  background: var(--color-bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  margin: 0 0 0.75rem;
  line-height: 1.2;
  color: var(--color-text);
}

strong {
  color: var(--color-text);
}

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn:focus-visible {
  outline: 2px dashed var(--color-accent);
  outline-offset: 4px;
}

.btn-primary,
.btn-primary:visited {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 92, 26, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 92, 26, 0.08);
  color: #fff;
}

.btn-ghost {
  color: var(--color-muted);
  padding: 0.85rem 1rem;
}

.btn-ghost:hover {
  color: var(--color-text);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--color-green), #1eb152);
  color: #042311;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.section-badge,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge {
  align-self: flex-start;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.92);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  isolation: isolate;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.brand-logo {
  width: 140px;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
}

.brand-text small {
  color: var(--color-muted);
  font-size: 0.775rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

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

.nav a:hover {
  color: #fff;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(10, 10, 10, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity var(--transition), transform var(--transition);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 5rem 0 2.5rem;
  overflow: hidden;
  background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(4, 4, 4, 0.75)),
    url("./assets/place/place_1.jpeg");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 45%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0 0 1rem;
  line-height: 1.1;
  color: #fff;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 640px;
}

.hero-content h1 span {
  color: var(--color-text);
}

.hero-content h1 small {
  display: block;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: var(--color-muted);
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.hero-benefits li {
  display: flex;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.hero-benefits span {
  font-size: 1.5rem;
  color: var(--color-accent);
}

.hero-benefits strong {
  color: var(--color-text);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-cards article {
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-cards article:nth-child(1) {
  background: linear-gradient(135deg, #1e1e1e, #121212);
}

.hero-cards article:nth-child(2) {
  background: linear-gradient(135deg, #1c1c1c, #0f0f0f);
}

.hero-cards article:nth-child(3) {
  background: linear-gradient(135deg, #202020, #101010);
}

.hero-cards article:nth-child(4) {
  background: linear-gradient(135deg, #1f1f1f, #0d0d0d);
}

.hero-cards h3 {
  font-size: 2rem;
  color: #fff;
}

.hero-cards article p,
.hero-cards article span {
  color: #fff;
}

.results-gallery {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(0, 0, 0, 0.2));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform var(--transition), filter var(--transition);
}

.gallery-grid figcaption {
  padding: 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.gallery-grid figure:hover img {
  transform: scale(1.03);
  filter: grayscale(0.2);
}

section {
  padding: 5rem 0;
}

.purpose {
  padding-top: 3rem;
}

section header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.purpose-grid,
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.purpose-grid article,
.objectives-grid article {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), border var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.purpose-main {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.purpose-grid article:hover,
.objectives-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.purpose-grid span,
.objectives-grid span {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1) brightness(1.1);
}

.purpose-media {
  min-height: 360px;
  border-radius: var(--radius);
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.9)),
    url("./assets/place/place_1.jpeg");
  background-size: cover;
}

.purpose-copy ul {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.purpose-copy li {
  padding-left: 1.25rem;
  position: relative;
}

.purpose-copy li::before {
  content: "•";
  color: var(--color-text);
  position: absolute;
  left: 0;
}

.objectives {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 60%);
}

.objectives-grid article {
  min-height: 160px;
}

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

.objectives-stats div {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.objectives-stats strong {
  font-size: 2rem;
  color: var(--color-text);
}

.location .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.location-media {
  min-height: 480px;
  border-radius: var(--radius);
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.9)),
    url("./assets/place/place_2.jpeg");
  background-size: cover;
}

.contact-methods article {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-methods .icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  filter: grayscale(1) brightness(1.05);
}

.contact-methods article:hover .icon {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65);
}

.icon-location {
  background-image: url("assets/icon-location.svg");
}

.icon-phone {
  background-image: url("assets/icon-phone.svg");
}

.icon-mail {
  background-image: url("assets/icon-mail.svg");
}

.icon-clock {
  background-image: url("assets/icon-clock.svg");
}

.icon-chat {
  background-image: url("assets/icon-chat.svg");
}

.info-box {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.map-wrapper {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-wrapper iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

.contact {
  background: var(--color-surface-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-methods article,
.highlight-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.highlight-box {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), rgba(10, 10, 10, 0.9));
}

.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--color-border);
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.9rem;
  color: var(--color-muted);
  display: grid;
  gap: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-orange);
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0;
}

.contact-form button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-toast {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translate(-50%, -120%);
  background: linear-gradient(135deg, var(--color-green), #1eb152);
  color: #062d17;
  border: 1px solid rgba(6, 45, 23, 0.25);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  z-index: 1100;
}

.form-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.site-footer {
  background: #0e0e0e;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 3rem 0;
  align-items: flex-start;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--color-muted);
}

.social a:hover {
  color: var(--color-text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-orange);
  color: #fff;
  font-size: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-6px);
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    padding-top: 5.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .hero {
    padding: 3.5rem 0 1.75rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

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

  .hero-benefits li {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .purpose-grid,
  .objectives-grid {
    grid-template-columns: 1fr;
  }

  .purpose-main,
  .location .container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .purpose-copy ul {
    text-align: left;
  }

  .purpose-media {
    min-height: 240px;
  }
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header .container {
    padding: 0.75rem 1rem;
  }

  .hero-benefits li {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    text-align: center;
    justify-items: center;
  }

  .footer-grid ul {
    justify-items: center;
  }
}
