/* ==========================================================================
   Espadán 360 · Páginas con diseño propio (Precios, GEO, Contacto, Nosotros)
   Solo se carga en esas páginas.
   ========================================================================== */

/* ---------- Cabecera de página ---------- */
.phero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(70px, 9vw, 130px);
	border-bottom: 1px solid var(--line);
	background: radial-gradient(90% 70% at 85% 40%, #1a1210 0%, var(--bg) 62%);
}
.phero__glow { position: absolute; z-index: -1; width: 46vw; height: 46vw; right: 0; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(253, 122, 40, .2), transparent 65%); filter: blur(40px); pointer-events: none; }
.phero__inner { position: relative; z-index: 2; }
.phero__title { font-size: clamp(46px, 8vw, 128px); line-height: .95; letter-spacing: -.035em; margin: 0 0 28px; max-width: 16ch; text-transform: none; }
.phero__title--xl { max-width: 14ch; }
.phero__lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; max-width: 62ch; color: rgba(244, 241, 236, .78); margin: 0 0 18px; }
.phero__lead--accent { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; color: var(--text); }
.phero__lead strong { color: var(--peach); font-weight: 600; }
.phero__lead--accent strong { font-weight: 500; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.phero--center { text-align: center; }
.phero--center .phero__title, .phero--center .phero__lead { margin-inline: auto; }
.phero--center .phero__actions { justify-content: center; }
.phero--center .page-hero__ring { right: auto; left: 50%; transform: translate(-50%, -50%); width: min(80vw, 900px); opacity: .6; }
.phero--compact { padding-bottom: clamp(40px, 5vw, 70px); }
.phero--compact .phero__title { margin: 0; }

/* Cabecera con vídeo (GEO) */
.phero--media { min-height: 88svh; display: flex; align-items: center; }
.phero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.phero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 13, .92) 0%, rgba(11, 11, 13, .7) 50%, rgba(11, 11, 13, .35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }

/* ---------- Secciones ---------- */
.psec { padding: var(--sec-y) 0; }
.psec--first { padding-top: calc(var(--sec-y) * .8); }
.psec--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.psec__title { font-size: clamp(30px, 4.4vw, 64px); text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; margin: 0 auto; max-width: 20ch; }
.psec__h2 { font-size: clamp(32px, 4vw, 58px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 24px; }
.section-head--center .section-head__index { justify-content: center; }
.section-head__index--gap { margin-top: clamp(60px, 7vw, 100px); }
.narrow { max-width: 860px; }
.wrap.narrow.prose { max-width: calc(var(--wrap) + var(--gutter) * 2); }
.wrap.narrow.prose > * { max-width: 860px; }
.prose p { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.75; color: rgba(244, 241, 236, .78); margin: 0 0 1.1em; }
.prose strong { color: var(--text); font-weight: 600; }
.statement--center { text-align: center; }
.statement--center .statement__title { margin-inline: auto; max-width: 22ch; }

/* Dos columnas imagen + texto */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 100px -50px var(--glow); }
.split__media img { width: 100%; height: auto; }
.split__copy p:first-child { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; color: var(--text); }

