:root {
    --navy: #04283f;
    --blue: #0085c9;
    --blue-dark: #046aa3;
    --blue-tint: #eaf5fb;
    --orange: #ff9200;
    --orange-dark: #dd7d00;
    --orange-tint: #fff2e0;
    --ink: #0b2436;
    --muted: #5b7080;
    --line: rgba(11, 36, 54, 0.1);
    --line-soft: rgba(11, 36, 54, 0.06);
    --bg: #f6f9fb;
    --surface: #ffffff;
    --shadow: 0 24px 56px rgba(4, 40, 63, 0.10);
    --shadow-sm: 0 10px 26px rgba(4, 40, 63, 0.08);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shell: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.eyebrow--light {
    color: #bfe4f7;
}

.eyebrow--light::before {
    background: var(--orange);
}

h1,
h2,
.serif {
    font-family: "Sora", "Manrope", sans-serif;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin: 0;
    color: var(--navy);
}

/* ---------- header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-soft);
}

.header-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 96px;
    padding: 12px 0;
}

.brand {
    flex: none;
}

.brand img {
    width: 176px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.main-nav a {
    position: relative;
    color: var(--ink);
    opacity: 0.72;
    padding: 6px 0;
    transition: opacity 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    opacity: 1;
    color: var(--blue-dark);
}

.main-nav a.is-active {
    opacity: 1;
    color: var(--blue-dark);
}

.main-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
}

/* ---------- search band ---------- */

.search-band {
    padding: 24px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.header-search {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 118fr) minmax(0, 118fr) minmax(0, 202fr) minmax(0, 202fr) auto;
    align-items: stretch;
    min-height: 70px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.header-search > *:first-child {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}

.header-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-right: 1px solid var(--line);
    min-width: 0;
}

.header-field__icon {
    display: grid;
    place-items: center;
    color: var(--blue-dark);
    flex: none;
}

.header-field__body {
    display: grid;
    gap: 1px;
    min-width: 0;
    overflow: hidden;
}

.header-field__body span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.header-field select,
.header-field input {
    border: none;
    background: transparent;
    padding: 0;
    min-height: auto;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-field select {
    appearance: none;
    padding-right: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b7080' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 13px;
}

.header-field--dropdown {
    padding: 0;
}

.header-field--dropdown .header-field__icon {
    margin-left: 18px;
}

.header-field__trigger {
    display: grid;
    gap: 1px;
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    padding: 10px 30px 10px 10px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b7080' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 13px;
    transition: background-position 0.15s ease;
}

.header-field__trigger span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.header-field__trigger strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-field__trigger.is-open {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230085c9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
}

.header-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    z-index: 60;
    display: grid;
    gap: 2px;
    min-width: 210px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.header-dropdown button {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: transparent;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

.header-dropdown button:hover {
    background: var(--blue-tint);
    color: var(--blue-dark);
}

.header-dropdown button.is-selected {
    background: var(--blue-tint);
    color: var(--blue-dark);
    font-weight: 800;
}

[x-cloak] {
    display: none !important;
}

.header-field input::placeholder {
    color: var(--muted);
    opacity: 0.9;
}

.header-search .button {
    height: 100%;
    border-radius: 0 999px 999px 0;
    padding: 0 22px;
}

.header-side {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.button-whatsapp {
    min-width: 148px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 999px;
    padding: 15px 24px;
    font-weight: 800;
    font-size: 0.94rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.button-primary,
.nav-cta {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 14px 28px rgba(255, 146, 0, 0.28);
}

.button-primary:hover,
.nav-cta:hover {
    transform: translateY(-1px);
    background: var(--orange-dark);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

.button-dark {
    background: var(--navy);
    color: #fff;
}

.button-dark:hover {
    background: #072f49;
}

.button-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

.button-ghost:hover {
    border-color: var(--blue);
    color: var(--blue-dark);
}

.button-block {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--navy);
    border-radius: 2px;
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 34px;
    background:
        linear-gradient(180deg, rgba(246, 250, 253, 0.78) 0%, rgba(238, 246, 251, 0.85) 100%),
        url("../img/hero/slide-1.jpg");
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
}

.hero-clouds {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.cloud {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%);
    filter: blur(26px);
    will-change: transform;
}

.cloud-1 {
    width: 420px;
    height: 150px;
    top: 6%;
    left: -30%;
    opacity: 0.55;
    animation: cloudDrift 85s linear infinite;
}

.cloud-2 {
    width: 560px;
    height: 190px;
    top: 32%;
    left: -45%;
    opacity: 0.4;
    animation: cloudDrift 110s linear infinite;
    animation-delay: -30s;
}

.cloud-3 {
    width: 380px;
    height: 140px;
    top: 58%;
    left: -20%;
    opacity: 0.5;
    animation: cloudDrift 95s linear infinite;
    animation-delay: -60s;
}

@keyframes cloudDrift {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(190vw);
    }
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 600px);
    gap: 28px;
    align-items: stretch;
}

.hero-card {
    max-width: none;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 48px 44px;
    border: 1px solid rgba(11, 36, 54, 0.06);
}

.hero h1 {
    max-width: 13ch;
    font-size: clamp(2.3rem, 3.6vw, 3.3rem);
    color: var(--navy);
}

.hero h1 em {
    font-style: normal;
    color: var(--orange);
}

.hero-tagline {
    max-width: 46ch;
    margin: 14px 0 0;
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
}

.hero-text {
    max-width: 58ch;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.text-link {
    font-weight: 800;
    color: var(--blue-dark);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.text-link:hover {
    border-color: var(--orange);
}

.hero-stats {
    display: flex;
    gap: 26px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    list-style: none;
    padding-left: 0;
}

.hero-stats li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stats .stat-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-tint);
    color: var(--blue-dark);
    flex: none;
}

.hero-stats strong {
    display: block;
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 800;
}

.hero-stats span {
    color: var(--muted);
    font-size: 0.82rem;
}

.hero-map-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 18px;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(11, 36, 54, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 146, 0, 0.08), transparent 25%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
    box-shadow: var(--shadow);
}

.hero-map-card__header {
    display: grid;
    gap: 6px;
}

.hero-map-card__header span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-map-card__header strong {
    color: var(--navy);
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.hero-map-card__body {
    display: grid;
    align-items: stretch;
}

.hero-map-card__canvas {
    position: relative;
    min-height: 560px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 146, 0, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(11, 36, 54, 0.02), rgba(11, 36, 54, 0.05)),
        linear-gradient(90deg, rgba(11, 36, 54, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(11, 36, 54, 0.03) 1px, transparent 1px);
    background-size: auto, 34px 34px, 34px 34px;
    overflow: hidden;
}

.hero-map-card__canvas > svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
}

.hero-map-card__legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-map-card__legend div {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(11, 36, 54, 0.06);
}

.hero-map-card__legend strong {
    color: var(--navy);
    font-size: 0.96rem;
}

.hero-map-card__legend span {
    color: var(--muted);
    font-size: 0.8rem;
}

/* ---------- why us ---------- */

.why-us {
    padding: 90px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.why-us__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.why-us__head h2 {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--navy);
}

.why-us__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.why-us__divider span {
    width: 56px;
    height: 2px;
    background: var(--line);
}

.why-us__divider i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    position: relative;
    overflow: hidden;
    padding: 40px 24px 44px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    cursor: default;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue);
    transition: background 0.28s ease;
}

