/* V12c: Contact / Request a quote: one-screen page, bubble ring at the centre.
   Loaded only on /contact/ and /es/contacto/. Do not use on other pages. */

/* ---- page chrome ---- */
body.cq12{
  background:#0B1220;
  color:#fff;
}
body.cq12 .sn9{display:none !important}
body.cq12 .pr9{display:none !important}
body.cq12 .contact.ct9{display:none !important} /* safety; the block is removed from the HTML */
body.cq12 a.wa{display:none} /* form already has WhatsApp; avoids covering the send buttons */

/* Logo sits on the bright surface of the photo: a short navy fade, no hard bar. */
body.cq12 .cq12-visual::before{
  content:"";
  position:absolute;left:0;right:0;top:0;height:clamp(96px,18vh,160px);
  z-index:2;pointer-events:none;
  background:linear-gradient(180deg,rgba(11,18,32,.62) 0%,rgba(11,18,32,.22) 46%,rgba(11,18,32,0) 100%);
}

.cq12-main{display:block;margin:0;padding:0}
.cq12-page{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:100svh;
  background:#0B1220;
}

/* ---- photo + wordplay ---- */
.cq12-visual{
  position:relative;
  margin:0;
  width:100%;
  height:min(46svh, 400px);
  flex:0 0 auto;
  overflow:hidden;
  background:#0B1220;
}
.cq12-visual picture,
.cq12-visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:53.8% 49.1%;
}
.cq12-line{
  position:absolute;inset:0;
  z-index:3;
  margin:0;
  pointer-events:none;
  font-family:var(--ff, Poppins, "Helvetica Neue", Arial, sans-serif);
  font-weight:700;
  letter-spacing:-.045em;
  line-height:.86;
  text-align:center;
  text-wrap:balance;
}
.cq12-a,
.cq12-b{
  position:absolute;
  left:4%;
  right:4%;
  display:block;
  font-size:clamp(34px, 11.2vw, 64px);
}
.cq12-a{
  /* Bottom edge of the line sits just above the ring (ring top ≈ 43.7%). */
  bottom:57.2%;
  color:#fff;
  text-shadow:0 2px 18px rgba(11,18,32,.35);
}
.cq12-b{
  /* Top edge of the line sits just below the ring (ring bottom ≈ 54%). */
  top:55%;
  color:transparent;
  -webkit-text-stroke:1.2px #fff;
  paint-order:stroke;
  text-shadow:none;
}

