:root {
    --navy: #0a1c33;
    --navy-2: #102844;
    --cta: #1a8f4a;
    --cta-dark: #146c3a;
    --mist: #eef2f6;
    --steel: #5c6773;
    --radius: 2px;
    --space: 8px;
}

body.site-body .site-header {
    background: var(--navy);
    box-shadow: none;
    color: #fff;
}

body.site-body .brand,
body.site-body .brand-name,
body.site-body .site-menu a {
    color: #fff;
}

body.site-body .site-menu a.is-on { color: #9fd4b3; }
body.site-body .nav-toggle span { background: #fff; }
body.site-body .brand-mark,
body.site-body .brand-mark img { width: 52px; height: 52px; }

@media (max-width: 800px) {
    body.site-body .site-menu { background: var(--navy-2); }
    body.site-body .site-menu a { color: #fff !important; }
}

.hp-hero {
    position: relative;
    min-height: calc(100vh - 74px);
    color: #fff;
    display: grid;
    align-items: end;
    overflow: hidden;
}

.hp-hero-media,
.hp-hero-overlay {
    position: absolute;
    inset: 0;
}

.hp-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hp-hero-media img.is-on { opacity: 1; }

.hp-hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 18, 34, 0.88) 0%, rgba(7, 18, 34, 0.55) 52%, rgba(7, 18, 34, 0.28) 100%),
        linear-gradient(180deg, rgba(7, 18, 34, 0.15) 0%, rgba(7, 18, 34, 0.72) 100%);
}

.hp-hero-copy {
    position: relative;
    z-index: 2;
    padding: 7rem 0 4.2rem;
    max-width: 920px;
}

.hp-hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    line-height: 1.08;
    max-width: 18ch;
    margin: 0 0 1.1rem;
}

.hp-lead {
    max-width: 42rem;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 1.8rem;
}

.hp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.hp-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: #8fd4a8;
    margin-bottom: 0.85rem;
}

.hp-section .hp-kicker { color: #1a8f4a; }
.hp-dark .hp-kicker { color: #8fd4a8; }

.hp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
    font-weight: 500;
}

.hp-badges li::before {
    content: "✓";
    color: #8fd4a8;
    font-weight: 700;
}

.btn-cta,
.btn-cta-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cta);
    border: 1px solid var(--cta);
    color: #fff;
    text-decoration: none;
    padding: 0.95rem 1.4rem;
    font-weight: 600;
    font-size: 0.98rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-cta:hover { background: var(--cta-dark); color: #fff; }
.btn-cta-lg { padding: 1.15rem 1.8rem; font-size: 1.08rem; }

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    text-decoration: none;
    padding: 0.95rem 1.4rem;
    font-weight: 600;
    background: transparent;
}

.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.hp-section,
.hp-cta { scroll-margin-top: 84px; }

.hp-section { padding: 6.2rem 0; }
.hp-paper { background: var(--mist); }
.hp-dark {
    background: var(--navy);
    color: #fff;
}

.hp-head { max-width: 720px; margin-bottom: 2.6rem; }
.hp-head h2,
.hp-edificio h2,
.hp-zonas h2,
.hp-cta h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0 0 0.85rem;
}

.hp-head p,
.hp-edificio p,
.hp-zonas p { color: var(--steel); }
.hp-dark p { color: rgba(255, 255, 255, 0.78); }