.why-card:hover::before {
    background: var(--orange);
}

.why-card__icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--blue-tint);
    color: var(--blue-dark);
    transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.why-card:hover .why-card__icon {
    background: var(--blue);
    color: #fff;
    transform: scale(1.06);
}

.why-card__rule {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 2px;
    margin: 0 auto 16px;
    background: var(--orange);
    transition: background 0.28s ease;
}

.why-card:hover .why-card__rule {
    background: var(--blue);
}

.why-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.stat-card strong {
    position: relative;
    z-index: 1;
    display: block;
    font-family: "Sora", "Manrope", sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 14px;
}

.stat-card span {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.stat-card:hover strong {
    color: var(--blue-dark);
}

.why-card__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M0,32 C100,58 300,4 400,30 L400,60 L0,60 Z' fill='%23eaf5fb'/%3E%3Cpath d='M0,42 C120,12 280,58 400,24 L400,60 L0,60 Z' fill='%23dcedf9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.why-card--solid {
    background: var(--blue);
    border-color: transparent;
}

.why-card--solid::before {
    display: none;
}

.why-card--solid:hover {
    background: var(--blue-dark);
}

.why-card--solid .why-card__icon {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.why-card--solid:hover .why-card__icon {
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
}

.why-card--solid .why-card__rule {
    background: rgba(255, 255, 255, 0.55);
}

.why-card--solid:hover .why-card__rule {
    background: #fff;
}

.why-card--solid p {
    color: rgba(255, 255, 255, 0.92);
}

.why-card--solid .why-card__wave {
    display: none;
}

/* ---------- showcase gallery ---------- */

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.showcase-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.showcase-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.showcase-card figcaption {
    padding: 18px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}

.showcase-card--wide img {
    height: 360px;
}

/* ---------- case studies ---------- */

.case-list {
    display: grid;
    gap: 32px;
}

.case-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: default;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.case-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.case-item__media {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

.case-item__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover .case-item__media img {
    transform: scale(1.06);
}

.case-item__stat {
    transition: background 0.28s ease, color 0.28s ease;
}

.case-item:hover .case-item__stat {
    background: var(--blue);
    color: #fff;
}

.case-item__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 48px;
}

.case-item__logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.case-item__meta {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-dark);
}

.case-item__body h3 {
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 1.6rem;
    color: var(--navy);
}

.case-item__body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.case-item__stat {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--blue-tint);
    color: var(--blue-dark);
    font-size: 0.85rem;
    font-weight: 800;
}

