:root {
  --teal: #0b6e76;
  --teal-2: #084e54;
  --ink: #14343a;
  --muted: #3d5258;
  --mist: #f3fbfb;
  --line: #d5e7e8;
  --deep: #08343a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Manrope, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--teal-2); }
.skip { position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 9; }
.skip:focus { top: 8px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.top-inner { display: flex; align-items: center; gap: 22px; min-height: 108px; }
.logo { display: flex; align-items: center; text-decoration: none; background: #fff; border-radius: 18px; padding: 8px 16px; box-shadow: 0 10px 28px rgba(8,52,58,.16); transition: transform .35s ease; }
.logo:hover { transform: translateY(-2px) scale(1.03); }
.logo img { height: 78px; width: auto; max-width: min(280px, 52vw); object-fit: contain; object-position: center; }
.menu-btn { display: none; margin-left: auto; background: transparent; border: 1px solid var(--deep); color: var(--deep); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; }
#menu { display: flex; gap: 18px; align-items: center; margin: 0 0 0 auto; padding: 0; list-style: none; }
#menu > li > a { color: var(--ink); text-decoration: none; font-weight: 700; position: relative; }
#menu > li > a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--teal); transition: width .25s ease; }
#menu > li > a:hover::after, #menu > li > a[aria-current="page"]::after { width: 100%; }
#menu > li > a[aria-current="page"] { color: var(--teal); }
#menu .item { position: relative; }
#menu .item > a { padding-right: 14px; }
#menu .item > a::before { content: ""; position: absolute; right: 0; top: 50%; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(-1px); }
#menu .item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
#menu .sub { display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(8,52,58,.16); z-index: 8; }
#menu .item:hover .sub, #menu .item:focus-within .sub { display: grid; }
#menu .sub a { color: var(--ink); text-decoration: none; font-weight: 600; display: block; padding: 8px 12px; border-radius: 10px; }
#menu .sub a:hover { background: var(--mist); color: var(--teal); }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.08; letter-spacing: -.03em; }
h1 { margin: 0 0 12px; font-size: 58px; }
h2 { margin: 0 0 10px; font-size: 34px; }
h3 { margin: 0 0 8px; font-size: 22px; }
.kicker { margin: 0 0 8px; color: var(--teal); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.lead { font-size: 20px; color: var(--muted); }
.film { position: relative; min-height: 100svh; margin-top: -108px; padding: 176px 0 72px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--deep); }
.film video { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; animation: drift 16s ease-in-out infinite alternate; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,32,36,.42), rgba(8,32,36,.16) 42%, rgba(8,32,36,.82)); }
.film-copy { position: relative; max-width: 760px; }
.film h1, .film .lead, .film .actions { animation: rise .8s ease both; }
.film h1 { color: #fff; font-size: 64px; }
.film .lead { color: #fff; animation-delay: .12s; max-width: 640px; }
.film .kicker { color: #b7ebe8; }
.film .actions { animation-delay: .22s; }
body.home .top { background: linear-gradient(180deg, rgba(8,32,36,.55), rgba(8,32,36,0)); }
body.home .top #menu > li > a, body.home .menu-btn { color: #fff; border-color: rgba(255,255,255,.75); }
body.home .top #menu > li > a[aria-current="page"] { color: #b7ebe8; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn, button.btn { display: inline-block; background: var(--teal); color: #fff; text-decoration: none; border: 0; border-radius: 999px; padding: 12px 18px; font: inherit; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.btn:hover, button.btn:hover { transform: translateY(-2px); background: var(--teal-2); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn.wa, .wa { background: #1f9d55; }
.btn.wa:hover { background: #178247; }
.marquee { overflow: hidden; background: var(--deep); color: #d5ecec; border-top: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: flex; width: max-content; animation: slide 22s linear infinite; }
.marquee ul { display: flex; gap: 28px; margin: 0; padding: 14px 14px; list-style: none; }
.marquee li { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; white-space: nowrap; }
.marquee li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 28px; border-radius: 50%; background: #7fd3cf; vertical-align: middle; }
.band { padding: 64px 0; }
.band.alt { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.section-head a { font-weight: 700; text-decoration: none; }
.cards, .lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card, .line { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 10px 28px rgba(18,40,48,.06); }
.line { display: block; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover, .line:hover, .brands li:hover { transform: translateY(-8px); box-shadow: 0 18px 36px rgba(18,40,48,.14); }
.card:nth-child(2), .line:nth-child(2) { transition-delay: .04s; }
.card:nth-child(3), .line:nth-child(3) { transition-delay: .08s; }
.card span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--teal); font-weight: 700; margin-bottom: 10px; }
.card p, .line span, .block p { color: var(--muted); }
.cierre { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; background: var(--mist); border-radius: 28px; padding: 32px; }
.facts { display: grid; gap: 10px; }
.facts div { background: #fff; border-radius: 16px; padding: 14px 16px; animation: floaty 4.2s ease-in-out infinite; }
.facts div:nth-child(2) { animation-delay: .35s; }
.facts div:nth-child(3) { animation-delay: .7s; }
.facts strong { display: block; color: var(--teal); font-size: 22px; }
.page-head { padding: 36px 0 72px; }
.prose p, .block p { margin: 0 0 12px; }
.block { margin-top: 28px; padding-top: 8px; }
h2[id], .block[id] { scroll-margin-top: 110px; }
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.brands li { background: var(--mist); border-radius: 16px; padding: 18px 14px; text-align: center; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.form, .contact-list { background: var(--mist); border-radius: 20px; padding: 18px; }
.contact-list { list-style: none; margin: 16px 0 0; }
.contact-list li { margin: 0 0 8px; }
.form label { display: block; font-weight: 700; margin-bottom: 12px; }
.form input, .form textarea { display: block; width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; background: #fff; }
.form textarea { min-height: 140px; }
.captcha { margin: 8px 0 14px; }
.ok { background: #e7f6ee; padding: 10px 12px; border-radius: 10px; }
.bad { background: #fde8e2; padding: 10px 12px; border-radius: 10px; }
.map { margin-top: 16px; border-radius: 18px; overflow: hidden; }
.map iframe { width: 100%; height: 280px; border: 0; }
footer { background: var(--deep); color: #e7f6f6; padding: 42px 0 0; }
footer h2 { color: #fff; font-size: 18px; font-family: Manrope, sans-serif; letter-spacing: 0; }
footer a { color: #fff; text-decoration: none; }
footer p, footer li { color: #d5ecec; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 0 0 6px; }
.foot { display: grid; grid-template-columns: 1.3fr .7fr .9fr 1fr; gap: 28px; }
.credit { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.14); padding: 14px 20px 18px; text-align: center; color: #b7d5d6; font-size: 13px; }
.wa { position: fixed; right: 16px; bottom: 16px; z-index: 6; color: #fff; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 12px 16px; box-shadow: 0 10px 24px rgba(0,0,0,.18); animation: bob 2.8s ease-in-out infinite; }
.reveal { animation: rise .7s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 900px) {
  h1, .film h1 { font-size: 38px; }
  .cards, .lines, .brands, .split, .cierre, .foot { grid-template-columns: 1fr; }
  .logo img { height: 58px; }
  .top-inner { min-height: 84px; }
  .menu-btn { display: inline-block; }
  #menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 12px 16px 16px; }
  body.home #menu { background: rgba(8,32,36,.96); }
  #menu.open { display: grid; gap: 10px; }
  #menu .item::after { display: none; }
  #menu .sub { display: grid; position: static; min-width: 0; margin: 4px 0 4px 12px; padding: 0; background: transparent; box-shadow: none; }
  body.home #menu .sub a { color: #fff; }
  .film { margin-top: 0; min-height: 78svh; padding: 36px 0 28px; }
  body.home .top { background: rgba(8,32,36,.92); }
  .wa { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}
