/* ===================== BALANCE INTEGRATIVE — STYLES ===================== */

:root{
  --navy: #1a1a2e;
  --navy-soft: #24243e;
  --lavender: #7b7eb8;
  --lavender-deep: #6264a0;
  --lavender-light: #b7b9dd;
  --tint-1: #f0f0f9;
  --tint-2: #f4f4f8;
  --ivory: #fafaf9;
  --white: #ffffff;
  --text: #2d2d4a;
  --text-soft: #5b5b78;
  --gold: #cdb07a;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 20px 50px -20px rgba(26,26,46,0.25);
  --shadow-card: 0 10px 30px -12px rgba(26,26,46,0.18);
  --radius: 18px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4{ font-family: var(--serif); font-weight: 600; margin: 0; color: var(--navy); }
p{ margin: 0; }
.container{ width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section{ padding: 110px 0; position: relative; }
.section--tint{ background: var(--tint-1); }
.section--ivory{ background: var(--tint-2); }
.section--white{ background: var(--white); }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  font-weight: 700;
  margin-bottom: 18px;
}
.eyebrow::before{
  content: "";
  width: 28px; height: 1px;
  background: var(--lavender-deep);
  display: inline-block;
}
.section-head{ max-width: 680px; margin: 0 0 56px; }
.section-head.centered{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(30px, 4vw, 42px); line-height: 1.2; }
.section-head .lede{ margin-top: 16px; font-size: 17px; color: var(--text-soft); }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn--primary{ background: var(--lavender-deep); color: #fff; box-shadow: 0 14px 30px -10px rgba(98,100,160,0.55); }
.btn--primary:hover{ background: var(--navy); }
.btn--ghost{ background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover{ background: rgba(255,255,255,0.12); border-color: #fff; }
.btn--outline{ background: transparent; color: var(--lavender-deep); border-color: var(--lavender-deep); }
.btn--outline:hover{ background: var(--lavender-deep); color: #fff; }
.btn--dark{ background: var(--navy); color: #fff; }
.btn--dark:hover{ background: var(--lavender-deep); }
.btn--sm{ padding: 11px 22px; font-size: 13px; }
.btn--block{ width: 100%; justify-content: center; }

/* ===================== HEADER ===================== */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 22px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header .container{ display: flex; align-items: center; justify-content: space-between; }
.site-header.is-scrolled{
  background: rgba(250,250,249,0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 8px 24px -16px rgba(26,26,46,0.3);
}
.logo{ font-family: var(--serif); font-size: 24px; font-weight: 700; color: #fff; letter-spacing: 0.01em; transition: color .35s ease; }
.logo span{ color: var(--lavender-light); }
.is-scrolled .logo{ color: var(--navy); }
.is-scrolled .logo span{ color: var(--lavender-deep); }

.nav-links{ display: flex; align-items: center; gap: 34px; }
.nav-links a{
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.88);
  position: relative; padding: 4px 0; transition: color .3s ease;
}
.nav-links a::after{
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px;
  background: currentColor; transition: width .3s ease;
}
.nav-links a:hover::after{ width: 100%; }
.is-scrolled .nav-links a{ color: var(--text); }
.header-cta{ display: flex; align-items: center; gap: 18px; }
.is-scrolled .btn--ghost{ color: var(--navy); border-color: rgba(26,26,46,0.3); }
.is-scrolled .btn--ghost:hover{ background: var(--navy); color: #fff; border-color: var(--navy); }

.nav-toggle{
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 600;
}
.nav-toggle span{ width: 24px; height: 2px; background: #fff; transition: all .3s ease; }
.is-scrolled .nav-toggle span{ background: var(--navy); }
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.nav-toggle.is-open span{ background: var(--navy); }

/* ===================== HERO ===================== */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-bg{
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(15,15,30,0.55) 0%, rgba(15,15,30,0.35) 32%, rgba(15,15,30,0.78) 82%, rgba(15,15,30,0.95) 100%), url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center 20%;
  transform: scale(1.06);
}
.hero-content{ position: relative; z-index: 2; padding: 200px 0 90px; width: 100%; }
.hero-content .eyebrow{ color: var(--lavender-light); }
.hero-content .eyebrow::before{ background: var(--lavender-light); }
.hero h1{
  color: #fff;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
  max-width: 780px;
}
.hero .hero-tagline{
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--lavender-light); font-size: clamp(18px, 2.2vw, 24px); margin-top: 18px;
}
.hero .hero-copy{
  margin-top: 22px; max-width: 560px; font-size: 17px; color: rgba(255,255,255,0.85);
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-chips{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 70px; border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 26px; background: rgba(255,255,255,0.18);
}
.hero-chips li{
  background: transparent; padding: 0 20px 0 0; font-size: 13.5px; color: rgba(255,255,255,0.82);
  display: flex; align-items: center; gap: 10px;
}
.hero-chips li::before{ content: "✦"; color: var(--lavender-light); font-size: 12px; }

/* ===================== ABOUT BALANCE ===================== */
.about-grid{ display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 70px; align-items: center; }
.about-media{ position: relative; }
.about-media img{ border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; height: 560px; object-fit: cover; }
.about-media::after{
  content: ""; position: absolute; width: 130px; height: 130px; border: 1px solid var(--lavender);
  border-radius: var(--radius); top: -22px; right: -22px; z-index: -1;
}
.about-copy p{ color: var(--text-soft); margin-bottom: 18px; font-size: 16px; }
.about-copy p:last-child{ margin-bottom: 0; }
.about-copy .lead{ font-family: var(--serif); font-size: 22px; color: var(--navy); font-style: italic; margin-bottom: 22px; }

/* ===================== METODOLOGIA ===================== */
.method-wrap{ display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.method-media img{ border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; object-fit: cover; height: 620px; }
.method-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.method-card{
  background: var(--white); padding: 30px 26px; border-radius: 16px; box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.method-card:hover{ transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(26,26,46,0.28); }
.method-num{ font-family: var(--serif); font-size: 15px; color: var(--lavender-deep); font-weight: 700; margin-bottom: 14px; }
.method-card h3{ font-size: 18px; margin-bottom: 10px; }
.method-card p{ font-size: 14.5px; color: var(--text-soft); }

/* ===================== SERVICES ===================== */
.services-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.service-card{
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}
.service-card:hover{ transform: translateY(-8px); box-shadow: 0 30px 60px -22px rgba(26,26,46,0.3); }
.service-card--featured{ border: 2px solid var(--lavender-deep); }
.service-badge{
  position: absolute; top: 20px; left: 20px; z-index: 2;
  background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; padding: 7px 14px; border-radius: 999px; text-transform: uppercase;
}
.service-img{ height: 230px; overflow: hidden; }
.service-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-img img{ transform: scale(1.07); }
.service-body{ padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.service-body h3{ font-size: 21px; }
.service-body p{ color: var(--text-soft); font-size: 14.75px; }
.service-tags{ display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.service-tags span{
  font-size: 12px; background: var(--tint-1); color: var(--lavender-deep); padding: 6px 12px;
  border-radius: 999px; font-weight: 600;
}
.service-body .btn{ margin-top: auto; align-self: flex-start; }

/* ===================== ROSARIO ===================== */
.rosario-grid{ display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.rosario-media{ position: relative; }
.rosario-media img{ border-radius: var(--radius); width: 100%; height: 640px; object-fit: cover; box-shadow: var(--shadow-soft); }
.rosario-copy .eyebrow{ margin-bottom: 10px; }
.rosario-copy h2{ font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 6px; }
.rosario-copy .role{ color: var(--lavender-deep); font-weight: 600; font-size: 14.5px; margin-bottom: 24px; }
.rosario-copy p{ color: var(--text-soft); margin-bottom: 16px; font-size: 15.5px; }
.rosario-quote{
  font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--navy);
  border-left: 3px solid var(--lavender-deep); padding-left: 20px; margin: 24px 0;
}
.rosario-stats{ display: flex; gap: 40px; margin-top: 30px; }
.rosario-stats div{ text-align: left; }
.rosario-stats .num{ font-family: var(--serif); font-size: 34px; color: var(--lavender-deep); font-weight: 700; }
.rosario-stats .label{ font-size: 12px; letter-spacing: 0.08em; color: var(--text-soft); text-transform: uppercase; margin-top: 4px; }

/* ===================== TESTIMONIALS ===================== */
.testimonials{ position: relative; }
.testimonials-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.t-card{
  background: var(--white); border-radius: 16px; padding: 32px 28px; box-shadow: var(--shadow-card);
}
.t-stars{ color: var(--gold); letter-spacing: 3px; font-size: 15px; margin-bottom: 16px; }
.t-card p{ font-size: 15px; color: var(--text-soft); font-style: italic; margin-bottom: 20px; }
.t-name{ font-weight: 700; color: var(--navy); font-size: 14px; }

/* ===================== COMING SOON (resources/store) ===================== */
.coming-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.coming-card{
  background: var(--white); border-radius: var(--radius); padding: 46px 40px; box-shadow: var(--shadow-card);
  text-align: center;
}
.coming-card .icon{
  width: 62px; height: 62px; border-radius: 50%; background: var(--tint-1); color: var(--lavender-deep);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 24px;
}
.coming-card h3{ font-size: 22px; margin-bottom: 12px; }
.coming-card p{ color: var(--text-soft); font-size: 15px; margin-bottom: 20px; }
.pill{
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lavender-deep); background: var(--tint-1); padding: 8px 16px; border-radius: 999px;
}

/* ===================== CTA BANNER ===================== */
.cta-banner{
  position: relative; color: #fff; text-align: center; padding: 130px 0;
  background: linear-gradient(135deg, rgba(98,100,160,0.92) 0%, rgba(26,26,46,0.95) 100%), url("../img/cta-bg.jpg") center 25% / cover;
}
.cta-banner .eyebrow{ color: var(--lavender-light); justify-content: center; }
.cta-banner .eyebrow::before{ background: var(--lavender-light); }
.cta-banner h2{ color: #fff; font-size: clamp(30px, 4.4vw, 46px); max-width: 720px; margin: 0 auto 18px; }
.cta-banner p{ color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 36px; font-size: 16.5px; }

/* ===================== FOOTER ===================== */
.site-footer{ background: var(--navy); color: rgba(255,255,255,0.75); padding: 80px 0 30px; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .logo{ color: #fff; }
.footer-brand p{ margin-top: 16px; font-size: 14.5px; line-height: 1.7; max-width: 320px; color: rgba(255,255,255,0.6); }
.footer-social{ display: flex; gap: 14px; margin-top: 24px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all .3s ease;
}
.footer-social a:hover{ background: var(--lavender-deep); border-color: var(--lavender-deep); }
.footer-col h4{ color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; font-family: var(--sans); font-weight: 700; }
.footer-col li{ margin-bottom: 13px; }
.footer-col a{ font-size: 14.5px; color: rgba(255,255,255,0.7); transition: color .3s ease; }
.footer-col a:hover{ color: var(--lavender-light); }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px; }

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float{
  position: fixed; bottom: 26px; right: 26px; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6);
  transition: transform .3s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float svg{ width: 28px; height: 28px; }

/* ===================== MODAL ===================== */
.modal-overlay{
  position: fixed; inset: 0; background: rgba(15,15,26,0.72); backdrop-filter: blur(4px);
  z-index: 900; display: flex; align-items: flex-start; justify-content: center;
  padding: 50px 20px; opacity: 0; pointer-events: none; transition: opacity .3s ease;
  overflow-y: auto;
}
.modal-overlay.is-open{ opacity: 1; pointer-events: auto; }
.modal{
  background: var(--ivory); border-radius: 22px; max-width: 920px; width: 100%;
  position: relative; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.6);
  transform: translateY(24px); transition: transform .35s ease;
  overflow: hidden;
}
.modal-overlay.is-open .modal{ transform: translateY(0); }
.modal-close{
  position: absolute; top: 20px; right: 20px; z-index: 5; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; cursor: pointer; font-size: 18px; color: var(--navy);
  display: flex; align-items: center; justify-content: center; transition: background .3s ease;
}
.modal-close:hover{ background: #fff; }
.modal-hero{
  background: linear-gradient(135deg, rgba(98,100,160,0.92), rgba(26,26,46,0.94)), url("../img/gallery-1.jpg") center 30%/cover;
  color: #fff; padding: 60px 50px 44px;
}
.modal-hero .eyebrow{ color: var(--lavender-light); }
.modal-hero .eyebrow::before{ background: var(--lavender-light); }
.modal-hero h2{ color: #fff; font-size: clamp(26px, 4vw, 36px); }
.modal-hero .modal-tagline{ font-family: var(--serif); font-style: italic; color: var(--lavender-light); font-size: 19px; margin-top: 10px; }
.modal-body{ padding: 46px 50px 56px; }
.modal-body h3{ font-size: 20px; margin: 34px 0 14px; }
.modal-body h3:first-child{ margin-top: 0; }
.modal-body p{ color: var(--text-soft); font-size: 15px; margin-bottom: 14px; }
.modal-gallery{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 36px; }
.modal-gallery img{ width: 100%; height: 130px; object-fit: cover; border-radius: 10px; }
.check-list{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 16px 0 30px; }
.check-list li{ font-size: 14.5px; color: var(--text-soft); padding-left: 24px; position: relative; }
.check-list li::before{ content: "✓"; position: absolute; left: 0; color: var(--lavender-deep); font-weight: 700; }
.modules-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0 10px; }
.module-card{ background: var(--white); border-radius: 14px; padding: 20px 16px; box-shadow: var(--shadow-card); }
.module-card .m-num{ font-family: var(--serif); font-size: 12px; color: var(--lavender-deep); font-weight: 700; margin-bottom: 8px; }
.module-card h4{ font-size: 14.5px; margin-bottom: 6px; }
.module-card p{ font-size: 12.5px; color: var(--text-soft); margin: 0; }

.pricing-table{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.price-card{ background: var(--white); border-radius: 16px; padding: 30px 24px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.price-card--highlight{ background: var(--navy); color: #fff; box-shadow: 0 24px 50px -18px rgba(26,26,46,0.5); }
.price-card--highlight .price-card-name,
.price-card--highlight .price-sub,
.price-card--highlight h4{ color: #fff; }
.price-card--highlight .price-list li{ color: rgba(255,255,255,0.78); }
.price-card--highlight .price-list li::before{ color: var(--lavender-light); }
.price-tag{ font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--lavender-deep); margin-bottom: 10px; }
.price-card--highlight .price-tag{ color: var(--gold); }
.price-card-name{ font-family: var(--serif); font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.price-amount{ font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--lavender-deep); margin: 10px 0 2px; }
.price-card--highlight .price-amount{ color: #fff; }
.price-sub{ font-size: 13px; color: var(--text-soft); margin-bottom: 18px; font-style: italic; }
.price-list{ list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.price-list li{ font-size: 13.5px; color: var(--text-soft); padding: 7px 0 7px 22px; position: relative; border-top: 1px solid rgba(45,45,74,0.08); }
.price-card--highlight .price-list li{ border-top-color: rgba(255,255,255,0.12); }
.price-list li:first-child{ border-top: none; }
.price-list li::before{ content: "✓"; position: absolute; left: 0; top: 7px; color: var(--lavender-deep); font-weight: 700; }
.price-gift{ font-size: 12px; color: var(--gold); font-weight: 700; margin-top: 6px; }

/* ===================== PAGE HERO (inside pages) ===================== */
.page-hero{
  position: relative; min-height: 52vh; display: flex; align-items: flex-end;
  background: var(--navy); color: #fff; overflow: hidden;
}
.page-hero-bg{
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.05);
}
.page-hero-content{ position: relative; z-index: 2; padding: 170px 0 60px; width: 100%; }
.breadcrumb{ font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a{ color: rgba(255,255,255,0.78); transition: color .3s ease; }
.breadcrumb a:hover{ color: #fff; }
.breadcrumb .sep{ opacity: .5; }
.page-hero h1{ color: #fff; font-size: clamp(32px, 5vw, 52px); max-width: 720px; }
.page-hero .page-lede{ margin-top: 16px; max-width: 580px; color: rgba(255,255,255,0.85); font-size: 16.5px; }
.page-hero .eyebrow{ color: var(--lavender-light); }
.page-hero .eyebrow::before{ background: var(--lavender-light); }

/* ===================== DETAIL CONTENT (inside pages) ===================== */
.detail{ padding: 90px 0; }
.detail h3{ font-size: 22px; margin: 36px 0 14px; }
.detail h3:first-child{ margin-top: 0; }
.detail p{ color: var(--text-soft); font-size: 16px; margin-bottom: 16px; max-width: 760px; }
.detail .lead-quote{
  font-family: var(--serif); font-style: italic; color: var(--navy); font-size: 19px;
  border-left: 3px solid var(--lavender-deep); padding-left: 20px; margin: 26px 0; max-width: 700px;
}
.detail-gallery{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 40px; }
.detail-gallery img{ width: 100%; height: 170px; object-fit: cover; border-radius: 12px; }
.detail-cta{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

.back-link{ display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--lavender-deep); margin-bottom: 26px; transition: color .3s ease; }
.back-link:hover{ color: var(--navy); }

/* two-column media + copy layout reused across detail pages */
.split{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img{ width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.split-reverse{ direction: rtl; }
.split-reverse > *{ direction: ltr; }

/* timeline (about rosario) */
.timeline{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 16px; }
.timeline-item{ background: var(--white); border-radius: 14px; padding: 26px 22px; box-shadow: var(--shadow-card); }
.timeline-item .place{ font-family: var(--serif); font-size: 17px; color: var(--lavender-deep); margin-bottom: 8px; }
.timeline-item p{ font-size: 13.5px; color: var(--text-soft); margin: 0; }

/* connect cards (contact page) */
.connect-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px; }
.connect-card{
  background: var(--white); border-radius: 16px; padding: 30px 24px; text-align: center;
  box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease;
}
.connect-card:hover{ transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(26,26,46,0.25); }
.connect-card .icon{
  width: 52px; height: 52px; border-radius: 50%; background: var(--tint-1); color: var(--lavender-deep);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 20px;
}
.connect-card h4{ font-size: 15.5px; margin-bottom: 6px; }
.connect-card p{ font-size: 13.5px; color: var(--text-soft); margin-bottom: 14px; }

/* contact form */
.contact-wrap{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.form-field{ margin-bottom: 20px; }
.form-field label{ display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select{
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(45,45,74,0.16); background: var(--white);
  font-family: var(--sans); font-size: 14.5px; color: var(--text); transition: border-color .3s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ outline: none; border-color: var(--lavender-deep); }
.form-field textarea{ resize: vertical; min-height: 130px; }
.form-note{ font-size: 13px; color: var(--text-soft); margin-top: 14px; }
.form-card{ background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-card); }

/* nav active state */
.nav-links a.is-active{ color: #fff; }
.is-scrolled .nav-links a.is-active{ color: var(--lavender-deep); }
.nav-links a.is-active::after{ width: 100%; }

/* teaser "ver mas" link used on the condensed homepage sections */
.more-link{ display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--lavender-deep); margin-top: 22px; transition: gap .3s ease; }
.more-link:hover{ gap: 13px; }

/* ===================== SCROLL ANIMATION ===================== */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px){
  .about-grid, .method-wrap, .rosario-grid, .split, .contact-wrap{ grid-template-columns: 1fr; }
  .split-reverse{ direction: ltr; }
  .split img{ height: 380px; }
  .detail-gallery{ grid-template-columns: repeat(2, 1fr); }
  .connect-grid{ grid-template-columns: repeat(2, 1fr); }
  .timeline{ grid-template-columns: 1fr; }
  .about-media img, .rosario-media img{ height: 380px; }
  .method-media{ order: 2; }
  .method-media img{ height: 380px; }
  .services-grid{ grid-template-columns: 1fr; }
  .testimonials-grid{ grid-template-columns: 1fr; }
  .coming-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 36px; }
  .modal-gallery{ grid-template-columns: repeat(2, 1fr); }
  .modules-grid{ grid-template-columns: repeat(2, 1fr); }
  .pricing-table{ grid-template-columns: 1fr; }
  .hero-chips{ grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
}
@media (max-width: 860px){
  .nav-links, .header-cta .btn--ghost{ display: none; }
  .nav-toggle{ display: flex; }
  .site-header .container{ position: relative; }
  .nav-links.is-open{
    display: flex; flex-direction: column; position: fixed; top: 0; right: 0; height: 100vh; width: 78%;
    max-width: 320px; background: var(--navy); padding: 100px 34px; gap: 26px; box-shadow: -20px 0 50px rgba(0,0,0,0.3);
  }
  .nav-links.is-open a{ color: #fff; font-size: 17px; }
  .section{ padding: 76px 0; }
  .check-list{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .hero-content{ padding: 150px 0 70px; }
  .hero-actions{ flex-direction: column; align-items: flex-start; }
  .rosario-stats{ flex-wrap: wrap; gap: 26px; }
  .modal-gallery{ grid-template-columns: repeat(2, 1fr); }
  .modules-grid{ grid-template-columns: 1fr 1fr; }
  .modal-hero{ padding: 44px 26px 32px; }
  .modal-body{ padding: 34px 26px 40px; }
  .cta-banner{ padding: 90px 0; }
  .page-hero-content{ padding: 140px 0 50px; }
  .detail-gallery{ grid-template-columns: 1fr 1fr; }
  .detail-gallery img{ height: 130px; }
  .connect-grid{ grid-template-columns: 1fr; }
  .form-card{ padding: 28px 24px; }
}
