/* ════════════════════════════════════════════════════════
   ADELAPRELATO — pages.css  (v1)
   Estilos para páginas internas y nuevas secciones
   ════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════
   TOPBAR SÓLIDA — para páginas internas (no-hero)
══════════════════════════════════════════════════════ */
.topbar--solid {
  background: rgba(252, 250, 246, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(180, 170, 155, 0.18);
  box-shadow: 0 2px 20px rgba(37,33,28,0.06);
}
.topbar--solid.is-scrolled {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: all !important;
  background: rgba(252, 250, 246, 0.98) !important;
}
.topbar--solid .topbar__logo {
  filter: none;
  opacity: 0.88;
}
.topbar--solid .topbar__link {
  color: rgba(42,38,32,0.62);
}
.topbar--solid .topbar__link:hover,
.topbar--solid .topbar__link.is-active {
  color: #4e7454;
}
.topbar--solid .topbar__link.is-active::after {
  background: rgba(78,116,84,0.72);
  box-shadow: 0 0 12px rgba(122,158,125,0.28);
}
.topbar--solid .topbar__sep {
  color: rgba(122,158,125,0.42);
}
.topbar--solid .topbar__link--cta {
  border-color: rgba(78,116,84,0.35) !important;
  color: #4e7454 !important;
}
.topbar--solid .topbar__link--cta:hover {
  background: rgba(122,158,125,0.10);
  border-color: rgba(78,116,84,0.55) !important;
}
.topbar--solid .topbar__hamburger span {
  background: rgba(42,38,32,0.72);
}

/* Al abrir el menú en páginas con topbar--solid,
   los links del nav abierto deben verse blancos (fondo oscuro) */
.topbar--solid .topbar__nav.is-open .topbar__link,
.topbar--solid.is-scrolled .topbar__nav.is-open .topbar__link {
  color: rgba(255,255,255,0.75) !important;
}
.topbar--solid .topbar__nav.is-open .topbar__link:hover,
.topbar--solid .topbar__nav.is-open .topbar__link.is-active,
.topbar--solid.is-scrolled .topbar__nav.is-open .topbar__link:hover,
.topbar--solid.is-scrolled .topbar__nav.is-open .topbar__link.is-active {
  color: #fff !important;
}
.topbar--solid .topbar__nav.is-open .topbar__link--cta,
.topbar--solid.is-scrolled .topbar__nav.is-open .topbar__link--cta {
  color: #fff !important;
  border-color: transparent !important;
}
/* Hamburger X blanco cuando el menú está abierto en páginas solid */
.topbar--solid .topbar__hamburger.is-open span {
  background: rgba(255,255,255,0.86) !important;
}

/* ══════════════════════════════════════════════════════
   TOPBAR is-scrolled en páginas con hero (index, educacion)
   — Aparece sólida/clara cuando el usuario llega a la 2ª sección
══════════════════════════════════════════════════════ */
.topbar.is-scrolled:not(.topbar--solid) {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: all !important;
  background: rgba(252, 250, 246, 0.97) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(180, 170, 155, 0.18) !important;
  box-shadow: 0 2px 20px rgba(37,33,28,0.06) !important;
}
.topbar.is-scrolled:not(.topbar--solid) .topbar__logo {
  filter: none !important;
  opacity: 0.88 !important;
}
.topbar.is-scrolled:not(.topbar--solid) .topbar__link {
  color: rgba(42,38,32,0.62) !important;
}
.topbar.is-scrolled:not(.topbar--solid) .topbar__link:hover,
.topbar.is-scrolled:not(.topbar--solid) .topbar__link.is-active {
  color: #4e7454 !important;
}
.topbar.is-scrolled:not(.topbar--solid) .topbar__link.is-active::after {
  background: rgba(78,116,84,0.72) !important;
  box-shadow: 0 0 12px rgba(122,158,125,0.28) !important;
}
.topbar.is-scrolled:not(.topbar--solid) .topbar__sep {
  color: rgba(122,158,125,0.42) !important;
}
.topbar.is-scrolled:not(.topbar--solid) .topbar__link--cta {
  border-color: rgba(78,116,84,0.35) !important;
  color: #4e7454 !important;
}
.topbar.is-scrolled:not(.topbar--solid) .topbar__hamburger span {
  background: rgba(42,38,32,0.72) !important;
}
/* En mobile, cuando el menú está abierto + is-scrolled en página con hero */
.topbar.is-scrolled:not(.topbar--solid) .topbar__nav.is-open .topbar__link {
  color: rgba(255,255,255,0.75) !important;
}
.topbar.is-scrolled:not(.topbar--solid) .topbar__nav.is-open .topbar__link:hover,
.topbar.is-scrolled:not(.topbar--solid) .topbar__nav.is-open .topbar__link.is-active {
  color: #fff !important;
}
.topbar.is-scrolled:not(.topbar--solid) .topbar__hamburger.is-open span {
  background: rgba(255,255,255,0.86) !important;
}
.contact-section {
  position: relative;
  background: #f8f5ee;
  overflow: hidden;
  padding: 120px clamp(24px, 6vw, 80px) 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.contact-bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122,158,125,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,158,125,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}
.contact-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.contact-bg-orb--1 {
  width: 500px; height: 500px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(168,209,171,0.14) 0%, transparent 70%);
}
.contact-bg-orb--2 {
  width: 400px; height: 400px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(202,182,157,0.12) 0%, transparent 70%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.contact-ornament {
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  color: #7a9e7d;
  opacity: 0.75;
}
.contact-ornament svg {
  width: 100%;
  height: 100%;
}

.contact-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(78,116,84,0.72);
  margin-bottom: 20px;
}