.case-item--reverse .case-item__media {
    order: 2;
}

.case-item--reverse .case-item__body {
    order: 1;
}

@media (max-width: 900px) {
    .case-item,
    .case-item--reverse {
        grid-template-columns: 1fr;
    }

    .case-item__media,
    .case-item--reverse .case-item__media {
        order: -1;
        min-height: 240px;
    }

    .case-item__body {
        padding: 32px 24px;
    }
}

.form-grid label {
    display: grid;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
}

.form-grid textarea {
    min-height: 150px;
    padding: 14px 16px;
    resize: vertical;
}

/* ---------- generic sections ---------- */

.section {
    padding: 100px 0;
}

.section-tight {
    padding: 60px 0 20px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 40px;
}

.section-head h2 {
    max-width: 700px;
    font-size: clamp(2.2rem, 4vw, 3.1rem);
}

.section-head--center {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-head--center > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-head--center .eyebrow {
    justify-content: center;
}

.section-head--center h2 {
    max-width: 720px;
}

.section-head__tagline {
    margin-top: 14px;
    max-width: 560px;
    color: var(--muted);
    font-size: 1.1rem;
    font-weight: 600;
}

.prose {
    max-width: 820px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

/* ---------- page hero (photo banner) ---------- */

.page-hero {
    padding: 32px 0 0;
}

.page-hero__panel {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.page-hero__panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: page-hero-fade 18s ease-in-out infinite;
}

.page-hero__panel img:nth-child(1) {
    animation-delay: 0s;
}

.page-hero__panel img:nth-child(2) {
    animation-delay: 6s;
}

.page-hero__panel img:nth-child(3) {
    animation-delay: 12s;
}

.page-hero__panel img:first-child:nth-last-child(2) {
    animation: none;
    opacity: 1;
}

@keyframes page-hero-fade {
    0%,
    25% {
        opacity: 1;
    }
    33%,
    92% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero__panel img {
        animation: none;
    }

    .page-hero__panel img:first-child {
        opacity: 1;
    }
}

.page-hero__panel--duo img {
    animation: page-hero-fade-duo 12s ease-in-out infinite;
}

.page-hero__panel--duo img:nth-child(2) {
    animation-delay: 6s;
}

@keyframes page-hero-fade-duo {
    0%,
    37.5% {
        opacity: 1;
    }
    50%,
    87.5% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.page-hero__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 40, 63, 0.95) 0%, rgba(4, 40, 63, 0.8) 40%, rgba(4, 40, 63, 0.35) 75%, rgba(4, 40, 63, 0.15) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 64px;
    color: #fff;
}

.page-hero__content h1 {
    max-width: 15ch;
    color: #fff;
    font-size: clamp(2.2rem, 3.6vw, 3.1rem);
}

.page-hero__tagline {
    margin: 16px 0 0;
    max-width: 48ch;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
}

.page-hero__content .button {
    margin-top: 28px;
}

@media (max-width: 780px) {
    .page-hero__panel {
        min-height: 380px;
    }

    .page-hero__content {
        padding: 40px 28px;
    }
}

/* ---------- commitment panel ---------- */

.commitment-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    padding: 56px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.commitment-panel__logo {
    width: 180px;
    flex: none;
    padding-right: 56px;
    border-right: 1px solid var(--line);
}

.commitment-panel__stats {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
}

.commitment-stat {
    text-align: center;
}

.commitment-stat__label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-dark);
}

.commitment-stat strong {
    display: block;
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--navy);
}

.commitment-stat__caption {
    display: block;
    margin-top: 8px;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--muted);
}

@media (max-width: 780px) {
    .commitment-panel {
        padding: 40px 28px;
    }

    .commitment-panel__logo {
        padding-right: 0;
        border-right: none;
        padding-bottom: 32px;
        border-bottom: 1px solid var(--line);
    }
}

.prose p + p {
    margin-top: 18px;
}

