:root{--navy:#08263c;--deep:#061f32;--gold:#b58d3d;--gold2:#ddc27e;--paper:#f7f7f5;--ink:#0c2d45;--muted:#687a88;--line:#e1e4e5;--shadow:0 12px 30px #08263c12}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:18px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.55 "DM Sans",Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.container{width:min(1180px,calc(100% - 64px));margin:auto}.kicker{display:flex;align-items:center;gap:10px;color:var(--gold);font-size:10px;font-weight:600;letter-spacing:1.3px;text-transform:uppercase}.kicker:before{content:"";width:23px;height:2px;background:var(--gold)}h2{font:400 clamp(30px,3vw,42px)/1.12 "Playfair Display",Georgia,serif;color:var(--navy);margin:13px 0 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 18px;border:1px solid var(--gold);border-radius:99px;background:var(--gold);color:white;font-size:11px;transition:.2s}.btn:hover{background:#96712e;transform:translateY(-1px)}.arrow{font-size:16px;line-height:1}
header{position:absolute;inset:0 0 auto;z-index:10;color:white}.nav{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff20}.brand{display:flex;align-items:center;gap:13px;color:white}.brand-symbol{width:43px;height:43px;border:1px solid var(--gold2);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--gold2);font:14px/12px "Playfair Display",Georgia,serif;position:relative}.brand-symbol:after{content:"";position:absolute;inset:4px;border:1px solid #ddc27e40}.brand-type{font:21px/1 "Playfair Display",Georgia,serif;letter-spacing:2px}.brand-type small{display:block;font:7px/1.8 "DM Sans",sans-serif;letter-spacing:1px;white-space:nowrap}.nav-links{display:flex;align-items:center;gap:36px;font-size:10px}.nav-links>a:not(.btn){padding:9px 0;opacity:.9;position:relative}.nav-links>a:not(.btn):after{content:"";position:absolute;bottom:0;left:0;width:0;height:1px;background:var(--gold2);transition:.2s}.nav-links>a:hover:after,.nav-links>a.active:after{width:100%}.menu-toggle{display:none;background:transparent;color:white;border:1px solid #ffffff70;border-radius:12px;padding:8px 11px}
.hero{position:relative;min-height:520px;height:min(700px,39.1vw);display:flex;align-items:center;overflow:hidden;background:var(--navy);border-radius:0 0 18px 18px;color:white}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,#051e30 0%,#051e30f2 28%,#051e30c7 47%,#051e302e 73%,#051e3008 100%),linear-gradient(0deg,#051e3040,transparent 40%),url("../img/FondoHero.avif") center 47%/cover no-repeat}.hero-content{position:relative;padding-top:66px;padding-bottom:40px}.hero-copy{max-width:510px}.hero h1{font:400 clamp(39px,4vw,57px)/1.07 "Playfair Display",Georgia,serif;letter-spacing:-1px;margin:12px 0 9px;color:#f7f7f6}.hero h1 span{display:block;color:#e2d2aa}.hero-subtitle{max-width:470px;font-size:15px;line-height:1.5;margin:0 0 12px}.hero-description{max-width:415px;font-size:11.5px;line-height:1.8;color:#d0dbe1;margin:0 0 22px}.hero-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.hero-play{width:35px;height:35px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold2);font-size:10px}.hero-link{display:inline-flex;align-items:center;gap:10px;font-size:10px}.hero-bottom{position:absolute;left:0;right:0;bottom:0;border-top:1px solid #ffffff25;background:#041b2c40}.hero-bottom .container{min-height:35px;display:flex;align-items:center;gap:24px;color:#dbe2e6;font-size:8px;letter-spacing:.7px;text-transform:uppercase}.hero-bottom span{display:flex;align-items:center;gap:7px}.hero-bottom span:before{content:"";width:4px;height:4px;background:var(--gold2);border-radius:50%}
section{scroll-margin-top:20px}.services{padding:38px 0 28px;background:var(--paper)}.services-layout{display:grid;grid-template-columns:.78fr 1.22fr;gap:65px;align-items:center}.services-copy{padding:15px 0}.services-copy h2{max-width:390px}.services-copy>p{max-width:390px;font-size:11.5px;color:var(--muted);line-height:1.75;margin:17px 0}.text-link{display:inline-flex;align-items:center;gap:9px;padding-bottom:4px;border-bottom:1px solid var(--gold);font-size:10px;color:var(--navy)}.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.service-card{min-height:88px;padding:13px 15px;display:grid;grid-template-columns:43px 1fr 10px;align-items:start;gap:15px;background:#fff;border:1px solid #f0f0ee;border-radius:38px;box-shadow:0 6px 20px #08263c0b;transition:.2s}.service-card:hover{transform:translateY(-3px);border-color:#d8c38f;box-shadow:var(--shadow)}.service-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid #d8c38f;border-radius:50%;color:var(--navy)}.service-icon svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}.service-number{display:block;color:var(--gold);font:12px "Playfair Display",Georgia,serif;margin-bottom:3px}.service-card h3{font-size:10.5px;font-weight:500;line-height:1.45;margin:0;color:var(--navy)}.service-arrow{align-self:end;color:var(--navy);font-size:14px}
.process{position:relative;padding:0 0 28px;background:#f0f1f0;overflow:hidden;border-radius:0 100px 0 0}.process:before{content:"";position:absolute;width:260px;height:260px;left:-145px;top:-15px;border:1px solid var(--gold);border-radius:50%}.process-layout{display:grid;grid-template-columns:.64fr 1.36fr;gap:36px;align-items:center;position:relative}.process-photo{height:276px;overflow:hidden;border-radius:58px 10px;background:linear-gradient(#08263c0c,#08263c0c),url("../img/Proceso.avif") center/cover}.process-copy{padding:26px 0 16px}.process-copy h2{font-size:clamp(28px,3vw,38px)}.process-copy>p{max-width:600px;color:var(--muted);font-size:11px;line-height:1.65;margin:7px 0 23px}.steps{display:grid;grid-template-columns:repeat(4,1fr)}.step{padding:0 14px;border-left:1px solid #d9dfe1}.step:first-child{padding-left:0;border-left:0}.step-top{height:30px;display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.step-num{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:var(--gold);color:white;font:11px "Playfair Display",Georgia,serif}.step-arrow{color:var(--gold);font-size:14px}.step h3{font-size:10.5px;margin:0 0 6px;color:var(--navy)}.step p{font-size:9.5px;line-height:1.6;color:var(--muted);margin:0}
.contact{padding:18px 0 16px;background:var(--paper)}.contact-shell{display:grid;grid-template-columns:.82fr 1.18fr;gap:22px;padding:20px 24px 20px 34px;background:var(--navy);border-radius:43px;position:relative;overflow:hidden;color:white}.contact-shell:before{content:"";position:absolute;width:310px;height:310px;border:1px solid #b58d3d48;border-radius:50%;left:37%;bottom:-250px}.contact-copy{padding:7px 5px 5px 0;position:relative}.contact-copy h2{color:white;max-width:350px;font-size:clamp(28px,3vw,38px)}.contact-copy>p{max-width:355px;font-size:11.5px;color:#d0d9df;line-height:1.7;margin:11px 0 16px}.contact-detail{display:grid;grid-template-columns:31px 1fr;gap:11px;align-items:start;margin:10px 0;font-size:10px;color:#c9d4db;line-height:1.55}.detail-icon{width:29px;height:29px;display:grid;place-items:center;border:1px solid #b58d3d80;color:var(--gold2);border-radius:50%;font-size:13px}.contact-detail strong{display:block;font-weight:500;color:#e8edf0;font-size:10.5px}.contact-form{position:relative;background:#f8f8f7;color:var(--navy);border-radius:24px;padding:17px 24px 16px}.contact-form h3{font:400 20px "Playfair Display",Georgia,serif;margin:0 0 1px}.form-note{font-size:8px;color:#667784;margin:0 0 12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}.field label{display:block;font-size:8.5px;color:#3e5363;margin-bottom:3px}.field input,.field select,.field textarea{width:100%;min-width:0;border:1px solid #dfe3e5;background:transparent;border-radius:7px;padding:7px 9px;color:var(--navy);font-size:9px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 2px #b58d3d18}.field input::placeholder,.field textarea::placeholder{color:#8c9aa3}.field textarea{height:61px;resize:vertical}.field.full{grid-column:1/-1}.form-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}.consent{display:flex;align-items:flex-start;gap:5px;font-size:8px;color:#4f6473;line-height:1.4}.consent input{accent-color:var(--gold);margin:1px 0 0}.form-bottom .btn{font-size:9px;padding:9px 15px}.form-status{display:none;color:#426746;font-size:9px;margin:9px 0 0}
footer{background:var(--navy);color:#d6dfe4;padding:17px 0 11px}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:14px}.footer-top .brand-symbol{width:41px;height:41px}.footer-nav{display:flex;align-items:center;gap:29px;font-size:9px}.footer-nav a:hover{color:var(--gold2)}.socials{display:flex;gap:10px}.socials a{width:22px;height:22px;display:grid;place-items:center;background:#ffffff14;border-radius:3px;font-size:10px}.footer-bottom{border-top:1px solid #b58d3d75;padding-top:10px;display:flex;justify-content:space-between;gap:20px;color:#b7c4cd;font-size:8px}.back-top{position:fixed;right:14px;bottom:12px;z-index:9;width:29px;height:29px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;background:#f8f8f7;color:var(--navy);font-size:13px;box-shadow:var(--shadow)}
@media(max-width:900px){.container{width:calc(100% - 42px)}.nav-links{gap:20px}.services-layout{grid-template-columns:.75fr 1.25fr;gap:25px}.service-card{grid-template-columns:35px 1fr 8px;gap:9px;padding:12px 11px;border-radius:28px}.service-icon{width:35px;height:35px}.process-layout{grid-template-columns:.55fr 1.45fr;gap:22px}.process-photo{height:255px}.step{padding-inline:9px}.contact-shell{padding:19px;grid-template-columns:.75fr 1.25fr;gap:15px}.contact-form{padding:17px}}
@media(max-width:650px){.container{width:calc(100% - 30px)}.nav{height:70px}.brand-symbol{width:39px;height:39px}.brand-type{font-size:18px}.menu-toggle{display:block}.nav-links{display:none;position:absolute;top:76px;left:15px;right:15px;padding:14px;background:white;color:var(--navy);border-radius:18px;box-shadow:var(--shadow);align-items:stretch;gap:0;flex-direction:column}.nav-links.open{display:flex}.nav-links>a:not(.btn){padding:11px 8px}.nav-links .btn{margin-top:7px;color:white;justify-content:center}.hero{min-height:690px;height:auto;border-radius:0 0 16px 16px;align-items:flex-start}.hero-bg{background-image:linear-gradient(90deg,#051e30f7,#051e30c7),linear-gradient(0deg,#051e3059,transparent),url("../img/FondoHero.avif");background-position:58% center}.hero-content{padding-top:125px;padding-bottom:110px}.hero h1{font-size:43px}.hero-subtitle{font-size:14px}.hero-bottom .container{min-height:45px;flex-wrap:wrap;gap:7px 15px;padding-block:9px}.hero-bottom span{font-size:7px}.services{padding:46px 0 34px}.services-layout{grid-template-columns:1fr;gap:24px}.services-copy{padding:0}h2{font-size:33px}.services-copy h2 br{display:none}.services-copy>p{margin:13px 0}.service-grid{gap:9px}.service-card{min-height:84px;grid-template-columns:37px 1fr 8px;gap:10px;padding:12px 10px}.service-icon{width:36px;height:36px}.service-card h3{font-size:9.5px}.process{border-radius:0 50px 0 0;padding-bottom:35px}.process-layout{grid-template-columns:1fr;gap:18px}.process-copy{padding:36px 0 0}.process-photo{order:2;height:235px;border-radius:42px 8px}.process-copy h2{font-size:33px}.steps{grid-template-columns:1fr 1fr;row-gap:21px}.step,.step:first-child{border-left:1px solid #d9dfe1;padding:0 0 0 12px}.step h3{font-size:10px}.step p{font-size:9px}.contact{padding:18px 0}.contact-shell{grid-template-columns:1fr;padding:20px 12px 12px;border-radius:28px;gap:16px}.contact-copy{padding:5px 10px}.contact-copy h2{font-size:33px}.contact-copy>p{font-size:11px}.contact-detail{margin:9px 0}.contact-form{padding:19px 14px;border-radius:19px}.form-grid{grid-template-columns:1fr;gap:10px}.field.full{grid-column:auto}.field textarea{height:75px}.form-bottom{align-items:stretch;flex-direction:column}.form-bottom .btn{width:100%}.footer-top{align-items:flex-start;flex-wrap:wrap}.footer-nav{order:3;width:100%;flex-wrap:wrap;gap:16px}.footer-bottom{align-items:flex-start;flex-direction:column;gap:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* ===== BPF · UX responsive ===== */
*:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:hidden}
img,svg{max-width:100%}
a,button{touch-action:manipulation}


/* Tablet */
@media (min-width:651px) and (max-width:1024px){
  .container{width:calc(100% - 48px)}
  .nav{height:74px}
  .nav-links{gap:clamp(12px,2vw,24px)}
  .hero{height:600px;min-height:570px}
  .hero-content{padding-top:88px}
  .hero-copy{max-width:480px}
  .services-layout{grid-template-columns:.72fr 1.28fr;gap:28px}
  .service-grid{gap:10px}
  .service-card{min-height:96px}
  .process-layout{grid-template-columns:.58fr 1.42fr;gap:26px}
  .process-photo{height:290px}
  .step{padding-inline:10px}
  .contact-shell{grid-template-columns:.78fr 1.22fr;gap:18px;padding:22px}
  .contact-form{padding:20px}
}

/* Móvil */
@media (max-width:650px){
  html{scroll-padding-top:10px}
  section[id]{scroll-margin-top:10px}
  .nav-links>a:not(.btn){min-height:44px;display:flex;align-items:center}
  .nav-links .btn,.btn{min-height:44px}
  .hero-actions .btn{width:auto}
  .service-card{min-height:92px}
  .contact-form input,.contact-form select{min-height:44px;font-size:16px}
  .contact-form textarea{font-size:16px;min-height:90px}
  .back-top{width:42px;height:42px;right:12px;bottom:12px}
}

/* Teléfonos compactos */
@media (max-width:380px){
  .container{width:calc(100% - 24px)}
  .brand-type{font-size:16px;letter-spacing:1.3px}
  .brand-type small{font-size:6px}
  .hero h1{font-size:37px}
  .hero-subtitle{font-size:13px}
  .service-grid{grid-template-columns:1fr}
  .service-card{grid-template-columns:42px 1fr 12px;min-height:80px;padding:12px 15px}
  .service-icon{width:38px;height:38px}
  .steps{grid-template-columns:1fr}
  .step,.step:first-child{padding:0 0 0 12px}
  .step-top{margin-bottom:6px}
  .footer-nav{gap:13px}
}

/* Respeta usuarios que prefieren menos movimiento */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}




/* ========================================
   MODAL DE CONFIRMACIÓN
========================================= */

.success-modal {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  z-index: 9999;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity .3s ease,
    visibility .3s ease;
}


/* Fondo oscuro */

.success-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(4, 24, 39, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}


/* Ventana */

.success-modal-content {
  position: relative;

  width: min(500px, 100%);

  padding: 48px 42px 40px;

  background: #ffffff;

  border-radius: 24px;

  text-align: center;

  box-shadow:
    0 30px 80px rgba(4, 24, 39, 0.30);

  transform: translateY(25px) scale(.97);

  transition:
    transform .35s cubic-bezier(.2,.8,.2,1);

  z-index: 1;
}


/* Modal visible */

.success-modal.show {
  opacity: 1;
  visibility: visible;
}

.success-modal.show .success-modal-content {
  transform: translateY(0) scale(1);
}


/* Icono */

.success-modal-icon {
  width: 64px;
  height: 64px;

  margin: 0 auto 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--gold);
  color: #ffffff;

  font-size: 28px;
  font-weight: 600;
}


/* Etiqueta */

.success-modal-label {
  display: block;

  margin-bottom: 9px;

  color: var(--gold);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* Título */

.success-modal-content h3 {
  margin: 0 0 14px;

  color: var(--navy);

  font-family: "Playfair Display", serif;

  font-size: 30px;
  font-weight: 600;
}


/* Texto */

.success-modal-content p {
  max-width: 390px;

  margin: 0 auto 28px;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.75;
}


/* Botón */

.success-modal-button {
  min-width: 145px;

  border: none;
  cursor: pointer;
}


/* Cerrar */

.success-modal-close {
  position: absolute;

  top: 17px;
  right: 20px;

  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;

  background: transparent;

  color: #80909b;

  font-size: 25px;
  font-weight: 300;

  cursor: pointer;

  transition:
    background .2s ease,
    color .2s ease;
}

.success-modal-close:hover {
  background: #f2f3f3;
  color: var(--navy);
}


/* Evita scroll mientras el modal está abierto */

body.modal-open {
  overflow: hidden;
}


/* ========================================
   RESPONSIVE
========================================= */

@media (max-width: 650px) {

  .success-modal {
    padding: 18px;
  }

  .success-modal-content {
    padding: 42px 25px 30px;

    border-radius: 20px;
  }

  .success-modal-icon {
    width: 56px;
    height: 56px;

    font-size: 24px;
  }

  .success-modal-content h3 {
    font-size: 25px;
  }

  .success-modal-content p {
    font-size: 13px;
    line-height: 1.65;
  }

  .success-modal-button {
    width: 100%;
    min-height: 46px;
  }

}



/* Turnstile y mensaje local de estado */
.turnstile-field{display:flex;justify-content:flex-start;margin:6px 0 14px;}
.form-status{display:block;margin:12px 0 0;color:var(--ink);font-size:13px;line-height:1.6;}
@media(max-width:380px){.turnstile-field{max-width:100%;overflow:hidden}}

/* Proyecto Ar: política y ventana informativa de privacidad */
.privacy-intro{font-size:11px;line-height:1.65;color:#435869;margin:0;max-width:340px}
.privacy-intro a,.privacy-modal-link{color:#876522;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.data-minimization{font-size:10px;color:#657480;line-height:1.55;margin:10px 0 0}
.privacy-modal{position:fixed;inset:0;z-index:120;display:none;align-items:center;justify-content:center;padding:20px}
.privacy-modal.show{display:flex}
.privacy-modal-backdrop{position:absolute;inset:0;background:rgba(3,19,30,.79);backdrop-filter:blur(5px)}
.privacy-modal-content{position:relative;max-width:620px;width:100%;max-height:min(88vh,800px);overflow-y:auto;overscroll-behavior:contain;background:#f9f9f7;color:var(--navy);border-radius:22px;padding:35px 38px 26px;box-shadow:0 24px 90px #0005}
.privacy-modal-label{font-size:10px;letter-spacing:1.6px;color:var(--gold);font-weight:700}
.privacy-modal-content h2{font-size:clamp(25px,3.2vw,34px);margin:12px 0 19px}
.privacy-modal-copy p{font-size:13px;color:#435361;line-height:1.75;margin:0 0 13px}
.privacy-modal-link{display:inline-block;font-size:12px;margin:3px 0 19px}
.privacy-modal-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.privacy-modal-actions button{min-height:43px;padding:10px 19px;border-radius:30px;cursor:pointer;font-size:12px}
.privacy-back{background:transparent;border:1px solid #a9b2b9;color:var(--navy)}
.privacy-modal-actions button:disabled{opacity:.6;cursor:wait}
.privacy-modal-close{position:absolute;top:12px;right:16px;border:0;background:transparent;color:#697784;font-size:29px;cursor:pointer}
.privacy-modal-footnote{margin:17px 0 0;font-size:10px;line-height:1.5;color:#637584}
.privacy-document{background:#f8f8f6;color:var(--navy)}
.privacy-document header{position:relative;background:var(--navy)}
.privacy-document .legal-main{max-width:880px;margin:0 auto;padding:65px 30px 85px}
.privacy-document .legal-kicker{text-transform:uppercase;letter-spacing:2px;color:var(--gold);font-size:11px;font-weight:700}
.privacy-document h1{font:400 clamp(35px,5vw,54px)/1.15 'Playfair Display',Georgia,serif;margin:12px 0 25px}
.privacy-document .legal-intro{font-size:15px;line-height:1.75;color:#485c6c;margin-bottom:35px}
.privacy-document .legal-section{border-top:1px solid #dcdcd6;padding:22px 0 13px}
.privacy-document .legal-section h2{font-size:25px;margin:0 0 12px}
.privacy-document .legal-section p,.privacy-document .legal-section li{font-size:14px;line-height:1.85;color:#455766}
.privacy-document .legal-section li{margin-bottom:5px}
.privacy-document a.legal-source{color:#926d2b;text-decoration:underline;text-underline-offset:3px}
.privacy-document .legal-alert{padding:15px 18px;background:#f1eadd;border-left:3px solid var(--gold);font-size:13px;line-height:1.7}
@media(max-width:650px){.privacy-intro{max-width:none}.privacy-modal{padding:12px}.privacy-modal-content{padding:34px 21px 22px;max-height:91dvh;border-radius:17px}.privacy-modal-copy p{font-size:12px}.privacy-modal-actions{flex-direction:column-reverse}.privacy-modal-actions button{width:100%}.privacy-document .legal-main{padding:43px 20px 60px}}

/* Ajustes seguros de rendimiento y accesibilidad ---probado (2026-10). */
@media (max-width:650px) {
  .hero h1 { font-size:clamp(35px,10vw,43px); }
}
@media (max-width:380px) {
  .hero h1 { font-size:clamp(32px,9.8vw,37px); }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
