/* ==========================================================================
   Páginas por secciones (servicios, acerca de, contacto, legales)
   ========================================================================== */

.page-full { overflow: hidden; }

.sec { position: relative; padding: 100px 0; color: var(--text); background-color: #fff; }
.sec__inner { position: relative; z-index: 1; width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.sec--light { background-color: var(--light); }
.sec--dark { background-color: var(--navy-deep); color: rgba(255, 255, 255, .86); }
.sec--gold { background-color: var(--gold); color: #fff; }
.sec[data-bg="1"] { background: var(--navy-deep) var(--bg) center / cover no-repeat; color: rgba(255, 255, 255, .9); }
.sec[data-bg="1"]::before { content: ""; position: absolute; inset: 0; background: rgba(15, 22, 37, .62); }
.sec--dark h1, .sec--dark h2, .sec--dark h3, .sec--dark h4, .sec--dark a:not(.btn),
.sec[data-bg="1"] h1, .sec[data-bg="1"] h2, .sec[data-bg="1"] h3, .sec[data-bg="1"] h4, .sec--gold h2, .sec--gold h3 { color: #fff; }
.sec--dark .supertitle, .sec[data-bg="1"] .supertitle { color: var(--gold); }

/* Primera sección haciendo de cabecera (bajo la cabecera transparente) */
.page-full--own-hero > .sec:first-child { padding-top: calc(var(--header-h) + 110px); padding-bottom: 110px; }
.wda-has-topbar .page-full--own-hero > .sec:first-child { padding-top: calc(var(--header-h) + 140px); }
.page-full--own-hero > .sec:first-child .hl__title { font-size: clamp(34px, 3.8vw, 54px); }
.page-full--own-hero > .sec:first-child .hl__sub { font-size: 18px; max-width: 760px; margin-left: auto; margin-right: auto; }
.page-full--own-hero > .sec:first-child .align-left .hl__sub { margin-left: 0; }

/* Filas y columnas */
.row { display: grid; grid-template-columns: var(--cols, 1fr); gap: 40px 56px; align-items: start; }
.row + .row { margin-top: 50px; }
.col { min-width: 0; }
.col > *:last-child { margin-bottom: 0; }
.col .row { gap: 24px 36px; margin-top: 20px; }
.col--dark { background: var(--navy-deep); color: rgba(255, 255, 255, .86); padding: 50px 46px; }
.col--dark h2, .col--dark h3, .col--dark h4 { color: #fff; }
.col--light { background: var(--light); padding: 46px 42px; }
.col--gold { background: var(--gold); color: #fff; padding: 46px 42px; }
.col--media { background: var(--light) var(--bg) center / cover no-repeat; min-height: 440px; align-self: stretch; }
.col--media:not(:empty) { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 50px; color: #fff; }
.col--media:not(:empty)::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 22, 37, .75), rgba(15, 22, 37, .1)); }
.col--media:not(:empty) > * { position: relative; }
.col--media:not(:empty) .hl__title { color: #fff; }
.align-center { text-align: center; }
.align-right { text-align: right; }

/* Secciones anchas: imagen a sangre + texto */
.sec--wide { padding: 0; }
.sec--wide > .sec__inner { max-width: none; padding: 0; }
.sec--wide > .sec__inner > .row { gap: 0; }
.sec--wide > .sec__inner > .row > .col:not(.col--media) { padding: 100px max(24px, 8%); align-self: center; }
.sec--wide > .sec__inner > .row > .col:not(.col--media) > * { max-width: 620px; }
.sec--wide > .sec__inner > .row > .col.align-right:not(.col--media) > * { margin-left: auto; }
.sec--wide > .sec__inner > .row > .col.align-center:not(.col--media) > * { margin-left: auto; margin-right: auto; }
.sec--wide > .sec__inner > .row > .col--media { min-height: 620px; }
.sec--wide[data-bg="1"], .sec--wide.sec--dark { padding: 100px 0; }
.sec--wide[data-bg="1"] > .sec__inner, .sec--wide.sec--dark > .sec__inner { max-width: calc(var(--container) + 48px); padding: 0 24px; }
.sec--wide[data-bg="1"] > .sec__inner > .row > .col:not(.col--media), .sec--wide.sec--dark > .sec__inner > .row > .col:not(.col--media) { padding: 0; }
.sec--wide[data-bg="1"] > .sec__inner > .row > .col > *, .sec--wide.sec--dark > .sec__inner > .row > .col > * { max-width: none; }

/* Titulares */
.hl { margin-bottom: 26px; }
.hl .supertitle { margin-bottom: 14px; }
.hl__title { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3; color: var(--ink); }
.hl__title strong { font-weight: 400; color: var(--gold); }
h1.hl__title { font-size: clamp(34px, 3.6vw, 52px); }
h4.hl__title, h5.hl__title { font-size: clamp(20px, 1.8vw, 24px); }
.hl--extralarge .hl__title, .hl--huge .hl__title { font-size: clamp(32px, 3.6vw, 52px); }
.hl--small .hl__title { font-size: clamp(20px, 1.8vw, 26px); }
.hl__sub { margin-top: 16px; font-size: 16px; line-height: 1.7; }
.hl__sub p { margin: 0 0 .8em; }
p.supertitle.align-center, p.supertitle.align-right { display: block; }

/* Texto */
.sec p, .sec li { font-size: 16px; line-height: 1.8; }
.sec p { margin: 0 0 1.1em; }
.sec ul, .sec ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.sec li { margin-bottom: .45em; }
.sec ul li::marker { color: var(--gold); }
.sec a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.sec h2:not(.hl__title) { font-size: 28px; margin: 1.4em 0 .6em; color: var(--ink); }
.sec h3:not(.hl__title):not(.item__title):not(.card__title) { font-size: 22px; margin: 1.3em 0 .5em; color: var(--ink); }
.sec h4:not(.hl__title) { font-size: 18px; margin: 1.2em 0 .5em; color: var(--ink); }
.sec table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; }
.sec th, .sec td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.sec th { background: var(--light); font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink); }
.sec--dark table th { background: rgba(255, 255, 255, .08); color: #fff; }
.sec--dark th, .sec--dark td { border-color: rgba(255, 255, 255, .15); }
.sec .img { margin: 0 0 1.2em; }
.sec .img img { width: 100%; height: auto; }

/* Botones dentro de secciones */
.btn-wrap { margin: 30px 0 0; }
.btn-wrap .btn--gold span { padding: 19px 30px; }
.btn--outline { border: 2px solid var(--gold); color: var(--gold); background: transparent; }
.btn--outline span { padding: 16px 28px; }
.btn--outline:hover { background: var(--gold); color: #fff; }
.sec--dark .btn--outline, .sec[data-bg="1"] .btn--outline { border-color: #fff; color: #fff; }
.sec--dark .btn--gold:hover, .col--dark .btn--gold:hover { background: #fff; color: var(--ink); }

/* Elementos de servicio / pasos */
.col, .row { counter-reset: none; }
.sec__inner { counter-reset: wda-step; }
.item { display: flex; gap: 22px; align-items: flex-start; margin: 0 0 30px; text-align: left; }
.align-right .item { flex-direction: row-reverse; text-align: right; }
.item__icon { flex: none; width: 50px; height: 50px; background: var(--gold); position: relative; }
.item__icon::after { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat; }
.item--num { counter-increment: wda-step; }
.item--num .item__icon { display: flex; align-items: center; justify-content: center; }
.item--num .item__icon::after { content: counter(wda-step); -webkit-mask: none; mask: none; background: none; color: #fff; position: static; font-family: var(--serif); font-size: 22px; }
.item__title { font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); margin: 2px 0 6px; line-height: 1.4; }
.item__title a { color: inherit; text-decoration: none !important; }
.item__text, .item__text p { font-size: 15px; line-height: 1.7; }
.item__text p:last-child { margin-bottom: 0; }
.sec--dark .item__title, .col--dark .item__title { color: #fff; }
.sec--dark .item__icon, .col--dark .item__icon { background: transparent; border: 1px solid var(--gold); }
.sec--dark .item__icon::after, .col--dark .item__icon::after { background: var(--gold); }
.sec--dark .item--num .item__icon::after, .col--dark .item--num .item__icon::after { background: none; color: var(--gold); }

/* Tarjetas */
.card { background: var(--light); padding: 34px 30px; height: 100%; border-top: 3px solid var(--gold); }
.sec--light .card { background: #fff; }
.card img { margin: -34px -30px 24px; width: calc(100% + 60px); max-width: none; }
.card__title { font-size: 22px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.card__text { font-size: 15px; line-height: 1.7; }

/* Cifras en páginas */
.sec .stat { padding: 10px 0 20px; }
.sec .stat__num { font-size: 46px; color: var(--gold); }

/* Preguntas frecuentes */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 50px 22px 0; font-family: var(--serif); font-size: 19px; line-height: 1.4; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--gold); color: #fff; font-family: var(--sans); font-size: 20px; transition: transform .25s; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--gold); }
.faq__a { padding: 0 50px 18px 0; }
.sec--dark .faq, .sec--dark .faq details { border-color: rgba(255, 255, 255, .15); }
.sec--dark .faq summary { color: #fff; }

.icon-line { padding-left: 18px; position: relative; }
.icon-line::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; background: var(--gold); }

/* Formulario en páginas */
.page-full .contact-form-section { margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
	.row, .sec--wide > .sec__inner > .row { grid-template-columns: 1fr !important; }
	.sec { padding: 70px 0; }
	.sec--wide > .sec__inner > .row > .col:not(.col--media) { padding: 70px 24px; }
	.sec--wide > .sec__inner > .row > .col--media { min-height: 340px; }
	.col--media { min-height: 300px; }
	.align-right { text-align: left; }
	.align-right .item { flex-direction: row; text-align: left; }
	.sec--wide > .sec__inner > .row > .col.align-right:not(.col--media) > * { margin-left: 0; }
	.page-full--own-hero > .sec:first-child { padding-top: calc(var(--header-h) + 60px); padding-bottom: 70px; }
}
@media (max-width: 680px) {
	.col--dark, .col--light, .col--gold { padding: 36px 24px; }
	.faq summary { font-size: 17px; }
}
.sec .member__name { padding-left: 0; margin: 0 0 4px; font-size: 16px; }
.sec .member__name + p { font-size: 14px; }