.contact-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: #1c1914;
  margin-bottom: 20px;
}

.contact-body {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.96rem, 1.2vw, 1.06rem);
  color: rgba(42,38,32,0.55);
  line-height: 1.72;
  margin-bottom: 44px;
  max-width: 480px;
}

.contact-divider {
  width: 56px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #7a9e7d 40%, rgba(122,158,125,0.4) 100%);
  border-radius: 2px;
  margin-bottom: 44px;
}


.contact-sig {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(42,38,32,0.3);
}


/* ══════════════════════════════════════════════════════
   PAGE HERO — cabecera para páginas internas
══════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: clamp(100px, 14vh, 160px) clamp(24px, 6vw, 80px) clamp(60px, 8vh, 100px);
  background: linear-gradient(160deg, #f3f8f3 0%, #f9f6ee 55%, #f2ede3 100%);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero__bg-leaves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page-hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.page-hero__bg-orb--1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(168,209,171,0.18) 0%, transparent 70%);
}
.page-hero__bg-orb--2 {
  width: 400px; height: 400px;
  bottom: -100px; right: -80px;
  background: radial-gradient(circle, rgba(202,182,157,0.14) 0%, transparent 70%);
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122,158,125,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,158,125,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.page-hero__sup {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(78,116,84,0.75);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-hero__sup::before,
.page-hero__sup::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(78,116,84,0.4);
}

.page-hero__title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: #1c1914;
  margin-bottom: 18px;
}
.page-hero__title em {
  font-style: italic;
  color: #5e8862;
}

.page-hero__sub {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(42,38,32,0.50);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.page-hero__quote {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-style: italic;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: rgba(42,38,32,0.42);
  margin-top: 28px;
  padding: 20px 32px;
  border-left: 2px solid rgba(122,158,125,0.4);
  text-align: left;
  border-radius: 0 8px 8px 0;
  background: rgba(122,158,125,0.04);
  max-width: 520px;
  line-height: 1.65;
}

.page-hero__sep {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #7a9e7d, rgba(122,158,125,0.2));
  border-radius: 2px;
  margin: 24px auto 0;
}


/* ══════════════════════════════════════════════════════
   PORTFOLIO PAGE
══════════════════════════════════════════════════════ */
.portfolio-page {
  background: #faf8f4;
  min-height: 100vh;
}

.portfolio-gallery-section {
  padding: 60px clamp(16px, 4vw, 60px) 100px;
  max-width: 1360px;
  margin: 0 auto;
}

.portfolio-gallery-section h2 {
  display: none;
}

/* Masonry grid using CSS columns */
.portfolio-masonry {
  columns: 3 280px;
  column-gap: 14px;
}

.portfolio-item {
  break-inside: avoid;
  margin-bottom: 14px;
  cursor: pointer;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94),
              filter 0.4s ease;
  filter: saturate(1.02) brightness(0.99);
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28,25,20,0);
  border-radius: 12px;
  transition: background 0.36s ease;
  pointer-events: none;
}

.portfolio-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.1) brightness(1.02);
}

.portfolio-item:hover::after {
  background: rgba(28,25,20,0.08);
}

/* Lightbox */
.portfolio-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,8,6,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lbFadeIn 0.3s ease;
}
.portfolio-lightbox.is-open {
  display: flex;
}
@keyframes lbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.portfolio-lightbox__img {
  max-width: min(90vw, 900px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5);
  animation: lbSlideIn 0.36s cubic-bezier(0.34,1.2,0.64,1);
}
@keyframes lbSlideIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.portfolio-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease;
  z-index: 2;
  font-size: 0;
}
.portfolio-lightbox__close:hover {
  background: rgba(255,255,255,0.22);
  transform: scale(1.1);
}
.portfolio-lightbox__close svg {
  width: 20px;
  height: 20px;
}

