:root {
  --navy: #081C30;
  --navy-light: #0F2A44;
  --navy-lighter: #163a5c;
  --orange: #F2960A;
  --orange-dark: #D97D06;
  --teal: #12AEC4;
  --teal-dark: #0A8B9C;
  --cream: #FBF7EF;
  --white: #FFFFFF;
  --ink: #10202f;
  --muted: #5b7086;
  --radius: 18px;
  --shadow: 0 20px 50px -25px rgba(8, 28, 48, 0.45);
  --serif: "Playfair Display", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Poppins", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); margin: 0 0 .5em; line-height: 1.15; }

p { line-height: 1.7; color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-dark);
  font-weight: 600;
  margin-bottom: 14px;
}

.section { padding: 96px 0; }
.section-dark {
  background: radial-gradient(1100px 500px at 80% -10%, var(--navy-lighter), transparent),
              linear-gradient(180deg, var(--navy) 0%, #061422 100%);
  color: var(--white);
}
.section-dark p { color: #b9cbdb; }
.section-dark h2 { color: var(--white); }

.section-header { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-header p { margin: 0 auto; }

/* ===== Language toggle =====
   Text is swapped via JS (main.js) by reading data-es / data-en
   attributes and writing textContent — no CSS show/hide needed. */

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(8, 28, 48, 0.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,.5);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.brand img { height: 58px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: #dce8f2;
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: flex;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle button {
  background: transparent;
  border: none;
  color: #cfe0ee;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .04em;
}
.lang-toggle button.active { background: var(--orange); color: var(--navy); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: .25s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(900px 600px at 15% 15%, rgba(242,150,10,.16), transparent 60%),
    radial-gradient(800px 700px at 85% 30%, rgba(18,174,196,.16), transparent 55%),
    linear-gradient(160deg, #061422 0%, var(--navy) 45%, #0c2740 100%);
  overflow: hidden;
  padding-top: 90px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/logo-white.png');
  background-repeat: no-repeat;
  background-position: 82% 50%;
  background-size: 620px;
  opacity: .05;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}
.hero-logo { height: 120px; margin: 0 auto 28px; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero .lead {
  font-size: 1.15rem;
  color: #cfe0ee;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: #8fa7bd;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: floaty 2.4s ease-in-out infinite;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(var(--orange), transparent);
}
@keyframes floaty {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--navy);
  box-shadow: 0 14px 30px -12px rgba(242,150,10,.55);
}
.btn-ghost {
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(18,174,196,.55);
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  position: relative;
  justify-self: center;
}
.about-photo img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}
.about-photo .ring {
  position: absolute;
  inset: -18px;
  border: 2px dashed var(--orange);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-text h2 { color: var(--navy); }
.about-text .quote {
  margin-top: 28px;
  padding: 20px 26px;
  border-left: 4px solid var(--teal);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.signature {
  font-family: var(--script);
  color: var(--orange-dark);
  font-size: 1.5rem;
  margin-top: 10px;
  display: block;
}

/* ===== Timeline (journey) ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.timeline-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.timeline-item .num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin: 0 auto 14px;
}
.timeline-item h4 { margin: 0 0 8px; font-family: var(--sans); font-size: 1rem; color: var(--navy); }
.timeline-item p { font-size: .88rem; margin: 0; }

/* ===== Gallery ===== */
.gallery-grid {
  columns: 3 260px;
  column-gap: 20px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(8,28,48,.85), transparent);
  color: var(--white);
  font-size: .85rem;
  opacity: 0;
  transform: translateY(8px);
  transition: .25s;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* ===== Workshops ===== */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.workshop-card {
  background: var(--navy-light);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .25s ease, border-color .25s ease;
}
.workshop-card:hover { transform: translateY(-6px); border-color: rgba(242,150,10,.4); }
.workshop-card .tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(18,174,196,.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.workshop-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; }
.workshop-card p { font-size: .9rem; margin-bottom: 16px; }
.workshop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
  color: #93a9bd;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 14px;
}
.workshop-meta span { display: flex; align-items: center; gap: 6px; }
.workshops-note {
  text-align: center;
  margin-top: 44px;
  color: #93a9bd;
  font-size: .9rem;
}

/* ===== Newsletter ===== */
.newsletter {
  background: linear-gradient(135deg, var(--orange) 0%, #f7b53d 100%);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  color: var(--navy);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/logo-badge.png');
  background-repeat: no-repeat;
  background-position: -60px -60px;
  background-size: 260px;
  opacity: .12;
}
.newsletter h2 { color: var(--navy); }
.newsletter p { color: #4a3416; max-width: 520px; margin: 0 auto 30px; }
.newsletter-form {
  position: relative;
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1 1 260px;
  padding: 15px 20px;
  border-radius: 999px;
  border: none;
  font-size: .95rem;
  font-family: var(--sans);
  outline: none;
}
.newsletter-form button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-form button:hover { background: #0c2740; }
.newsletter-note { font-size: .78rem; margin-top: 14px; color: #5c421c; }
.newsletter-success {
  display: none;
  font-weight: 600;
  color: var(--navy);
  margin-top: 14px;
}

/* ===== Social ===== */
.social-strip {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.social-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.social-pill:hover { transform: translateY(-3px); }
.social-pill .icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.icon-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.icon-facebook { background: #1877f2; }
.social-pill small { display: block; font-weight: 400; color: var(--muted); font-size: .74rem; }

/* ===== Footer ===== */
.site-footer {
  background: #05121e;
  color: #8298ac;
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 54px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links h5 {
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #8298ac; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: .8rem;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 20, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 30px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { margin-bottom: 20px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(6, 20, 34, .98);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 16px;
  }
  .section { padding: 64px 0; }
  .gallery-grid { columns: 2 200px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .newsletter { padding: 44px 22px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  .timeline { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .hero-logo { height: 90px; }
}