/* ---- form column ---- */
.cq12-form{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding:22px max(20px, env(safe-area-inset-right, 0px)) 28px max(20px, env(safe-area-inset-left, 0px));
  padding-bottom:calc(28px + env(safe-area-inset-bottom, 0px));
  max-width:640px;
  width:100%;
  margin:0 auto;
  box-sizing:border-box;
}
.cq12-form .lbl{
  margin:0 0 8px;
  color:rgba(255,255,255,.55);
}
.cq12-form h2{
  margin:0 0 8px;
  font-family:var(--ff, Poppins, "Helvetica Neue", Arial, sans-serif);
  font-weight:700;
  font-size:clamp(32px, 8.4vw, 48px);
  letter-spacing:-.04em;
  line-height:.95;
  color:#fff;
}
.cq12-lede{
  margin:0 0 18px;
  max-width:36ch;
  font-weight:300;
  font-size:clamp(14px, 3.5vw, 16px);
  line-height:1.45;
  color:rgba(255,255,255,.78);
}
.cq12-form .qform p{margin:0 0 10px}
.cq12-form .qform label{
  display:block;
  color:#fff;
  font-weight:500;
  font-size:12px;
  letter-spacing:.04em;
  margin-bottom:4px;
}
.cq12-form .qform input,
.cq12-form .qform select,
.cq12-form .qform textarea{
  display:block;
  width:100%;
  min-height:44px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:4px;
  background:#070b14;
  color:#fff;
  font:400 16px/1.4 var(--ff, Poppins, sans-serif);
  transition:border-color .3s;
  box-sizing:border-box;
}
.cq12-form .qform select{
  appearance:none;
  -webkit-appearance:none;
  background:#070b14 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat;
  padding-right:36px;
}
.cq12-form .qform textarea{
  resize:vertical;
  min-height:88px;
  max-height:28svh;
  padding-top:10px;
}
.cq12-form .qform input:focus,
.cq12-form .qform select:focus,
.cq12-form .qform textarea:focus{
  outline:none;
  border-color:#fff;
}
.cq12-form .qform ::placeholder{color:#777}
.cq12-form .row2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.cq12-form .qbtns{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.cq12-form .qbtns .btn{min-height:44px;padding:8px 20px;font-size:14px}
.cq12-form .qnote{
  color:rgba(255,255,255,.5);
  font-size:12px;
  line-height:1.45;
  margin:12px 0 0 !important;
}
.cq12-form .qnote a{
  color:#fff;
  text-decoration:underline;
  display:inline;
  min-height:0;
  white-space:nowrap;
}

/* ---- desktop: one screen, no scroll, photo column + form ---- */
@media (min-width:1024px) and (min-height:820px){
  html.cq12, body.cq12{
    height:100%;
    overflow:hidden;
  }
  .cq12-page{
    flex-direction:row;
    align-items:stretch;
    height:100dvh;
    min-height:100dvh;
    max-height:100dvh;
    overflow:hidden;
  }
  .cq12-visual{
    width:auto;
    height:100dvh;
    flex:0 0 auto;
  }
  .cq12-visual picture{width:auto;height:100%;}
  .cq12-visual img{
    width:auto;
    height:100dvh;
    max-width:none;
    object-fit:contain;
    object-position:50% 50%;
  }
  .cq12-a,
  .cq12-b{
    font-size:clamp(44px, 5vw, 86px);
    left:3%;
    right:3%;
  }
  .cq12-b{-webkit-text-stroke-width:1.45px}
  .cq12-form{
    flex:1 1 auto;
    justify-content:center;
    max-width:none;
    width:auto;
    margin:0;
    padding:0 clamp(36px, 4.2vw, 80px) 28px;
    padding-top:clamp(100px, 14vh, 132px);
    padding-right:max(clamp(36px, 4.2vw, 80px), env(safe-area-inset-right, 0px));
  }
  .cq12-form-in{
    width:100%;
    max-width:560px;
  }
  .cq12-form h2{font-size:clamp(40px, 3.6vw, 64px);margin:0 0 10px}
  .cq12-lede{margin:0 0 22px;font-size:16px}
  .cq12-form .qform p{margin:0 0 12px}
  .cq12-form .qform label{font-size:13px;margin-bottom:5px}
  .cq12-form .qform input,
  .cq12-form .qform select,
  .cq12-form .qform textarea{min-height:44px}
  .cq12-form .qform textarea{min-height:96px;max-height:18vh}
  .cq12-form .row2{gap:0 18px}
  .cq12-form .qbtns .btn{min-height:48px;padding:10px 24px;font-size:15px}
}

/* Taller desktops (1920×1080): a little more air, still one screen. */
@media (min-width:1024px) and (min-height:1000px){
  .cq12-form{padding-top:clamp(110px, 13vh, 150px)}
  .cq12-form .qform textarea{min-height:120px;max-height:22vh}
  .cq12-a, .cq12-b{font-size:clamp(56px, 5.2vw, 96px)}
}

/* Mid-height desktops (1440×900 class): keep the form tight so nothing clips. */
@media (min-width:1024px) and (min-height:820px) and (max-height:940px){
  .cq12-form{padding-top:100px;padding-bottom:20px}
  .cq12-form h2{font-size:clamp(36px, 3.2vw, 52px)}
  .cq12-lede{margin:0 0 16px}
  .cq12-form .qform p{margin:0 0 10px}
  .cq12-form .qform textarea{min-height:80px;max-height:14vh}
  .cq12-form .qnote{margin-top:10px !important}
  .cq12-a, .cq12-b{font-size:clamp(42px, 4.6vw, 72px)}
}

@media (max-width:599px){
  .cq12-form .row2{grid-template-columns:1fr}
  .cq12-form .qbtns .btn{flex:1 1 100%}
  .cq12-visual{height:min(42svh, 360px)}
  .cq12-a, .cq12-b{font-size:clamp(30px, 10.4vw, 48px)}
}