.stub-page__card {
    max-width: 640px;
    margin: 0 auto;
    padding: 44px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stub-page__card p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.stub-page__card .button {
    display: inline-flex;
}

/* ---------- story ---------- */

.story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 28px;
    align-items: stretch;
}

.story-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 48px 44px;
}

.story-card h2 {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    max-width: 14ch;
}

.story-copy {
    margin-top: 20px;
}

.story-copy p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.story-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 10px;
    border-radius: var(--radius-md);
    background: var(--bg);
    text-align: center;
    cursor: default;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.story-stat:hover {
    transform: translateY(-6px);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.story-stat__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue-tint);
    color: var(--blue-dark);
    flex: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.story-stat:hover .story-stat__icon {
    background: var(--blue);
    color: #fff;
    transform: scale(1.08);
}

.story-stat__label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
}

.story-photo {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.story-photo img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-photo:hover img {
    transform: scale(1.06);
}

.story-photo--gallery .story-photo__img {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: story-photo-fade 12s ease-in-out infinite;
}

.story-photo--gallery .story-photo__img:first-child {
    position: relative;
    animation-delay: 0s;
}

.story-photo--gallery .story-photo__img:nth-child(2) {
    animation-delay: 6s;
}

@keyframes story-photo-fade {
    0%,
    37.5% {
        opacity: 1;
    }
    50%,
    87.5% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-photo--gallery .story-photo__img {
        animation: none;
    }

    .story-photo--gallery .story-photo__img:first-child {
        opacity: 1;
    }
}

.story-photo__badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(4px);
}

.story-photo__badge img {
    width: 108px;
    height: auto;
    min-height: 0;
}

/* ---------- lots ---------- */

.lot-carousel {
    position: relative;
    margin-bottom: 32px;
}

.lot-carousel__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lot-carousel__track::-webkit-scrollbar {
    display: none;
}

.lot-carousel__arrow {
    position: absolute;
    top: 42%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.lot-carousel__arrow:hover {
    background: var(--orange-tint);
    color: var(--orange-dark);
    box-shadow: var(--shadow);
}

.lot-carousel__arrow:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
}

.lot-carousel__arrow:disabled:hover {
    background: var(--surface);
    color: var(--navy);
}

.lot-carousel__arrow--prev {
    left: -22px;
}

.lot-carousel__arrow--next {
    right: -22px;
}

.lot-grid {
    display: flex;
    gap: 24px;
    padding: 4px 4px 12px;
}

.lot-card {
    display: block;
    flex: 0 0 clamp(270px, 30vw, 350px);
    scroll-snap-align: start;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease;
}

.lot-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.lot-card.is-visible:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.lot-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: linear-gradient(150deg, var(--blue-tint), #dcedf6);
}

.lot-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lot-card:hover .lot-card__image img {
    transform: scale(1.08);
}

.lot-card:hover .badge {
    background: var(--blue);
    color: #fff;
}

.lot-card__promo {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a00, #ff9f1a 58%, #ffc14d);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 16px 28px rgba(255, 122, 0, 0.34);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.lot-card__promo::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fff8d9;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16);
}

.lot-card__promo::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.lot-card:hover .lot-card__promo {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 18px 34px rgba(255, 122, 0, 0.42);
}

.lot-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--blue-dark);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.lot-card__body {
    padding: 24px;
}

.badge {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--orange-tint);
    color: var(--orange-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: background 0.25s ease, color 0.25s ease;
}

.lot-card h3 {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 1.28rem;
    margin: 16px 0 10px;
    color: var(--ink);
}

.lot-card p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.lot-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.lot-card dt {
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lot-card dd {
    margin: 4px 0 0;
    font-weight: 800;
    color: var(--navy);
}

.table-wrap {
    overflow: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--surface);
}

.lots-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
}

.lots-table th,
.lots-table td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

.lots-table tbody tr:last-child td {
    border-bottom: none;
}

.lots-table th:first-child,
.lots-table td:first-child {
    width: 70px;
    padding-right: 12px;
}

.lots-table th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--bg);
}

.lots-table td a {
    color: var(--blue-dark);
    font-weight: 700;
}

.lots-table td a:hover {
    color: var(--blue);
}

/* ---------- lot detail ---------- */

.lot-detail__back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 0.9rem;
}

.lot-detail__back:hover {
    color: var(--blue);
}