.portfolio-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease;
  z-index: 2;
}
.portfolio-lightbox__nav:hover {
  background: rgba(255,255,255,0.2);
}
.portfolio-lightbox__nav--prev { left: 20px; }
.portfolio-lightbox__nav--next { right: 20px; }
.portfolio-lightbox__nav svg { width: 20px; height: 20px; }

.portfolio-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.1em;
}


/* ══════════════════════════════════════════════════════
   ABOUT PAGE — Sección Bio
══════════════════════════════════════════════════════ */
.about-page {
  background: #faf8f4;
  min-height: 100vh;
}

.about-bio-section {
  padding: clamp(132px, 13vw, 160px) clamp(24px, 6vw, 80px) 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-bio-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

/* Foto circular */
.about-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.about-photo-ring {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}
.about-photo-ring::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(122,158,125,0.3);
  animation: photoRingPulse 3.5s ease-in-out infinite;
}
.about-photo-ring::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(122,158,125,0.14);
  animation: photoRingPulse 3.5s ease-in-out infinite 0.7s;
}
@keyframes photoRingPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.015); }
}

.about-photo-ring img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow:
    0 24px 60px rgba(37,33,28,0.14),
    0 0 0 1px rgba(122,158,125,0.15);
}

.about-photo-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1c1914;
  letter-spacing: -0.02em;
}
.about-photo-role {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(78,116,84,0.7);
}

/* Bio content */
.about-bio-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}

.about-greeting {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #1c1914;
  margin-bottom: 6px;
}
.about-greeting span {
  color: #5e8862;
}

.about-bio-text {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.06rem);
  color: rgba(42,38,32,0.62);
  line-height: 1.82;
  margin-bottom: 32px;
  margin-top: 24px;
}
.about-bio-text p + p {
  margin-top: 18px;
}

.about-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid rgba(122,158,125,0.15);
  border-bottom: 1px solid rgba(122,158,125,0.15);
  margin-bottom: 36px;
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-stat__num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #5e8862;
  letter-spacing: -0.04em;
  line-height: 1;
}
.about-stat__label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(42,38,32,0.42);
}

.about-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: #fff;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 12px 36px rgba(46,125,50,0.28);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  align-self: flex-start;
}
.about-wa-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 52px rgba(46,125,50,0.38);
}
.about-wa-link svg { width: 18px; height: 18px; }

/* ══════════════════════════════════════════════════════
   ABOUT PAGE — Testimonials
══════════════════════════════════════════════════════ */
.testimonials-section {
  background: linear-gradient(160deg, #f3f8f3 0%, #faf8f4 60%, #f7f3e9 100%);
  padding: 80px clamp(24px, 6vw, 80px) 100px;
  position: relative;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122,158,125,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,158,125,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(78,116,84,0.72);
  margin-bottom: 14px;
}
.testimonials-label::before,
.testimonials-label::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(78,116,84,0.4);
}

.testimonials-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #1c1914;
  margin-bottom: 0;
  line-height: 1.08;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(180,170,155,0.22);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.34,1.4,0.64,1), box-shadow 0.32s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 54px rgba(37,33,28,0.07), 0 0 0 1px rgba(122,158,125,0.12);
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(122,158,125,0.08);
  pointer-events: none;
  user-select: none;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #7a9e7d;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.94rem, 1.1vw, 1rem);
  color: rgba(42,38,32,0.72);
  line-height: 1.78;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(180,170,155,0.22);
}
.testimonial-author__name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #1c1914;
  letter-spacing: -0.01em;
}
.testimonial-author__session {
  font-family: "DM Sans", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(78,116,84,0.65);
}


/* ══════════════════════════════════════════════════════
   EDUCATION PAGE — small overrides
══════════════════════════════════════════════════════ */
.edu-page .video-section {
  min-height: 100vh;
}


