/*
Theme Name: GYV Business
Theme URI: https://gyvbusiness.com/
Author: GYV Business
Description: Sitio de GYV Business, contadores y abogados. Carrusel de clientes editable.
Version: 1.0.0
Text Domain: gyvbusiness
*/

:root {
  --ink: #122033;
  --muted: #5c6b7d;
  --blue: #0a4ec2;
  --blue-deep: #071833;
  --line: #d7e2f0;
  --paper: #f3f6fb;
  --shadow: 0 18px 40px rgba(7, 24, 51, 0.08);
  --radius: 18px;
  --header: 68px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: 12px; top: -40px; background: var(--blue-deep); color: #fff; padding: 8px 12px; z-index: 80; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body.admin-bar .site-header { top: 32px; }
.header-inner, .hero-grid, .split, .contact-grid { display: grid; gap: 28px; }
.header-inner { position: relative; height: var(--header); grid-template-columns: 1fr auto 1fr; grid-template-rows: var(--header); align-items: center; gap: 12px 16px; width: min(1240px, calc(100% - 32px)); }
.site-nav { display: contents; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 18px; grid-row: 1; align-self: center; }
.nav-left { grid-column: 1; justify-self: start; }
.nav-right { grid-column: 3; justify-self: end; gap: 14px; }
.brand { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; display: flex; align-items: center; text-decoration: none; line-height: 0; }
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
.nav-toggle, .nav-balance { display: none; }
.nav-left a, .nav-right a { text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav-left a:hover, .nav-right a:not(.btn):hover { color: var(--blue); }

.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 12px; padding: 12px 18px; font-weight: 700; border: 1px solid transparent; cursor: pointer; }
.btn-primary, .site-nav .btn { background: var(--blue); color: #fff; }
.btn-primary:hover, .site-nav .btn:hover { background: #083e9a; color: #fff; }
form.lead .btn-primary { gap: 10px; transition: background .4s ease, transform .4s ease, box-shadow .4s ease; }
form.lead .btn-primary .icon-line { width: 18px; height: 18px; transition: transform .4s ease; }
form.lead .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(8, 62, 154, .28); }
form.lead .btn-primary:hover .icon-line { transform: translateX(4px); }
form.lead .btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-line { background: #fff; color: var(--blue-deep); border-color: var(--line); }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(560px, calc(100vh - var(--header)), 760px); background: #06142c; color: #fff; padding: 72px 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../../../image/contact-background.jpg") 62% center / cover no-repeat; z-index: -2; transform: scale(1.08); animation: gyv-photo 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 18, 38, .72) 0%, rgba(7, 18, 38, .5) 36%, rgba(7, 18, 38, .16) 64%, rgba(7, 18, 38, .05) 100%); z-index: -1; }
.hero-grid { grid-template-columns: minmax(0, 36rem); align-items: center; }
.split { grid-template-columns: 1.2fr .8fr; align-items: center; }
#nosotros .split { grid-template-columns: 1fr 1fr; align-items: center; }
#nosotros h2 { max-width: none; }
#nosotros .contact-card { position: relative; padding: 0; overflow: hidden; min-height: 720px; }
#nosotros .contact-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.eyebrow, .kicker { letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; font-weight: 700; }
.eyebrow { margin: 0 0 12px; color: #9ec4ff; }
.kicker { color: var(--blue); margin: 0 0 8px; }
.hero h1, .section h2, .prose h1 { font-family: var(--serif); font-weight: 650; letter-spacing: -.03em; line-height: 1.12; margin: 0 0 16px; }
.hero-intro { width: min(100%, 16ch); font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.hero h1 { font-size: 1em; max-width: none; text-shadow: 0 10px 28px rgba(6, 16, 36, .28); }
.hero .lead { width: 100%; max-width: none; font-size: 1.08rem; color: rgba(255,255,255,.92); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; margin: 32px 0 28px; font-size: 17px; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-points { list-style: none; display: grid; gap: 10px; width: 100%; padding: 0; margin: 0; font-size: 17px; }
.hero-points li::before { content: "— "; color: #d7e6ff; }
.contact-card, form.lead, .client-card, .quote-card, .card, .step, .faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card, form.lead { color: var(--ink); padding: 22px; box-shadow: var(--shadow); }
.section-intro, .card p, .step p, .faq p, .quote-card p { color: var(--muted); }
@keyframes gyv-photo {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes gyv-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero h1,
.hero .lead,
.hero-actions,
.hero-points li {
  animation: gyv-rise 1.05s cubic-bezier(.16, 1, .3, 1) both;
}
.hero h1 { animation-delay: .12s; }
.hero .lead { animation-delay: .28s; }
.hero-actions { animation-delay: .44s; }
.hero-points li:nth-child(1) { animation-delay: .58s; }
.hero-points li:nth-child(2) { animation-delay: .7s; }
.hero-points li:nth-child(3) { animation-delay: .82s; }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero h1, .hero .lead, .hero-actions, .hero-points li { animation: none; }
  .hero::before { transform: none; }
}

.band { background: var(--paper); border-bottom: 1px solid var(--line); }
.band-row, .risk-grid, .cards, .steps, .sectors { display: grid; gap: 16px; }
.band-row { grid-template-columns: repeat(4, 1fr); padding: 22px 0; }
.band-row strong { display: block; color: #0c3d92; }
.band-row span, .admin-hint { color: var(--muted); font-size: .9rem; }
.section { padding: 80px 0; }
.section h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); max-width: 18ch; }
.paper { background: var(--paper); }
.about-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-points li { display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; row-gap: 6px; align-items: center; height: 100%; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 24px rgba(18, 32, 51, .06); }
.about-points li > div { display: contents; }
.about-points h3 { grid-column: 2; grid-row: 1; margin: 0; font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.about-points p { grid-column: 2; grid-row: 2; margin: 0; color: var(--muted); font-weight: 400; font-size: .92rem; line-height: 1.4; }
.about-icon { grid-column: 1; grid-row: 1; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #e8f0fb; color: var(--blue); }
.about-icon .icon-line { width: 22px; height: 22px; }
.risk-grid, .cards { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.card, .step, .sector, .quote-card, .client-card { padding: 20px; }
.card h3, .step h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card ul { margin: 12px 0 0; padding-left: 18px; }
.service-head { text-align: center; max-width: 40rem; margin: 0 auto; }
#sectores .service-head, #proceso .service-head { max-width: none; }
.service-head h2 { max-width: none; }
#servicios .section-intro, #riesgos .section-intro { margin-left: auto; margin-right: auto; }
#servicios .cards, #riesgos .cards { margin-top: 36px; align-items: stretch; }
#riesgos .cards { grid-template-columns: 1fr 1fr; }
#servicios .card, #riesgos .card { padding: 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 12px 28px rgba(18, 32, 51, .06); transition: transform .4s ease, box-shadow .4s ease; }
#servicios .card:hover, #riesgos .card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(18, 32, 51, .1); }
.service-art { height: 132px; display: grid; place-items: center; color: var(--blue); background: linear-gradient(180deg, #e7f0fb 0%, #f8fbfe 100%); border-bottom: 1px solid var(--line); }
.service-art svg { width: 132px; height: 80px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#servicios .card-body, #riesgos .card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
#servicios .card h3, #riesgos .card h3 { font-family: var(--sans); letter-spacing: 0; }
#servicios .card ul { list-style: none; padding: 0; margin-top: auto; padding-top: 14px; display: grid; gap: 8px; }
#servicios .card li { position: relative; padding-left: 16px; font-size: .92rem; }
#servicios .card li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); position: absolute; left: 0; top: .55em; }
.steps { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
#proceso .steps { margin-top: 36px; align-items: stretch; }
#proceso .step { padding: 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 12px 28px rgba(18, 32, 51, .06); transition: transform .4s ease, box-shadow .4s ease; }
#proceso .step:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(18, 32, 51, .1); }
#proceso .service-art span { width: auto; height: auto; margin: 0; border-radius: 0; background: none; color: var(--blue); font-family: var(--serif); font-weight: 650; font-size: 2.6rem; letter-spacing: -.03em; line-height: 1; }
#proceso .card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
#proceso .step h3 { font-family: var(--sans); letter-spacing: 0; text-align: center; }
.step span, .client-fallback { display: inline-grid; place-items: center; background: var(--blue-deep); color: #fff; font-weight: 700; }
.step span { width: 36px; height: 36px; border-radius: 50%; margin-bottom: 10px; }
.sectors { grid-template-columns: repeat(5, 1fr); margin-top: 36px; }
.sector { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; font-weight: 700; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 24px rgba(18, 32, 51, .05); transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1); }
.sector:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(18, 32, 51, .1); }
.sector-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #e8f0fb; color: var(--blue); }
.sector-icon .icon-line { width: 24px; height: 24px; }

#clientes .service-head, #testimonios .service-head { max-width: none; container-type: inline-size; }
#clientes h2, #testimonios h2 { white-space: nowrap; font-size: clamp(1.35rem, 4.8cqi, 2.6rem); }
#clientes .carousel, #testimonios .carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 28px; }
#clientes .carousel-viewport, #testimonios .carousel-viewport { margin: 0; padding: 18px 4px 22px; }
#clientes .carousel-track, #testimonios .carousel-track { transition: transform .85s cubic-bezier(.16, 1, .3, 1); }
#clientes .carousel-nav, #testimonios .carousel-nav { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 1.4rem; line-height: 1; display: grid; place-items: center; transition: border-color .5s cubic-bezier(.16, 1, .3, 1), color .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1); }
#clientes .carousel-nav:hover, #testimonios .carousel-nav:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(18, 32, 51, .08); }
.carousel-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.3rem; }
.carousel-controls button:hover { border-color: var(--blue); color: var(--blue); }
.carousel-viewport { container-type: inline-size; overflow: hidden; margin-top: 22px; }
.carousel-track { display: flex; gap: 16px; transition: transform .45s ease; }
.client-card, .quote-card { flex: 0 0 calc((100cqi - 32px) / 3); min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.quote-card { flex-basis: calc((100cqi - 32px) / 3); align-items: flex-start; text-align: left; min-height: 210px; }
#clientes .client-card { flex: 0 0 calc((100cqi - 96px) / 7); min-height: 0; height: 132px; padding: 8px; gap: 0; box-shadow: 0 8px 18px rgba(18, 32, 51, .05); transition: transform .55s cubic-bezier(.16, 1, .3, 1), box-shadow .55s cubic-bezier(.16, 1, .3, 1); }
#clientes .client-card img, #clientes .client-fallback { transition: transform .55s cubic-bezier(.16, 1, .3, 1); }
#clientes .client-card:hover { transform: translateY(-6px); box-shadow: 0 18px 30px rgba(18, 32, 51, .12); }
#clientes .client-card:hover img, #clientes .client-card:hover .client-fallback { transform: scale(1.05); }
#clientes .client-card img { width: 100%; height: 100%; max-height: none; margin: 0; object-fit: contain; }
#clientes .client-fallback { width: 100%; height: 100%; border-radius: 12px; font-size: 1.45rem; }
.client-card strong, .quote-card strong { font-size: .95rem; }
.quote-card p { margin: 0; }
#testimonios .quote-card { flex-basis: calc((100cqi - 32px) / 3); min-height: 248px; padding: 22px 22px 18px; align-items: stretch; justify-content: space-between; text-align: left; gap: 20px; box-shadow: 0 10px 24px rgba(18, 32, 51, .06); transition: transform .55s cubic-bezier(.16, 1, .3, 1), box-shadow .55s cubic-bezier(.16, 1, .3, 1); }
#testimonios .quote-card:hover { transform: translateY(-6px); box-shadow: 0 18px 30px rgba(18, 32, 51, .12); }
#testimonios .quote-card p { color: var(--ink); font-size: 1.05rem; line-height: 1.5; }
.quote-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-avatar { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--blue-deep); color: #fff; font-weight: 700; letter-spacing: .02em; }
.quote-avatar img { width: 100%; height: 100%; max-height: none; object-fit: cover; margin: 0; }
.quote-id { display: grid; gap: 1px; min-width: 0; }
.quote-id strong { line-height: 1.25; }
.quote-id span { color: var(--muted); font-size: .86rem; line-height: 1.3; }

.faq { display: grid; gap: 10px; margin-top: 22px; }
#preguntas .kicker { text-align: center; margin: 0 0 36px; font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.12; text-transform: none; color: var(--ink); }
#preguntas .split { align-items: center; }
#preguntas h2 { margin-bottom: 0; }
#preguntas .faq { margin-top: 0; gap: 12px; }
#preguntas .faq details { padding: 0; overflow: hidden; border-radius: 0 0 18px 0; transition: border-color .45s ease, box-shadow .45s ease; }
#preguntas .faq details:hover, #preguntas .faq details.is-open { border-color: #b7cce6; box-shadow: 0 12px 26px rgba(18, 32, 51, .07); }
#preguntas .faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; transition: color .45s cubic-bezier(.16, 1, .3, 1); }
#preguntas .faq summary::-webkit-details-marker { display: none; }
#preguntas .faq summary::after { content: ""; width: 8px; height: 8px; flex: 0 0 auto; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-2px); transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
#preguntas .faq details.is-open summary { color: var(--blue); }
#preguntas .faq details.is-open summary::after { transform: rotate(225deg) translateY(-2px); }
#preguntas .faq-panel { overflow: hidden; height: 0; }
#preguntas .faq details p { margin: 0; padding: 0 18px 16px; line-height: 1.55; opacity: 0; transform: translateY(-6px); transition: opacity .4s ease, transform .45s cubic-bezier(.16, 1, .3, 1); }
#preguntas .faq details.is-open p { opacity: 1; transform: none; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; }
#contacto {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
#contacto h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  font-size: clamp(2.05rem, 3.2vw, 2.85rem);
}
#contacto .kicker {
  font-weight: 600;
  letter-spacing: .18em;
}
#contacto::before {
  content: "";
  position: absolute;
  inset: -28px;
  background: url("../../../image/contact-background.jpg") center / cover no-repeat;
  filter: blur(7px);
  z-index: -2;
}
#contacto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(7, 24, 51, 0.82) 0%, rgba(10, 50, 116, 0.74) 52%, rgba(10, 78, 194, 0.7) 100%);
  z-index: -1;
}
#contacto .kicker { color: #b9d4ff; }
#contacto h2,
#contacto .phones a,
#contacto .contact-copy a { color: #fff; }
#contacto .phones a,
#contacto .contact-mail a,
#contacto .contact-copy a { text-decoration: none; }
#contacto .phones a:hover,
#contacto .contact-copy a:hover { color: #d6e6ff; }
.contact-head { width: min(18ch, 100%); font-family: var(--serif); font-size: clamp(2.05rem, 3.2vw, 2.85rem); }
#contacto .contact-head h2 { max-width: none; }
.contact-intro { width: 100%; max-width: none; margin: 0 0 28px; font-family: "Source Sans 3", "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.5; color: rgba(255,255,255,.88); }
.contact-item { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; margin-top: 18px; }
.contact-badge { width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; display: grid; place-items: center; font-size: 18px; }
.icon-line { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { margin: 4px 0 2px; font-weight: 700; }
.contact-mail { margin: 0; }
.socials-label { margin: 26px 0 12px; text-align: center; }
.socials { list-style: none; display: flex; justify-content: center; gap: 12px; padding: 0; margin: 0; }
.socials a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: background .4s ease, color .4s ease, border-color .4s ease, transform .4s ease, box-shadow .4s ease; }
.socials a i { font-size: 16px; transition: transform .4s ease; }
#contacto .socials a:hover { background: #fff; color: var(--blue-deep); border-color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(7, 24, 51, .28); }
#contacto .socials a:hover i { transform: scale(1.08); }
.socials a:active { transform: translateY(0); box-shadow: none; }
.contact-grid {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.phones { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.phones a { color: var(--blue); font-weight: 700; text-decoration: none; }
#contacto .phones a { font-family: "IBM Plex Sans", "Source Sans 3", sans-serif; font-weight: 500; font-size: 1.08rem; letter-spacing: .03em; font-variant-numeric: lining-nums tabular-nums; }
form.lead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 12px; row-gap: 14px; min-width: 0; width: 100%; max-width: none; justify-self: stretch; }
form.lead .md-12,
form.lead .notice,
form.lead .hp,
form.lead button { grid-column: span 12; }
form.lead .md-6 { grid-column: span 6; }
form.lead label,
form.lead .form-row,
form.lead input,
form.lead select,
form.lead textarea { min-width: 0; }
label span { display: block; font-size: .86rem; font-weight: 700; margin-bottom: 4px; }
form.lead .req { display: inline; color: #c5363a; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.notice { border-radius: 16px; padding: 14px 16px; }
.notice.ok { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 18px 18px 18px 16px; background: linear-gradient(180deg, #f7fdf9 0%, #e7f6ee 100%); color: #0d5c3d; border: 1px solid #b7e3cb; box-shadow: 0 12px 28px rgba(13, 92, 61, .08); }
.notice-mark { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #128c4a; color: #fff; }
.notice.ok .icon-line { width: 22px; height: 22px; stroke-width: 2; }
.notice-title { margin: 1px 0 6px; font-family: "Libre Baskerville", Georgia, serif; font-size: 1.2rem; font-weight: 400; line-height: 1.3; color: #08422b; }
.notice.ok p:last-child { margin: 0; font-family: "Source Sans 3", "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.5; }
.notice.ok a { color: #0a6b40; font-weight: 700; text-decoration: none; }
.notice.ok a:hover { text-decoration: underline; }
.notice.err { background: #fdecee; color: #9d2430; border: 1px solid #f3c5cb; }
.admin-hint a { color: var(--blue); }

.site-footer { background: var(--blue-deep); color: rgba(255,255,255,.84); padding: 18px 0; }
.legal { margin: 0; font-size: .88rem; text-align: center; }
.wa-float { position: fixed; top: calc(var(--header) + 14px); right: 18px; z-index: 35; width: 52px; height: 52px; border-radius: 50%; background: #128c4a; color: #fff; display: grid; place-items: center; text-decoration: none; font-size: 28px; box-shadow: 0 10px 24px rgba(18,140,74,.35); transition: transform .4s ease, box-shadow .4s ease; }
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 28px rgba(18,140,74,.4); }
body.admin-bar .wa-float { top: calc(var(--header) + 46px); }

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 44px 1fr 44px; }
  .nav-toggle { display: inline-flex; grid-column: 1; justify-self: start; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; }
  .brand { grid-column: 2; grid-row: 1; align-self: center; }
  .nav-balance { display: block; grid-column: 3; width: 44px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 20px 20px; z-index: 30; }
  body.nav-open .site-nav { display: flex; }
  .nav-left, .nav-right { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 980px) {
  .hero-grid, .split, #nosotros .split, .contact-grid, .risk-grid, .cards, #servicios .cards { grid-template-columns: 1fr; }
  #servicios .cards { grid-template-columns: 1fr 1fr; }
  .steps, .band-row { grid-template-columns: 1fr 1fr; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .client-card, #clientes .client-card { flex-basis: calc((100cqi - 16px) / 2); height: 168px; }
  .quote-card, #testimonios .quote-card { flex-basis: calc((100cqi - 16px) / 2); }
}
@media (max-width: 640px) {
  .steps, .band-row, .sectors, .form-row, .about-points, #servicios .cards, #riesgos .cards { grid-template-columns: 1fr; }
  form.lead .md-6 { grid-column: span 12; }
  .client-card, #clientes .client-card, .quote-card, #testimonios .quote-card { flex-basis: 100cqi; }
  #clientes .client-card { height: 200px; }
  .hero { padding-top: 40px; }
}
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .wa-float { top: calc(var(--header) + 60px); }
}
