/* DAIEN — estilos base. Mobile-first. */

:root {
  --cream: #faf3e3;
  --brand: #1c4a3d;
  --brand-dark: #163d32;
  --brand-soft: #3a5b4f;
  --muted: #6a8478;
  --coral: #ea9b95;
  --coral-dark: #e2867f;
  --coral-light: #f0b0aa;
  --label: #dd8a83;
  --green: #9abb80;
  --white: #ffffff;
  --font-heading: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --container-width: 1180px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brand-soft);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--brand);
}
h1 { font-size: clamp(2.1rem, 5vw + 1rem, 3.7rem); }
h2 { font-size: clamp(1.7rem, 2.5vw + 1rem, 2.6rem); }
h3 { font-family: var(--font-heading); font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--coral); text-decoration: none; }
a:hover, a:focus { color: var(--coral-dark); }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block;
  color: var(--label);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--coral-light); }

.text-coral { color: var(--coral); }
.text-green { color: var(--green); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-heading h2 { margin-top: 0.5rem; }
.section-heading p { font-size: 1.05rem; margin-top: 0.75rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover, .btn:focus { transform: translateY(-1px); }
.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover, .btn--primary:focus { background: var(--coral-dark); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid rgba(28, 74, 61, 0.25);
}
.btn--ghost:hover, .btn--ghost:focus { border-color: var(--brand); color: var(--brand); }
.btn--dark { background: var(--brand); color: var(--cream); }
.btn--dark:hover, .btn--dark:focus { background: var(--brand-dark); color: var(--cream); }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn--icon { display: inline-flex; align-items: center; gap: 0.5rem; }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  background: var(--coral);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}
.link-cta:hover, .link-cta:focus { background: var(--coral-dark); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 243, 227, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 74, 61, 0.08);
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo img { height: 40px; width: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brand);
  letter-spacing: 0.3px;
}
.logo__tagline {
  display: none;
  font-size: 0.65rem;
  color: #4d896a;
  font-weight: 600;
  letter-spacing: 0.2px;
}
@media (min-width: 500px) {
  .logo__tagline { display: block; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--brand); }

.main-nav { display: none; }
.main-nav.is-open { display: block; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.main-nav a:not(.btn) {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.main-nav a:not(.btn):hover { color: var(--coral); }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .main-nav { display: block; }
  .main-nav ul { flex-direction: row; align-items: center; gap: 1.8rem; padding: 0; }
}

/* Hero */
.hero { padding: 3rem 0 3.5rem; position: relative; overflow: hidden; }
.hero__blob {
  position: absolute;
  top: -40px;
  left: -120px;
  width: 340px;
  height: 340px;
  background: #efc9c4;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.35;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero__subtitle { font-size: 1.1rem; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.hero__note { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); font-weight: 700; margin-top: 1.1rem; }
.hero__note .check {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(154, 187, 128, 0.25);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--green); flex-shrink: 0;
}
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: 28px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border: 6px solid #fff;
  box-shadow: 0 30px 60px -30px rgba(28, 74, 61, 0.4);
}
.hero__badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: #fff;
  padding: 0.9rem 1.25rem;
  border-radius: 18px;
  box-shadow: 0 18px 40px -20px rgba(28, 74, 61, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: calc(100% - 2rem);
}
.hero__badge img { width: 40px; height: 40px; animation: floaty 5s ease-in-out infinite; }
.hero__badge strong { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--brand); }
.hero__badge span { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
}

/* Enfoque */
.enfoque { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.enfoque__media { position: relative; }
.enfoque__media img {
  border-radius: 26px;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 26px 50px -28px rgba(28, 74, 61, 0.45);
}
.enfoque__blob {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 120px;
  height: 120px;
  background: rgba(154, 187, 128, 0.2);
  border-radius: 50%;
  z-index: -1;
}
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.chip { background: var(--cream); border-radius: 16px; padding: 1.1rem 1.2rem; }
.chip strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: var(--brand); }
.chip span { font-size: 0.9rem; color: var(--muted); }

@media (min-width: 860px) {
  .enfoque { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; }
}