/* ══════════════════════════════════════════════════════
   FOOTER MÍNIMO — compartido
══════════════════════════════════════════════════════ */
.site-footer {
  text-align: center;
  padding: 28px 24px;
  background: #f3f0e9;
  border-top: 1px solid rgba(180,170,155,0.22);
}
.site-footer p {
  font-family: "DM Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(42,38,32,0.32);
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE — páginas internas
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-photo-wrap {
    position: static;
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .about-photo-ring,
  .about-photo-ring img {
    width: 220px;
    height: 220px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .portfolio-masonry {
    columns: 2 160px;
    column-gap: 10px;
  }
  .portfolio-item {
    margin-bottom: 10px;
  }
  .portfolio-lightbox__nav--prev { left: 8px; }
  .portfolio-lightbox__nav--next { right: 8px; }
  .about-stats { gap: 20px; }
  .testimonial-card { padding: 26px 22px; }
  .page-hero { padding-top: 100px; }
}

@media (max-width: 480px) {
  .portfolio-masonry {
    columns: 1;
  }
}


/* ═══════════════════════════════════════════════════
   SECCIÓN 3 — BEFORE/AFTER PORTFOLIO PREVIEW
═══════════════════════════════════════════════════ */
.portfolio-preview-section {
  position: relative;
  background: #fff;
  padding: clamp(80px, 10vw, 140px) 0 clamp(100px, 12vw, 160px);
  overflow: hidden;
}
.pprev-bg { position: absolute; inset: 0; pointer-events: none; }
.pprev-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}
.pprev-orb--1 { width: 600px; height: 600px; background: radial-gradient(circle, #7a9e7d, transparent 70%); top: -10%; left: -15%; }
.pprev-orb--2 { width: 500px; height: 500px; background: radial-gradient(circle, #b8c9a3, transparent 70%); bottom: -5%; right: -10%; }
.pprev-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(122,158,125,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(122,158,125,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.pprev-inner {
  position: relative;
  max-width: min(1560px, 100%);
  margin: 0 auto;
  padding: 0 0 0 clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(560px, 1.22fr);
  gap: clamp(56px, 5vw, 112px);
  align-items: center;
}

/* Texto */
.pprev-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a9e7d;
  margin-bottom: 24px;
}
.pprev-eyebrow__line {
  display: block;
  width: 36px;
  height: 1.5px;
  background: #7a9e7d;
  flex-shrink: 0;
}
.pprev-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: #1a1a1a;
  margin: 0 0 24px;
}
.pprev-title__line { display: block; }
.pprev-title__line--1 { color: #1a1a1a; }
.pprev-title__line--2 { color: #1a1a1a; }
.pprev-title em {
  font-style: italic;
  color: #7a9e7d;
  font-weight: 700;
}

/* Animated underline on title */
.pprev-title__line--2 { position: relative; display: inline-block; }
.pprev-title__line--2::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #7a9e7d, #b8c9a3);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: pprevUnderline 1s 0.4s cubic-bezier(0.34,1.3,0.64,1) forwards;
}
@keyframes pprevUnderline { to { transform: scaleX(1); } }

.pprev-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: #555;
  line-height: 1.65;
  margin: 0 0 40px;
}

.pprev-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #4a7a4d, #7a9e7d);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 28px rgba(74,122,77,0.3);
}
.pprev-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(74,122,77,0.4); }
.pprev-btn__icon { display: flex; align-items: center; }
.pprev-btn__icon svg { width: 18px; height: 18px; }

/* Before / After */
.pprev-visual {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 72vh, 820px);
  align-self: stretch;
}

.ba-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(560px, 72vh, 820px);
  aspect-ratio: auto;
  border-radius: 24px 0 0 24px;
  overflow: hidden;
  cursor: col-resize;
  box-shadow: -24px 24px 70px rgba(0,0,0,0.16);
  user-select: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-img--after  { z-index: 1; }
.ba-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}
.ba-clip .ba-img { width: auto; max-width: none; min-width: 100%; right: unset; }

/* Make before image fill correctly */
.ba-clip { overflow: hidden; }
.ba-clip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ba-divider__line {
  width: 2px;
  flex: 1;
  background: rgba(255,255,255,0.85);
}
.ba-divider__handle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  flex-shrink: 0;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.ba-divider__handle svg { width: 20px; height: 20px; color: #4a7a4d; }

.ba-label {
  position: absolute;
  bottom: 18px;
  z-index: 4;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.ba-label--before { left: 14px; }
.ba-label--after  { right: 14px; }

/* ═══════════════════════════════════════════════════
   SECCIÓN 4 — EDUCACIÓN PROMO
═══════════════════════════════════════════════════ */
.edu-promo-section {
  position: relative;
  background: #f4f0e8;
  padding: clamp(80px, 10vw, 140px) 0 clamp(100px, 12vw, 160px);
  overflow: hidden;
}
.edu-promo-bg { position: absolute; inset: 0; pointer-events: none; }
.edu-promo-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
}
.edu-promo-orb--1 { width: 700px; height: 700px; background: radial-gradient(circle, #c9b99a, transparent 70%); top: -20%; right: -10%; }
.edu-promo-orb--2 { width: 500px; height: 500px; background: radial-gradient(circle, #7a9e7d, transparent 70%); bottom: -15%; left: -8%; }

.edu-promo-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

/* Visual / foto */
.edu-promo-visual { position: relative; }
.edu-promo-frame {
  position: relative;
  border-radius: 24px;
  overflow: visible;
}
.edu-promo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.22);
}
.edu-promo-frame__overlay {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(to top, rgba(20,20,20,0.3) 0%, transparent 60%);
  pointer-events: none;
}
/* Corner accents */
.edu-promo-frame__corner {
  position: absolute;
  width: 28px; height: 28px;
  z-index: 2;
}
.edu-promo-frame__corner--tl { top: -10px; left: -10px; border-top: 2.5px solid #7a9e7d; border-left: 2.5px solid #7a9e7d; border-radius: 4px 0 0 0; }
.edu-promo-frame__corner--tr { top: -10px; right: -10px; border-top: 2.5px solid #7a9e7d; border-right: 2.5px solid #7a9e7d; border-radius: 0 4px 0 0; }
.edu-promo-frame__corner--bl { bottom: -10px; left: -10px; border-bottom: 2.5px solid #7a9e7d; border-left: 2.5px solid #7a9e7d; border-radius: 0 0 0 4px; }
.edu-promo-frame__corner--br { bottom: -10px; right: -10px; border-bottom: 2.5px solid #7a9e7d; border-right: 2.5px solid #7a9e7d; border-radius: 0 0 4px 0; }

.edu-promo-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  border-radius: 50px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #4a7a4d;
  z-index: 5;
}
.edu-promo-float svg { width: 20px; height: 20px; }

/* Content */
.edu-promo-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a9e7d;
  margin-bottom: 20px;
}
.edu-promo-eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7a9e7d;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.edu-promo-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a1a;
  margin: 0 0 20px;
}
.edu-promo-title em { font-style: italic; color: #7a9e7d; }
.edu-promo-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #555;
  line-height: 1.65;
  margin: 0 0 28px;
}
.edu-promo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.edu-promo-pill {
  padding: 7px 16px;
  background: rgba(122,158,125,0.12);
  border: 1px solid rgba(122,158,125,0.35);
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a7a4d;
}
.edu-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: #1a1a1a;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.edu-promo-btn:hover { background: #4a7a4d; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(74,122,77,0.35); }
.edu-promo-btn__icon { display: flex; align-items: center; }
.edu-promo-btn__icon svg { width: 20px; height: 20px; }
.edu-promo-btn__arrow { width: 18px; height: 18px; opacity: 0.7; }


/* ═══════════════════════════════════════════════════
   SECCIÓN 5 — MÉTODO KAKEBO
═══════════════════════════════════════════════════ */
.kakebo-section {
  position: relative;
  background:
    radial-gradient(circle at 16% 26%, rgba(175,145,96,0.18), transparent 32%),
    radial-gradient(circle at 86% 70%, rgba(90,100,112,0.28), transparent 34%),
    linear-gradient(135deg, #171b18 0%, #242820 48%, #151a18 100%);
  padding: clamp(80px, 10vw, 140px) 0 clamp(100px, 12vw, 160px);
  overflow: hidden;
}
.kakebo-bg { position: absolute; inset: 0; pointer-events: none; }
.kakebo-bg__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.kakebo-inner {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(28px, 7vw, 128px);
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(420px, 0.85fr);
  gap: clamp(96px, 14vw, 220px);
  align-items: center;
  justify-content: space-between;
}

/* Producto visual */
.kakebo-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.kakebo-product-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.kakebo-product-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(122,158,125,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.kakebo-product-shadow {
  position: absolute;
  bottom: -30px;
  left: 10%; right: 10%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.45) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.kakebo-product-img {
  width: 100%;
  max-width: clamp(390px, 31vw, 520px);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  transition: transform 0.5s cubic-bezier(0.34,1.3,0.64,1);
}
.kakebo-product-wrap:hover .kakebo-product-img { transform: translateY(-8px) scale(1.02); }

.kakebo-float-tag {
  position: absolute;
  top: 12px;
  right: -10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}
.kakebo-float-tag svg { width: 14px; height: 14px; stroke: #7a9e7d; fill: none; }

.kakebo-img-cta {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #7a9e7d, #4a7a4d);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 28px rgba(74,122,77,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kakebo-img-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(74,122,77,0.5); }

/* Contenido */
.kakebo-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a9e7d;
  margin-bottom: 20px;
}
.kakebo-eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7a9e7d;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.kakebo-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 20px;
}
.kakebo-title em { font-style: italic; color: #7a9e7d; }
.kakebo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0 0 32px;
}
.kakebo-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.kakebo-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}
.kakebo-feature__icon { display: flex; align-items: center; flex-shrink: 0; color: #7a9e7d; }
.kakebo-feature__icon svg { width: 22px; height: 22px; }

.kakebo-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  background: linear-gradient(135deg, #7a9e7d, #4a7a4d);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 36px rgba(74,122,77,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kakebo-cta:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(74,122,77,0.55); }
.kakebo-cta svg { width: 20px; height: 20px; }

@media (min-width: 901px) {
  .kakebo-content {
    justify-self: end;
    max-width: 500px;
  }
}


/* ═══════════════════════════════════════════════════
   SECCIÓN 6 — CONTACTO: REDES SOCIALES
═══════════════════════════════════════════════════ */
.contact-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.contact-social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 1.5px solid transparent;
}
.contact-social svg { width: 22px; height: 22px; flex-shrink: 0; }
.contact-social:hover { transform: translateY(-4px); }

.contact-social--wa {
  background: rgba(37,211,102,0.12);
  border-color: rgba(37,211,102,0.4);
  color: #22c55e;
}
.contact-social--wa:hover { background: rgba(37,211,102,0.2); box-shadow: 0 10px 30px rgba(37,211,102,0.25); }
.contact-social--wa svg { fill: currentColor; }

.contact-social--ig {
  background: rgba(225,48,108,0.1);
  border-color: rgba(225,48,108,0.35);
  color: #e1306c;
}
.contact-social--ig:hover { background: rgba(225,48,108,0.18); box-shadow: 0 10px 30px rgba(225,48,108,0.2); }

.contact-social--mail {
  background: rgba(122,158,125,0.12);
  border-color: rgba(122,158,125,0.4);
  color: #7a9e7d;
}
.contact-social--mail:hover { background: rgba(122,158,125,0.2); box-shadow: 0 10px 30px rgba(122,158,125,0.2); }

/* Remove old single WA button from contact if present */
.contact-wa-btn { display: none !important; }


/* ═══════════════════════════════════════════════════
   EDUCACIÓN — NUEVO HERO PARALLAX
═══════════════════════════════════════════════════ */
.edu-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 0;
  background: #101510;
}

/* Imagen de fondo fija que se recorta al scrollear */
.edu-hero-img-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  clip-path: none !important;
  transition: none;
}
.edu-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.edu-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,10,0.72) 0%, rgba(20,28,20,0.48) 60%, rgba(10,14,10,0.3) 100%);
}

/* Contenido del hero (sobre la imagen) — display:none, children unused */
.edu-hero-content {
  display: none;
}

/* Make the courses section sit above the hero visually */
.edu-page #cursos {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, #fbfaf6 0%, #eee8dc 52%, #f7f4ef 100%);
  box-shadow: 0 -24px 60px rgba(0,0,0,0.2);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .pprev-inner,
  .edu-promo-inner,
  .kakebo-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Before/after goes BELOW text on mobile */
  .pprev-inner {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    padding: 0 clamp(24px, 6vw, 80px);
  }
  .pprev-content { order: 1; }
  .pprev-visual  {
    order: 2;
    width: 100%;
    min-height: 0;
    align-self: auto;
  }

  .ba-container {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  }

  /* Edu promo */
  .edu-promo-inner { grid-template-columns: 1fr; }
  .edu-promo-visual { order: 2; }
  .edu-promo-content { order: 1; }

  /* Kakebo */
  .kakebo-section {
    background: linear-gradient(135deg, #1a1e1a 0%, #232a23 50%, #1a2318 100%);
  }
  .kakebo-inner { grid-template-columns: 1fr; }
  .kakebo-visual { order: 2; }
  .kakebo-content { order: 1; }
  .kakebo-product-img { max-width: 380px; }

  /* Socials */
  .contact-socials { gap: 12px; }
  .contact-social span { display: none; }
  .contact-social { padding: 14px 18px; border-radius: 50%; width: 54px; height: 54px; justify-content: center; }
}

@media (max-width: 600px) {
  .pprev-title { font-size: 2.4rem; }
  .kakebo-cta { font-size: 0.78rem; padding: 16px 24px; letter-spacing: 0.05em; }
  .kakebo-img-cta { font-size: 0.74rem; padding: 12px 20px; }
}

@media (max-width: 900px) {
  .contact-inner,
  .pprev-inner,
  .pprev-content,
  .pprev-visual,
  .edu-promo-inner,
  .edu-promo-visual,
  .edu-promo-content,
  .kakebo-inner,
  .kakebo-visual,
  .kakebo-content,
  .kakebo-product-wrap,
  .kakebo-feature {
    min-width: 0;
  }

  .pprev-btn,
  .edu-promo-btn,
  .kakebo-cta,
  .kakebo-img-cta {
    max-width: 100%;
  }

  .contact-eyebrow,
  .contact-title,
  .contact-body,
  .contact-sig,
  .pprev-eyebrow,
  .pprev-title,
  .pprev-sub,
  .edu-promo-eyebrow,
  .edu-promo-title,
  .edu-promo-desc,
  .edu-promo-pill,
  .kakebo-eyebrow,
  .kakebo-title,
  .kakebo-sub,
  .kakebo-feature,
  .kakebo-float-tag {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

@media (max-width: 430px) {
  .edu-promo-float,
  .kakebo-float-tag {
    right: 0;
    max-width: 100%;
  }
}


/* ═══════════════════════════════════════════════════════════════
   EDUCACIÓN — COURSES SECTION V2 (Premium Cards)
═══════════════════════════════════════════════════════════════ */

.courses-section {
  position: relative;
  z-index: 10;
  background: #f7f4ef;
  padding: clamp(72px, 10vw, 130px) clamp(20px, 5vw, 64px) clamp(80px, 12vw, 160px);
  overflow: hidden;
  box-shadow: 0 -24px 60px rgba(0,0,0,0.18);
}

/* Subtle grain texture overlay */
.courses-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.courses-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cb-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.cb-orb--1 {
  width: 700px; height: 700px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(168,209,171,0.18) 0%, transparent 65%);
}
.cb-orb--2 {
  width: 600px; height: 600px;
  bottom: -100px; right: -150px;
  background: radial-gradient(circle, rgba(202,182,157,0.16) 0%, transparent 65%);
}

/* Header */
.courses-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 88px);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.courses-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(78,116,84,0.8);
  margin-bottom: 18px;
}
.courses-label__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7a9e7d;
  animation: pulse 2s ease-in-out infinite;
}

