/*
 Theme Name:   Hello Elementor Child
 Description:  Tema hijo de Hello Elementor para ecuservicecanarias.com. Todo CSS/PHP propio va aquí; no editar el tema padre.
 Template:     hello-elementor
 Version:      1.1.0
 Text Domain:  hello-elementor-child
*/

/*
 * CSS global de ecuservicecanarias.com
 * Normas: body 16px / line-height 1.7 (texto de lectura ≥16px; etiquetas en mayúsculas ≥14px).
 * Breakpoints confirmados (max-width): 1024 / 768 / 480.
 */

/* ---------- Base tipográfica ---------- */
:root { --ecu-h: 72px; --ecu-amarillo: #f5c800; --ecu-negro: #0a0a0a; }
html { font-size: 16px; scroll-padding-top: var(--ecu-h); }
body { font-size: 16px; line-height: 1.7; }
input, select, textarea, button { font-size: 16px; } /* 16px evita el zoom automático de iOS al enfocar */

/* Páginas con Elementor nativo (Servicios y FAQ): texto de lectura ≥16px y sitio para la cabecera fija */
body.ecu-new.page-id-206, body.ecu-new.page-id-308 { padding-top: var(--ecu-h); }
.elementor-widget-text-editor, .elementor-widget-text-editor p, .elementor-widget-text-editor li,
.elementor-widget-icon-box .elementor-icon-box-description, .elementor-toggle .elementor-tab-content,
.elementor-toggle .elementor-tab-content p { font-size: 16px; line-height: 1.7; }

/* ---------- Cabecera única (.ecu-header) ---------- */
.ecu-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9990;
  background: rgba(10, 10, 10, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: 'Barlow Condensed', Arial, sans-serif;
}
.admin-bar .ecu-header { top: 32px; }
@media (max-width: 768px) { .admin-bar .ecu-header { top: 46px; } }
.ecu-header__in {
  display: flex; align-items: center; gap: 20px;
  max-width: 1280px; margin: 0 auto; padding: 8px 24px; min-height: var(--ecu-h);
}
.ecu-header__logo { display: flex; align-items: center; flex: 0 0 auto; line-height: 0; text-decoration: none; }
.ecu-header__logo img { display: block; height: 52px; width: auto; }
.ecu-header__logotxt { color: #fff; font-size: 20px; font-weight: 700; line-height: 1.2; }
.ecu-header__logotxt b { color: var(--ecu-amarillo); }
.ecu-header__nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.ecu-header__nav a {
  color: #fff; text-decoration: none; font-size: 16px; font-weight: 600; line-height: 1.2;
  letter-spacing: .06em; text-transform: uppercase; padding: 10px 12px; border-radius: 6px;
}
.ecu-header__nav a:hover, .ecu-header__nav a[aria-current="page"] { color: var(--ecu-amarillo); }
.ecu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto;
  background: var(--ecu-amarillo); color: var(--ecu-negro); text-decoration: none;
  font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 8px;
}
.ecu-btn:hover { background: #d4a900; color: var(--ecu-negro); }
.ecu-burger { display: none; position: relative; }
.ecu-burger summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.ecu-burger summary::-webkit-details-marker { display: none; }
.ecu-burger__ico, .ecu-burger__ico::before, .ecu-burger__ico::after {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; content: ""; position: relative;
}
.ecu-burger__ico::before { position: absolute; top: -7px; }
.ecu-burger__ico::after { position: absolute; top: 7px; }
.ecu-burger__drawer {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px;
  background: #121212; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 8px;
  display: flex; flex-direction: column; box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
.ecu-burger__drawer a {
  color: #fff; text-decoration: none; font-size: 18px; font-weight: 600; line-height: 1.2;
  letter-spacing: .05em; text-transform: uppercase; padding: 14px 14px; border-radius: 8px;
}
.ecu-burger__drawer a[aria-current="page"] { color: var(--ecu-amarillo); }
.ecu-burger__drawer .ecu-burger__call { margin-top: 6px; background: var(--ecu-amarillo); color: var(--ecu-negro); text-align: center; }

@media (max-width: 1024px) {
  .ecu-header__nav { display: none; }
  .ecu-header__wa { margin-left: auto; }
  .ecu-burger { display: block; }
}
@media (max-width: 768px) {
  :root { --ecu-h: 60px; }
  .ecu-header__in { padding: 6px 16px; gap: 12px; }
  .ecu-header__logo img { height: 44px; }
  .ecu-btn { padding: 9px 14px; }
}
@media (max-width: 480px) {
  .ecu-header__in { gap: 8px; }
  .ecu-header__logo img { height: 40px; }
  .ecu-header__wa { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
  .ecu-header__wa .ecu-btn__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Formulario único → WhatsApp (.ecu-wa-form) ---------- */
.ecu-wa-form input { font-size: 16px; }
.ecu-form-error {
  margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 16px; line-height: 1.5;
  background: rgba(255, 82, 82, .12); border: 1px solid rgba(255, 82, 82, .45); color: #ff8a80;
}
.ecu-form-error[hidden] { display: none; }

/* >>> ECU-FLOOR:START — generado; no editar a mano (ver CLAUDE.md de la web) */
/* Suelo tipográfico: texto de lectura ≥16px; etiquetas en mayúsculas ≥14px; interlineado 1,7. Solo en páginas con body.ecu-new. */
html body.ecu-new .aviso-box { font-size: 16px !important; }
html body.ecu-new .aviso-legal-bar { font-size: 16px !important; }
html body.ecu-new .btn { font-size: 16px !important; }
html body.ecu-new .btn-form { font-size: 16px !important; }
html body.ecu-new .card-tag { font-size: 14px !important; }
html body.ecu-new .card-text { font-size: 16px !important; }
html body.ecu-new .cta-final .btn { font-size: 16px !important; }
html body.ecu-new .cta-final a.btn-primary { font-size: 16px !important; }
html body.ecu-new .cta-final a[class*="btn"] { font-size: 16px !important; }
html body.ecu-new .cta-final p { font-size: 16px !important; }
html body.ecu-new .cta-meta-item { font-size: 16px !important; }
html body.ecu-new .form-card-sub { font-size: 16px !important; }
html body.ecu-new .form-col input::placeholder { font-size: 16px !important; }
html body.ecu-new .form-col label { font-size: 14px !important; }
html body.ecu-new .form-col textarea::placeholder { font-size: 16px !important; }
html body.ecu-new .form-note-small { font-size: 16px !important; }
html body.ecu-new .form-sec { font-size: 14px !important; }
html body.ecu-new .header-cta { font-size: 14px !important; }
html body.ecu-new .hero-btns .btn { font-size: 16px !important; }
html body.ecu-new .hero-desc { font-size: 16px !important; }
html body.ecu-new .hero-tag { font-size: 14px !important; }
html body.ecu-new .limit-box-head { font-size: 14px !important; }
html body.ecu-new .limit-row { font-size: 16px !important; }
html body.ecu-new .paso p { font-size: 16px !important; }
html body.ecu-new .review-name { font-size: 16px !important; }
html body.ecu-new .review-stars { font-size: 16px !important; }
html body.ecu-new .review-text { font-size: 16px !important; }
html body.ecu-new .reviews-count { font-size: 16px !important; }
html body.ecu-new .sec-sub { font-size: 16px !important; }
html body.ecu-new .sec-tag { font-size: 14px !important; }
html body.ecu-new .site-footer-bottom span { font-size: 16px !important; }
html body.ecu-new .site-footer-brand p { font-size: 16px !important; }
html body.ecu-new .site-footer-col a { font-size: 16px !important; }
html body.ecu-new .site-footer-col h4 { font-size: 14px !important; }
html body.ecu-new .site-footer-legal a { font-size: 16px !important; }
html body.ecu-new .site-nav-btn { font-size: 16px !important; }
html body.ecu-new .site-nav-links a { font-size: 16px !important; }
html body.ecu-new .trust-item { font-size: 16px !important; }
html body.ecu-new .aviso-box { line-height: 1.7 !important; }
html body.ecu-new .aviso-legal-bar { line-height: 1.7 !important; }
html body.ecu-new .card-text { line-height: 1.7 !important; }
html body.ecu-new .form-col textarea { line-height: 1.7 !important; }
html body.ecu-new .limit-row { line-height: 1.7 !important; }
html body.ecu-new .paso p { line-height: 1.7 !important; }
html body.ecu-new .review-text { line-height: 1.7 !important; }
html body.ecu-new { line-height: 1.7 !important; }
/* <<< ECU-FLOOR:END */
