:root{
  --bg: #F6F2EB;              /* marfil cálido boutique */
  --surface: #ffffff;
  --ink: #111514;
  --muted: rgba(17,21,20,.70);
  --line: rgba(17,21,20,.12);

  --sage: #A9B8A7;            /* salvia premium */
  --sage-ink: #0E1210;

  --champ: #D9C8B0;           /* champagne (acento suave) */
  --champ-ink: #2B2520;

  --radius: 20px;
  --radius-sm: 14px;

  --shadow: 0 20px 50px rgba(0,0,0,.10);
  --shadow-soft: 0 12px 28px rgba(0,0,0,.08);

  --container: 1120px;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; }
a:focus, button:focus{ outline:2px solid rgba(155,174,154,.7); outline-offset:2px; }

.container{
  width:min(var(--container), 92%);
  margin-inline:auto;
}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar__left{
  display:flex;
  align-items:center;
  gap:22px;
  padding:14px 0;
}
.topbar__right{
  padding:14px 0;
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-inline:4%;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:650;
  letter-spacing:.3px;
}
.brand__mark{
  width:36px; height:36px;
  border-radius:12px;
  display:grid; place-items:center;
  background:var(--ink);
  color:var(--bg);
  font-weight:800;
}
.brand__name{ font-size:15px; }

.nav{
  display:flex;
  gap:14px;
  align-items:center;
}
.nav a{
  font-size:14px;
  color:rgba(15,20,18,.86);
  padding:8px 10px;
  border-radius:12px;
}
.nav a:hover{ background:rgba(15,20,18,.06); }
.nav__cta{
  background:var(--sage);
  color:var(--sage-ink);
  font-weight:650;
}
.nav__cta:hover{ background:rgba(155,174,154,.85); }

/* Language */
.lang{
  display:flex;
  gap:8px;
  background:rgba(255,255,255,.6);
  border:1px solid var(--line);
  padding:6px;
  border-radius:999px;
}
.lang__btn{
  border:0;
  background:transparent;
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:650;
  font-size:12px;
  color:rgba(15,20,18,.72);
}
.lang__btn.is-active{
  background:var(--ink);
  color:var(--bg);
}

/* Hero */
.hero{
  padding:54px 0 28px;
  background:
    linear-gradient(180deg, rgba(15,20,18,.70), rgba(15,20,18,.55)),
    url("hero.jpg") center/cover no-repeat;
  color:#fff;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:stretch;
}
.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.18);
  border-radius:999px;
  font-size:12px;
}
.hero h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height:1.05;
  letter-spacing:-.6px;
}
.lead{
  margin:0 0 18px;
  font-size: clamp(16px, 1.5vw, 18px);
  color: rgba(255,255,255,.92);
  max-width: 60ch;
}
.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:12px 18px;
  font-weight:700;
  border:1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn--primary{
  background: linear-gradient(180deg, var(--sage), rgba(169,184,167,.86));
  color: var(--sage-ink);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.btn--primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}
.btn--secondary{
  background:#fff;
  color:var(--ink);
  border-color: rgba(255,255,255,.55);
}
.btn--ghost{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.26);
  color:#fff;
}
.btn--ghost:hover{
  background: rgba(255,255,255,.14);
}
.btn--full{ width:100%; }

.trust{
  display:flex;
  gap:14px;
  margin-top:18px;
  flex-wrap:wrap;
}
.trust__item{
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding:10px 12px;
  display:flex;
  align-items:baseline;
  gap:10px;
}
.trust__kpi{
  font-weight:900;
  font-size:18px;
}
.trust__label{
  font-size:12px;
  color:rgba(255,255,255,.88);
}