.courses-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #1c1914;
  margin-bottom: 16px;
}

.courses-subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  color: rgba(42,38,32,0.52);
  line-height: 1.72;
  max-width: 520px;
  margin: 0 auto;
}

/* Cards grid */
.courses-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
  max-width: 1200px;
  margin: 0 auto;
}

/* Featured card (spans 2 cols) */
.course-card--featured {
  grid-column: 1 / -1;
}

/* Base card */
.course-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(180,170,155,0.2);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.38s cubic-bezier(0.34,1.3,0.64,1),
              box-shadow 0.38s ease,
              border-color 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(37,33,28,0.06), 0 1px 4px rgba(37,33,28,0.04);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(37,33,28,0.11), 0 4px 16px rgba(37,33,28,0.06);
  border-color: rgba(122,158,125,0.28);
}

/* Featured layout: horizontal on desktop */
.course-card--featured {
  flex-direction: row;
  min-height: 420px;
}

/* Image container */
.course-card__img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Featured image: left column */
.course-card--featured .course-card__img-wrap {
  width: 46%;
  min-height: 100%;
}

/* Regular card: top image */
.course-card:not(.course-card--featured) .course-card__img-wrap {
  height: clamp(200px, 26vw, 280px);
  width: 100%;
}

.course-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.course-card:hover .course-card__img-wrap img {
  transform: scale(1.07);
}