.hp-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.hp-service {
    background: #fff;
    border: 1px solid rgba(10, 28, 51, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 250px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(10, 28, 51, 0.1);
}

.hp-service-media { min-height: 220px; }
.hp-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-service-body {
    padding: 1.4rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.hp-service-body h3 {
    font-size: 1.25rem;
    margin: 0 0 0.6rem;
    line-height: 1.25;
}

.hp-service-body p {
    color: var(--steel);
    margin: 0 0 1rem;
    flex: 1;
}

.hp-edificio {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

.hp-edificio-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.hp-edificio-list {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0 0;
    display: grid;
    gap: 0.7rem;
}

.hp-edificio-list li {
    padding: 0.85rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-family: Poppins, sans-serif;
    font-weight: 600;
}

.hp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}

.hp-filters button {
    border: 1px solid rgba(10, 28, 51, 0.14);
    background: #fff;
    color: var(--navy);
    padding: 0.45rem 0.8rem;
    font-weight: 600;
    font-size: 0.86rem;
}

.hp-filters button.is-on {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.hp-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hp-shot {
    position: relative;
    border: 0;
    padding: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: zoom-in;
    background: #111;
    color: #fff;
    text-align: left;
}

.hp-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-shot:hover img { transform: scale(1.05); }

.hp-shot span {
    position: absolute;
    inset: auto 0 0;
    padding: 1.6rem 1rem 0.9rem;
    background: linear-gradient(180deg, transparent, rgba(7, 18, 34, 0.82));
    font-family: Poppins, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
}

.hp-shot small {
    display: block;
    font-family: Inter, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8fd4a8;
    margin-bottom: 0.25rem;
}

.hp-shot.is-off { display: none; }
.hp-gallery-more { margin: 1.6rem 0 0; }

.hp-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    counter-reset: none;
}

.hp-steps li {
    background: #fff;
    padding: 1.6rem 1.4rem 1.7rem;
    border-top: 3px solid var(--cta);
}

.hp-steps em {
    font-style: normal;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    color: var(--cta);
    font-size: 0.9rem;
}

.hp-steps h3 { font-size: 1.25rem; margin: 0.6rem 0; }
.hp-steps p { color: var(--steel); margin: 0; }

.hp-why {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.hp-why article {
    padding: 1.4rem 1.15rem 1.5rem;
    border: 1px solid rgba(10, 28, 51, 0.08);
    background: #fff;
}

.hp-why i {
    font-size: 1.4rem;
    color: var(--cta);
}

.hp-why h3 { font-size: 1.08rem; margin: 0.8rem 0 0.45rem; }
.hp-why p { color: var(--steel); margin: 0; font-size: 0.94rem; }

.hp-zonas {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.hp-zone-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hp-zone-list li {
    padding: 0.45rem 0.75rem;
    background: #fff;
    border: 1px solid rgba(10, 28, 51, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
}

.hp-map svg { width: 100%; height: auto; display: block; }
.hp-map-land { fill: #163352; }
.hp-map-sea { fill: #1a8f4a; opacity: 0.28; }
.hp-pin circle { fill: #1a8f4a; stroke: #fff; stroke-width: 2; }
.hp-pin text { fill: #0a1c33; font-size: 13px; font-family: Inter, sans-serif; font-weight: 600; }

.hp-cta {
    background: var(--navy);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hp-cta p {
    max-width: 36rem;
    margin: 0 auto 1.8rem;
    color: rgba(255, 255, 255, 0.78);
}

.hp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(7, 18, 34, 0.92);
    display: grid;
    place-items: center;
    padding: 3rem 4.5rem;
}

.hp-lightbox[hidden] { display: none; }

.hp-lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.hp-lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.hp-lightbox figcaption {
    color: #fff;
    margin-top: 0.8rem;
    text-align: center;
}

.hp-lightbox-close,
.hp-lightbox-prev,
.hp-lightbox-next {
    position: absolute;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
}

.hp-lightbox-close { top: 1rem; right: 1.2rem; }
.hp-lightbox-prev { left: 1rem; }
.hp-lightbox-next { right: 1rem; }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: var(--d, 0ms);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    .hp-services,
    .hp-edificio,
    .hp-zonas,
    .hp-steps { grid-template-columns: 1fr 1fr; }
    .hp-why { grid-template-columns: 1fr 1fr; }
    .hp-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
    .hp-hero-copy { padding: 5.5rem 0 3rem; max-width: none; }
    .hp-services,
    .hp-service,
    .hp-edificio,
    .hp-zonas,
    .hp-steps,
    .hp-why,
    .hp-gallery { grid-template-columns: 1fr; }
    .hp-edificio-media img { height: 280px; }
    .hp-section { padding: 4.2rem 0; }
    .hp-lightbox { padding: 4rem 1rem; }
    .footer-grid, .masonry, .faq-list { grid-template-columns: 1fr; }
}

.nav-drop { position: relative; }
.nav-drop-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #102844;
    padding: 0.6rem 0;
    z-index: 20;
}
.nav-drop:hover .nav-drop-list,
.nav-drop:focus-within .nav-drop-list { display: grid; }
.nav-drop-list a {
    padding: 0.45rem 1rem;
    font-size: 0.88rem !important;
}

.page-hero-ui {
    position: relative;
    min-height: 42vh;
    color: #fff;
    display: grid;
    align-items: end;
}
.page-hero-ui-media,
.page-hero-ui-overlay { position: absolute; inset: 0; }
.page-hero-ui-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-ui-overlay {
    background: linear-gradient(180deg, rgba(10,28,51,.35), rgba(10,28,51,.82));
}
.page-hero-ui-copy { position: relative; z-index: 2; padding: 5.5rem 0 2.8rem; }
.page-hero-ui h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 18ch; }
.page-hero-ui p { max-width: 40rem; color: rgba(255,255,255,.82); }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; font-size: 0.86rem; }
.crumbs a, .crumbs span { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a::after { content: "/"; margin-left: 0.4rem; opacity: .6; }

.footer-ui { background: #071422; color: rgba(255,255,255,.78); padding: 4rem 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 0.9fr 1.1fr; gap: 2rem; }
.footer-ui a, .footer-ui span { display: block; color: rgba(255,255,255,.78); text-decoration: none; margin: 0.25rem 0; }
.footer-ui h3 { color: #fff; font-size: 1rem; margin-bottom: 0.8rem; }
.footer-map { width: 100%; height: 160px; border: 0; margin-top: 0.8rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.85rem; }

.to-top {
    position: fixed;
    right: 1.1rem;
    bottom: 5.4rem;
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--navy);
    color: #fff;
    z-index: 39;
    opacity: 0;
    pointer-events: none;
}
.to-top.is-on { opacity: 1; pointer-events: auto; }

.form-ui { background: #fff; padding: 1.8rem; border: 1px solid rgba(10,28,51,.08); }
.form-ui .form-control, .form-ui .form-select { border-radius: var(--radius); background: var(--mist); border: 0; padding: 0.85rem 0.9rem; }
.masonry { columns: 3 220px; column-gap: 12px; }
.masonry .hp-shot { width: 100%; margin-bottom: 12px; break-inside: avoid; aspect-ratio: auto; }
.masonry .hp-shot img { height: auto; min-height: 180px; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { background: #fff; padding: 1.1rem 1.2rem; border: 1px solid rgba(10,28,51,.08); }
.faq-item h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.before-after figure { margin: 0; }
.before-after img { width: 100%; height: 360px; object-fit: cover; }
.before-after figcaption { margin-top: 0.5rem; font-weight: 600; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 1.5rem; }
.meta-row span { background: var(--mist); padding: 0.35rem 0.65rem; font-size: 0.86rem; font-weight: 600; }
.search-bar { display: flex; gap: 0.6rem; margin-bottom: 1.2rem; }
.search-bar input { flex: 1; border: 0; background: #fff; padding: 0.8rem 0.95rem; }

@media (max-width: 800px) {
    .nav-drop-list { position: static; }
    .before-after, .footer-grid { grid-template-columns: 1fr; }
    .masonry { columns: 1; }
}