/* Banda CTA */
.pband { padding: var(--sec-y-lg) 0; text-align: center; background: radial-gradient(60% 80% at 50% 100%, rgba(253, 122, 40, .16), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.pband__inner { max-width: 900px; }
.pband__title { font-size: clamp(34px, 5vw, 72px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 26px; }
.pband__text { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.7; color: rgba(244, 241, 236, .78); margin: 0 auto 16px; max-width: 62ch; }
.pband__text strong { color: var(--text); font-weight: 600; }
.pband .btn { margin-top: 24px; }

/* ---------- Precios ---------- */
.plan-grid { display: grid; gap: 20px; }
.plan-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan__inner {
	position: relative; overflow: hidden; height: 100%; border-radius: calc(var(--radius) - 1px);
	padding: clamp(28px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 14px; min-height: 280px;
	background: radial-gradient(500px circle at var(--mx) var(--my), rgba(253, 122, 40, .09), transparent 50%), var(--surface);
}
.plan__name { font-family: var(--f-display); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; margin: 0; padding-right: 48px; }
.plan__desc { color: rgba(244, 241, 236, .7); font-size: 15px; line-height: 1.6; margin: 0; }
.plan__price { margin: auto 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan__price strong { display: inline-block; font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 3.4vw, 54px); line-height: 1; letter-spacing: -.03em; color: var(--orange); text-transform: none; margin-right: 4px; }
.plan--big .plan__inner { min-height: 340px; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(253, 122, 40, .14), transparent 50%), linear-gradient(160deg, #22160f, var(--surface) 60%); }
.plan--big .plan__name { font-size: clamp(28px, 2.8vw, 42px); }
.plan--big .plan__desc { font-size: 17px; max-width: 42ch; }
.plan--big .plan__price strong { font-size: clamp(52px, 5vw, 80px); }
.page-prices .section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.notes { margin-top: clamp(50px, 6vw, 80px); padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.notes p { margin: 0 0 8px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.notes p:last-child { margin: 0; }
.notes strong { color: var(--orange); }
@media (max-width: 1100px) { .plan-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .plan-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plan-grid--2, .plan-grid--3, .plan-grid--4 { grid-template-columns: 1fr; } .plan__inner { min-height: 0; } }

/* ---------- GEO ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 36px 0 44px; }
.ai-card { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius-s); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 15px; line-height: 1.55; color: rgba(244, 241, 236, .75); transition: box-shadow .4s, transform .4s var(--ease); }
.ai-card:hover { box-shadow: 0 0 0 1px var(--orange); transform: translateY(-3px); }
.ai-card svg { flex: none; width: 24px; height: 24px; color: var(--orange); }
.ai-card strong { color: var(--text); font-weight: 600; }

.price-pill { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 30px; padding: 22px 26px; border-radius: var(--radius); border: 1px solid rgba(253, 122, 40, .45); background: linear-gradient(120deg, rgba(253, 122, 40, .12), transparent 70%); text-decoration: none; color: var(--text); transition: border-color .3s, transform .4s var(--ease); }
.price-pill:hover { border-color: var(--orange); transform: translateY(-3px); }
.price-pill__text { font-family: var(--f-display); font-size: clamp(20px, 2vw, 28px); }
.price-pill__price { padding: 10px 18px; border-radius: 12px; background: var(--orange); color: #140b05; font-weight: 800; font-size: clamp(26px, 3vw, 38px); line-height: 1; box-shadow: 0 0 30px rgba(253, 122, 40, .3); white-space: nowrap; }
.price-pill__price small { font-size: 15px; font-weight: 700; }

.geo-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.geo-service { position: relative; padding: clamp(28px, 2.6vw, 40px); border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .4s; }
.geo-service::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.geo-service:hover { box-shadow: 0 0 0 1px rgba(253, 122, 40, .5); }
.geo-service:hover::before { transform: scaleY(1); }
.geo-service__num { display: block; font-family: var(--f-display); font-style: italic; color: var(--orange); font-size: 18px; margin-bottom: 28px; }
.geo-service__title { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; margin: 0 0 14px; }
.geo-service p { margin: 0; color: rgba(244, 241, 236, .7); font-size: 15px; line-height: 1.65; }
@media (max-width: 1000px) { .geo-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .geo-services { grid-template-columns: 1fr; } }

.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.benefit__inner { position: relative; height: 100%; padding: clamp(28px, 3vw, 44px); border-radius: calc(var(--radius) - 1px); background: radial-gradient(500px circle at var(--mx) var(--my), rgba(253, 122, 40, .1), transparent 50%), var(--surface); }
.benefit__num { display: block; font-family: var(--f-display); font-size: clamp(40px, 4vw, 60px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(253, 122, 40, .7); margin-bottom: 20px; }
.benefit__title { font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.15; margin: 0 0 10px; }
.benefit__text { margin: 0; color: rgba(244, 241, 236, .7); line-height: 1.6; }
@media (max-width: 700px) { .benefits { grid-template-columns: 1fr; } }

.author { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1000px; margin-inline: auto; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); background: linear-gradient(140deg, #1d1410, var(--surface) 55%); box-shadow: 0 0 0 1px var(--line); }
.author__photo { margin: 0; width: clamp(130px, 16vw, 190px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 30%, rgba(253, 122, 40, .45), var(--surface-2) 70%); box-shadow: 0 0 0 1px rgba(253, 122, 40, .4); display: grid; place-items: end center; }
.author__photo img { width: 82%; height: auto; }
.author__title { font-size: clamp(26px, 2.6vw, 38px); margin: 0 0 14px; }
.author__copy p { color: rgba(244, 241, 236, .78); line-height: 1.7; margin: 0 0 20px; }
.author__copy strong { color: var(--text); font-weight: 600; }
.social--author { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.social--author a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--peach); transition: background .3s, color .3s, border-color .3s; }
.social--author a:hover { background: var(--orange); border-color: var(--orange); color: #140b05; }
.social--author svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .author { grid-template-columns: 1fr; text-align: center; justify-items: center; } .social--author { justify-content: center; } }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; font-family: var(--f-display); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.25; transition: color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--peach); }
.faq__item summary i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .5s var(--ease); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; }
.faq__item summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq__item[open] summary i { background: var(--orange); border-color: var(--orange); color: #140b05; }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__a p { margin: 0; padding: 0 60px 28px 4px; color: rgba(244, 241, 236, .75); line-height: 1.7; }

/* ---------- Contacto ---------- */
.contact { padding: var(--sec-y) 0 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact__title { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 32px; }
.contact__list { display: grid; gap: 10px; padding: 0; margin: 0 0 32px; list-style: none; }
.contact__list li, .contact__list a { display: flex; align-items: center; gap: 16px; font-size: 17px; color: var(--text); text-decoration: none; }
.contact__list a { transition: color .3s; }
.contact__list a:hover { color: var(--peach); }
.contact__ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(253, 122, 40, .4); color: var(--orange); transition: background .3s, color .3s; }
.contact__ico svg { width: 20px; height: 20px; }
.contact__list a:hover .contact__ico { background: var(--orange); color: #140b05; }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); aspect-ratio: 16 / 10; background: var(--surface); }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.contact__form { padding: clamp(28px, 3.4vw, 52px); border-radius: var(--radius); background: radial-gradient(80% 60% at 100% 0%, rgba(253, 122, 40, .12), transparent 60%), var(--surface); box-shadow: 0 0 0 1px var(--line), 0 50px 100px -60px var(--glow); }
.contact__form-title { font-size: clamp(26px, 2.6vw, 38px); color: var(--orange); margin: 0 0 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact__form .wpcf7 p { margin: 0 0 18px; }
.contact__form .wpcf7 label { margin-bottom: 8px; letter-spacing: .04em; }
.contact__form .wpcf7 br { display: none; }
.contact__form textarea { min-height: 150px; resize: vertical; }
.contact__form .wpcf7-acceptance label { display: flex; align-items: center; gap: 10px; color: rgba(244, 241, 236, .75); }
.contact__form .wpcf7-acceptance input { width: 18px; height: 18px; accent-color: var(--orange); }
.contact__form .wpcf7-list-item { margin: 0; }
.contact__form .wpcf7-submit { width: 100%; min-height: 56px; }
.contact__form .wpcf7-response-output { margin: 16px 0 0 !important; border-radius: var(--radius-s); }
.contact__closing { text-align: center; color: var(--orange); font-size: clamp(30px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin: 0; padding: var(--sec-y) 0; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Nosotros ---------- */
.team { padding: var(--sec-y) 0; }
.member { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.member + .member { margin-top: clamp(80px, 10vw, 150px); }
.member--rev .member__photo { order: 2; }
.member__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 50px 100px -50px var(--glow); transform-style: preserve-3d; }
.member__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.member__photo:hover img { transform: scale(1.04); }
.member__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(11, 11, 13, .6), transparent); pointer-events: none; }
.member__name { font-family: var(--f-display); font-size: clamp(34px, 4.4vw, 64px); line-height: 1; letter-spacing: -.02em; margin: 6px 0 26px; }
.member__name strong { font-weight: 400; }
.member__name--accent { color: var(--orange); }
.member__copy p:not(.member__name) { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.75; color: rgba(244, 241, 236, .78); margin: 0 0 1em; }
.member__copy strong { color: var(--text); font-weight: 600; }
@media (max-width: 900px) {
	.member { grid-template-columns: 1fr; }
	.member--rev .member__photo { order: 0; }
	.member__photo { max-width: 480px; }
}
