﻿:root {
  --navy-900: #0f1626;
  --navy-800: #161f36;
  --navy-700: #263050;
  --logo-navy: #313a55;
  --gold: #d4af37;
  --gold-soft: #f0d77a;
  --cream: #f7f4ec;
  --ink: #1a2238;
  --muted: #8a94a8;
  --radius: 16px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--navy-900);
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* language switching */
[data-lang="en"] .es { display: none !important; }
[data-lang="es"] .en { display: none !important; }

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.12; }
h1 em, h2 em { color: var(--gold); font-style: italic; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(38, 48, 80, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,175,55,.25);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-wordmark { height: 50px; width: auto; border-radius: 9px; border: 1px solid rgba(212,175,55,.35); display: block; transition: transform .4s; }

.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 500; font-size: .95rem; color: #dfe4ee; padding: 6px 0; border-bottom: 2px solid transparent; transition: .25s; }
.main-nav a:hover { color: var(--gold-soft); border-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-btn { border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 6px 12px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; }
.lang-btn:hover { border-color: var(--gold); color: var(--gold-soft); }
.call-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy-900); font-weight: 600; padding: 10px 18px; border-radius: 999px; transition: .25s; }
.call-pill:hover { background: var(--gold-soft); transform: translateY(-1px); }
.menu-btn { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.menu-btn span { width: 22px; height: 2px; background: #fff; transition: .25s; }

/* ---------- HERO ---------- */
.hero { padding: calc(var(--header-h) + 56px) 0 72px; background:
  radial-gradient(900px 500px at 85% 10%, rgba(212,175,55,.12), transparent 60%),
  linear-gradient(180deg, var(--navy-800), var(--navy-900)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge { padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 500; background: rgba(255,255,255,.07); border: 1px solid rgba(212,175,55,.35); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); margin-bottom: 20px; }
.lead { font-size: 1.15rem; color: #c3cad8; font-weight: 300; max-width: 560px; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .92rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; border-radius: 12px; font-weight: 600; font-size: 1rem; transition: .25s; }
.btn-gold { background: linear-gradient(135deg, #e6c458, #c39a22); color: var(--navy-900); box-shadow: 0 10px 26px rgba(212,175,55,.25); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(212,175,55,.38); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

.hero-photos { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: end; }
.hero-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.main { aspect-ratio: 3 / 4; }
.hero-photo.side { aspect-ratio: 3 / 4; margin-bottom: 56px; }
.hero-logo-card { position: absolute; left: -26px; bottom: -26px; width: 260px; aspect-ratio: 940 / 340; border-radius: 18px; overflow: hidden; border: 2px solid var(--gold); box-shadow: 0 16px 40px rgba(0,0,0,.5); background: var(--logo-navy); }
.hero-logo-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- STRIP ---------- */
.strip { background: var(--logo-navy); border-block: 1px solid rgba(212,175,55,.3); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 26px 0; text-align: center; font-size: .92rem; color: #cfd6e6; }
.strip-grid strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--gold-soft); margin-bottom: 2px; }

/* ---------- SECTIONS ---------- */
.section { padding: 92px 0; }
.section.light { background: var(--cream); color: var(--ink); }
.section.dark { background: var(--navy-900); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; margin-bottom: 10px; }
.light .eyebrow { color: #a8841a; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.sub { margin-top: 12px; color: var(--muted); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 36px rgba(26,34,56,.1); transition: .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(26,34,56,.18); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.4rem; margin-bottom: 8px; }
.card-body p { color: #4a5472; font-size: .98rem; }
.services-extra { text-align: center; margin-top: 34px; color: #4a5472; }
.services-extra strong { color: var(--ink); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.g-item { aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); position: relative; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .3s; }
.g-item:hover img { transform: scale(1.07); filter: brightness(1.08); }
.g-item::after { content: "+"; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-weight: 700; display: grid; place-items: center; opacity: 0; transition: .25s; }
.g-item:hover::after { opacity: 1; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: 0 10px 30px rgba(26,34,56,.08); }
.steps b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-700); color: var(--gold-soft); font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 16px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { color: #4a5472; }

/* contact */
.contact { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-logo { width: min(360px, 82%); height: auto; border-radius: 18px; margin-bottom: 24px; border: 2px solid rgba(212,175,55,.5); }
.contact-info h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 6px 0 24px; }
.contact-list { list-style: none; display: grid; gap: 14px; font-size: 1.15rem; }
.contact-list a:hover { color: var(--gold-soft); }
.contact-list b { display: inline-block; width: 34px; }

.contact-form { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 30px; display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .88rem; color: #c3cad8; font-weight: 500; }
.contact-form .row { display: grid; grid-template-columns: 1.4fr .8fr; gap: 14px; }
.contact-form input, .contact-form textarea { width: 100%; background: rgba(15,22,38,.7); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 13px 14px; color: #fff; font: inherit; font-size: 1rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.contact-form .invalid { border-color: #e5584d; }
.form-msg { min-height: 1.2em; font-size: .92rem; color: var(--gold-soft); }

/* footer */
.site-footer { background: #0a101d; border-top: 1px solid rgba(212,175,55,.25); padding: 36px 0 40px; }
.footer-inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 150px; height: auto; border-radius: 10px; }
.footer-brand p { color: #b6bfd0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; color: var(--gold-soft); }
.footer-links a:hover { text-decoration: underline; }
.copy { color: var(--muted); font-size: .85rem; }

/* contact (centered, no form) */
.contact-center { text-align: center; max-width: 760px; }
.contact-center .contact-logo { margin: 0 auto 22px; }
.contact-center h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 6px 0 12px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.contact-card { display: grid; gap: 4px; justify-items: center; padding: 28px 18px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(212,175,55,.35); transition: .3s; }
.contact-card:hover { transform: translateY(-5px); border-color: var(--gold); background: rgba(212,175,55,.1); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.contact-card b { font-size: 1.8rem; }
.contact-card small { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; }
.contact-card span { font-size: 1.25rem; font-weight: 600; color: var(--gold-soft); word-break: break-word; }
.area { margin-top: 26px; color: #c3cad8; }
.devby { color: var(--muted); font-size: .85rem; }
.devby strong { color: var(--gold-soft); font-weight: 600; letter-spacing: .03em; }

/* ---------- ANIMATIONS ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes shimmer { 0% { left: -40%; } 60%,100% { left: 140%; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(212,175,55,.55); } 100% { box-shadow: 0 0 0 16px rgba(212,175,55,0); } }

.badges, .hero h1, .lead, .cta-row, .hero-note { animation: riseIn .8s ease both; }
.badges { animation-delay: .05s; }
.hero h1 { animation-delay: .18s; }
.lead { animation-delay: .32s; }
.cta-row { animation-delay: .46s; }
.hero-note { animation-delay: .58s; }

.hero-photo.main { animation: riseIn .9s .25s ease both, floatY 7s 1.2s ease-in-out infinite; }
.hero-photo.side { animation: riseIn .9s .45s ease both, floatY 8s 1.6s ease-in-out infinite reverse; }
.hero-logo-card { animation: riseIn .9s .7s ease both, floatY 6s 1.6s ease-in-out infinite; }
.hero-photo.main img { animation: kenburns 14s ease-in-out infinite alternate; }

.btn-gold, .call-pill { position: relative; overflow: hidden; }
.btn-gold::after, .call-pill::after { content: ""; position: absolute; top: -20%; left: -40%; width: 22%; height: 140%; background: rgba(255,255,255,.45); transform: rotate(20deg); animation: shimmer 4.5s ease-in-out infinite; pointer-events: none; }
.sticky-call { animation: pulseRing 2.2s infinite; }

.strip-grid > div { transition: transform .3s; }
.strip-grid > div:hover { transform: translateY(-3px); }
.steps li { transition: transform .3s, box-shadow .3s; }
.steps li:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(26,34,56,.16); }
.steps li:hover b { background: var(--gold); color: var(--navy-900); }
.steps b { transition: .3s; }
.brand:hover .brand-wordmark { transform: scale(1.04); }

/* license */
.badge-gold { background: linear-gradient(135deg, rgba(240,215,122,.25), rgba(212,175,55,.12)); border-color: var(--gold); color: var(--gold-soft); font-weight: 600; }
.license { background: linear-gradient(180deg, #11192c, var(--navy-800)); border-bottom: 1px solid rgba(212,175,55,.25); padding: 54px 0; }
.license-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.seal { color: var(--gold); width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, rgba(240,215,122,.25), rgba(212,175,55,.06)); border: 2px solid var(--gold); box-shadow: 0 0 0 8px rgba(212,175,55,.08), 0 0 40px rgba(212,175,55,.25); animation: sealGlow 3.5s ease-in-out infinite; }
@keyframes sealGlow { 50% { box-shadow: 0 0 0 14px rgba(212,175,55,.04), 0 0 56px rgba(212,175,55,.45); } }
.license-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 4px 0 10px; }
.license-text p:last-child { color: #c3cad8; max-width: 620px; }
.license-no { text-align: center; padding: 22px 30px; border: 1px solid var(--gold); border-radius: 16px; background: rgba(212,175,55,.08); }
.license-no small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; margin-bottom: 4px; }
.license-no strong { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--gold-soft); white-space: nowrap; }
.footer-license { color: var(--gold-soft); font-weight: 500; letter-spacing: .03em; }
@media (max-width: 860px) {
  .license-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .license-text p:last-child { margin-inline: auto; }
}

/* ---- gallery v3: masonry + filters + captions ---- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -14px 0 34px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: .92rem; font-weight: 500; color: #c9d0de; transition: .25s; }
.chip:hover { border-color: var(--gold); color: var(--gold-soft); }
.chip.active { background: linear-gradient(135deg, #e6c458, #c39a22); color: var(--navy-900); border-color: transparent; font-weight: 600; box-shadow: 0 8px 22px rgba(212,175,55,.3); }

.gallery { display: block; columns: 4 230px; column-gap: 14px; }
.g-item { display: block; width: 100%; margin: 0 0 14px; break-inside: avoid; aspect-ratio: 3 / 4; position: relative; }
.g-item.a1 { aspect-ratio: 3 / 4; }
.g-item.a2 { aspect-ratio: 1 / 1; }
.g-item.a3 { aspect-ratio: 4 / 5; }
.g-item.a4 { aspect-ratio: 2 / 3; }
.g-item.hide { display: none; }
.g-item.pop { animation: popIn .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes popIn { from { opacity: 0; transform: scale(.92) translateY(14px); } to { opacity: 1; transform: none; } }
.g-item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(8,12,22,.85)); opacity: .85; transition: opacity .3s; pointer-events: none; }
.g-item:hover::before { opacity: 1; }
.cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; text-align: left; font-weight: 500; font-size: .9rem; line-height: 1.25; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); transform: translateY(6px); opacity: .92; transition: .35s; }
.cap::before { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-bottom: 7px; transition: width .35s; }
.g-item:hover .cap { transform: none; opacity: 1; }
.g-item:hover .cap::before { width: 52px; }
.g-item::after { z-index: 2; }

.lightbox { gap: 12px; grid-template-columns: auto 1fr auto; }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: 12px; max-width: 100%; }
.lb-fig img { max-height: 82vh; max-width: min(86vw, 900px); animation: popIn .4s ease; }
#lb-cap { color: #e7ebf5; font-size: 1rem; text-align: center; }
.lb-nav { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 2rem; line-height: 1; display: grid; place-items: center; transition: .25s; }
.lb-nav:hover { background: var(--gold); color: var(--navy-900); }
@media (max-width: 640px) {
  .gallery { columns: 2 150px; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .cap { font-size: .78rem; left: 10px; right: 10px; bottom: 9px; }
  .lightbox { grid-template-columns: 1fr; padding: 12px; }
  .lb-nav { position: absolute; bottom: 18px; }
  .lb-prev { left: 18px; } .lb-next { right: 18px; }
}

/* ---- FAQ + legal ---- */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: 0 8px 26px rgba(26,34,56,.08); border: 1px solid rgba(26,34,56,.06); overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 14px 34px rgba(26,34,56,.14); border-color: rgba(212,175,55,.5); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-700); color: var(--gold-soft); display: grid; place-items: center; font-size: 1.2rem; transition: .3s; }
.faq details[open] summary::after { content: "–"; background: var(--gold); color: var(--navy-900); rotate: 180deg; }
.faq details p { padding: 0 20px 20px; color: #4a5472; animation: riseIn .4s ease; }
.faq details a { color: #a8841a; font-weight: 600; text-decoration: underline; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: .9rem; }
.legal-links a { color: #b6bfd0; transition: .25s; }
.legal-links a:hover { color: var(--gold-soft); text-decoration: underline; }

.legal { padding: calc(var(--header-h) + 48px) 0 80px; background: linear-gradient(180deg, var(--navy-800), var(--navy-900) 320px); min-height: 70vh; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 30px; font-size: .92rem; }
.legal h2 { font-size: 1.45rem; margin: 34px 0 10px; color: var(--gold-soft); }
.legal p, .legal li { color: #cbd2e0; margin-bottom: 12px; font-weight: 300; font-size: 1.05rem; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--gold-soft); text-decoration: underline; }
.legal .box { border: 1px solid rgba(212,175,55,.4); background: rgba(212,175,55,.07); border-radius: 14px; padding: 18px 20px; margin: 24px 0; }
.legal .box p { margin: 0; }
.back-home { display: inline-block; margin-bottom: 22px; color: var(--gold-soft); font-weight: 500; }

/* ---- TOUCH / MOBILE motion (driven by scroll position + taps) ---- */
.touch .card, .touch .g-item, .touch .steps li { rotate: 1 0 0 calc(var(--p, 0) * 6deg); transition: rotate .12s linear, box-shadow .4s, opacity .8s, transform .8s, clip-path .9s cubic-bezier(.2,.7,.2,1); will-change: rotate; }
.touch .card-img, .touch .g-item { overflow: hidden; }
.touch .card:hover .card-img img, .touch .card-img img, .touch .g-item:hover img, .touch .g-item img { transform: translateY(calc(var(--p, 0) * -14px)) scale(1.16); transition: transform .12s linear, filter .4s; }
.touch .card:hover { transform: none; box-shadow: 0 12px 36px rgba(26,34,56,.1); }
.touch .g-item:hover img { filter: none; }
.touch .card.focus { box-shadow: 0 0 0 2px var(--gold), 0 22px 50px rgba(26,34,56,.28); }
.touch .card.focus .card-img::after { animation: sweep 1.1s ease; }
.touch .g-item.focus { box-shadow: 0 0 0 2px var(--gold), 0 18px 44px rgba(0,0,0,.55); z-index: 3; }
.touch .g-item.focus img { filter: brightness(1.1) saturate(1.1); }
.touch .g-item.focus .cap { transform: none; opacity: 1; }
.touch .g-item.focus .cap::before { width: 54px; }
.touch .g-item.focus::before { opacity: 1; }
.touch .steps li.focus { box-shadow: 0 0 0 2px var(--gold), 0 18px 40px rgba(26,34,56,.2); }
.touch .steps li.focus b { background: var(--gold); color: var(--navy-900); }
.touch .strip-grid > div.focus strong { text-shadow: 0 0 18px rgba(212,175,55,.7); }

/* tap feedback + ripple (all devices) */
.btn, .chip, .call-pill, .contact-card, .card, .g-item, .lang-btn { -webkit-tap-highlight-color: transparent; }
.btn:active, .chip:active, .call-pill:active, .contact-card:active, .lang-btn:active { scale: .95; }
.g-item:active, .card:active { scale: .975; }
.btn, .chip, .contact-card { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); transform: scale(0); animation: rippleOut .65s ease-out forwards; pointer-events: none; }
.chip .ripple, .contact-card .ripple { background: rgba(212,175,55,.45); }
@keyframes rippleOut { to { transform: scale(1); opacity: 0; } }

/* ---- v2 motion: rain, waves, parallax, tilt, word reveal ---- */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
#rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.glow-a { width: 460px; height: 460px; right: -80px; top: 40px; background: rgba(212,175,55,.22); animation: drift 14s ease-in-out infinite alternate; }
.glow-b { width: 380px; height: 380px; left: -120px; bottom: -60px; background: rgba(90,120,220,.22); animation: drift 17s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-50px, 40px) scale(1.25); } }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-soft)); box-shadow: 0 0 12px rgba(212,175,55,.8); }
.site-header { transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(18,24,42,.96); box-shadow: 0 8px 30px rgba(0,0,0,.35); }

/* waves */
.waves { position: relative; height: 64px; margin-top: -63px; overflow: hidden; z-index: 3; pointer-events: none; }
.wave { position: absolute; left: 0; bottom: -1px; width: 200%; height: 64px; }
.wave.w1 { animation: waveMove 14s linear infinite; }
.wave.w2 { animation: waveMove 9s linear infinite reverse; }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* headline word reveal */
.hero h1 { animation: none; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(3deg); filter: blur(8px); animation: wordIn .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.25s + var(--i) * .09s); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }
.hero h1 em .w { background: linear-gradient(100deg, #b8901f 0%, #f5df8a 40%, #d4af37 60%, #b8901f 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: wordIn .9s cubic-bezier(.2,.7,.2,1) forwards, goldflow 5s linear infinite; animation-delay: calc(.25s + var(--i) * .09s), 0s; }
@keyframes goldflow { to { background-position: -250% 0; } }

/* section titles: gold underline that draws */
.section-head h2::after { content: ""; display: block; width: 70px; height: 3px; margin: 16px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform 1s .3s ease; }
.section-head.in h2::after { transform: scaleX(1); }

/* 3D tilt */
.cards, .gallery, .hero-photos { perspective: 1000px; }
.tilt { transition: rotate .25s ease-out, transform .3s, box-shadow .3s, opacity .8s, filter .3s; will-change: rotate; }
.tilt.tilting { transition: rotate .08s linear, transform .3s, box-shadow .3s, opacity .8s; }

/* gallery wipe reveal */
.g-item.reveal { clip-path: inset(100% 0 0 0 round 14px); opacity: 1; transform: scale(.94); transition: clip-path .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), rotate .25s ease-out; }
.g-item.reveal.in { clip-path: inset(0 0 0 0 round 14px); transform: none; }

/* steps connector + number pop */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 53px; height: 2px; background: linear-gradient(90deg, var(--gold), #e9d386, var(--gold)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s .2s ease; z-index: 0; }
.steps.live::before { transform: scaleX(1); }
.steps li { position: relative; z-index: 1; }
.steps li.in b { animation: pop .7s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pop { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }

/* image shine sweep on cards */
.card-img { position: relative; }
.card-img::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); pointer-events: none; }
.card:hover .card-img::after { animation: sweep .9s ease; }
@keyframes sweep { to { left: 140%; } }

/* contact cards ring pulse */
.contact-card b { display: inline-block; animation: ring 3.2s ease-in-out infinite; transform-origin: 50% 20%; }
@keyframes ring { 0%,60%,100% { transform: rotate(0); } 66% { transform: rotate(-14deg); } 72% { transform: rotate(12deg); } 78% { transform: rotate(-8deg); } 84% { transform: rotate(5deg); } }

.devlink { color: var(--gold-soft); transition: .25s; }
.devlink:hover { color: #fff; text-shadow: 0 0 14px rgba(212,175,55,.8); }
.devlink strong { border-bottom: 1px dashed rgba(212,175,55,.6); }
.devby strong { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .w { opacity: 1; filter: none; transform: none; }
  .g-item.reveal { clip-path: none; transform: none; }
  #rain { display: none; }
}

/* sticky call (mobile) */
.sticky-call { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,8,15,.94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; max-width: 92vw; border-radius: 12px; object-fit: contain; }
.lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 1.2rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .hero-photos { max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .call-pill span { display: none; }
  .call-pill { padding: 10px 12px; }
  .main-nav { position: fixed; top: var(--header-h); inset-inline: 0; flex-direction: column; gap: 0; background: rgba(22,31,54,.98); padding: 8px 20px 20px; border-bottom: 1px solid rgba(212,175,55,.3); transform: translateY(-120%); transition: transform .35s; }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding-bottom: 56px; }
  .brand-wordmark { height: 44px; }
  .strip-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-logo-card { left: -8px; bottom: -16px; width: 180px; }
  .cta-row .btn { width: 100%; }
  .site-footer { padding-bottom: 96px; }
  .sticky-call { display: flex; position: fixed; inset: auto 0 0 0; z-index: 60; justify-content: center; padding: 16px; background: linear-gradient(135deg, #e6c458, #c39a22); color: var(--navy-900); font-weight: 700; box-shadow: 0 -8px 24px rgba(0,0,0,.35); }
}


