/*
Theme Name: El Faro
Theme URI: https://elfaropro.local
Author: El Faro
Description: Modern entertainment storefront with interactive plans and trial capture.
Version: 3.0.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: lp-checkout
*/

:root {
  --ink: #0a0b10;
  --ink-2: #11131a;
  --panel: #171922;
  --panel-2: #1d202b;
  --white: #f8f8fb;
  --muted: #a4a8b6;
  --line: rgba(255,255,255,.1);
  --purple: #7457ff;
  --purple-2: #9d8cff;
  --cyan: #66e3ff;
  --green: #68e6a1;
  --warm: #ffca75;
  --danger: #ff6b70;
  --container: 1160px;
  --radius: 22px;
  --shadow: 0 30px 90px rgba(0,0,0,.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .ef-header { top: 32px; }
button,input,select { font: inherit; }
a { color: inherit; }
.ef-container { width: min(calc(100% - 40px),var(--container)); margin-inline: auto; }

/* Navigation */
.ef-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(10,11,16,.78);
  backdrop-filter: blur(20px) saturate(140%);
}
.ef-header__inner { display: flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 28px; }
.ef-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.ef-brand__mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg,var(--purple),#4bcbff);
  box-shadow: 0 10px 28px rgba(116,87,255,.35);
}
.ef-brand__mark::before { content: ""; width: 8px; height: 16px; border: 2px solid #fff; border-radius: 5px 5px 2px 2px; }
.ef-brand__mark::after { content: ""; position: absolute; width: 25px; height: 8px; left: 19px; top: 11px; background: linear-gradient(90deg,rgba(255,255,255,.75),transparent); clip-path: polygon(0 35%,100% 0,100% 100%,0 65%); }
.ef-brand__mark i { display: none; }
.ef-brand__name { display: flex; flex-direction: column; font-size: 17px; font-weight: 850; letter-spacing: -.02em; line-height: 1; }
.ef-brand__name small { margin-top: 5px; color: var(--muted); font-size: 7px; font-weight: 750; letter-spacing: .18em; }
.ef-nav { display: flex; align-items: center; gap: 28px; }
.ef-nav a { color: #b9bdc9; font-size: 13px; font-weight: 650; text-decoration: none; transition: color .2s; }
.ef-nav a:hover { color: #fff; }
.ef-nav .ef-nav__cta { display: inline-flex; align-items: center; gap: 12px; padding: 11px 17px; border-radius: 12px; background: #fff; color: #0b0c10; font-weight: 800; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.ef-nav__cta span { color: var(--purple); }

/* Hero */
.ef-hero { position: relative; min-height: 780px; display: grid; align-items: center; overflow: hidden; padding: 150px 0 90px; isolation: isolate; }
.ef-hero::before { content: ""; position: absolute; z-index: -3; inset: 0; background: radial-gradient(circle at 72% 32%,rgba(116,87,255,.2),transparent 31%),radial-gradient(circle at 88% 65%,rgba(102,227,255,.11),transparent 26%),linear-gradient(180deg,#0a0b10,#0c0e15); }
.ef-hero::after { content: ""; position: absolute; z-index: -2; inset: 0; opacity: .23; background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right,transparent,#000 65%,transparent); }
.ef-beam { position: absolute; z-index: -1; width: 620px; height: 620px; right: -120px; top: 105px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 90px rgba(116,87,255,.025),0 0 0 180px rgba(116,87,255,.015); }
.ef-hero__grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.75fr); align-items: center; gap: 75px; }
.ef-hero__content { max-width: 710px; }
.ef-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 7px 11px; border: 1px solid rgba(157,140,255,.22); border-radius: 999px; background: rgba(116,87,255,.1); color: #c8bfff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ef-kicker span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.ef-kicker--dark { border-color: rgba(116,87,255,.2); background: rgba(116,87,255,.08); color: #6753dc; }
.ef-hero h1 { margin: 0; max-width: 720px; font-size: clamp(54px,6.6vw,82px); font-weight: 780; letter-spacing: -.065em; line-height: .98; text-wrap: balance; }
.ef-hero h1 em { color: transparent; font-style: normal; background: linear-gradient(90deg,var(--purple-2),var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.ef-hero__copy { max-width: 610px; margin: 26px 0 32px; color: var(--muted); font-size: 18px; }
.ef-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.ef-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 13px; padding: 13px 21px; border: 0; border-radius: 13px; background: linear-gradient(135deg,var(--purple),#6447ee); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 14px 35px rgba(116,87,255,.28); transition: transform .2s,box-shadow .2s,filter .2s; }
.ef-button:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 18px 42px rgba(116,87,255,.36); }
.ef-button--dark { width: 100%; }
.ef-button--light { background: #fff; color: var(--ink); box-shadow: none; }
.ef-text-link { display: inline-flex; min-height: 52px; align-items: center; padding: 12px 20px; border: 1px solid var(--line); border-radius: 13px; color: #e6e7ec; font-size: 14px; font-weight: 700; text-decoration: none; }
.ef-hero__facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; }
.ef-hero__facts span { display: flex; align-items: center; gap: 7px; color: #858a99; font-size: 12px; }
.ef-hero__facts span::before { content: "✓"; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: rgba(104,230,161,.12); color: var(--green); font-size: 11px; font-weight: 900; }
.ef-hero__facts strong { color: #e9eaf0; font-weight: 750; }
.ef-signal { position: relative; width: 100%; aspect-ratio: 1/.93; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.015)); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.ef-signal::before { content: "Vista previa"; position: absolute; left: 22px; top: 19px; color: #858a99; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.ef-signal::after { content: "En línea"; position: absolute; right: 19px; top: 17px; padding: 4px 8px; border-radius: 999px; background: rgba(104,230,161,.1); color: var(--green); font-size: 10px; font-weight: 800; }
.ef-signal__orbit { position: absolute; border: 1px solid rgba(157,140,255,.2); border-radius: 50%; }
.ef-signal__orbit--one { inset: 15%; }
.ef-signal__orbit--two { inset: 28%; border-color: rgba(102,227,255,.18); }
.ef-signal__orbit::after { content: ""; position: absolute; width: 9px; height: 9px; top: 18%; left: 12%; border-radius: 50%; background: var(--purple-2); box-shadow: 0 0 18px var(--purple); }
.ef-signal__core { position: relative; display: flex; width: 172px; height: 172px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: radial-gradient(circle,rgba(116,87,255,.24),rgba(116,87,255,.04) 58%,transparent 60%); text-align: center; }
.ef-signal__mark { width: 58px; height: 58px; margin-bottom: 12px; border-radius: 18px; background: linear-gradient(135deg,var(--purple),var(--cyan)); box-shadow: 0 18px 45px rgba(116,87,255,.4); }
.ef-signal__mark::after { content: "▶"; display: grid; height: 100%; place-items: center; padding-left: 4px; color: #fff; font-size: 20px; }
.ef-signal__core strong { font-size: 15px; letter-spacing: .08em; }
.ef-signal__core small { margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: .12em; }

.ef-marquee { overflow: hidden; padding: 15px 0; border-block: 1px solid var(--line); background: #0e1016; color: #747988; white-space: nowrap; }
.ef-marquee div { min-width: max-content; font-size: 10px; font-weight: 750; letter-spacing: .13em; text-align: center; }
.ef-marquee i { display: inline-block; width: 4px; height: 4px; margin: 0 24px 2px; border-radius: 50%; background: var(--purple-2); }

/* Trial */
.ef-section { padding: 105px 0; }
.ef-section--cream { background: #f4f4f8; color: #11131a; }
.ef-trial { display: grid; grid-template-columns: minmax(0,1fr) minmax(370px,.72fr); align-items: center; gap: 90px; }
.ef-trial__intro h2 { max-width: 690px; margin: 0 0 22px; font-size: clamp(40px,4.5vw,62px); font-weight: 760; letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
.ef-trial__intro > p:last-child { max-width: 600px; color: #656978; font-size: 17px; }
.ef-trial__panel { position: relative; padding: 34px; border: 1px solid #e2e3e9; border-radius: 24px; background: #fff; box-shadow: 0 25px 65px rgba(25,28,40,.1); }
.ef-trial__number { position: absolute; right: 28px; top: 22px; color: #dfe1e8; font-size: 14px; font-weight: 850; }
.ef-trial__panel h3 { margin: 0 0 8px; font-size: 27px; letter-spacing: -.035em; }
.ef-trial__panel > p { margin: 0 0 27px; color: #6e7280; font-size: 14px; }
.ef-trial-form { display: grid; gap: 13px; }
.ef-trial-form > label { color: #3b3e49; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ef-phone { display: grid; grid-template-columns: auto 1fr; overflow: hidden; border: 1px solid #dedfe6; border-radius: 13px; background: #fff; transition: border .2s,box-shadow .2s; }
.ef-phone:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(116,87,255,.11); }
.ef-country-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.ef-country-picker { position: relative; width: 120px; min-height: 56px; border-right: 1px solid #e1e2e8; background: #f8f8fb; }
.ef-country-display { display: flex; height: 100%; align-items: center; gap: 9px; padding: 0 12px; color: #535766; pointer-events: none; }
.ef-country-display img { width: 27px; height: 18px; border: 1px solid rgba(0,0,0,.1); object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.ef-country-display strong { font-size: 14px; font-weight: 800; }
.ef-country-display i { width: 7px; height: 7px; margin-left: auto; border-right: 1.5px solid #737785; border-bottom: 1.5px solid #737785; transform: rotate(45deg) translateY(-2px); }
.ef-country-picker select { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; cursor: pointer; }
.ef-phone input { width: 100%; min-width: 0; min-height: 56px; padding: 14px 16px; border: 0; outline: 0; color: #171922; background: transparent; }
.ef-trial-form .ef-button { min-height: 56px; margin-top: 2px; }
.ef-trial-form small { color: #8a8e9b; font-size: 10px; text-align: center; }
.barrio-form-status { padding: 12px 14px!important; border-radius: 12px!important; font-size: 13px!important; }

/* Offer */
.ef-offer { padding: 65px 0; background: linear-gradient(120deg,#6648ef,#805fff 55%,#517fff); }
.ef-offer__grid { display: grid; grid-template-columns: 130px 1fr 195px; align-items: center; gap: 50px; }
.ef-offer__label { display: grid; min-height: 132px; place-items: center; padding: 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 22px; background: rgba(255,255,255,.1); text-align: center; }
.ef-offer__label span { font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.ef-offer__label strong { font-size: 52px; line-height: .8; }
.ef-offer__label small { font-size: 9px; letter-spacing: .2em; }
.ef-offer__copy h2 { margin: 0 0 10px; font-size: clamp(34px,4vw,48px); font-weight: 760; letter-spacing: -.05em; line-height: 1; }
.ef-offer__copy > p { max-width: 600px; margin: 0; color: rgba(255,255,255,.75); }
.ef-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ef-tags span { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.11); color: rgba(255,255,255,.86); font-size: 10px; font-weight: 700; }
.ef-offer__price { display: grid; gap: 16px; }
.ef-offer__price > span { font-size: 68px; font-weight: 800; line-height: .9; letter-spacing: -.06em; }
.ef-offer__price sup { margin-left: 4px; font-size: 21px; }

/* Plans */
.ef-plans-section { background: #0b0c11; }
.ef-section-head { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 44px; }
.ef-section-head h2 { margin: 0; font-size: clamp(40px,4.5vw,60px); font-weight: 760; letter-spacing: -.055em; line-height: 1; }
.ef-section-head > p { max-width: 460px; margin: 0 0 5px; color: var(--muted); }
.ef-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.ef-plan { position: relative; display: flex; min-height: 385px; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); color: #fff; text-align: left; cursor: pointer; transition: transform .2s,border .2s,background .2s,box-shadow .2s; }
.ef-plan:hover { transform: translateY(-4px); border-color: rgba(157,140,255,.45); }
.ef-plan.is-selected { border-color: var(--purple); background: linear-gradient(150deg,rgba(116,87,255,.22),var(--panel) 55%); box-shadow: 0 22px 55px rgba(116,87,255,.15); }
.ef-plan__badge { position: absolute; right: 18px; top: 18px; padding: 6px 9px; border-radius: 999px; background: var(--purple); font-size: 9px; font-weight: 850; }
.ef-plan__index { color: #6e7281; font-size: 11px; font-weight: 800; }
.ef-plan__term { margin-top: 18px; font-size: 29px; font-weight: 780; letter-spacing: -.035em; }
.ef-plan__line { width: 100%; height: 1px; margin: 22px 0; background: var(--line); }
.ef-plan ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.ef-plan li::before { content: "✓"; margin-right: 9px; color: var(--green); font-weight: 900; }
.ef-plan__price { margin-top: auto; font-size: 50px; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.ef-plan__price sup { margin-left: 3px; font-size: 17px; }
.ef-plan__device { margin-top: 6px; color: #717685; font-size: 11px; font-weight: 700; }
.ef-configurator { display: grid; grid-template-columns: minmax(240px,1fr) 285px 110px 210px; align-items: center; gap: 26px; margin-top: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.ef-configurator__copy > span { color: var(--purple-2); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.ef-configurator__copy h3 { margin: 4px 0 2px; font-size: 21px; letter-spacing: -.025em; }
.ef-configurator__copy p { margin: 0; color: #767b8a; font-size: 12px; }
.ef-devices { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.ef-device { min-height: 66px; padding: 8px; border: 1px solid var(--line); border-radius: 11px; background: #11131a; color: #8d92a1; cursor: pointer; }
.ef-device strong,.ef-device span { display: block; }
.ef-device strong { color: #fff; font-size: 20px; }
.ef-device span { font-size: 9px; font-weight: 700; }
.ef-device.is-selected { border-color: var(--purple); background: rgba(116,87,255,.2); color: #cfc8ff; }
.ef-configurator__total { display: flex; flex-direction: column; }
.ef-configurator__total small { color: #666b79; font-size: 9px; letter-spacing: .1em; }
.ef-configurator__total strong { font-size: 31px; }

/* Trust + footer */
.ef-assurance { background: #f4f4f8; color: #151720; }
.ef-assurance__headline { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.ef-assurance__headline h2 { max-width: 720px; margin: 0; font-size: clamp(39px,4vw,56px); font-weight: 760; letter-spacing: -.055em; line-height: 1.03; }
.ef-assurance__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.ef-assurance article { min-height: 220px; padding: 25px; border: 1px solid #e1e2e8; border-radius: 19px; background: #fff; box-shadow: 0 10px 30px rgba(30,33,45,.04); }
.ef-assurance article span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: rgba(116,87,255,.09); color: var(--purple); font-size: 10px; font-weight: 850; }
.ef-assurance article h3 { margin: 38px 0 8px; font-size: 19px; }
.ef-assurance article p { margin: 0; color: #747887; font-size: 13px; }
.ef-footer { padding: 58px 0 22px; background: #08090d; }
.ef-footer__top { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 45px; padding-bottom: 42px; }
.ef-footer__top > p { margin: 0; color: #747887; font-size: 16px; }
.ef-footer__contact { display: inline-flex; gap: 12px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 11px; font-size: 12px; font-weight: 750; text-decoration: none; }
.ef-footer__bottom { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); color: #535765; font-size: 10px; }
.ef-whatsapp { position: fixed; z-index: 60; right: 22px; bottom: 22px; display: grid; width: 57px; height: 57px; place-items: center; border: 4px solid rgba(255,255,255,.15); border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 15px 35px rgba(0,0,0,.32); transition: transform .2s; }
.ef-whatsapp:hover { transform: scale(1.07); }
.ef-whatsapp svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* WooCommerce */
.woocommerce-page main,.woocommerce-page article { width: min(calc(100% - 40px),1080px); margin: 0 auto; padding: 140px 0 80px; }
.woocommerce-page article { width: 100%; padding: 0; }
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce .select2-container--default .select2-selection--single { min-height: 52px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); }
.woocommerce-checkout #payment,.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: #fff; }
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #payment #place_order { min-height: 50px; padding: 14px 24px; border-radius: 11px; background: var(--purple); color: #fff; font-weight: 800; }

@media (max-width: 980px) {
  .ef-hero__grid { grid-template-columns: 1fr .72fr; gap: 38px; }
  .ef-trial { gap: 45px; }
  .ef-offer__grid { grid-template-columns: 110px 1fr; }
  .ef-offer__price { grid-column: 2; grid-template-columns: auto 1fr; align-items: center; }
  .ef-configurator { grid-template-columns: 1fr 1fr; }
  .ef-configurator__total { align-items: flex-end; }
  .ef-assurance__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body.admin-bar .ef-header { top: 46px; }
  .ef-container { width: min(calc(100% - 28px),var(--container)); }
  .ef-header { padding: 10px 0; }
  .ef-brand__name { font-size: 15px; }
  .ef-nav { gap: 0; }
  .ef-nav > a:not(.ef-nav__cta) { display: none; }
  .ef-nav .ef-nav__cta { padding: 10px 13px; font-size: 11px; }
  .ef-hero { min-height: auto; padding: 130px 0 70px; }
  .ef-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .ef-hero h1 { font-size: clamp(48px,14vw,64px); }
  .ef-hero__copy { font-size: 16px; }
  .ef-hero__actions { display: grid; grid-template-columns: 1fr; }
  .ef-button,.ef-text-link { width: 100%; }
  .ef-text-link { justify-content: center; }
  .ef-hero__facts { gap: 15px; }
  .ef-hero__facts span { width: calc(50% - 8px); }
  .ef-signal { max-width: 420px; margin-inline: auto; }
  .ef-section { padding: 76px 0; }
  .ef-trial { grid-template-columns: 1fr; gap: 32px; }
  .ef-trial__intro h2 { font-size: 40px; }
  .ef-trial__panel { padding: 26px 20px; }
  .ef-country-picker { width: 116px; }
  .ef-offer { padding: 60px 0; }
  .ef-offer__grid { grid-template-columns: 1fr; gap: 25px; }
  .ef-offer__label { width: 120px; min-height: 115px; }
  .ef-offer__copy h2 { font-size: 38px; }
  .ef-offer__price { grid-column: auto; grid-template-columns: 1fr; }
  .ef-section-head,.ef-assurance__headline { display: block; }
  .ef-section-head h2 { font-size: 43px; }
  .ef-section-head > p { margin-top: 18px; }
  .ef-plans { grid-template-columns: 1fr; }
  .ef-plan { min-height: 335px; }
  .ef-configurator { grid-template-columns: 1fr; padding: 20px; }
  .ef-configurator__total { align-items: flex-start; }
  .ef-assurance__headline h2 { margin-top: 14px; font-size: 40px; }
  .ef-assurance__grid { grid-template-columns: 1fr; }
  .ef-assurance article { min-height: 180px; }
  .ef-assurance article h3 { margin-top: 28px; }
  .ef-footer__top { grid-template-columns: 1fr; gap: 23px; }
  .ef-footer__bottom { flex-direction: column; gap: 6px; }
  .ef-whatsapp { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms!important; }
}