/* Image overlay gradient */
.course-card__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,22,18,0.42) 0%, transparent 55%);
  pointer-events: none;
}

/* Floating badge on image */
.course-card__img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
}

/* Content area */
.course-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  flex: 1;
  gap: 0;
}

/* Category tag */
.course-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}
.course-card__tag--fineart {
  background: rgba(122,158,125,0.12);
  color: #4e7454;
  border: 1px solid rgba(122,158,125,0.28);
}
.course-card__tag--mentoria {
  background: rgba(139,104,70,0.1);
  color: #7a5c38;
  border: 1px solid rgba(139,104,70,0.24);
}
.course-card__tag--taller {
  background: rgba(95,112,155,0.1);
  color: #455590;
  border: 1px solid rgba(95,112,155,0.24);
}
.course-card__tag--combo {
  background: rgba(160,80,120,0.1);
  color: #8e3a6a;
  border: 1px solid rgba(160,80,120,0.24);
}

/* Title */
.course-card__title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  color: #1c1914;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 12px;
}
.course-card--featured .course-card__title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}
.course-card:not(.course-card--featured) .course-card__title {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

/* Description */
.course-card__desc {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.88rem, 1.1vw, 0.97rem);
  color: rgba(42,38,32,0.58);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Features list */
.course-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.course-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  color: rgba(42,38,32,0.72);
  line-height: 1.45;
}
.course-card__features li svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #7a9e7d;
}