/* Sections */
.section { padding: 4rem 0; }
.section--alt { background: #fff; }
.section--dark { background: linear-gradient(180deg, var(--brand) 0%, #174236 100%); color: var(--cream); }
.section--dark h2 { color: var(--cream); }

/* Servicios (accordion) */
.servicios-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
.servicio {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(28, 74, 61, 0.05);
  box-shadow: 0 18px 40px -30px rgba(28, 74, 61, 0.4);
  padding: 0.4rem 1.4rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.servicio:hover, .servicio[open] {
  box-shadow: 0 26px 50px -26px rgba(28, 74, 61, 0.45);
  border-color: rgba(28, 74, 61, 0.14);
}
.servicio summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  position: relative;
}
.servicio summary::-webkit-details-marker { display: none; }
.servicio summary::after {
  content: "Conocer más ›";
  color: var(--label);
  font-weight: 700;
  font-size: 0.8rem;
}
.servicio[open] summary::after { content: "Cerrar ▴"; }
.servicio__num {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: #fff;
  flex-shrink: 0;
}
.servicio__title { display: flex; flex-direction: column; gap: 0.35rem; font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--brand); }
.servicio__title small { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.servicio p { font-size: 0.9rem; }
.servicio ul { margin: 0 0 1em; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.servicio li { font-size: 0.85rem; line-height: 1.5; }

@media (min-width: 640px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .servicios-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Equipo */
.equipo-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.equipo-card {
  background: rgba(250, 243, 227, 0.06);
  border: 1px solid rgba(250, 243, 227, 0.12);
  border-radius: 24px;
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}
.equipo-card img { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; border: 4px solid #f0b0aa; }
.equipo-card h3 { font-size: 1.4rem; color: var(--cream); }
.equipo-card__role { color: var(--green); font-weight: 700; font-size: 0.9rem; margin: 0.25rem 0 0.9rem; }
.equipo-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; text-align: left; }
.equipo-card li { display: flex; gap: 0.6rem; font-size: 0.9rem; color: #d8e6dd; }
.equipo-card li::before { content: "◆"; color: #f0b0aa; flex-shrink: 0; }

@media (min-width: 700px) {
  .equipo-grid { grid-template-columns: repeat(2, 1fr); }
  .equipo-card { flex-direction: row; text-align: left; align-items: flex-start; }
}

/* Talleres */
.talleres-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.taller { border-radius: 22px; padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.taller__head { display: flex; align-items: center; gap: 1rem; }
.taller__icon {
  width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; flex-shrink: 0;
}
.taller h3 { font-size: 1.3rem; margin-bottom: 0.15rem; }
.taller__edades { font-size: 0.85rem; font-weight: 800; }
.taller p { font-size: 0.95rem; margin-bottom: 0.7rem; }
.taller details { margin-top: -0.3rem; }
.taller summary { cursor: pointer; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.3px; color: var(--brand); margin-bottom: 0.8rem; }
.taller__detail-label { font-weight: 800; color: var(--brand); font-size: 0.75rem; letter-spacing: 0.4px; text-transform: uppercase; margin: 0.9rem 0 0.5rem; }
.taller ul { margin: 0 0 0.5rem; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.taller li { font-size: 0.85rem; line-height: 1.45; }
.taller__fechas { background: rgba(255,255,255,0.55); border-radius: 14px; padding: 1rem 1.1rem; margin-top: 0.5rem; }
.taller__fechas p { font-size: 0.85rem; margin-bottom: 0.6rem; }
.taller .btn { align-self: flex-start; margin-top: auto; }

@media (min-width: 860px) {
  .talleres-grid { grid-template-columns: repeat(2, 1fr); }
}

.videos-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.75rem; }
.video-card {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 44px -30px rgba(28, 74, 61, 0.5);
  background: #000;
}
.video-card video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (min-width: 860px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Testimonios */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.testi { background: var(--cream); border-radius: 22px; padding: 1.9rem; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.testi__quote-mark { font-family: var(--font-heading); font-size: 2.6rem; line-height: 0.6; color: #f0b0aa; }
.testi blockquote { margin: 0; font-size: 1rem; }
.testi figcaption { font-weight: 700; color: var(--brand); font-size: 0.95rem; }

@media (min-width: 860px) {
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Instagram */
.instagram-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.instagram-header h2 { margin: 0.6rem 0 0; }
.instagram-header h2 a { color: var(--coral); }
.ig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; max-width: 640px; margin: 0 auto; }
.ig-card { display: flex; flex-direction: column; gap: 0.6rem; }
.ig-card__thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  color: #fff;
  background: var(--brand, #cf7d63);
  box-shadow: 0 6px 18px rgba(30, 25, 20, 0.18), 0 0 0 1px rgba(30, 25, 20, 0.06);
}
.ig-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ig-card__thumb svg {
  position: relative;
  width: 22px;
  height: 22px;
  margin: 10px;
  opacity: 0.95;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.ig-card__topic { font-size: 0.85rem; font-weight: 700; color: var(--brand); }
.ig-card:hover .ig-card__thumb { opacity: 0.88; }

@media (min-width: 640px) {
  .ig-grid { grid-template-columns: repeat(4, 1fr); max-width: 760px; gap: 1.1rem; }
}

/* FAQ */
.faq-container { max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid rgba(28, 74, 61, 0.06);
  padding: 0 1.4rem;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brand);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--coral); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1.2rem; margin: 0; font-size: 0.95rem; }

/* Contacto */
.contacto-box {
  background: var(--cream);
  border-radius: 30px;
  padding: 0.7rem;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
.contacto-info { padding: 2rem 1.6rem; }
.contacto-info h2 { margin: 0.6rem 0 1rem; }
.contacto-info > .btn { margin-bottom: 0.5rem; }
.contacto-links { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.4rem; }
.contacto-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  padding: 0.95rem 1.2rem;
  border-radius: 16px;
}
.contacto-link:hover { background: #f5ede0; }
.contacto-link strong { display: block; color: var(--brand); font-size: 0.95rem; }
.contacto-link span span { font-size: 0.85rem; color: var(--muted); }
.contacto-link__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contacto-link__icon--wa { background: #25d366; }
.contacto-link__icon--mail { background: var(--green); }
.contacto-link__icon--ig { background: var(--coral); }

.contacto-mapas { display: flex; flex-direction: column; gap: 0.7rem; padding: 0.7rem; min-height: 380px; }
.mapa { position: relative; flex: 1; min-height: 190px; border-radius: 22px; overflow: hidden; }
.mapa iframe { border: 0; width: 100%; height: 100%; position: absolute; inset: 0; }
.mapa__label {
  position: absolute; left: 14px; bottom: 14px; background: #fff;
  padding: 0.6rem 1rem; border-radius: 12px; font-size: 0.85rem;
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.4); pointer-events: none;
}
.mapa__label strong { display: block; color: var(--brand); }
.mapa__label span { color: var(--muted); }

@media (min-width: 900px) {
  .contacto-box { grid-template-columns: 1fr 1fr; }
}

/* Footer */
.site-footer { background: var(--brand); color: #d8e6dd; padding: 3.4rem 0 1.6rem; }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer__brand { display: flex; align-items: center; gap: 0.8rem; max-width: 20rem; }
.site-footer__brand img { background: var(--cream); border-radius: 12px; padding: 4px; }
.site-footer__brand strong { display: block; font-family: var(--font-heading); font-size: 1.3rem; color: var(--cream); }
.site-footer__brand span { font-size: 0.85rem; color: #a9c2b6; }
.site-footer__links { display: flex; gap: 3rem; flex-wrap: wrap; }
.site-footer__links > div { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__heading { font-family: var(--font-heading); font-weight: 600; color: var(--cream); margin-bottom: 0.4rem; }
.site-footer__links a { color: #a9c2b6; font-size: 0.9rem; }
.site-footer__links a:hover { color: var(--cream); }
.site-footer__bottom {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(250, 243, 227, 0.12);
  font-size: 0.8rem;
  color: #86a598;
}

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.7);
  z-index: 40;
}
.whatsapp-fab:hover { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