.lot-detail__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.lot-detail__head h1 {
    margin: 10px 0 6px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.lot-detail__meta {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.lot-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 12px;
    margin-bottom: 48px;
}

.lot-gallery__main,
.lot-gallery__thumb {
    display: block;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.lot-gallery__main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.lot-gallery__main img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lot-gallery__main:hover img {
    transform: scale(1.03);
}

.lot-gallery__thumbs {
    display: grid;
    grid-auto-rows: minmax(0, 1fr);
    gap: 12px;
    max-height: 480px;
}

.lot-gallery__thumb img {
    width: 100%;
    height: 100%;
    min-height: 60px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.lot-gallery__thumb:hover img {
    transform: scale(1.06);
    opacity: 0.92;
}

@media (max-width: 780px) {
    .lot-gallery {
        grid-template-columns: 1fr;
    }

    .lot-gallery__thumbs {
        grid-auto-flow: column;
        grid-auto-columns: minmax(90px, 1fr);
        max-height: none;
        height: 100px;
        overflow-x: auto;
    }
}

.lot-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 32px;
    align-items: start;
}

.lot-detail__panel {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.lot-detail__map-eyebrow {
    margin-top: 32px;
}

.lot-detail__map {
    position: relative;
    padding-top: 56.25%;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    overflow: hidden;
}

.lot-detail__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lot-detail__info {
    position: sticky;
    top: 100px;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.lot-detail__price {
    display: block;
    margin-bottom: 20px;
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 2rem;
    color: var(--navy);
}

.lot-detail__specs {
    display: grid;
    gap: 14px;
    margin: 0 0 24px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lot-detail__specs div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.lot-detail__specs dt {
    color: var(--muted);
    font-size: 0.88rem;
}

.lot-detail__specs dd {
    margin: 0;
    font-weight: 800;
    color: var(--navy);
    text-align: right;
}

@media (max-width: 900px) {
    .lot-detail__layout {
        grid-template-columns: 1fr;
    }

    .lot-detail__panel {
        padding: 28px 22px;
    }

    .lot-detail__info {
        position: static;
    }
}

/* ---------- lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 40, 63, 0.94);
}

.lightbox[hidden] {
    display: none;
}

.lightbox__image {
    max-width: 88vw;
    max-height: 84vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.24);
}

.lightbox__close {
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    line-height: 1;
}

.lightbox__nav {
    top: 50%;
    width: 54px;
    height: 54px;
    font-size: 2.2rem;
    line-height: 1;
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: 20px;
}

.lightbox__nav--next {
    right: 20px;
}

@media (max-width: 780px) {
    .lightbox__nav {
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
    }
}

/* ---------- cities ---------- */

.city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.city-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 480px;
    padding: 32px;
    border-radius: var(--radius-md);
    background-color: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.city-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.6s ease;
    z-index: 0;
}

.city-card:hover::before {
    transform: scale(1.1);
}

.city-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(4, 40, 63, 0.08) 0%, rgba(4, 40, 63, 0.78) 72%, rgba(4, 40, 63, 0.92) 100%);
    transition: background 0.4s ease;
}

.city-card:hover::after {
    background: linear-gradient(180deg, rgba(255, 146, 0, 0.1) 0%, rgba(221, 125, 0, 0.72) 72%, rgba(4, 40, 63, 0.9) 100%);
}

.city-card--trancoso {
    background-image: url("../img/regions/trancoso.jpg");
}

.city-card--cabralia {
    background-image: url("../img/regions/cabralia.jpg");
}

.city-card--porto {
    background-image: url("../img/regions/porto-seguro.jpg");
}

.city-card > * {
    position: relative;
    z-index: 1;
}

.city-card span {
    display: block;
    margin-bottom: 12px;
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 1.9rem;
    color: #fff;
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.city-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

/* ---------- contact ---------- */

.contact-strip {
    padding: 0 0 100px;
}

.contact-strip__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 48px;
    padding: 52px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy), var(--blue-dark));
    color: #fff;
    box-shadow: var(--shadow);
}

.contact-strip__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.contact-strip__panel--solo {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
}

.contact-strip__panel--solo .contact-strip__info {
    align-items: center;
}

.contact-strip__info h2 {
    color: #fff;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form textarea {
    min-height: 120px;
    padding: 14px 16px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(255, 255, 255, 0.14);
}

.contact-form .button-block {
    margin-top: 4px;
}

.contact-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--blue-dark);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

.contact-links {
    position: relative;
    display: grid;
    gap: 22px;
    padding-left: 28px;
}

.contact-links::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: rgba(255, 255, 255, 0.22);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.05rem, 2vw, 1.5rem);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-link:hover {
    transform: translateX(4px);
    opacity: 0.92;
}

.contact-link__icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.contact-link:first-child {
    padding: 16px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
}

.contact-link:first-child .contact-link__icon {
    background: #a98434;
}

.contact-link--email {
    margin-top: 2px;
}

/* ---------- footer ---------- */

.site-footer {
    padding: 0 0 40px;
}

