/* =========================================================
   Inside Chiropractic — Propuesta de rediseño · REDISEÑA
   Concepto: "Desde adentro". Identidad real de la marca:
   monocromo carbón/blanco + amarillo Inside, ondas de líneas,
   puntos del logo como columna vertebral.
   ========================================================= */
:root {
  --coal: #121212; --coal-2: #1c1c1c; --coal-3: #2a2a2a;
  --white: #ffffff; --bone: #f5f4f0; --gray: #8a8a8a;
  --text: #1a1a1a; --text-2: #4a4a4a;
  --yellow: #ffcd57; --yellow-2: #ffb800;
  --line: rgba(18, 18, 18, .1);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(18px, 4vw, 56px); --max: 1240px;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--yellow-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--coal); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--coal); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 200; }
.skip:focus { top: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; margin: 0; }
.kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gray); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.kicker i { display: inline-flex; gap: 4px; align-items: center; }
.kicker i b { display: block; border-radius: 50%; background: var(--yellow-2); }
.kicker i b:nth-child(1) { width: 8px; height: 8px; } .kicker i b:nth-child(2) { width: 6px; height: 6px; } .kicker i b:nth-child(3) { width: 4px; height: 4px; }
.h2 { font-size: clamp(42px, 6vw, 86px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 620px; }
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 1.3s var(--ease) .3s; padding: 0 .08em; }
.in .hl, .hl.in { background-size: 100% 100%; }
.y { color: var(--yellow); }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; border-radius: 99px; font: 600 15px var(--body); letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .45s var(--ease), background .3s, color .3s; }
.btn--y { background: var(--yellow); color: var(--coal); box-shadow: 0 18px 36px -16px rgba(255, 184, 0, .7); }
.btn--y:hover { transform: translateY(-3px); background: var(--yellow-2); }
.btn--line { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--line:hover { background: #fff; color: var(--coal); }
.btn--dark { background: var(--coal); color: #fff; }
.btn--dark:hover { transform: translateY(-3px); background: #000; }
.btn .arr { transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding: 22px 0; transition: background .45s, padding .45s; }
.nav.scrolled { background: rgba(18, 18, 18, .88); padding: 12px 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__in { display: flex; align-items: center; gap: 30px; }
.nav__logo img { height: 58px; transition: height .45s var(--ease); width: auto; filter: brightness(0) invert(1); }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.75); transition: color .3s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--yellow); }
.nav .nav-cta { padding: 12px 22px; font-size: 13.5px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mmenu { display: none; }
@media (max-width: 900px) {
  .nav__links, .nav .nav-cta { display: none; }
  .burger { display: block; }
  .mmenu { display: grid; padding: 10px var(--gutter) 24px; background: var(--coal); }
  .mmenu[hidden] { display: none; }
  .mmenu a { padding: 14px 0; font-family: var(--display); font-size: 26px; text-transform: uppercase; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
  .mmenu .btn { margin-top: 16px; justify-content: center; font-family: var(--body); font-size: 15px; border: 0; }
}

.spine { position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 7px; pointer-events: none; }
.spine i { display: block; border-radius: 50%; background: rgba(140,140,140,.35); transition: background .4s, transform .4s var(--ease); }
.spine i.on { background: var(--yellow-2); transform: scale(1.15); }
@media (max-width: 760px) { .spine { display: none; } }

.hero { position: relative; min-height: 100svh; background: var(--coal); color: #fff; overflow: hidden; display: flex; align-items: center; padding: 130px 0 90px; isolation: isolate; }
.waves { position: absolute; inset: -10% -5%; width: 110%; height: 120%; z-index: -1; opacity: .6; }
.waves path { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1; }
.waves path.yl { stroke: rgba(255, 205, 87, .4); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 20% 55%, rgba(18,18,18,.15), rgba(18,18,18,.9)); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(60px, 9.6vw, 150px); }
.hero h1 .thin { font-weight: 300; color: rgba(255,255,255,.9); }
.hero .lead { color: rgba(255,255,255,.72); margin: 28px 0 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 54px; font-size: 13px; color: rgba(255,255,255,.6); }
.hero__proof b { display: block; font-family: var(--display); font-size: 32px; font-weight: 500; color: #fff; line-height: 1.1; }
.hero__media { position: relative; }
.hero__photo { position: relative; border-radius: 300px 300px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 2.6s var(--ease); }
.loaded .hero__photo img { transform: scale(1); }
.hero__badge { position: absolute; left: -26px; bottom: 34px; background: #fff; color: var(--coal); border-radius: 18px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.hero__badge strong { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1; }
.hero__badge span { font-size: 12.5px; line-height: 1.3; color: var(--text-2); }
.hero__badge em { font-style: normal; color: var(--yellow-2); letter-spacing: 1px; }
.hero__dots { position: absolute; right: -10px; top: 30px; display: flex; gap: 8px; align-items: center; }
.hero__dots i { display: block; border-radius: 50%; background: var(--yellow); animation: pulse 3s var(--ease) infinite; }
.hero__dots i:nth-child(1) { width: 18px; height: 18px; } .hero__dots i:nth-child(2) { width: 13px; height: 13px; animation-delay: .15s; }
.hero__dots i:nth-child(3) { width: 9px; height: 9px; animation-delay: .3s; } .hero__dots i:nth-child(4) { width: 6px; height: 6px; animation-delay: .45s; }
@keyframes pulse { 50% { transform: scale(.55); opacity: .5; } }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__media { max-width: 420px; margin: 10px auto 0; width: 100%; } .hero__badge { left: 10px; } }

.ticker { background: var(--yellow); color: var(--coal); overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 28s linear infinite; font-family: var(--display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.ticker__track span { display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; }
.ticker__track span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--coal); }
@keyframes tick { to { transform: translateX(-50%); } }

.section { padding: clamp(90px, 13vw, 170px) 0; position: relative; }
.section--bone { background: var(--bone); }
.section--dark { background: var(--coal); color: #fff; }
.section--dark .lead { color: rgba(255,255,255,.7); }
.head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
@media (max-width: 760px) { .head { grid-template-columns: 1fr; } }

.centers { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.center { position: relative; display: block; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.6; color: #fff; text-decoration: none; isolation: isolate; }
.center img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.85) contrast(1.05); transition: transform 1.4s var(--ease), filter .8s; }
.center::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85)); }
.center:hover img { transform: scale(1.06); filter: grayscale(0) contrast(1); }
.center__num { position: absolute; top: 26px; left: 28px; font-family: var(--display); font-size: 15px; letter-spacing: .2em; color: var(--yellow); }
.center__body { position: absolute; left: 28px; right: 28px; bottom: 28px; }
.center h3 { font-family: var(--display); font-size: clamp(40px, 5vw, 72px); font-weight: 600; text-transform: uppercase; line-height: .9; margin: 0 0 12px; }
.center p { margin: 0 0 20px; color: rgba(255,255,255,.8); }
.center .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; }
.center .go::before { content: ""; width: 34px; height: 1.5px; background: var(--yellow); transition: width .5s var(--ease); }
.center:hover .go::before { width: 60px; }
@media (max-width: 760px) { .centers { grid-template-columns: 1fr; } }

.mission__text { font-family: var(--display); font-size: clamp(34px, 5.2vw, 74px); font-weight: 500; text-transform: uppercase; line-height: 1.06; margin: 0; max-width: 1150px; }
.mission__text .soft { color: #a8a8a4; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.how__step { padding: 40px 32px 10px 0; border-right: 1px solid rgba(255,255,255,.14); }
.how__step + .how__step { padding-left: 32px; }
.how__step:last-child { border-right: 0; }
.how__n { font-family: var(--display); font-size: 74px; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.45); }
.how__step h3 { font-family: var(--display); font-size: 30px; font-weight: 500; text-transform: uppercase; margin: 18px 0 10px; color: var(--yellow); }
.how__step p { color: rgba(255,255,255,.68); margin: 0; font-size: 15.5px; }
.spine-img { margin: 70px auto 0; max-width: 860px; filter: grayscale(1) invert(1) brightness(1.1); mix-blend-mode: screen; opacity: .85; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } .how__step, .how__step + .how__step { padding: 30px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); } }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 340px)); gap: 26px; }
.member__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--coal-3); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1); transition: filter .8s, transform 1.2s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.04); }
.member__photo::after { content: ""; position: absolute; left: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); transform: scale(0); transition: transform .6s var(--ease); }
.member:hover .member__photo::after { transform: scale(1); }
.member h3 { font-family: var(--display); font-size: 34px; font-weight: 600; text-transform: uppercase; margin: 22px 0 2px; }
.member__role { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: #b98400; font-weight: 700; margin: 0 0 14px; }
.member ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--text-2); }
.member li { padding-left: 18px; position: relative; }
.member li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-2); }