/* Meta pills row */
.course-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(180,170,155,0.18);
}
.course-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 50px;
  background: rgba(240,236,228,0.8);
  border: 1px solid rgba(180,170,155,0.2);
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(42,38,32,0.62);
  letter-spacing: 0.04em;
}
.course-card__pill svg {
  width: 12px; height: 12px;
  flex-shrink: 0;
  opacity: 0.7;
}
.course-card__pill--online {
  background: rgba(122,158,125,0.1);
  border-color: rgba(122,158,125,0.22);
  color: #4e7454;
}

/* CTA button */
.course-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.34,1.4,0.64,1),
              box-shadow 0.28s ease,
              background 0.2s ease;
}
.course-card__cta svg {
  width: 16px; height: 16px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.course-card:hover .course-card__cta svg {
  transform: translateX(4px);
}

/* Featured CTA: filled dark */
.course-card--featured .course-card__cta {
  background: #1c1914;
  color: #fff;
  align-self: flex-start;
  box-shadow: 0 8px 28px rgba(28,25,20,0.22);
}
.course-card--featured .course-card__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(28,25,20,0.32);
}

/* Regular CTAs: outlined green */
.course-card:not(.course-card--featured) .course-card__cta {
  background: rgba(122,158,125,0.08);
  color: #4e7454;
  border: 1.5px solid rgba(122,158,125,0.32);
  width: 100%;
}
.course-card:not(.course-card--featured) .course-card__cta:hover {
  background: rgba(122,158,125,0.16);
  border-color: rgba(78,116,84,0.52);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122,158,125,0.18);
}