.footer-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.2fr;
    gap: 40px;
    padding: 48px 52px 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy), var(--blue-dark));
    box-shadow: var(--shadow);
    color: #fff;
}

.footer-brand img {
    width: 168px;
}

.footer-brand__rule {
    width: 44px;
    height: 3px;
    margin: 20px 0 16px;
    background: var(--orange);
    border-radius: 2px;
}

.footer-brand p {
    margin: 0;
    max-width: 30ch;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    font-size: 0.94rem;
}

.footer-col {
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 10px;
    margin: 0 -10px 6px;
    border-radius: 14px;
    color: #fff;
    transition: background 0.25s ease, transform 0.25s ease;
}

.footer-item--address {
    align-items: flex-start;
}

a.footer-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.footer-item__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    flex: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-item:hover .footer-item__icon {
    background: var(--orange);
    color: #fff;
    transform: scale(1.08);
}

.footer-item span {
    font-size: 0.94rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.footer-item strong {
    display: block;
    color: #fff;
    font-size: 0.94rem;
}

.footer-bottom {
    position: relative;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 44px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    text-align: center;
}

.footer-bottom svg {
    flex: none;
    color: var(--orange);
}

.site-credits {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.76rem;
}

/* ---------- admin ---------- */

.admin-body {
    min-height: 100vh;
    background: var(--bg);
}

.admin-shell {
    width: min(calc(100% - 32px), 1320px);
    margin: 24px auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 24px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--navy), var(--blue-dark));
    color: #fff;
    box-shadow: var(--shadow);
}

.admin-sidebar__brand {
    margin-bottom: 18px;
}

.admin-sidebar img {
    width: 140px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.admin-sidebar h1 {
    margin: 0 0 12px;
    font-size: 2.2rem;
    color: #fff;
}

.admin-sidebar p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    margin: 0 0 26px;
}

.admin-sidebar__greeting {
    margin: 0 0 20px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.admin-sidebar__greeting strong {
    color: var(--orange);
}

.admin-sidebar__greeting span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
}

.admin-nav {
    display: grid;
    gap: 4px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    font-size: 0.92rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-sidebar .button {
    margin-bottom: 10px;
}

.admin-main {
    display: grid;
    gap: 24px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
}

.admin-stat {
    position: relative;
    display: grid;
    gap: 22px;
    min-height: 172px;
    padding: 22px 22px 20px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-stat::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, rgba(4, 106, 163, 0.9), rgba(0, 133, 201, 0.28));
}

.admin-stat--featured::before {
    background: linear-gradient(90deg, rgba(15, 138, 91, 0.92), rgba(89, 197, 151, 0.3));
}

.admin-stat--reserved::before {
    background: linear-gradient(90deg, rgba(221, 125, 0, 0.92), rgba(255, 186, 92, 0.32));
}

.admin-stat--sold::before {
    background: linear-gradient(90deg, rgba(91, 112, 128, 0.92), rgba(168, 182, 194, 0.3));
}

.admin-stat__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-stat__eyebrow {
    margin: 0;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.admin-stat__content {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.admin-stat__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--blue-tint);
    color: var(--blue-dark);
    flex: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.admin-stat__icon--featured {
    background: rgba(16, 163, 108, 0.12);
    color: #0f8a5b;
}

.admin-stat__icon--available {
    background: var(--blue-tint);
    color: var(--blue-dark);
}

.admin-stat__icon--reserved {
    background: var(--orange-tint);
    color: var(--orange-dark);
}

.admin-stat__icon--sold {
    background: var(--line-soft);
    color: var(--muted);
}

.admin-stat__content strong {
    display: block;
    font-family: "Daikon", "Playfair Display", serif;
    font-size: clamp(2.3rem, 4vw, 3rem);
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.03em;
}

.admin-stat__content span {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    max-width: 13ch;
}

.admin-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(4, 40, 63, 0.12);
}

.admin-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.admin-card .section-head {
    margin-bottom: 24px;
}

.admin-card .section-head h2 {
    max-width: none;
    font-size: 1.7rem;
}

/* ---------- admin login ---------- */

.admin-body--login {
    min-height: 100vh;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 560px) 1fr;
}

.login-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: 48px;
    color: #fff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.login-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(4, 40, 63, 0.94), rgba(0, 90, 140, 0.72));
}

.login-visual__brand,
.login-visual__content,
.login-visual__features {
    position: relative;
    z-index: 1;
}

.login-visual__brand img {
    width: 150px;
    filter: brightness(0) invert(1);
}

.login-visual__content {
    max-width: 420px;
}

.login-visual__rule {
    display: block;
    width: 46px;
    height: 3px;
    margin-bottom: 20px;
    background: var(--orange);
    border-radius: 2px;
}

