/* Contacto global · Cartonajes Sánchez */
body .cs-contacto-global,body .cs-contacto-global *{
  box-sizing:border-box;
}

body .cs-contacto-global{
  --cg-b:#7A232B;
  --cg-bdark:#601920;
  --cg-ink:#292522;
  --cg-ivory:#F8F4EE;
  --cg-sand:#E8DDD0;
  --cg-kraft:#B99A75;
  --cg-white:#fff;

  font-family:Poppins,Arial,Helvetica,sans-serif;
  background:var(--cg-ivory);
  padding:70px 24px;
  color:var(--cg-ink);
}

body .cs-contacto-global a{
  text-decoration:none;
}

body .cs-contacto-global .cg-shell{
  width:100%;
  max-width:1380px;
  margin:0 auto;

  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:0;

  background:#fff;
  border-radius:24px;
  overflow:hidden;

  box-shadow:0 18px 55px rgba(41,37,34,.09);
}

/* PANEL IZQUIERDO VINOTINTO */

body .cs-contacto-global .cg-content{
  position:relative;
  padding:clamp(35px,4.5vw,72px);

  background:linear-gradient(
    145deg,
    #7A232B 0%,
    #601920 100%
  );

  color:#fff;
}

body .cs-contacto-global .cg-content:after{
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:50%;
  right:-180px;
  bottom:-180px;
  pointer-events:none;
}

body .cs-contacto-global .cg-kicker{
  margin:0 0 18px;
  color:#E8DDD0;
  font-size:12px;
  letter-spacing:.15em;
  text-transform:uppercase;
  font-weight:700;
}

body .cs-contacto-global h2{
  margin:0;
  color:#fff;
  font-size:clamp(30px,3vw,42px);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.025em;
}

body .cs-contacto-global .cg-text{
  max-width:620px;
  margin:23px 0 30px;
  font-size:16px;
  line-height:1.85;
  color:rgba(255,255,255,.87);
}

/* BOTONES */

body .cs-contacto-global .cg-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

body .cs-contacto-global .cg-button{
  min-height:49px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 23px;
  border-radius:10px;
  font-size:14px;
  font-weight:700;
  transition:background .2s,color .2s;
}

body .cs-contacto-global .cg-button-secondary{
  background:#fff;
  border:1px solid #fff;
  color:var(--cg-b);
}

body .cs-contacto-global .cg-button-secondary:hover{
  background:var(--cg-sand);
  color:var(--cg-bdark);
}

