:root {
  --navy: #071833;
  --navy-2: #0c2456;
  --blue: #14357a;
  --gold: #f5b400;
  --gold-deep: #9a7200;
  --ink: #162033;
  --muted: #5c6b80;
  --line: #e4ebf3;
  --bg: #f5f8fc;
  --white: #fff;
  --shadow: 0 18px 50px rgba(7, 24, 51, 0.12);
  --header: 78px;
  --color-text-muted: rgba(255, 255, 255, 0.62);
  --color-primary: var(--gold);
  --transition-smooth: color 0.2s ease;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

button, input, select, textarea { font: inherit; }

h1, h2, h3 {
  font-family: Outfit, Manrope, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 2000;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: #1c1400;
}

.btn-gold:hover { background: #ffc62a; }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover { background: var(--blue); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-line {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-line:hover {
  background: var(--white);
  color: var(--navy);
}

.icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef3fb;
  color: var(--navy-2);
}

.icon { width: 26px; height: 26px; }

.mini { width: 16px; height: 16px; flex: 0 0 auto; }

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
}

.topbar-inner,
.header-inner,
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-inner { min-height: 40px; }

.topbar-hours,
.topbar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.topbar-phone {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.topbar-phone:hover { color: var(--gold); }

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(7, 24, 51, 0.06);
}

.header-inner { min-height: var(--header); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark { width: 52px; height: 52px; flex: 0 0 auto; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: Outfit, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.brand-text small {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.brand-text em {
  display: block;
  max-width: 180px;
  margin-top: 3px;
  font-style: normal;
  font-size: 0.68rem;
  line-height: 1.25;
  color: var(--muted);
}

.nav { display: flex; align-items: center; }

.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 7px;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a:hover { color: var(--gold-deep); }

.has-sub { position: relative; }

.has-sub > a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav .submenu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 230px;
  padding: 8px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.submenu a {
  width: 100%;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.submenu a:hover { background: var(--bg); }

.nav .nav-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 2px;
}

.label-short { display: none; }

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 51, 0.94) 0%, rgba(7, 24, 51, 0.82) 36%, rgba(7, 24, 51, 0.28) 68%, rgba(7, 24, 51, 0.18) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 72px 0 120px;
}

.hero .eyebrow { color: var(--gold); }

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.45rem);
  font-weight: 800;
  text-transform: uppercase;
  max-width: 14ch;
}

.lead {
  margin-top: 16px;
  max-width: 46ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 26px;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.services { margin-top: -72px; position: relative; z-index: 2; }

.services-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 28px 18px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.service {
  text-align: center;
  padding: 8px 6px;
  scroll-margin-top: 110px;
}

.service:target { outline: 2px solid var(--gold); border-radius: 12px; }

.service h2 {
  margin-top: 12px;
  font-size: 0.98rem;
  text-transform: uppercase;
}

.kicker {
  margin-top: 6px;
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 800;
}

.service p:last-child {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.about { padding: 88px 0 40px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about h2,
.section-head h2,
.contact h2,
.cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-transform: uppercase;
  color: var(--navy);
}

.about-copy p { margin-top: 14px; color: #314056; }

.checks { margin: 20px 0 26px; }

.checks li {
  position: relative;
  padding-left: 28px;
  margin-top: 10px;
  font-weight: 700;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(-45deg);
}

.about-photo { position: relative; margin: 0; }

.about-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 18px;
}

.about-photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--gold);
  color: #1c1400;
  font-size: 0.82rem;
  font-weight: 800;
}

.why { padding: 36px 0 80px; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }

.section-head h2::after,
.about h2::after,
.contact h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 14px;
  border-radius: 4px;
  background: var(--gold);
}

.section-head h2::after { margin-inline: auto; }

.section-head p { margin-top: 12px; color: var(--muted); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-grid article {
  padding: 22px 20px 24px;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid transparent;
}

.why-grid article:hover { border-color: #ead48a; background: var(--white); box-shadow: var(--shadow); }

.why-grid h3 {
  margin-top: 14px;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--navy);
}

.why-grid p { margin-top: 8px; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-card {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  scroll-margin-top: 90px;
}

.split-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#proyecto img { object-position: center 40%; }

.split-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 51, 0.15) 0%, rgba(7, 24, 51, 0.88) 100%);
}

.split-copy {
  position: relative;
  z-index: 1;
  padding: 40px 36px;
  max-width: 560px;
}

.split-copy h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  text-transform: uppercase;
}

.split-copy p { margin: 12px 0 20px; color: rgba(255, 255, 255, 0.9); }

.gallery { padding: 80px 0; background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.shot {
  position: relative;
  grid-column: span 2;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--navy);
}

.shot:nth-child(n + 4) { grid-column: span 3; }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.pos-aire { object-position: 72% center; }

.shot:hover img { transform: scale(1.06); }

.shot span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 24, 51, 0.82);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
}

.contact { padding: 20px 0 80px; background: linear-gradient(180deg, var(--white), var(--bg)); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-grid > div > p { margin-top: 14px; color: #314056; max-width: 46ch; }

.contact-list { margin-top: 22px; }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-weight: 700;
}

.contact-list a { color: var(--navy); }

.contact-list .mini { margin-top: 3px; color: var(--blue); }

.form {
  background: var(--white);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

.field span { font-size: 0.82rem; font-weight: 800; color: var(--navy); }

.field em { font-style: normal; font-weight: 600; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d5deea;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}

.field textarea { resize: vertical; min-height: 110px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 53, 122, 0.12);
}

.form-note { min-height: 1.2em; margin-top: 10px; color: var(--blue); font-size: 0.88rem; }

.cta {
  background: var(--navy);
  color: var(--white);
}

.cta-inner { padding: 34px 0; }

.cta h2 { color: var(--white); text-transform: uppercase; font-size: clamp(1.5rem, 2.5vw, 2rem); }

.cta p { margin-top: 6px; color: rgba(255, 255, 255, 0.82); }

.cta-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
}