.login-visual__content h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.login-visual__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.login-visual__features {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.login-feature {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 160px;
}

.login-feature__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.login-feature strong {
    font-size: 0.95rem;
}

.login-feature span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
    line-height: 1.4;
}

.login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--bg);
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.login-card__icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    color: var(--orange);
    background: var(--orange-tint);
    border-radius: 50%;
}

.login-card h2 {
    margin: 0 0 6px;
    font-size: 1.7rem;
}

.login-card .text-orange {
    color: var(--orange);
}

.login-card__lead {
    margin: 0 0 26px;
    color: var(--muted);
}

.login-form {
    display: grid;
    gap: 16px;
    text-align: left;
}

.login-field {
    display: grid;
    gap: 8px;
}

.login-field__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.login-field__control {
    position: relative;
    display: flex;
    align-items: center;
}

.login-field__icon {
    position: absolute;
    left: 16px;
    display: grid;
    place-items: center;
    color: var(--muted);
    pointer-events: none;
}

.login-field__control input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px 0 46px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    font-size: 0.95rem;
}

.login-field__control input:focus {
    outline: none;
    border-color: var(--blue);
}

.login-field__toggle {
    position: absolute;
    right: 10px;
    display: grid;
    place-items: center;
    padding: 8px;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.login-field__toggle:hover {
    color: var(--ink);
}

.login-form__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.login-remember input {
    width: 16px;
    height: 16px;
    accent-color: var(--orange);
}

.login-forgot {
    color: var(--blue-dark);
    font-size: 0.85rem;
    font-weight: 700;
}

.login-forgot:hover {
    color: var(--orange-dark);
}

.login-submit {
    margin-top: 4px;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid--wide {
    grid-template-columns: repeat(2, 1fr);
}

.span-2 {
    grid-column: span 2;
}

.admin-upload-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.admin-upload-field {
    display: grid;
    gap: 10px;
}

.admin-upload-field--wide {
    grid-column: span 2;
}

.admin-upload-field__label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-upload-field input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.admin-upload-field__box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-upload-field:hover .admin-upload-field__box {
    border-color: rgba(0, 133, 201, 0.28);
    box-shadow: 0 16px 32px rgba(4, 40, 63, 0.1);
    transform: translateY(-1px);
}

.admin-upload-field__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--blue-tint);
    color: var(--blue-dark);
    flex: none;
}

.admin-upload-field__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-upload-field__copy strong {
    color: var(--navy);
    font-size: 0.98rem;
    font-weight: 800;
}

.admin-upload-field__copy small {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 600;
}

.admin-upload-field__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.admin-form-section {
    grid-column: 1 / -1;
    margin: 8px 0 -4px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-dark);
}

.admin-form-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 54px;
}

.checkbox-row input {
    width: 18px;
    min-height: auto;
}

.alert {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
}

.admin-thumb-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fbfdff;
}

.admin-thumb-preview img {
    width: 104px;
    height: 74px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}

.admin-thumb-preview span {
    color: var(--muted);
    font-size: 0.85rem;
}

.admin-gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.admin-gallery-preview--live {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fbfdff;
}

.admin-gallery-preview__item {
    display: grid;
    gap: 6px;
    cursor: default;
}

.admin-gallery-preview__item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}

.admin-gallery-preview__item span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--muted);
}

.admin-gallery-preview__item input {
    width: 14px;
    min-height: auto;
}

.admin-gallery-preview__item--live span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lots-table__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.lots-table__actions form {
    display: inline-flex;
}

