/* claria.site — landing pages. Colores y fuente tomados del sitio WordPress. */
:root {
  --navy: #0D0D3F;      /* títulos */
  --blue: #0C5282;      /* recuadros de beneficios */
  --orange: #E87037;    /* botones, subtítulos, pie */
  --orange-dark: #cf5d27;
  --teal: #28B79A;
  --text: #7F7F88;
  --line: #E4E4EC;
  --field: #EEEEF4;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 500 16px/1.7 var(--font); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; color: var(--navy); line-height: 1.2; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(1000px, 100% - 32px); }
.ico { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.flag { width: 18px; height: 12px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 200; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px; border: 0; border-radius: 3px; font: 700 15px var(--font); text-decoration: none; cursor: pointer; transition: background .2s; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.eyebrow { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }

/* Barra superior: idioma + Quotes */
.topbar { display: flex; gap: 12px; margin-bottom: 26px; }
.lang { position: relative; }
.lang-btn, .btn-top { height: 40px; background: var(--orange); color: #fff; border: 0; font: 700 14px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; }
.lang-btn { border-radius: 3px; }
.btn-top { border-radius: 3px; padding: 0 30px; }
.lang-btn:hover, .btn-top:hover { background: var(--orange-dark); }
.lang-menu { position: absolute; top: 100%; left: 0; z-index: 20; margin: 4px 0 0; padding: 6px 0; list-style: none; background: #fff; min-width: 100%; box-shadow: 0 10px 30px rgba(13,13,63,.15); border-radius: 3px; }
.lang-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 18px; color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; }
.lang-menu a:hover, .lang-menu a[aria-current] { color: var(--orange); }

/* Encabezado */
.hero { padding: 16px 0 60px; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.hero-text { max-width: 520px; justify-self: end; width: 100%; }
.hero h1 { font-size: clamp(32px, 3.4vw, 45px); margin-bottom: 8px; }
.hero h2 { font-size: 21px; margin: 14px 0 6px; }
.hero p { font-size: 15px; line-height: 1.75; margin-bottom: 4px; }
.backed { color: var(--navy); font-weight: 800; font-size: 14px !important; text-transform: uppercase; margin: 0 !important; }
.dots { margin: 0; padding-left: 18px; font-size: 15px; }
.dots strong { color: var(--navy); }
.hero-cta { display: flex; align-items: center; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.wa { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wa-ico { width: 44px; height: 44px; border-radius: 50%; background: #e9f7f1; color: #25a366; display: grid; place-items: center; font-size: 22px; }
.wa small { display: block; font-size: 12px; color: var(--text); line-height: 1.2; }
.wa strong { color: var(--navy); font-size: 15px; }
.wa:hover strong { color: var(--orange); }

.hero-photos { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; }
.hero-photos img { position: absolute; object-fit: cover; }
.ph-1 { left: 0; top: 0; width: 62%; height: 62%; border-radius: 0 90px 0 0; }
.ph-2 { right: 0; bottom: 0; width: 52%; height: 64%; }
.ph-logo { position: absolute; left: 50%; top: 20%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(255,255,255,.55), 0 10px 30px rgba(13,13,63,.15); display: grid; place-items: center; }
.ph-logo img { position: static; width: 70%; }

/* Cotizador */
.quote { padding: 10px 0 40px; scroll-margin-top: 10px; }
.quoter { display: block; width: 100%; height: 1300px; border: 0; }

/* Contacto */
.contact { position: relative; width: min(1400px, 100% - 32px); margin: 0 auto 70px; background: #F1F1F7 url(/media/fondo-contacto.webp) center / cover no-repeat; border-radius: 4px; overflow: hidden; scroll-margin-top: 10px; }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 90px 0 0; width: min(1000px, 100% - 32px); }
.contact h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; margin-bottom: 18px; }
.contact form { display: grid; gap: 12px; max-width: 440px; padding-bottom: 60px; }
.contact label { display: grid; gap: 4px; color: var(--navy); font-size: 14px; font-weight: 500; }
.contact input, .contact textarea { width: 100%; padding: 11px 14px; font: 500 15px var(--font); color: var(--navy); background: var(--field); border: 1px solid #b9b9c6; border-radius: 6px; }
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.contact textarea { resize: vertical; min-height: 90px; }
.contact button { justify-self: start; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 12px 16px; border-radius: 4px; font-size: 15px; max-width: 440px; }
.form-msg.ok { background: #e3f6ef; color: #146b55; }
.form-msg.err { background: #fde9e1; color: #9a3b12; }
.contact-photo { position: relative; align-self: end; min-height: 420px; }
.contact-photo .agent { position: relative; z-index: 2; width: 82%; margin-left: auto; }
.shape { position: absolute; z-index: 1; width: 46%; opacity: .9; }
.s1 { left: 0; top: 18%; }
.s2 { right: -4%; top: 4%; }
.badge { position: absolute; z-index: 3; left: 4%; bottom: 18%; background: #fff; border-radius: 10px; padding: 14px 20px; box-shadow: 0 10px 30px rgba(13,13,63,.15); display: grid; line-height: 1.2; }
.badge strong { color: var(--orange); font-size: 30px; font-weight: 800; }
.badge span { color: var(--navy); font-weight: 700; font-size: 14px; }
.ticker { background: var(--navy); color: #fff; overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font-weight: 700; font-size: 17px; padding: 0 28px; white-space: nowrap; }
.ticker span::before { content: "✦"; color: var(--orange); margin-right: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } }

/* Beneficios */
.benefits { padding-bottom: 50px; }
.benefits-head { background: var(--blue); color: #fff; text-align: center; padding: 34px 20px 30px; border-radius: 15px 15px 0 0; }
.benefits-head h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); }
.benefits-head p { margin: 0; color: #dce8f2; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 24px 26px 18px; margin-top: 24px; background: #fff; }
.card.two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.card h3 { color: var(--orange); font-size: clamp(24px, 2.4vw, 32px); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 4px; border-bottom: 1px solid var(--line); font-weight: 500; color: #3c3c4a; vertical-align: top; }
td { text-align: right; white-space: nowrap; font-weight: 600; color: var(--navy); }
tr:last-child > * { border-bottom: 0; }
th small { font-size: 11px; color: var(--text); }
tr.group th { color: var(--orange); font-weight: 700; font-size: 13px; border-bottom: 0; padding-top: 16px; }
td .ico { color: var(--teal); font-size: 18px; }
.highlight { background: var(--blue); color: #fff; text-align: center; border-radius: 6px; padding: 20px; margin: 8px 0 14px; font-weight: 700; }
.highlight p { margin: 4px 0; }
.highlight.big { border-radius: 10px; padding: 28px 20px; margin-top: 24px; }
.highlight.big h3 { color: #fff; font-size: clamp(22px, 2.2vw, 28px); }
.highlight.big p { font-weight: 600; font-size: 15px; }
.disclaimer { font-size: 14px; margin-top: 28px; }

/* Pie */
.footer { background: var(--orange); color: #fff; font-size: 13px; padding: 14px 0; }
.footer-in { width: min(1400px, 100% - 32px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; }
.footer a, .footer span { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.footer a:hover { text-decoration: underline; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); color: #fff; border-radius: 4px; font-size: 22px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .hero-in, .contact-in, .card.two { grid-template-columns: 1fr; }
  .hero-text { justify-self: stretch; max-width: none; }
  .hero-photos { width: 100%; margin-inline: auto; }
  .contact-in { padding-top: 50px; }
  .contact form { padding-bottom: 20px; max-width: none; }
  .contact-photo { min-height: 0; max-width: 420px; margin-inline: auto; }
  .quoter { height: 2200px; }
  .footer-in { justify-content: center; text-align: center; }
}
