:root {
    --ink: #091826;
    --steel: #0d2d46;
    --blue: #1584b7;
    --blue-light: #62c5e8;
    --copper: #e7773c;
    --mist: #eff4f5;
    --line: #d8e0e3;
    --white: #ffffff;
    --text: #344551;
    --display: "Nunito Sans", sans-serif;
    --body: "Nunito Sans", sans-serif;
    --shell: min(1240px, calc(100% - 64px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.section-shell {
    width: var(--shell);
    margin-inline: auto;
}

.site-header {
    align-items: center;
    background: rgba(7, 22, 34, 0.43);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    grid-template-columns: 260px 1fr auto;
    height: 92px;
    left: 0;
    padding: 0 max(32px, calc((100vw - 1400px) / 2));
    position: absolute;
    right: 0;
    top: 0;
    transition: background 0.3s ease, height 0.3s ease;
    z-index: 30;
}

.site-header.scrolled {
    background: rgba(7, 22, 34, 0.97);
    height: 92px;
    position: fixed;
}

.brand {
    align-items: center;
    align-self: stretch;
    display: flex;
}

.brand-plate {
    align-items: center;
    display: flex;
    height: 100%;
    position: relative;
    width: 218px;
}

.brand-plate::after {
    display: none;
}

.brand img,
.footer-logo img {
    max-height: 58px;
    width: 100px;
}

.desktop-nav {
    display: flex;
    gap: 50px;
    justify-content: left;
}

.desktop-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
    padding: 34px 0;
    position: relative;
}

.desktop-nav a::after {
    background: var(--blue-light);
    bottom: 25px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
}

.header-cta,
.button {
    align-items: center;
    border: 0;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 18px;
    justify-content: center;
    letter-spacing: -0.01em;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 12px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.header-cta {
    background: var(--blue);
    color: var(--white);
}

.header-cta:hover,
.button:hover {
    transform: translateY(-2px);
}

.menu-toggle,
.mobile-nav {
    display: none;
}

.hero {
    background: var(--ink);
    min-height: 700px;
    position: relative;
}

.video-slider,
.video-slide {
    height: min(88vh, 840px);
    min-height: 700px;
    position: relative;
}

.video-slide {
    inset: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.8s ease;
}

.video-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.video-slide video {
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    width: 100%;
}

.video-shade {
    background: linear-gradient(90deg, rgba(3, 15, 25, 0.92) 0%, rgba(3, 15, 25, 0.62) 46%, rgba(3, 15, 25, 0.18) 78%), linear-gradient(0deg, rgba(2, 14, 24, 0.5), transparent 45%);
    inset: 0;
    position: absolute;
}

.video-shade.alt {
    background: linear-gradient(90deg, rgba(7, 28, 42, 0.94) 0%, rgba(11, 54, 75, 0.58) 52%, rgba(3, 15, 25, 0.22) 80%);
}

.hero-content {
    color: var(--white);
    left: 50%;
    max-width: 940px;
    position: absolute;
    text-align: center;
    top: 52%;
    transform: translate(-50%, -44%);
    width: calc(100% - 40px);
    margin-top: -20px;
}

.eyebrow {
    color: var(--blue);
    font-family: var(--display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.19em;
    margin: 0 0 22px;
}

.eyebrow.light {
    color: var(--blue-light);
}

.hero h1,
.hero h2 {
    font-family: var(--display);
    font-size: clamp(48px, 5.7vw, 84px);
    letter-spacing: -0.055em;
    line-height: 0.98;
    margin: 0;
}

.hero h1 span,
.hero h2 span,
.page-hero h1 span {
    color: var(--blue-light);
    font-weight: 500;
}

.hero-content > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.65;
    margin: 32px auto;
    max-width: 620px;
}

.hero-actions {
    align-items: center;
    display: flex;
    gap: 34px;
    justify-content: center;
}

.button.primary {
    background: var(--blue);
    color: var(--white);
}

.button.primary:hover {
    background: #0f75a2;
}

.text-link {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 30px;
    padding: 5px 0 8px;
}

.text-link.light {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.text-link span {
    color: var(--blue);
}

.slider-dots {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    left: 50%;
    position: absolute;
    bottom: 34px;
    transform: translateX(-50%);
    z-index: 5;
}

.slider-dots button {
    background: rgba(255, 255, 255, 0.45);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 9px;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
    width: 9px;
}

.slider-dots button.active {
    background: var(--white);
    transform: scale(1.45);
}

.intro {
    max-width: 960px;
    padding: 95px 0 90px;
    text-align: center;
}

.intro h2,
.section-heading h2,
.faq h2,
.owner h2 {
    font-family: var(--display);
    font-size: clamp(38px, 4vw, 58px);
    letter-spacing: -0.045em;
    line-height: 1.08;
    margin: 0;
}

.intro-copy {
    margin: 30px auto 0;
    max-width: 740px;
}

.intro-copy p {
    color: var(--text);
    font-size: 17px;
    margin: 4px 0 30px;
}

.service-showcase {
    background: var(--mist);
    padding: 90px 0 0;
    overflow: hidden;
}

.section-heading.center {
    margin: 0 auto 58px;
    max-width: 760px;
    text-align: center;
}

.service-track {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1240px;
    padding: 0 0 60px;
    width: var(--shell);
}

.service-card {
    background: #e6edef;
    border-radius: 18px;
    min-height: 330px;
    padding: 30px;
    position: relative;
    text-align: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.service-card:hover,
.service-card.active {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-8px);
}

.service-icon {
    align-items: center;
    background: var(--white);
    color: var(--blue);
    display: flex;
    border-radius: 50%;
    height: 78px;
    justify-content: center;
    margin: 18px auto 46px;
    width: 78px;
    box-shadow: 3px 3px 8px rgba(6, 19, 30, 0.07);
}

.service-icon svg {
    fill: none;
    height: 48px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 48px;
}

.service-card h3 {
    font-family: var(--display);
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.service-card p {
    color: #62747d;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    min-height: 44px;
}

.service-card.active p,
.service-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

.service-marquee {
    background: var(--white);
    color: #7c97aa;
    display: block;
    font-family: var(--display);
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    overflow: hidden;
    padding: 37px 0;
    white-space: nowrap;
}

.service-marquee__track {
    animation: marquee 25s linear infinite;
    display: flex;
    width: max-content;
    will-change: transform;
}

.service-marquee__track span {
    display: block;
    flex: none;
}

.service-marquee i {
    color: var(--blue-light);
    font-style: normal;
    padding: 0 24px;
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

.numbers {
    background: radial-gradient(circle,rgba(9, 24, 38, 1) 0%, rgb(39, 71, 93) 100%);
    color: var(--white);
    display: grid;
    grid-template-columns: repeat(3, 0.7fr) 1.45fr;
    margin-top: 90px;
    border-radius: 18px;
    overflow: hidden;
    min-height: 300px;
}

.numbers article,
.numbers-copy {
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px;
    text-align: center;
}

.numbers article strong {
    font-family: var(--display);
    font-size: 62px;
    letter-spacing: -0.06em;
    line-height: 1;
}

.numbers article strong::after {
    color: var(--blue-light);
    content: "+";
    font-size: 32px;
}

.numbers article span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    margin-top: 16px;
}

.numbers-copy {
    border: 0;
}

.numbers-copy h2 {
    font-family: var(--display);
    font-size: 28px;
    line-height: 1.25;
    margin: 0;
}

.work-preview,
.portfolio {
    padding: 90px 0;
}

.section-heading.split {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: space-between;
    margin-bottom: 42px;
    text-align: center;
}

.work-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, 1fr);
}

.home-grid {
    grid-template-columns: 1.35fr 0.65fr 0.65fr;
}

.work-card {
    background: #dce5e8;
    height: 330px;
    overflow: hidden;
    position: relative;
    border-radius: 18px;
}

.home-grid .featured {
    grid-row: span 2;
    height: 678px;
}

.work-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    width: 100%;
}

.work-card:hover img {
    transform: scale(1.045);
}

.work-placeholder {
    align-items: center;
    background: linear-gradient(135deg, #d8e4e8, #a9bcc4);
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    font-family: var(--display);
    font-size: 52px;
    height: 100%;
    justify-content: center;
}

.work-overlay {
    background: linear-gradient(0deg, rgba(4, 18, 29, 0.88), transparent);
    bottom: 0;
    color: var(--white);
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 65px 26px 24px;
    position: absolute;
    right: 0;
}

.work-overlay small {
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.work-overlay strong {
    font-family: var(--display);
    font-size: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-overlay em {
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    font-style: normal;
}

.work-empty {
    background: var(--mist);
    border-radius: 18px;
    margin: 0 auto;
    max-width: 940px;
    padding: 52px 40px;
    text-align: center;
}

.work-empty span {
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.work-empty h2,
.work-empty h3 {
    font-family: var(--display);
    font-size: 32px;
    line-height: 1.15;
    margin: 10px 0;
}

@media (max-width: 760px) {
    .work-empty h2,
    .work-empty h3 {
        font-size: 28px;
        line-height: 1.12;
    }
}

.work-empty p {
    color: var(--text);
    margin: 0;
}

.territory {
    background: radial-gradient(circle,rgba(9, 24, 38, 1) 0%, rgb(39, 71, 93) 100%);
    border-radius: 18px;
    color: var(--white);
    display: grid;
    gap: 70px;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    max-width: 1240px;
    min-height: 560px;
    overflow: hidden;
    padding: 65px 75px;
    width: var(--shell);
}

.territory-copy {
    align-self: center;
    max-width: 520px;
    text-align: center;
}

.territory h2 {
    font-family: var(--display);
    font-size: clamp(39px, 4vw, 56px);
    letter-spacing: -0.05em;
    line-height: 1.05;
    margin: 0 0 28px;
}

.territory-copy > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 32px;
}

.button.outline-light {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.map-frame {
    align-items: center;
    background: #00000014;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    min-height: 430px;
    overflow: hidden;
    position: relative;
}

.map-frame::before {
    display: none;
}

.map-visual {
    flex: 0 0 auto;
    height: 350px;
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    width: 318px;
}

.uruguay-silhouette {
    background: rgba(160, 194, 210, 0.68);
    inset: 0;
    -webkit-mask: url("../img/uruguay-map.svg") center / contain no-repeat;
    mask: url("../img/uruguay-map.svg") center / contain no-repeat;
    position: absolute;
}

.map-location {
    left: var(--x);
    position: absolute;
    top: var(--y);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.map-dot {
    animation: mapDotBreath 2.4s ease-in-out infinite;
    animation-delay: var(--delay);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(231, 119, 60, .18);
    display: block;
    height: 9px;
    position: absolute;
    transform: translate(-50%, -50%);
    width: 9px;
}

.map-dot::before,
.map-dot::after {
    animation: mapPulse 2.4s ease-out infinite;
    animation-delay: var(--delay);
    border: 1px solid rgba(255, 145, 84, .9);
    border-radius: 50%;
    content: "";
    inset: -8px;
    opacity: 0;
    position: absolute;
}

.map-dot::after {
    animation-delay: calc(var(--delay) - 1.2s);
}

@keyframes mapPulse {
    0% { opacity: .9; transform: scale(.35); }
    75%, 100% { opacity: 0; transform: scale(2.25); }
}

.map-location-name {
    color: rgba(255, 255, 255, .88);
    font-size: 8px;
    font-weight: 800;
    left: 50%;
    letter-spacing: .01em;
    line-height: 1;
    position: absolute;
    text-align: center;
    text-shadow: 0 1px 4px rgba(4, 24, 38, .75);
    top: 11px;
    transform: translateX(calc(-50% + var(--label-shift)));
    white-space: nowrap;
}

@keyframes mapDotBreath {
    0%, 100% { box-shadow: 0 0 0 3px rgba(231, 119, 60, .14); }
    50% { box-shadow: 0 0 0 5px rgba(231, 119, 60, .28); }
}

.testimonials {
    padding: 120px 0;
}

.testimonial-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
}

.testimonial-grid article {
    border: 1px solid var(--line);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 28px;
}

.quote-mark {
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: 70px;
    line-height: 1;
    margin-bottom: -35px;
}

.testimonial-grid article > p {
    color: var(--text);
    flex: 1;
}

.testimonial-grid footer {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 13px;
    padding-top: 18px;
}

.testimonial-grid footer > span,
.testimonial-grid footer > img {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    height: 44px;
    justify-content: center;
    object-fit: cover;
    width: 44px;
    box-shadow: 2px 2px 2px rgba(6, 19, 30, 0.17);
}

.testimonial-grid footer strong,
.testimonial-grid footer small {
    display: block;
}

.testimonial-grid footer small {
    color: #74828a;
    font-size: 11px;
}

.faq {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 10%;
    grid-template-columns: 0.72fr 1.28fr;
    padding: 120px 0;
}

.faq-intro > p:not(.eyebrow) {
    color: var(--text);
}

.faq-intro {
    text-align: center;
}

.accordion details {
    border-bottom: 1px solid var(--line);
}

.accordion summary {
    cursor: pointer;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 600;
    list-style: none;
    padding: 24px 50px 24px 0;
    position: relative;
}

.accordion summary span {
    color: var(--blue);
    font-size: 26px;
    position: absolute;
    right: 4px;
    top: 19px;
    transition: transform 0.25s ease;
}

.accordion details[open] summary span {
    transform: rotate(45deg);
}

.accordion details p {
    color: var(--text);
    margin: 0;
    padding: 0 45px 26px 0;
}

.closing-cta {
    align-items: center;
    background: var(--blue);
    border-radius: 18px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: space-between;
    margin: 0 auto 90px;
    max-width: 1240px;
    min-height: 290px;
    padding: 65px 40px;
    text-align: center;
    width: var(--shell);
}

.closing-cta h2 {
    font-family: var(--display);
    font-size: clamp(40px, 5vw, 66px);
    letter-spacing: -0.05em;
    line-height: 1.05;
    margin: 0;
}

.button.white {
    background: var(--white);
    color: var(--ink);
}

.page-hero {
    background: linear-gradient(120deg, rgba(5, 23, 36, 0.98), rgba(13, 62, 87, 0.87)), url("../video/video.webm");
    color: var(--white);
    min-height: 560px;
    padding: 210px max(32px, calc((100vw - 1240px) / 2)) 100px;
    text-align: center;
}

.page-hero.compact {
    min-height: 490px;
}

.page-hero h1 {
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 80px);
    letter-spacing: -0.055em;
    line-height: 1;
    margin: 0;
}

.page-hero .eyebrow {
    text-align: center;
}

.services-intro {
    max-width: 960px;
    padding: 110px 0 84px;
}

.services-intro h2 {
    font-family: var(--display);
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.05em;
    line-height: 1.04;
    margin: 0;
    max-width: 760px;
}

.services-intro > p:last-child {
    color: var(--text);
    font-size: 18px;
    line-height: 1.75;
    margin: 30px 0 0;
    max-width: 720px;
}

.service-details {
    padding-bottom: 120px;
}

.service-detail {
    border-top: 1px solid var(--line);
    display: grid;
    gap: clamp(42px, 7vw, 110px);
    grid-template-columns: minmax(230px, .62fr) minmax(0, 1.38fr);
    padding: 54px 0 62px;
}

.service-detail:last-child {
    border-bottom: 1px solid var(--line);
}

.service-detail-heading {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-detail-heading > span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1;
}

.service-detail-heading h2 {
    font-family: var(--display);
    font-size: clamp(30px, 3.1vw, 43px);
    letter-spacing: -0.045em;
    line-height: 1.08;
    margin: 0;
}

.service-detail-content {
    min-width: 0;
}

.service-detail-intro {
    color: var(--text);
    font-size: 17px;
    line-height: 1.75;
    margin: 0;
    max-width: 680px;
}

.service-lines {
    border-top: 1px solid var(--line);
    margin-top: 32px;
}

.service-line {
    align-items: start;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
    padding: 21px 0 22px;
}

.service-line h3 {
    color: var(--ink);
    font-family: var(--display);
    font-size: 16px;
    line-height: 1.35;
    margin: 0;
}

.service-line p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.owner {
    display: grid;
    gap: 9%;
    grid-template-columns: 0.82fr 1.18fr;
    padding: 120px 0;
}

.owner-photo {
    background: var(--mist);
    min-height: 640px;
    overflow: hidden;
}

.owner-photo img {
    height: 100%;
    width: 100%;
    border-radius: 15px;
}

.owner-photo > div {
    align-items: center;
    color: #667983;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    min-height: 640px;
    text-align: center;
}

.owner-photo span {
    border: 1px solid #aab8be;
    font-size: 11px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    padding: 8px 14px;
}

.owner-photo strong {
    color: var(--ink);
    font-family: var(--display);
    font-size: 30px;
}

.owner-copy {
    align-self: center;
}

.owner-copy .lead {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.6;
}

.owner-copy > p:not(.eyebrow):not(.lead) {
    color: var(--text);
}

.owner-copy blockquote {
    border-left: 3px solid #7c97aa;
    font-family: var(--display);
    font-size: 22px;
    margin: 35px 0 0;
    padding: 8px 0 8px 25px;
}

.principles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: 120px;
}

.principles article {
    border: 1px solid var(--line);
    border-right: 0;
    padding: 32px;
}

.principles article:last-child {
    border-right: 1px solid var(--line);
}

.principles span {
    color: var(--blue);
    font-size: 28px;
}

.principles h3 {
    font-family: var(--display);
    font-size: 24px;
    margin: 4px 0 4px;
}

.principles p {
    color: var(--text);
    font-size: 14px;
    margin: 0;
}

.portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
}

.portfolio-grid .work-card {
    height: 390px;
}

.pagination {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 58px;
}

.album-heading {
    margin: 0 0 48px;
    max-width: 780px;
}

.album-heading .text-link {
    margin-bottom: 48px;
}

.album-heading h2 {
    font-family: var(--display);
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: -0.05em;
    line-height: 1.05;
    margin: 0 0 8px;
}

.album-heading > span {
    color: var(--blue);
    font-weight: 700;
}

.album-heading > p:last-child {
    color: var(--text);
    margin-top: 22px;
}

.album-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
}

.album-grid button {
    background: var(--mist);
    border: 0;
    cursor: pointer;
    height: 320px;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.album-grid img {
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
    width: 100%;
}

.album-grid button:hover img {
    transform: scale(1.04);
}

.album-grid button span {
    background: rgba(6, 19, 30, .78);
    bottom: 0;
    color: var(--white);
    font-size: 11px;
    padding: 9px 12px;
    position: absolute;
    right: 0;
}

.lightbox {
    align-items: center;
    background: rgba(3, 12, 19, .97);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 70px 90px;
    pointer-events: none;
    position: fixed;
    transition: opacity .25s ease;
    z-index: 100;
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox figure {
    height: 100%;
    margin: 0;
    max-width: 1200px;
    position: relative;
    width: 100%;
}

.lightbox figure img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.lightbox figcaption {
    bottom: -42px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.lightbox button {
    background: transparent;
    border: 1px solid rgba(255,255,255,.28);
    color: var(--white);
    cursor: pointer;
    font-size: 22px;
    height: 48px;
    position: absolute;
    width: 32px;
}

.lightbox-close { right: 28px; top: 24px; }
.lightbox-prev { left: 25px; top: 50%; }
.lightbox-next { right: 25px; top: 50%; }

.pagination a,
.pagination span {
    align-items: center;
    border: 1px solid var(--line);
    display: flex;
    font-size: 13px;
    height: 42px;
    justify-content: center;
    min-width: 42px;
    padding: 0 13px;
}

.pagination a.active,
.pagination a:hover {
    background: var(--steel);
    color: var(--white);
}

.form-page {
    background: var(--ink);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 100vh;
    padding: 165px max(32px, calc((100vw - 1240px) / 2)) 90px;
}

.form-intro {
    color: var(--white);
    padding: 55px 10% 55px 0;
}

.form-intro h1 {
    font-family: var(--display);
    font-size: clamp(46px, 5vw, 70px);
    letter-spacing: -0.055em;
    line-height: 1;
    margin: 0 0 28px;
}

.form-intro > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.67);
}

.contact-details {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    gap: 18px;
    margin-top: 50px;
    padding-top: 30px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-detail span {
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.contact-detail a {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-detail a:hover {
    color: var(--blue-light);
}

.form-panel {
    background: var(--white);
    padding: 58px;
    border-radius: 15px;
}

.project-form,
.project-form label {
    display: flex;
    flex-direction: column;
}

.project-form {
    gap: 25px;
}

.project-form label {
    color: #3d3f41;
    font-size: 13px;
    font-weight: 500;
    gap: 8px;
}

.project-form input,
.project-form select,
.project-form textarea {
    background: #f6f8f8;
    border: 1px solid transparent;
    border-bottom-color: #c8d2d6;
    border-radius: 8px;
    color: var(--ink);
    outline: none;
    padding: 14px 15px;
    transition: border 0.2s ease, background 0.2s ease;
    width: 100%;
}

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
    background: var(--white);
    border-color: var(--blue);
}

.form-row {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
}

.captcha-row {
    align-items: end;
    background: var(--mist);
    display: grid;
    gap: 25px;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
}

.captcha-row p,
.privacy-note {
    color: #708089;
    font-size: 12px;
    margin: 0;
}

.button.wide {
    width: 100%;
}

.honeypot {
    left: -10000px;
    position: absolute;
}

.toast {
    background: #1584b7;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
    color: var(--white);
    left: 50%;
    max-width: min(520px, calc(100% - 32px));
    padding: 16px 22px;
    position: fixed;
    top: 100px;
    transform: translateX(-50%);
    z-index: 60;
    border-radius: 8px;
}

.toast.success {
    border-left: 4px solid #7c97aa;
}

.toast.error {
    border-left: 4px solid var(--copper);
}

.site-footer {
    background: linear-gradient(0deg,rgba(6, 19, 30, 1) 0%, rgb(46, 71, 89) 100%);
    color: var(--white);
}

.footer-main {
    display: grid;
    gap: 7%;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    margin: 0 auto;
    padding: 85px 0 70px;
    width: var(--shell);
}

.footer-brand {
    align-self: start;
    max-width: 320px;
}

.footer-brand > p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.75;
    margin: 24px 0 0;
}

.footer-main > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-main > div > span {
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
}

.footer-main a,
.footer-main p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    margin: 0;
}

.footer-main a:hover {
    color: var(--white);
}

.socials {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.socials a {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    border-radius: 50%;
    height: 40px;
    justify-content: center;
    text-transform: uppercase;
    width: 40px;
}

.socials img {
    color: currentColor;
    height: 40px;
    width: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.42);
    display: flex;
    font-size: 11px;
    justify-content: space-between;
    margin: auto;
    padding: 22px 0;
    width: var(--shell);
}

.whatsapp-float {
    align-items: center;
    background: #1584b769;
    border: 1px solid rgba(174, 193, 207, 0.37);
    border-radius: 50%;
    bottom: 24px;
    box-shadow: 0 12px 30px rgba(6, 19, 30, 0.28);
    color: var(--white);
    display: flex;
    height: 60px;
    justify-content: center;
    position: fixed;
    right: 24px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    width: 60px;
    z-index: 50;
}

.whatsapp-float:hover {
    box-shadow: 0 16px 34px rgba(6, 19, 30, 0.36);
    color: var(--white);
    transform: translateY(-3px);
}

.whatsapp-float svg {
    fill: currentColor;
    height: 31px;
    width: 31px;
}

.whatsapp-float span {
    background: var(--ink);
    border-radius: 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    padding: 6px 9px;
    pointer-events: none;
    position: absolute;
    right: 70px;
    transform: translateX(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.whatsapp-float:hover span {
    opacity: 1;
    transform: translateX(0);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1050px) {
    :root { --shell: min(100% - 40px, 900px); }
    .site-header { grid-template-columns: 1fr auto; height: 76px; padding: 0 20px; }
    .desktop-nav, .header-cta { display: none; }
    .menu-toggle { background: transparent; border: 0; display: flex; flex-direction: column; gap: 7px; padding: 12px; position: relative; z-index: 32; }
    .menu-toggle span { background: var(--white); display: block; height: 2px; transition: transform .25s ease; width: 27px; }
    .menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
    .menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
    .mobile-nav { background: var(--ink); display: flex; flex-direction: column; inset: 0; justify-content: center; opacity: 0; padding: 80px 34px 40px; pointer-events: none; position: fixed; transform: translateY(-16px); transition: opacity .3s ease, transform .3s ease; z-index: 31; }
    .menu-open .mobile-nav { opacity: 1; pointer-events: auto; transform: none; }
    .mobile-nav a { border-bottom: 1px solid rgba(255,255,255,.13); color: var(--white); font-family: var(--display); font-size: 18px; padding: 15px 0; text-align: center; }
    .mobile-nav .mobile-cta { background: var(--blue); border: 0; border-radius: 12px; font-family: var(--body); font-size: 15px; margin-top: 24px; padding: 16px; text-align: center; }
    .numbers { grid-template-columns: repeat(3, 1fr); }
    .numbers-copy { grid-column: 1 / -1; }
    .home-grid { grid-template-columns: 1fr 1fr; }
    .home-grid .featured { grid-column: 1 / -1; grid-row: auto; height: 480px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .album-grid { grid-template-columns: repeat(2, 1fr); }
    .principles { grid-template-columns: 1fr 1fr; }
    .principles article:nth-child(2) { border-right: 1px solid var(--line); }
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .service-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-detail { gap: 44px; grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); }
    .service-line { gap: 22px; grid-template-columns: minmax(155px, .7fr) minmax(0, 1.3fr); }
    .territory { gap: 42px; padding: 55px 45px; }
}

@media (max-width: 760px) {
    :root { --shell: calc(100% - 32px); }
    body { font-size: 16px; }
    .brand img { width: 70px; }
    .video-slider, .video-slide { height: 780px; min-height: 700px; }
    .hero-content { left: 50%; max-width: calc(100% - 40px); top: 48%; transform: translate(-50%, -44%); }
    .hero h1, .hero h2 { font-size: clamp(44px, 13vw, 62px); }
    .hero h1 br, .hero h2 br { display: none; }
    .hero-content > p:not(.eyebrow) { font-size: 16px; margin: 10px auto; }
    .hero-actions { align-items: center; flex-direction: column; gap: 18px; }
    .slider-dots { bottom: 28px; }
    .intro { padding: 75px 0; }
    .intro-copy { margin-top: 24px; padding: 0; }
    .intro h2, .section-heading h2, .faq h2, .owner h2 { font-size: 39px; }
    .service-showcase { padding-top: 80px; }
    .section-heading.center { padding: 0 20px; }
    .service-track { grid-template-columns: 1fr; margin: 0 auto; padding: 0 0 50px; width: var(--shell); }
    .service-card { min-height: 300px; padding: 28px 24px; }
    .service-marquee { font-size: 28px; padding: 28px 0; }
    .numbers { grid-template-columns: 1fr; margin-top: 75px; }
    .numbers article, .numbers-copy { border-bottom: 1px solid rgba(255,255,255,.12); border-right: 0; padding: 32px; }
    .numbers-copy { grid-column: auto; }
    .work-preview, .portfolio { padding: 85px 0; }
    .section-heading.split { align-items: center; flex-direction: column; gap: 20px; }
    .work-grid, .home-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .album-grid { grid-template-columns: 1fr 1fr; }
    .album-grid button { height: 230px; }
    .lightbox { padding: 70px 16px; }
    .lightbox-prev { bottom: 14px; left: calc(50% - 58px); top: auto; }
    .lightbox-next { bottom: 14px; right: calc(50% - 58px); top: auto; }
    .work-card, .home-grid .featured, .portfolio-grid .work-card { grid-column: auto; height: 390px; }
    .territory { gap: 35px; grid-template-columns: 1fr; padding: 60px 20px 20px; }
    .territory-copy { margin: 0 auto; max-width: 560px; padding: 0; }
    .map-frame {
        min-height: 390px;
        padding: 28px 16px;
    }
    .map-visual {
        aspect-ratio: 903.70679 / 1004.3277;
        height: auto;
        margin: 0 auto;
        width: min(100%, 288px);
    }
    .testimonials { padding: 85px 0; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .faq { gap: 45px; grid-template-columns: 1fr; padding: 85px 0; }
    .closing-cta { align-items: center; flex-direction: column; gap: 30px; margin-bottom: 65px; padding: 60px 20px; }
    .closing-cta h2 { font-size: 42px; }
    .page-hero, .page-hero.compact { min-height: 470px; padding: 170px 20px 75px; }
    .page-hero h1 { font-size: 48px; }
    .page-hero h1 br { display: none; }
    .services-intro { padding: 82px 0 55px; }
    .services-intro h2 { font-size: 40px; }
    .services-intro > p:last-child { font-size: 16px; margin-top: 24px; }
    .service-details { padding-bottom: 85px; }
    .service-detail { gap: 28px; grid-template-columns: 1fr; padding: 38px 0 46px; }
    .service-detail-heading { gap: 12px; }
    .service-detail-heading h2 { font-size: 33px; }
    .service-detail-intro { font-size: 16px; }
    .service-lines { margin-top: 26px; }
    .service-line { gap: 7px; grid-template-columns: 1fr; padding: 18px 0 19px; }
    .service-line h3 { font-size: 16px; }
    .service-line p { font-size: 15px; }
    .owner { gap: 48px; grid-template-columns: 1fr; padding: 85px 0; }
    .owner-photo, .owner-photo > div { min-height: 500px; }
    .principles { grid-template-columns: 1fr; }
    .principles article, .principles article:nth-child(2) { border-bottom: 0; border-right: 1px solid var(--line); }
    .principles article:last-child { border-bottom: 1px solid var(--line); }
    .form-page { grid-template-columns: 1fr; padding: 125px 16px 60px; }
    .form-intro { padding: 30px 4px 55px; }
    .form-panel { padding: 30px 20px; }
    .form-row, .captcha-row { grid-template-columns: 1fr; }
    .footer-main { gap: 42px; grid-template-columns: 1fr; padding: 65px 0; text-align: center; }
    .footer-main > div { align-items: center; }
    .footer-brand { margin: 0 auto; }
    .footer-bottom { align-items: center; flex-direction: column; gap: 4px; text-align: center; }
    .whatsapp-float { bottom: 18px; height: 54px; right: 16px; width: 54px; }
    .whatsapp-float svg { height: 28px; width: 28px; }
    .whatsapp-float span { display: none; }
    .accordion summary {font-size: 15px;font-weight: 500;}
    
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .service-marquee__track {
        animation: marquee 25s linear infinite !important;
        animation-play-state: running !important;
    }
}