.palmer { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.palmer blockquote { margin: 0; font-family: var(--display); font-size: clamp(38px, 5.2vw, 72px); font-weight: 500; text-transform: uppercase; line-height: 1; }
.palmer blockquote::before { content: "“"; display: block; font-size: 1.6em; line-height: .6; color: var(--yellow); }
.palmer__sig { margin-top: 28px; display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.6); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; }
.palmer__sig img { height: 56px; width: auto; filter: invert(1) grayscale(1); mix-blend-mode: screen; }
@media (max-width: 860px) { .palmer { grid-template-columns: 1fr; } }

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }
.price { padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.price--y { background: var(--yellow); border-color: transparent; }
.price__tag { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--text-2); }
.price h3 { font-family: var(--display); font-size: 40px; font-weight: 600; text-transform: uppercase; margin: 10px 0 0; }
.price__amount { font-family: var(--display); font-size: clamp(64px, 8vw, 104px); font-weight: 600; line-height: 1; margin: 18px 0; }
.price p { color: var(--text-2); margin: 0 0 26px; }
.price--y p { color: #3a3000; }
.price .btn { margin-top: auto; align-self: flex-start; }
.soon { margin-top: auto; align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 10px 16px; border-radius: 99px; border: 1.5px dashed rgba(18,18,18,.5); }
.discounts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; }
.discount { padding: 26px 28px; border-right: 1px solid var(--line); }
.discount:last-child { border-right: 0; }
.discount b { display: block; font-family: var(--display); font-size: 22px; font-weight: 500; text-transform: uppercase; margin-bottom: 6px; }
.discount span { font-size: 14.5px; color: var(--text-2); }
@media (max-width: 760px) { .discounts { grid-template-columns: 1fr; } .discount { border-right: 0; border-bottom: 1px solid var(--line); } }