/* Accent line top of featured */
.course-card--featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7a9e7d, #a8d1ab 50%, rgba(168,209,171,0.3) 100%);
  z-index: 2;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .course-card--featured {
    grid-column: 1;
    flex-direction: column;
  }
  .course-card--featured .course-card__img-wrap {
    width: 100%;
    height: clamp(220px, 50vw, 360px);
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .courses-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .course-card {
    border-radius: 20px;
  }
  .course-card__body {
    padding: 22px 20px;
  }
  .course-card--featured .course-card__title {
    font-size: 1.6rem;
  }
  .course-card__cta {
    font-size: 0.8rem;
    padding: 13px 22px;
  }
}

/* Keep portrait course images focused on the face in every viewport. */
.course-card__img-wrap img[src="Images/curso1.jpg"] {
  object-position: center 18%;
}

.course-card__img-wrap img[src="Images/Portfolio/p2.jpg"] {
  object-position: center 32%;
}

@media (min-width: 901px) {
  .courses-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    max-width: 1180px;
    gap: 26px;
  }

  .course-card,
  .course-card--featured {
    align-items: stretch;
    grid-column: auto !important;
    flex-direction: row;
    min-height: 0;
    height: auto;
  }

  .course-card--featured .course-card__img-wrap,
  .course-card:not(.course-card--featured) .course-card__img-wrap {
    flex: 0 0 clamp(300px, 34vw, 420px);
    width: auto !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    min-height: 0;
    align-self: center;
    margin: 28px 0 28px 28px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(248,245,239,0.98), rgba(231,224,212,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .course-card__img-wrap:has(img[src="Images/curso1.jpg"]),
  .course-card__img-wrap:has(img[src="Images/Portfolio/p2.jpg"]) {
    flex-basis: clamp(260px, 28vw, 350px);
    aspect-ratio: 4 / 5;
  }

  .course-card__img-wrap img {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    object-fit: cover !important;
    object-position: center;
    padding: 0;
    border-radius: inherit;
    filter: none;
  }

  .course-card__img-wrap img[src="Images/curso1.jpg"] {
    object-position: center 18%;
  }

  .course-card__img-wrap img[src="Images/Portfolio/p2.jpg"] {
    object-position: center 32%;
  }

  .course-card:hover .course-card__img-wrap img {
    transform: none;
  }

  .course-card__img-wrap::after {
    background: linear-gradient(to right, rgba(18,22,18,0.22) 0%, transparent 54%);
  }

  .course-card__body {
    padding: clamp(28px, 3vw, 38px);
  }

  .course-card--featured .course-card__title,
  .course-card:not(.course-card--featured) .course-card__title {
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    margin-bottom: 14px;
  }

  .course-card__desc {
    min-height: 0;
    max-width: 720px;
  }

  .course-card__features {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 22px !important;
  }

  .course-card__meta {
    margin-top: auto;
  }

  .course-card--featured .course-card__cta,
  .course-card:not(.course-card--featured) .course-card__cta {
    align-self: stretch !important;
    width: 100% !important;
    background: rgba(122,158,125,0.08);
    color: #4e7454;
    border: 1.5px solid rgba(122,158,125,0.32);
    box-shadow: none;
  }

  .course-card--featured .course-card__cta:hover,
  .course-card:not(.course-card--featured) .course-card__cta:hover {
    background: rgba(122,158,125,0.16);
    border-color: rgba(78,116,84,0.52);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(122,158,125,0.18);
  }

  .course-card--featured::before {
    display: none;
  }
}