.cta-phone:hover { color: var(--gold); }

.footer {
  background: #061222;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr;
  gap: 28px;
}

.brand-on-dark .brand-text strong { color: var(--white); }
.brand-on-dark .brand-text small { color: #9eb6e6; }
.brand-on-dark .brand-text em { color: rgba(255, 255, 255, 0.62); }

.footer h2 {
  margin-bottom: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.footer li { margin-top: 8px; }

.footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }

.footer a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.footer-credit { margin: 0; text-align: right; }

.footer-credit a {
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.footer-credit a:hover { color: var(--gold); }

.lightbox {
  width: auto;
  max-width: min(960px, 92vw);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
}

.lightbox::backdrop { background: rgba(6, 16, 36, 0.86); }

.lightbox img {
  display: block;
  width: auto;
  max-width: min(960px, 92vw);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox p { margin-top: 10px; text-align: center; }

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(7, 24, 51, 0.82);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

section[id] { scroll-margin-top: 96px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.whatsapp-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right, 0px));
  bottom: max(22px, calc(22px + env(safe-area-inset-bottom, 0px)));
  z-index: 1500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  color: #fff;
}

.whatsapp-float-icon { width: 30px; height: 30px; }

@media (max-width: 1100px) {
  .services-panel,
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .nav a { padding: 0 6px; font-size: 0.68rem; }
  .brand-text em { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-cta .label-full { display: none; }
  .label-short { display: inline; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { min-height: 42px; font-size: 0.95rem; text-transform: none; letter-spacing: 0; }
  .has-sub > a::after { display: none; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 8px 12px;
    min-width: 0;
  }
  .nav .nav-cta { display: flex; margin-top: 8px; }
  .header { position: sticky; }
  .header-inner { position: relative; }
}

@media (max-width: 800px) {
  .topbar { display: none; }
  .hero { min-height: 0; }
  .hero::after {
    background: linear-gradient(180deg, rgba(7, 24, 51, 0.86), rgba(7, 24, 51, 0.74));
  }
  .hero-copy { padding: 22px 0 28px; }
  .hero h1 { max-width: none; font-size: 1.55rem; line-height: 1.12; }
  .lead { margin-top: 8px; font-size: 0.92rem; line-height: 1.4; }
  .hero-actions { margin-top: 14px; gap: 8px; }
  .hero-actions .btn { min-height: 42px; padding: 0 14px; font-size: 0.82rem; }
  .hero-points { margin-top: 12px; gap: 4px 12px; font-size: 0.76rem; }
  .about { padding: 28px 0 8px; }
  .about-grid { gap: 18px; }
  .about h2,
  .section-head h2,
  .contact h2,
  .cta h2 { font-size: 1.45rem; }
  .about-copy p { margin-top: 8px; font-size: 0.92rem; }
  .checks { margin: 12px 0 14px; }
  .checks li { margin-top: 6px; font-size: 0.92rem; }
  .about-photo img { height: 200px; }
  .why { padding: 16px 0 28px; }
  .section-head { margin-bottom: 14px; }
  .section-head p { margin-top: 8px; font-size: 0.9rem; }
  .why-grid article { padding: 12px 10px 14px; }
  .why-grid h3 { margin-top: 8px; font-size: 0.82rem; }
  .why-grid p { font-size: 0.82rem; }
  .split-card { min-height: 240px; }
  .split-copy { padding: 18px 16px; }
  .split-copy p { margin: 8px 0 12px; font-size: 0.9rem; }
  .gallery { padding: 28px 0; }
  .contact { padding: 4px 0 32px; }
  .contact-grid { gap: 22px; }
  .form { padding: 16px; }
  .field textarea { min-height: 72px; }
  .footer { padding-top: 28px; }
  .about-grid,
  .contact-grid,
  .split,
  .form-row,
  .footer-grid { grid-template-columns: 1fr; }
  .services { margin-top: 12px; }
  .services-panel {
    grid-template-columns: 1fr 1fr;
    gap: 2px 8px;
    padding: 14px 8px 10px;
  }
  .service { padding: 8px 4px; }
  .service h2 { margin-top: 6px; font-size: 0.72rem; letter-spacing: 0.01em; line-height: 1.2; }
  .kicker { margin-top: 3px; font-size: 0.66rem; line-height: 1.25; }
  .service p:last-child { margin-top: 3px; font-size: 0.7rem; line-height: 1.3; }
  .services .icon-wrap { width: 40px; height: 40px; }
  .services .icon { width: 20px; height: 20px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .shot,
  .shot:nth-child(n + 4) { grid-column: span 1; }
  .shot:last-child { grid-column: span 2; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 22px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 18px; }
  .footer-credit { text-align: left; }
  .brand-text em { display: none; }
}

@media (max-width: 560px) {
  .wrap { width: min(1160px, calc(100% - 28px)); }
  .header-cta { display: none; }
  .whatsapp-float {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(24px, calc(20px + env(safe-area-inset-bottom, 0px)));
    width: 54px;
    height: 54px;
  }
  .whatsapp-float-icon { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