.lots-table__action {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: var(--blue-tint);
    color: var(--blue-dark);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.lots-table__action:hover {
    background: var(--blue-dark);
    color: #fff;
}

.lots-table__action--delete {
    background: rgba(224, 60, 49, 0.12);
    color: #c0392b;
}

.lots-table__action--delete:hover {
    background: #c0392b;
    color: #fff;
}

.lots-table__thumb {
    display: block;
    width: 56px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}

.lots-table__thumb--empty {
    display: grid;
    place-items: center;
    background: var(--bg);
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-pill--disponivel {
    background: var(--blue-tint);
    color: var(--blue-dark);
}

.status-pill--reservado {
    background: var(--orange-tint);
    color: var(--orange-dark);
}

.status-pill--vendido {
    background: var(--line-soft);
    color: var(--muted);
}

.status-pill--promo {
    background: var(--orange);
    color: #fff;
}

.admin-table-search {
    margin-bottom: 18px;
}

.admin-table-search input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
}

.alert-error {
    background: #fdeaea;
    color: #a02a2a;
}

.alert-success {
    background: var(--blue-tint);
    color: var(--blue-dark);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
    .hero-layout,
    .story-layout,
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .login-shell {
        grid-template-columns: minmax(0, 440px) 1fr;
    }

    .login-visual {
        padding: 36px;
    }

    .story-layout {
        gap: 0;
    }

    .footer-panel {
        grid-template-columns: 1fr 1fr;
        padding: 40px 32px 0;
        row-gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-col {
        padding-left: 24px;
    }

    .story-photo {
        order: -1;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        box-shadow: none;
    }

    .story-photo img {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .story-card {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        border-top: none;
    }

    .story-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }

    .city-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-strip__panel {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .admin-sidebar {
        position: static;
    }
}

@media (max-width: 780px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-visual {
        display: none;
    }

    .login-panel {
        padding: 32px 20px;
    }

    .login-card {
        padding: 32px 24px;
    }
}

@media (max-width: 960px) {
    .header-bar {
        min-height: 76px;
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
    }

    .main-nav {
        order: 3;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        margin-bottom: 10px;
        grid-column: 1 / -1;
        border-radius: var(--radius-md);
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .main-nav a:hover,
    .main-nav a.is-active {
        background: var(--blue-tint);
    }

    .main-nav a.is-active::after {
        display: none;
    }

    .header-search {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-field {
        border-bottom: 1px solid var(--line);
    }

    .header-search .button {
        height: 52px;
        grid-column: 1 / -1;
        border-radius: var(--radius-md);
    }

    .header-side {
        display: none;
    }

    .hero {
        padding-top: 24px;
    }

    .hero-card {
        padding: 36px 28px;
    }

    .hero-stats {
        flex-wrap: wrap;
        row-gap: 16px;
    }

    .hero-map-card__canvas {
        min-height: 380px;
    }
}

@media (max-width: 780px) {
    .hero {
        padding: 24px 0 28px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .brand img {
        width: 152px;
    }

    .button-whatsapp {
        min-width: 0;
    }

    .hero-map-card,
    .hero-card,
    .story-card {
        padding: 24px 20px;
    }

    .header-search {
        grid-template-columns: 1fr;
    }

    .header-field {
        border-right: none;
    }

    .header-search .button {
        border-radius: var(--radius-md);
    }

    .header-dropdown {
        left: 10px;
        right: 10px;
        min-width: 0;
    }

    .footer-panel {
        grid-template-columns: 1fr;
        padding: 32px 24px 0;
    }

    .footer-col {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        padding-top: 24px;
    }

    .footer-bottom {
        flex-wrap: wrap;
        margin-top: 32px;
    }

    .story-stats {
        grid-template-columns: 1fr 1fr;
    }

    .lot-carousel__arrow {
        display: none;
    }

    .hero-map-card__header strong {
        font-size: 1.7rem;
    }

    .hero-map-card__canvas {
        min-height: 320px;
    }

    .why-us__grid {
        grid-template-columns: 1fr;
    }

    .city-grid,
    .admin-upload-grid {
        grid-template-columns: 1fr;
    }

    .admin-upload-field--wide {
        grid-column: auto;
    }

    .admin-upload-field__box {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .admin-upload-field__button {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .form-grid--wide {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-strip__panel {
        padding: 34px 26px;
    }

    .span-2 {
        grid-column: auto;
    }
}

/* ---------- whatsapp float ---------- */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 80;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    background: #1ebe5b;
}

.whatsapp-float__pulse {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.55;
    animation: whatsapp-pulse 2.4s ease-out infinite;
}

.whatsapp-float svg {
    position: relative;
    z-index: 1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float__pulse {
        animation: none;
        display: none;
    }
}

@media (max-width: 780px) {
    .whatsapp-float {
        right: 16px;
        bottom: 78px;
        width: 50px;
        height: 50px;
    }
}

/* ---------- scroll to top ---------- */

.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    width: 52px;
    height: 52px;
    padding: 0;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.scroll-top:hover {
    background: var(--orange-tint);
}

.scroll-top__ring {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.scroll-top__track {
    fill: none;
    stroke: var(--line);
    stroke-width: 3;
}

.scroll-top__progress {
    fill: none;
    stroke: var(--orange);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 144.5;
    stroke-dashoffset: 144.5;
    transition: stroke-dashoffset 0.1s linear;
}

.scroll-top__arrow {
    position: relative;
    z-index: 1;
    color: var(--blue-dark);
    transition: color 0.25s ease;
}

.scroll-top:hover .scroll-top__arrow {
    color: var(--orange-dark);
}

@media (max-width: 780px) {
    .scroll-top {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }

    .scroll-top__ring {
        width: 46px;
        height: 46px;
    }
}