.reviews { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.reviews__track { display: flex; gap: 20px; width: max-content; animation: tick 70s linear infinite; padding: 6px 0; }
.reviews:hover .reviews__track { animation-play-state: paused; }
.review { width: 360px; flex-shrink: 0; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.review__stars { color: var(--yellow-2); letter-spacing: 3px; }
.review p { margin: 0; font-size: 16px; }
.review footer { margin-top: auto; display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; }
.review footer i { width: 38px; height: 38px; border-radius: 50%; background: var(--coal); color: var(--yellow); display: grid; place-items: center; font-style: normal; font-family: var(--display); font-size: 17px; }
.review footer small { display: block; font-weight: 400; color: var(--gray); font-size: 12px; }
.rating { display: flex; align-items: center; gap: 16px; }
.rating strong { font-family: var(--display); font-size: 64px; font-weight: 600; line-height: 1; }
.rating span { font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.rating em { font-style: normal; color: var(--yellow-2); letter-spacing: 2px; font-size: 18px; }

.news { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 30px; overflow: hidden; background: var(--coal); color: #fff; }
.news img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.news__body { padding: clamp(30px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.news__body .kicker { color: var(--yellow); }
.news h3 { font-family: var(--display); font-size: clamp(32px, 4vw, 54px); font-weight: 600; text-transform: uppercase; line-height: .98; margin: 0 0 18px; }
.news p { color: rgba(255,255,255,.72); margin: 0; }
.news__more { list-style: none; padding: 0; margin: 28px 0 0; }
.news__more li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; color: rgba(255,255,255,.82); display: flex; justify-content: space-between; gap: 12px; }
.news__more li span { color: rgba(255,255,255,.45); font-size: 13px; white-space: nowrap; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } .news img { min-height: 260px; max-height: 360px; } }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.contact__card { padding: clamp(28px, 4vw, 40px); border-radius: 28px; background: var(--coal-2); color: #fff; border: 1px solid rgba(255,255,255,.08); }
.contact__card h3 { font-family: var(--display); font-size: 40px; font-weight: 600; text-transform: uppercase; margin: 0 0 22px; }
.contact__card dl { margin: 0 0 28px; display: grid; gap: 14px; }
.contact__card dt { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.contact__card dd { margin: 2px 0 0; color: rgba(255,255,255,.85); }

.final { position: relative; overflow: hidden; background: var(--coal); color: #fff; text-align: center; padding: clamp(110px, 16vw, 200px) 0; isolation: isolate; }
.final h2 { font-size: clamp(54px, 10vw, 150px); margin: 0 auto 40px; max-width: 1100px; }

.sede { position: relative; min-height: 92svh; display: flex; align-items: flex-end; padding: 150px 0 80px; color: #fff; isolation: isolate; overflow: hidden; background: var(--coal); }
.sede > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.6) contrast(1.05); transform: scale(1.1); animation: zoom 16s var(--ease) forwards; }
@keyframes zoom { to { transform: scale(1); } }
.sede::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,18,18,.35), rgba(18,18,18,.92)); }
.sede h1 { font-size: clamp(64px, 12vw, 190px); }
.sede p { font-size: 18px; color: rgba(255,255,255,.8); margin: 16px 0 34px; max-width: 560px; }
.sede__row { display: flex; flex-wrap: wrap; gap: 12px; }

.footer { background: #0b0b0b; color: rgba(255,255,255,.7); padding: 70px 0 40px; }
.footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer img { height: 50px; width: auto; filter: brightness(0) invert(1); }
.footer h4 { font-family: var(--display); font-weight: 500; text-transform: uppercase; color: #fff; font-size: 20px; margin: 0 0 14px; }
.footer p { margin: 0 0 6px; font-size: 14.5px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.social a:hover { background: var(--yellow); color: var(--coal); border-color: var(--yellow); }
.footer__copy { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: rgba(255,255,255,.4); }
@media (max-width: 760px) { .footer__in { grid-template-columns: 1fr; } }

.wa { position: fixed; right: 20px; bottom: 74px; z-index: 55; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 16px 30px -10px rgba(37,211,102,.7); transition: transform .4s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 31px; height: 31px; fill: #fff; }

.rv { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.15s var(--ease); }
.split.in .w > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .split .w > span { opacity: 1; transform: none; }
  .hl { background-size: 100% 100%; }
}
.hl--full { background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left center; background-size: 0% 100%; color: var(--coal); padding: 0 .12em; border-radius: 4px; }
.in .hl--full, .hl--full.in { background-size: 100% 100%; }

/* ===== Ronda 1 de modificaciones ===== */
.nav.scrolled .nav__logo img { height: 48px; }
@media (max-width: 900px) { .nav__logo img { height: 50px; } .nav.scrolled .nav__logo img { height: 44px; } }

/* Video de fondo (portada y Las Condes) */
.hero--video { padding: 150px 0 110px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--coal); }
.bgvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg .bgvideo { transform: scale(1.53); } /* el video original trae franjas de cine arriba y abajo */
.hero--video::after { background: linear-gradient(90deg, rgba(12,12,12,.92) 0%, rgba(12,12,12,.72) 50%, rgba(12,12,12,.28) 100%), linear-gradient(0deg, rgba(12,12,12,.8), transparent 35%); }
.hero__copy { max-width: 860px; }
.hero__copy .lead { max-width: 600px; color: rgba(255,255,255,.86); }
.vidctl { position: absolute; left: var(--gutter); bottom: 28px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(18,18,18,.4); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vidctl span { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.vidctl[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.vidctl:hover { background: var(--yellow); border-color: var(--yellow); }
.vidctl:hover span { border-left-color: var(--coal); border-right-color: var(--coal); }
.sede--video .bgvideo { z-index: -2; filter: grayscale(.35) contrast(1.05); }
.sede--video .vidctl { bottom: 30px; }
@media (max-width: 760px) { .vidctl { bottom: 18px; width: 40px; height: 40px; } }

/* Equipo */
.team--mini { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team--mini .member { text-decoration: none; color: inherit; }
.team--mini .member h3 { font-size: 26px; margin-top: 18px; }
.team--mini .member__role { margin-bottom: 0; font-size: 11.5px; letter-spacing: .16em; }
@media (max-width: 960px) { .team--mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .team--mini { gap: 16px; } .team--mini .member h3 { font-size: 21px; } .team--mini .member__role { font-size: 10.5px; letter-spacing: .14em; } }
.team--solo { grid-template-columns: 1fr; }
.team--solo .member { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: clamp(28px, 5vw, 64px); max-width: 980px; }
.team--solo .member__photo { grid-row: 1 / 6; }
.team--solo .member h3 { grid-column: 2; grid-row: 2; margin: 0; font-size: clamp(36px, 4vw, 52px); }
.team--solo .member__role { grid-column: 2; grid-row: 3; margin: 6px 0 22px; }
.team--solo .member ul { grid-column: 2; grid-row: 4; font-size: 16px; }
@media (max-width: 700px) { .team--solo .member { display: block; max-width: 360px; } .team--solo .member h3 { margin-top: 22px; } }

/* Ingreso único */
.prices--solo { grid-template-columns: 1fr; }
.prices--solo .price { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: center; }
.prices--solo .price > * { grid-column: 1; }
.prices--solo .price .btn { justify-self: start; }
.prices--solo .price__amount { grid-column: 2; grid-row: 1 / span 4; margin: 0; font-size: clamp(64px, 10vw, 140px); }
@media (max-width: 760px) { .prices--solo .price { display: flex; } .prices--solo .price__amount { margin: 18px 0; } }

/* Noticias interactivas */
.news__media { position: relative; min-height: 380px; overflow: hidden; }
.news__media img { position: absolute; inset: 0; transition: opacity .5s, transform 1.2s var(--ease); }
.news__media img.out { opacity: 0; transform: scale(1.04); }
.news__feat { transition: opacity .35s, transform .5s var(--ease); }
.news__feat.out { opacity: 0; transform: translateY(10px); }
.news__read { display: inline-flex; gap: 10px; margin-top: 22px; color: var(--yellow); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.news__read:hover .arr { transform: translateX(5px); }
.news__read .arr { transition: transform .45s var(--ease); }
.news__more li { padding: 0; display: block; }
.news__more button { all: unset; box-sizing: border-box; width: 100%; padding: 13px 0 13px 18px; position: relative; display: flex; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 15px; color: rgba(255,255,255,.72); transition: color .3s; }
.news__more button::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: rgba(255,255,255,.25); transition: background .3s; }
.news__more button:hover, .news__more button[aria-pressed="true"] { color: #fff; }
.news__more button[aria-pressed="true"]::before { background: var(--yellow); }
.news__more button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.news__more button span { color: rgba(255,255,255,.45); font-size: 13px; white-space: nowrap; }
@media (max-width: 860px) { .news__media { min-height: 260px; } }

/* Página de noticias */
.pagehead { position: relative; overflow: hidden; isolation: isolate; background: var(--coal); color: #fff; padding: 170px 0 80px; }
.pagehead h1 { font-size: clamp(56px, 9vw, 130px); }
.postindex { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
.postindex a { padding: 18px 20px 18px 0; text-decoration: none; color: rgba(255,255,255,.85); font-weight: 600; font-size: 15px; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.14); }
.postindex a span { font-weight: 400; color: rgba(255,255,255,.45); font-size: 13px; }
.postindex a:hover { color: var(--yellow); }
.posts .wrap { display: grid; gap: clamp(60px, 9vw, 120px); }
.post { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: start; scroll-margin-top: 110px; }
.post__media { position: sticky; top: 110px; border-radius: 26px; overflow: hidden; background: var(--bone); }
.post__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.post h2 { font-size: clamp(34px, 4.4vw, 58px); margin-bottom: 20px; }
.post__deck { font-size: clamp(18px, 1.7vw, 21px); color: var(--text); font-weight: 500; margin: 0 0 24px; padding-left: 18px; border-left: 4px solid var(--yellow); }
.post__text { color: var(--text-2); }
.post__text p { margin: 0 0 16px; }
.post__text h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; color: var(--text); font-size: 26px; line-height: 1.1; margin: 34px 0 12px; }
.post__text h4 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 30px 0 8px; color: var(--text); }
.post__text .refs { font-size: 13.5px; padding-left: 20px; margin: 0 0 16px; display: grid; gap: 4px; }
.post__text .small { font-size: 13.5px; color: var(--gray); }
.post__top { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #b98400; text-decoration: none; }
@media (max-width: 860px) { .post { grid-template-columns: 1fr; } .post__media { position: relative; top: 0; } }

/* Selector de sucursal */
.picker { border: 0; padding: 0; border-radius: 28px; width: min(560px, calc(100% - 32px)); background: var(--coal); color: #fff; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.picker::backdrop { background: rgba(10,10,10,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.picker[open] { animation: pickIn .5s var(--ease); }
@keyframes pickIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.picker__in { padding: clamp(26px, 5vw, 40px); position: relative; }
.picker h2 { font-family: var(--display); font-size: clamp(30px, 5vw, 42px); font-weight: 600; text-transform: uppercase; line-height: 1; margin: 0 0 8px; padding-right: 44px; }
.picker p { margin: 0 0 24px; color: rgba(255,255,255,.65); font-size: 15px; }
.picker__x { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.picker__x:hover { background: #fff; color: var(--coal); }
.picker__opts { display: grid; gap: 12px; }
.picker__opt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 20px 22px; border-radius: 20px; background: var(--coal-2); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: background .3s, border-color .3s, transform .45s var(--ease); }
.picker__opt b { font-family: var(--display); font-size: 28px; font-weight: 600; text-transform: uppercase; line-height: 1; }
.picker__opt small { grid-column: 1; color: rgba(255,255,255,.6); font-size: 14px; }
.picker__opt i { grid-column: 2; grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 50%; background: #25d366; display: grid; place-items: center; font-style: normal; }
.picker__opt i svg { width: 24px; height: 24px; fill: #fff; }
.picker__opt:hover { background: var(--yellow); border-color: var(--yellow); color: var(--coal); transform: translateY(-2px); }
.picker__opt:hover small { color: #3a3000; }
.member__photo--mono { display: grid; place-items: center; background: var(--coal); }
.member__photo--mono span { font-family: var(--display); font-weight: 600; font-size: clamp(64px, 7vw, 110px); color: var(--yellow); letter-spacing: .02em; }

/* ===== Versión final: formulario de contacto y páginas legales ===== */
.cform { margin-top: 22px; padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: var(--coal-2); border: 1px solid rgba(255,255,255,.08); color: #fff; }
.cform__head h3 { font-family: var(--display); font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; text-transform: uppercase; margin: 0 0 6px; }
.cform__head p { margin: 0 0 24px; color: rgba(255,255,255,.65); }
.cform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cform__f { display: grid; gap: 6px; }
.cform__f--full { grid-column: 1 / -1; }
.cform__f span { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.cform__f small { color: rgba(255,255,255,.45); letter-spacing: .05em; text-transform: none; }
.cform input, .cform select, .cform textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #fff; font: 16px var(--body); }
.cform select option { color: var(--coal); }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.cform textarea { resize: vertical; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__ok { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 14.5px; color: rgba(255,255,255,.75); }
.cform__ok input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yellow); }
.cform__ok a { color: var(--yellow); }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.cform__foot .btn { border: 0; }
.cform__foot .btn:disabled { opacity: .6; cursor: wait; }
.cform__msg { margin: 0; font-size: 14.5px; }
.cform__msg.is-ok { color: #8fe3a5; }
.cform__msg.is-err { color: #ffb4a8; }
.cform__msg a { color: inherit; }
@media (max-width: 640px) { .cform__grid { grid-template-columns: 1fr; } }
.footer__copy a { text-decoration: underline; }
.legal { max-width: 820px; }
.legal h2 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 28px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--text-2); }
.notfound { min-height: 70svh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(64px, 12vw, 160px); }
.notfound p { color: rgba(255,255,255,.75); margin: 18px auto 34px; max-width: 520px; }