body .cs-contacto-global .cg-button svg{
  width:18px;
  height:18px;
  stroke:currentColor;
  stroke-width:1.9;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* DATOS DE CONTACTO */

body .cs-contacto-global .cg-contact-mini{
  margin-top:38px;
  padding-top:27px;
  border-top:1px solid rgba(255,255,255,.22);

  font-size:14px;
  line-height:1.8;
  color:rgba(255,255,255,.82);
}

body .cs-contacto-global .cg-contact-mini p{
  margin:0 0 15px;
}

body .cs-contacto-global .cg-contact-mini strong{
  color:#fff;
  font-weight:700;
}

body .cs-contacto-global .cg-contact-mini a{
  color:#fff;
  font-weight:700;
  overflow-wrap:anywhere;
}

body .cs-contacto-global .cg-contact-mini a:hover{
  color:var(--cg-sand);
  text-decoration:underline;
}

/* PANEL DERECHO · FORMULARIO */

body .cs-contacto-global .cg-form-card{
  min-width:0;
  padding:clamp(35px,4.5vw,72px);
  background:#fff;
}

body .cs-contacto-global .cg-form-card h3{
  font-size:27px;
  font-weight:700;
  line-height:1.3;
  margin:0 0 12px;
  color:var(--cg-b);
}

body .cs-contacto-global .cg-form-intro{
  margin:0 0 27px;
  color:#59514d;
  font-size:15px;
  line-height:1.7;
}

body .cs-contacto-global .cg-form-content{
  min-width:0;
}









/* RESPONSIVE */

@media(max-width:900px){

  body .cs-contacto-global{
    padding:50px 18px;
  }

  body .cs-contacto-global .cg-shell{
    grid-template-columns:1fr;
  }

  body .cs-contacto-global .cg-content,body .cs-contacto-global .cg-form-card{
    padding:42px 35px;
  }

}

@media(max-width:600px){

  body .cs-contacto-global{
    padding:35px 14px;
  }

  body .cs-contacto-global .cg-shell{
    border-radius:17px;
  }

  body .cs-contacto-global .cg-content,body .cs-contacto-global .cg-form-card{
    padding:32px 23px;
  }

  body .cs-contacto-global h2{
    font-size:32px;
  }

  body .cs-contacto-global .cg-text{
    font-size:15px;
  }

  body .cs-contacto-global .cg-buttons{
    flex-direction:column;
  }

  body .cs-contacto-global .cg-button{
    width:100%;
  }

  body .cs-contacto-global .cg-form-card h3{
    font-size:23px;
  }

}

/* Tipografía propia: evita la fuente global de Elementor en los títulos */
body .cs-contacto-global h2,body .cs-contacto-global h3{font-family:Poppins,Arial,Helvetica,sans-serif}

/* =========================================================
   FORMULARIO NATIVO DE PRESUPUESTO
========================================================= */
body .csq-form{--q-b:#7A232B;--q-bd:#601920;--q-line:#ddd5cd;--q-ink:#292522;--q-muted:#756d67;font-family:Poppins,Arial,Helvetica,sans-serif;color:var(--q-ink)}
body .csq-form *{box-sizing:border-box}
body .csq-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
body .csq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 16px}
body .csq-full{grid-column:1/-1}
body .csq-field{display:flex;flex-direction:column;gap:6px;min-width:0}
body .csq-field>label{font-size:13px;font-weight:600;line-height:1.4;color:var(--q-ink)}
body .csq-field>label b,body .csq-check b{color:var(--q-b);font-weight:700}
body .csq-form input[type=text],body .csq-form input[type=email],body .csq-form input[type=tel],body .csq-form input[type=number],body .csq-form select,body .csq-form textarea{width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--q-line);border-radius:9px;background:#fff;font:inherit;font-size:14px;line-height:1.4;color:var(--q-ink);box-shadow:none;transition:border-color .2s,box-shadow .2s;-webkit-appearance:none;appearance:none;margin:0}
body .csq-form textarea{min-height:130px;resize:vertical}
body .csq-form select{padding-right:38px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237A232B' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center;cursor:pointer}
body .csq-form ::placeholder{color:#a39a93;opacity:1}
body .csq-form input:focus,body .csq-form select:focus,body .csq-form textarea:focus{outline:0;border-color:var(--q-b);box-shadow:0 0 0 3px rgba(122,35,43,.12)}
body .csq-form input[type=number]{-moz-appearance:textfield}
body .csq-form input[type=number]::-webkit-inner-spin-button,body .csq-form input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

/* Teléfono con selector de país */
body .csq-phone{display:flex;align-items:stretch;min-height:48px;border:1px solid var(--q-line);border-radius:9px;background:#fff;transition:border-color .2s,box-shadow .2s}
body .csq-phone:focus-within{border-color:var(--q-b);box-shadow:0 0 0 3px rgba(122,35,43,.12)}
body .csq-phone-pais{position:relative;display:flex;align-items:center;gap:6px;padding:0 10px 0 12px;border-right:1px solid var(--q-line);background:#fbf7f3;border-radius:9px 0 0 9px;flex:0 0 auto;font-size:14px;font-weight:600;color:var(--q-ink)}
body .csq-phone-flag{font-size:19px;line-height:1}
body .csq-phone-caret{color:var(--q-b);font-size:13px;line-height:1;margin-top:-4px}
body .csq-form .csq-phone-select{position:absolute;inset:0;width:100%;height:100%;min-height:0;opacity:0;cursor:pointer;padding:0;border:0;font-size:16px}
body .csq-form .csq-phone input{border:0;border-radius:0 9px 9px 0;box-shadow:none!important;min-height:46px}
body .csq-form .csq-phone input:focus{box-shadow:none}
body .csq-form .csq-phone-other{flex:0 0 74px;width:74px;border-right:1px solid var(--q-line)!important;border-radius:0!important;text-align:center}
body .csq-form .csq-phone-num{flex:1;min-width:0;letter-spacing:.02em}

/* Adjunto */
body .csq-form .csq-file{width:100%;padding:10px;border:1px dashed #cdbfb4;border-radius:9px;background:#fbf7f3;font:inherit;font-size:13px;color:var(--q-muted);cursor:pointer}
body .csq-form .csq-file::file-selector-button{margin-right:12px;padding:9px 14px;border:0;border-radius:7px;background:var(--q-b);color:#fff;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
body .csq-help{font-size:11.5px;color:var(--q-muted);line-height:1.4}

/* Política */
body .csq-check label{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.55;font-weight:500;cursor:pointer}
body .csq-check input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:var(--q-b)}
body .csq-check a{color:var(--q-b);text-decoration:underline}

/* Errores y mensajes */
body .csq-error{font-size:12px;font-weight:600;color:#b3261e;line-height:1.4}
body .csq-field.is-invalid input:not([type=checkbox]),body .csq-field.is-invalid select,body .csq-field.is-invalid textarea,body .csq-phone.is-invalid{border-color:#b3261e}
body .csq-msg{padding:14px 16px;border-radius:9px;font-size:14px;font-weight:600;line-height:1.5;margin:0 0 18px}
body .csq-msg[hidden]{display:none}
body .csq-msg-ok{background:#e9f6ee;color:#16683b;border:1px solid #b8e0c6}
body .csq-msg-error{background:#fbeceb;color:#9b221b;border:1px solid #f0c5c1}

/* Botón */
body .csq-form .csq-submit{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin-top:20px;padding:14px 26px;border:0;border-radius:9px;background:var(--q-b);color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:background .2s}
body .csq-form .csq-submit:hover{background:var(--q-bd)}
body .csq-form .csq-submit:disabled{opacity:.7;cursor:wait}
body .csq-legal{font-size:11px;color:var(--q-muted);margin:10px 0 0}
body .csq-legal a{color:inherit;text-decoration:underline}
.grecaptcha-badge{visibility:hidden}

@media(max-width:600px){
body .csq-grid{grid-template-columns:1fr;gap:14px}
body .csq-form input[type=text],body .csq-form input[type=email],body .csq-form input[type=tel],body .csq-form input[type=number],body .csq-form select,body .csq-form textarea{font-size:16px}
}
