:root {
  --primary: #4b56bf;
  --primary-dark: #2a327d;
  --secondary: #9b4be4;
  --accent: #f4c31b;
  --soft-blue: #dff0ff;
  --text: #1b2240;
  --muted: #5f678a;
  --white: #ffffff;
  --bg: #f7f9ff;
  --shadow: 0 18px 45px rgba(49, 65, 142, 0.15);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfdff 0%, #f2f6ff 100%);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, textarea { font: inherit; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--secondary));
  color: white;
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  padding: .75rem 1rem;
  font-size: .92rem;
  flex-wrap: wrap;
}
.topbar a { font-weight: 700; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(75, 86, 191, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.brand strong { display: block; font-size: 1rem; }
.brand small { color: var(--muted); }
nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}
nav a {
  color: var(--text);
  font-weight: 600;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width .3s ease;
}
nav a:hover::after { width: 100%; }

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg { object-fit: cover; }
.hero-overlay {
  background: linear-gradient(115deg, rgba(24,30,72,.78) 10%, rgba(75,86,191,.52) 45%, rgba(155,75,228,.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
  padding: 5rem 0;
}
.eyebrow, .section-tag {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .84rem;
  text-transform: uppercase;
}
.section-tag {
  background: rgba(75,86,191,.09);
  color: var(--primary);
}
.hero-copy h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.02;
  color: white;
}
.lead {
  color: rgba(255,255,255,.92);
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 680px;
  margin: 1.25rem 0 1.6rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .9rem 1.4rem;
  border-radius: 16px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffde59);
  color: #1f2241;
  box-shadow: 0 14px 30px rgba(244, 195, 27, .35);
}
.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  box-shadow: 0 14px 30px rgba(75, 86, 191, .28);
}
.btn.full { width: 100%; border: 0; cursor: pointer; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.hero-points li {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.12);
  color: white;
  padding: .75rem 1rem;
  border-radius: 999px;
  font-size: .93rem;
}
.glass {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 1.7rem;
  box-shadow: var(--shadow);
}
.hero-card {
  text-align: center;
  color: white;
}
.hero-card img {
  width: min(220px, 100%);
  margin: 0 auto 1rem;
  border-radius: 28px;
  background: white;
  padding: .4rem;
}
.hero-card h2 {
  margin: 0 0 .2rem;
  font-size: 1.8rem;
}
.hero-card p { margin: 0 0 1.2rem; color: rgba(255,255,255,.92); }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.mini-stats div {
  background: rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 1rem .7rem;
}
.mini-stats strong {
  display: block;
  font-size: 1.5rem;
}
.mini-stats span {
  font-size: .83rem;
  line-height: 1.4;
}

.section { padding: 5.5rem 0; }
.intro-grid,
.social-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.intro h2,
.section-head h2,
.social-copy h2,
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  margin: .2rem 0 1rem;
}
.intro p,
.section-head p,
.social-copy p,
.contact-info p,
.card p,
.intro-cards article p,
.social-card p,
.form-note {
  color: var(--muted);
  line-height: 1.8;
}
.intro-cards {
  display: grid;
  gap: 1rem;
}
.intro-cards article,
.card,
.contact-form,
.contact-info,
.social-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.intro-cards article {
  padding: 1.4rem;
  border-left: 5px solid var(--secondary);
}
.intro-cards h3,
.card h3 { margin-top: 0; }

.experiences {
  background: radial-gradient(circle at top left, rgba(223,240,255,.9), transparent 30%), linear-gradient(180deg, #f7faff 0%, #eef3ff 100%);
}
.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.card {
  padding: 1.6rem;
  border: 1px solid rgba(75, 86, 191, 0.06);
}
.icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(75,86,191,.12), rgba(155,75,228,.14));
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  background: white;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.social-cards {
  display: grid;
  gap: 1rem;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
}
.social-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: white;
  font-weight: 700;
}
.facebook .social-icon { background: linear-gradient(135deg, #1877f2, #4b56bf); }
.instagram .social-icon { background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 70%, #515bd4); }

.video-section {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(223,240,255,.6) 100%);
}
.video-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: #0f1228;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-info,
.contact-form {
  padding: 1.6rem;
}
.contact-list {
  display: grid;
  gap: .9rem;
  margin: 1.2rem 0 1.5rem;
}
.contact-list a,
.contact-list p {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #f6f8ff;
}
.form-row {
  display: grid;
  gap: .45rem;
  margin-bottom: 1rem;
}
.form-row label { font-weight: 700; }
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(75,86,191,.15);
  border-radius: 16px;
  padding: .95rem 1rem;
  outline: none;
  background: #fbfcff;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(155,75,228,.08);
}

.footer {
  background: #111735;
  color: rgba(255,255,255,.88);
  padding: 1.4rem 0;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer p { margin: .2rem 0 0; }
.footer a { color: #ffe27a; }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #27d466, #128c7e);
  color: white;
  box-shadow: 0 18px 38px rgba(18, 140, 126, .35);
  z-index: 30;
}
.whatsapp-float svg { width: 32px; fill: currentColor; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 45, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 40;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: min(1000px, 96vw);
  max-height: 88vh;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.5rem;
  background: transparent;
  border: 0;
  color: white;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay { transition-delay: .12s; }
.reveal-delay.visible { transition-delay: .12s; }

@media (max-width: 960px) {
  .hero-content,
  .intro-grid,
  .social-grid,
  .contact-grid,
  .cards-grid,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content { align-items: start; }
  .mini-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav { flex-direction: column; align-items: flex-start; }
  nav { gap: .9rem; }
  .hero { min-height: auto; }
  .hero-content,
  .intro-grid,
  .social-grid,
  .contact-grid,
  .cards-grid,
  .gallery {
    grid-template-columns: 1fr;
  }
  .hero-content { padding: 4.5rem 0 3.5rem; }
  .hero-copy h1 { font-size: clamp(2.1rem, 11vw, 3.2rem); }
  .mini-stats { grid-template-columns: 1fr; }
  .hero-points li { width: 100%; }
  .section { padding: 4.3rem 0; }
  .footer-content { flex-direction: column; align-items: flex-start; }
}