/* Cards */
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.hero__card{
  padding:18px 18px 16px;
  align-self:stretch;
}
.card__title{
  margin:0 0 10px;
  font-size:16px;
}
.checklist{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.checklist li{
  position:relative;
  padding-left:26px;
  color:rgba(15,20,18,.85);
  font-size:14px;
}
.checklist li::before{
  content:"✓";
  position:absolute;
  left:0; top:0;
  width:18px; height:18px;
  display:grid; place-items:center;
  border-radius:6px;
  background: rgba(155,174,154,.25);
  color: rgba(15,20,18,.9);
  font-weight:900;
}
.card__note{
  margin:14px 0 14px;
  padding:12px 12px;
  background: rgba(155,174,154,.16);
  border:1px solid rgba(155,174,154,.28);
  border-radius: 14px;
  color: rgba(15,20,18,.82);
  font-size:13px;
}
.micro{
  margin:10px 0 0;
  font-size:12px;
  color: rgba(15,20,18,.58);
}

/* Sections */
.section{
  padding:56px 0;
}
.section--alt{
  background:rgba(255,255,255,.52);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{
  margin-bottom:22px;
}
.section__head h2{
  margin:0 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing:-.3px;
}
.muted{ color:var(--muted); }

.content-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.prose p{ margin:0 0 12px; }
.info-cards{
  display:grid;
  gap:12px;
}
.mini{
  padding:14px 14px;
}
.mini h3{ margin:0 0 6px; font-size:14px; }

/* Features grid */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.feature{ padding:16px; }
.feature h3{ margin:0 0 6px; font-size:15px; }
.feature p{ margin:0; font-size:13px; }

/* Steps */
.steps{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}
.step{
  display:grid;
  grid-template-columns: 72px 1fr;
  gap:12px;
  padding:14px;
}
.step__num{
  width:56px; height:56px;
  border-radius:16px;
  display:grid; place-items:center;
  background: rgba(155,174,154,.22);
  border:1px solid rgba(155,174,154,.35);
  font-weight:900;
  color: rgba(15,20,18,.9);
}
.step__body h3{
  margin:0 0 4px;
  font-size:15px;
}
.step__body p{ margin:0; font-size:13px; }

/* Before/After slider */
.ba{ margin-top:16px; padding:16px; }
.ba__head h3{ margin:0 0 4px; font-size:15px; }
.ba__head p{ margin:0 0 10px; font-size:13px; }
.ba__wrap{
  position:relative;
  height: 240px;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background: linear-gradient(135deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
}
.ba__before, .ba__after{
  position:absolute;
  inset:0;
}
.ba__before{
  background:
    radial-gradient(circle at 30% 30%, rgba(0,0,0,.08), transparent 55%),
    linear-gradient(135deg, rgba(15,20,18,.18), rgba(15,20,18,.06));
}
.ba__after{
  background:
    radial-gradient(circle at 70% 40%, rgba(255,255,255,.35), transparent 55%),
    linear-gradient(135deg, rgba(155,174,154,.45), rgba(155,174,154,.20));
  clip-path: inset(0 0 0 50%);
}
.ba__label{
  position:absolute;
  top:12px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:750;
  background:rgba(255,255,255,.85);
  border:1px solid var(--line);
}
.ba__before .ba__label{ left:12px; }
.ba__after .ba__label{ right:12px; }

.ba__range{
  position:absolute;
  inset:auto 14px 14px 14px;
  width: calc(100% - 28px);
}
.ba__handle{
  position:absolute;
  top:0; bottom:0;
  width:2px;
  background:rgba(255,255,255,.85);
  left:50%;
  transform:translateX(-1px);
  pointer-events:none;
}

/* Candidate */
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.grid-2 .card{ padding:16px; }
.bullets{
  margin:0;
  padding-left:18px;
  color: rgba(15,20,18,.84);
}
.bullets li{ margin:8px 0; }

/* Accordion */
.accordion{
  display:grid;
  gap:10px;
}
.acc-item{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:var(--surface);
  box-shadow: var(--shadow-soft);
}
.acc-btn{
  width:100%;
  text-align:left;
  padding:14px 14px;
  border:0;
  background:transparent;
  cursor:pointer;
  font-weight:800;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.acc-btn::after{
  content:"+";
  font-weight:900;
  opacity:.75;
}
.acc-btn[aria-expanded="true"]::after{ content:"–"; }
.acc-panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .22s ease;
}
.acc-panel p{
  margin:0;
  padding:0 14px 14px;
  color: rgba(15,20,18,.78);
  font-size:13px;
}

/* Contact */
.contact-card{
  padding:18px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:start;
}
.contact-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.contact-mini{
  border-left:1px solid var(--line);
  padding-left:14px;
}
.mini-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.mini-row:last-child{ border-bottom:0; }
.mini-k{ color: rgba(15,20,18,.62); font-size:12px; }
.mini-v{ font-weight:750; font-size:12px; }

/* Sticky CTA */
.sticky-cta{
  position:fixed;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:999px;
  box-shadow: var(--shadow);
  z-index:60;
}
.sticky-cta__btn{
  background:var(--sage);
  color:var(--sage-ink);
  padding:10px 14px;
  border-radius:999px;
  font-weight:900;
}
.sticky-cta__close{
  width:32px; height:32px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:0;
}

/* Footer */
.footer{
  padding:26px 0 34px;
  color: rgba(15,20,18,.70);
}
.footer__grid{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}
.footer__brand{ font-weight:900; color: rgba(15,20,18,.90); }
.footer__links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.footer__links a{
  padding:8px 10px;
  border-radius:12px;
}
.footer__links a:hover{ background:rgba(15,20,18,.06); }

/* Responsive */
@media (max-width: 960px){
  .hero__grid{ grid-template-columns: 1fr; }
  .content-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .contact-card{ grid-template-columns: 1fr; }
  .contact-mini{ border-left:0; padding-left:0; border-top:1px solid var(--line); padding-top:12px; }
  .topbar__left{ flex-wrap:wrap; }
  .nav{ flex-wrap:wrap; }
}
/* Contact form */
.contact-form{
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.form-row{ display:grid; gap:6px; }

.form-label{
  font-size: 12px;
  font-weight: 800;
  color: rgba(15,20,18,.78);
}

.form-input{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,21,20,.14);
  background: rgba(255,255,255,.92);
  font: inherit;
  color: rgba(15,20,18,.92);
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
}

.form-input:focus{
  outline: 2px solid rgba(169,184,167,.6);
  outline-offset: 2px;
}

.form-textarea{ resize: vertical; min-height: 120px; }

.hp{ display:none !important; } /* honeypot */

/* Modal (sent / error) */
.mdd-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.mdd-modal.is-open{ display:block; }

.mdd-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(17,21,20,.55);
  backdrop-filter: blur(6px);
}

.mdd-modal__dialog{
  position: relative;
  width: min(560px, 92vw);
  margin: 10vh auto 0;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,21,20,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mdd-modal__head{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 16px 16px 10px;
  border-bottom: 1px solid rgba(17,21,20,.10);
}

.mdd-modal__icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight: 900;
  border: 1px solid rgba(17,21,20,.12);
  background: rgba(169,184,167,.22);
}

.mdd-modal__icon.is-ok{
  background: rgba(169,184,167,.28);
}

.mdd-modal__icon.is-err{
  background: rgba(217,200,176,.28);
}

.mdd-modal__titles{ flex: 1; }

.mdd-modal__title{
  margin:0;
  font-size: 16px;
  letter-spacing: -.2px;
}

.mdd-modal__subtitle{
  margin: 2px 0 0;
  font-size: 13px;
  color: rgba(17,21,20,.70);
}

.mdd-modal__close{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(17,21,20,.12);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 0;
}

.mdd-modal__body{
  padding: 14px 16px 16px;
}

.mdd-modal__message{
  margin: 0 0 12px;
  color: rgba(17,21,20,.82);
  font-size: 14px;
}

.mdd-modal__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}

.mdd-modal__actions .btn{
  min-width: 140px;
}

@media (max-width: 520px){
  .mdd-modal__dialog{ margin-top: 8vh; }
  .mdd-modal__actions .btn{ width: 100%; }
}
