/* =========================================================
   MDH InfraSolutions — site styles
   Midnight & Gold: ivory canvas, midnight-navy panels and
   text, gold for accents. Gold is a fill and border colour;
   small gold text uses --accent-dark for legibility.
   ========================================================= */

:root {
    /* Canvas */
    --bg: #f6f3ec;
    --band: #ece6d9;
    --surface: #ffffff;
    --line: #e0d9ca;

    /* Text */
    --ink: #1b2433;
    --text: #364152;
    --muted: #5e6878;
    --faint: #8a93a3;

    /* Accent */
    --accent: #c39b4a;
    --accent-dark: #8e6b25;
    --accent-light: #d9b76a;

    /* Dark panel */
    --dark: #14213d;
    --on-dark: #f6f3ec;

    /* Type */
    --serif: "Nanum Myeongjo", Georgia, serif;
    --sans: "Inter", "Segoe UI", Arial, sans-serif;

    /* Layout */
    --container: 1180px;
    --gutter: clamp(18px, 4vw, 48px);
    --ease: cubic-bezier(.25, .6, .3, 1);
}


/* =========================================================
   BASE
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

/* The architect's renders have white side margins and corner labels
   baked in; crop into them wherever they are shown. */
img[src*="images/elevation-"] {
    transform: scale(1.22);
}

a {
    color: inherit;
}

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

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

.container {
    width: min(100% - var(--gutter) * 2, var(--container));
    margin-inline: auto;
}

.section {
    padding-block: clamp(56px, 7vw, 96px);
}

.section--band {
    background: var(--band);
}

.section--tight {
    padding-top: 0;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.display {
    font-size: clamp(44px, 6.6vw, 84px);
    line-height: 1.05;
}

.title {
    font-size: clamp(32px, 3.8vw, 48px);
}

.lead {
    max-width: 460px;
    color: var(--text);
    font-size: 15px;
}

.kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-dark);
    font-size: 13px;
}

.rule {
    height: 1px;
    margin: 28px 0 40px;
    border: 0;
    background: var(--accent);
    opacity: 0.6;
}

.prose p + p {
    margin-top: 1.1em;
}

/* Two columns: heading left, text right */
.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px clamp(40px, 6vw, 96px);
    align-items: start;
}


/* =========================================================
   BUTTONS & LINKS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn:hover {
    background: var(--ink);
    color: var(--bg);
}

.btn--solid {
    background: var(--ink);
    color: var(--bg);
}

.btn--solid:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
}

.btn--light {
    border-color: var(--on-dark);
    color: var(--on-dark);
}

.btn--light:hover {
    background: var(--on-dark);
    color: var(--dark);
}

.btn--lg {
    min-height: 48px;
    padding: 0 28px;
    font-size: 14px;
}

.link {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    font-family: var(--serif);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.link:hover {
    color: var(--accent-dark);
}


/* =========================================================
   TOP BAR & HEADER
   ========================================================= */

.topbar {
    padding: 9px var(--gutter);
    background: var(--dark);
    color: var(--on-dark);
    font-size: 12px;
    text-align: center;
}

.topbar a {
    margin-left: 14px;
    color: var(--accent-light);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 243, 236, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow 0.3s;
}

.header.is-scrolled {
    box-shadow: 0 1px 0 var(--line);
}

.header__bar {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand__name {
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    letter-spacing: -0.01em;
}

.brand__sub {
    color: var(--muted);
    font-size: 13px;
}

.header__phone {
    color: var(--text);
    font-size: 13px;
    text-decoration: none;
}

.header__phone::before {
    margin-right: 10px;
    color: var(--faint);
    content: "—";
}

.nav__links {
    display: flex;
    gap: 26px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.nav__links a {
    color: var(--text);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
    color: var(--accent-dark);
}

.nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.nav__toggle span {
    display: block;
    width: 16px;
    height: 1px;
    margin: 4px auto;
    background: var(--ink);
    transition: transform 0.3s, opacity 0.3s;
}

.header.is-open .nav__toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.header.is-open .nav__toggle span:nth-child(2) {
    opacity: 0;
}

.header.is-open .nav__toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding-top: clamp(40px, 6vw, 72px);
}

.hero__intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px 48px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 44px;
}

.hero__facts div {
    display: grid;
}

.hero__facts b {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
}

.hero__facts span {
    color: var(--muted);
    font-size: 12px;
}

.hero__media {
    margin-top: 40px;
    overflow: hidden;
    background: var(--band);
}

.hero__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 38%;
}


/* =========================================================
   IMAGE PAIR (large + small, offset)
   ========================================================= */

.pair {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: clamp(16px, 2.5vw, 28px);
    align-items: start;
}

.pair figure {
    margin: 0;
    overflow: hidden;
    background: var(--band);
}

.pair img {
    width: 100%;
    object-fit: cover;
}

.pair figure:first-child img {
    aspect-ratio: 4 / 3;
}

.pair figure:last-child {
    background: var(--surface);
}

.pair figure:last-child img {
    aspect-ratio: 4 / 5;
    object-fit: contain;
    padding: 14px;
}

.pair figcaption {
    padding: 10px 2px 0;
    background: var(--bg);
    color: var(--muted);
    font-size: 12px;
}


/* =========================================================
   NUMBERED POINTS (on the sand band)
   ========================================================= */

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

.point {
    padding: 32px 28px;
    background: var(--bg);
    transition: transform 0.35s var(--ease);
}

.point:hover {
    transform: translateY(-4px);
}

.point__num {
    display: block;
    margin-bottom: 20px;
    color: var(--accent);
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1;
}

.point h3 {
    margin-bottom: 14px;
    font-size: clamp(22px, 2.2vw, 28px);
}

.point p {
    max-width: 440px;
    font-size: 14px;
}


/* =========================================================
   DARK SPLIT PANEL WITH TABS
   ========================================================= */

.split-dark {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--dark);
    color: var(--on-dark);
}

.split-dark__media {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.split-dark__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-dark__body {
    display: flex;
    flex-direction: column;
    padding: clamp(32px, 4.5vw, 60px);
}

.split-dark h2,
.split-dark h3 {
    color: var(--on-dark);
}

.split-dark p {
    color: rgba(246, 243, 236, 0.75);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin-bottom: clamp(32px, 5vw, 64px);
}

.tab {
    padding: 0 0 4px;
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: rgba(246, 243, 236, 0.55);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.tab:hover {
    color: var(--on-dark);
}

.tab[aria-selected="true"] {
    border-color: var(--on-dark);
    color: var(--on-dark);
}

.tabpanel {
    animation: fade 0.5s var(--ease);
}

.tabpanel[hidden] {
    display: none;
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tabpanel h3 {
    margin-bottom: 16px;
    font-size: clamp(26px, 2.8vw, 36px);
}

.tabpanel p {
    max-width: 440px;
    margin-bottom: 28px;
}

.tabpanel img {
    width: 100%;
    max-width: 420px;
    padding: 10px;
    background: var(--surface);
}

.tabpanel iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    filter: grayscale(0.4);
}

.split-dark .kv li {
    border-color: rgba(246, 243, 236, 0.14);
    color: rgba(246, 243, 236, 0.65);
}

.split-dark .kv b {
    color: var(--on-dark);
}


/* =========================================================
   KEY / VALUE LISTS
   ========================================================= */

.kv {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kv li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.kv li:last-child {
    border-bottom: 0;
}

.kv b {
    color: var(--ink);
    font-weight: 500;
    text-align: right;
}

.kv--2 {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(32px, 5vw, 72px);
}

.kv--2 li:nth-last-child(2) {
    border-bottom: 0;
}


/* =========================================================
   FEATURES — simple ruled grid
   ========================================================= */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: clamp(32px, 4vw, 48px);
}

.feature {
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.feature:hover {
    border-color: var(--accent);
    box-shadow: 0 18px 40px -24px rgba(20, 33, 61, 0.35);
    transform: translateY(-4px);
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--band);
    color: var(--accent-dark);
    transition: background 0.35s, color 0.35s;
}

.feature:hover .feature__icon {
    background: var(--dark);
    color: var(--accent-light);
}

.feature__icon .icon {
    width: 24px;
    height: 24px;
}

.feature h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.feature p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================================
   STATS
   ========================================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 32px;
}

.stat b {
    display: block;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(32px, 3.4vw, 44px);
    font-weight: 400;
    line-height: 1.1;
}

.stat span {
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq {
    border-top: 1px solid var(--line);
}

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

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 19px;
    list-style: none;
    cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    flex: none;
    color: var(--accent);
    content: "+";
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s;
}

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

.faq details p {
    max-width: 560px;
    padding-bottom: 22px;
    color: var(--muted);
}


/* =========================================================
   FORMS
   ========================================================= */

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
}

.form label {
    color: var(--muted);
    font-size: 13px;
}

.form input,
.form select,
.form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--surface);
    color: var(--ink);
    font-size: 15px;
    transition: border-color 0.2s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: var(--accent);
    outline: 0;
}

.form textarea {
    min-height: 110px;
    resize: vertical;
}

.form__full {
    grid-column: 1 / -1;
}

.form__note {
    grid-column: 1 / -1;
    color: var(--faint);
    font-size: 12px;
}

.contact-lines {
    display: grid;
    gap: 4px;
    margin-top: 28px;
}

.contact-lines a {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 22px;
    text-decoration: none;
}

.contact-lines a:hover {
    color: var(--accent-dark);
}


/* =========================================================
   INNER PAGES
   ========================================================= */

.crumbs {
    margin-bottom: 20px;
    color: var(--faint);
    font-size: 13px;
}

.crumbs a {
    color: var(--muted);
    text-decoration: none;
}

.crumbs a:hover {
    color: var(--accent-dark);
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 48px 32px;
}

.tile {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.tile__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--band);
}

.tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s;
}

a.tile:hover .tile__media img {
    opacity: 0.88;
}

.tile__kicker {
    margin-top: 18px;
    color: var(--accent-dark);
    font-size: 12px;
}

.tile h3 {
    margin: 4px 0 10px;
    font-size: 26px;
}

a.tile:hover h3 {
    color: var(--accent-dark);
}

.tile p {
    color: var(--muted);
    font-size: 14px;
}

.tile__meta {
    margin-top: 14px;
    color: var(--faint);
    font-size: 12px;
}

.tile--muted {
    opacity: 0.55;
}

.tile--next {
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    background: var(--band);
}

.tile--next .tile__kicker {
    margin-top: 0;
}

.tile--next .btn {
    margin-top: 24px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.filter {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter:hover {
    border-color: var(--ink);
}

.filter.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--bg);
}

.empty {
    color: var(--muted);
}

.article {
    max-width: 720px;
}

.article__media {
    aspect-ratio: 16 / 9;
    margin-bottom: 40px;
    overflow: hidden;
    background: var(--band);
}

.article__media[hidden] {
    display: none;
}

.article__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article__body {
    font-size: 17px;
    line-height: 1.8;
}

.article__body > * + * {
    margin-top: 1.2em;
}

.article__body h2 {
    margin-top: 1.8em;
    font-size: clamp(24px, 2.6vw, 30px);
}

.article__body ul {
    padding-left: 1.2em;
}

.article__body li + li {
    margin-top: 0.4em;
}

.article__body strong {
    color: var(--ink);
    font-weight: 600;
}

.article__body a {
    color: var(--accent-dark);
}

.article__note {
    padding: 16px 20px;
    border-left: 2px solid var(--accent);
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.article__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}


/* =========================================================
   PROJECT PAGE
   ========================================================= */

.gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: clamp(14px, 2vw, 24px);
}

.gallery figure {
    margin: 0;
    overflow: hidden;
    background: var(--band);
}

.gallery figure:first-child {
    grid-row: span 2;
}

.gallery img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.rooms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    border-top: 1px solid var(--line);
}

.room {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.room span {
    color: var(--muted);
}

.room b {
    color: var(--ink);
    font-weight: 500;
}

.plan {
    padding: 14px;
    background: var(--surface);
}

.plan img {
    width: 100%;
}

.plan p {
    margin-top: 10px;
    color: var(--faint);
    font-size: 12px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    counter-reset: stage;
}

.stage {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.stage::before {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-dark);
    content: "0" counter(stage);
    counter-increment: stage;
    font-size: 13px;
}

.stage h3 {
    margin-bottom: 8px;
    font-size: 21px;
}

.stage p {
    color: var(--muted);
    font-size: 14px;
}

.location {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.location iframe {
    display: block;
    width: 100%;
    height: 460px;
    border: 0;
    filter: grayscale(0.4);
}

.location address {
    margin: 18px 0 28px;
    color: var(--text);
    font-style: normal;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer-cta {
    padding-block: clamp(72px, 9vw, 120px);
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer-cta h2 {
    margin-bottom: 18px;
    font-size: clamp(36px, 4.6vw, 60px);
}

.footer-cta p {
    max-width: 460px;
    margin: 0 auto 30px;
}

.footer {
    padding-block: 56px 28px;
    background: var(--dark);
    color: var(--on-dark);
}

.footer .brand,
.footer .brand * {
    color: var(--on-dark);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 40px;
}

.footer__grid h4 {
    margin-bottom: 14px;
    color: var(--accent-light);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
}

.footer__grid p,
.footer__grid a {
    display: block;
    color: rgba(246, 243, 236, 0.8);
    font-size: 13px;
    line-height: 2.1;
    text-decoration: none;
}

.footer__grid a:hover {
    color: var(--accent-light);
}

.footer__grid .brand {
    display: inline-flex;
    line-height: 1.2;
}

.footer__about p {
    max-width: 300px;
    margin-top: 14px;
    color: rgba(246, 243, 236, 0.6);
    line-height: 1.7;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding-top: 22px;
    border-top: 1px solid rgba(246, 243, 236, 0.14);
    color: rgba(246, 243, 236, 0.55);
    font-size: 12px;
}


/* =========================================================
   BUYER-FOCUSED PIECES
   ========================================================= */

.btn--accent {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--dark);
}

.btn--accent:hover {
    border-color: var(--on-dark);
    background: var(--on-dark);
    color: var(--dark);
}

.hero__abroad {
    margin-top: 14px;
    font-size: 14px;
}

.hero__facts--strip {
    justify-content: space-between;
    margin-top: 36px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* Dark band for international buyers */
.section--dark {
    background: var(--dark);
    color: rgba(246, 243, 236, 0.78);
}

.section--dark h2,
.section--dark h3 {
    color: var(--on-dark);
}

.section--dark .lead {
    color: rgba(246, 243, 236, 0.8);
}

.section--dark .kicker {
    color: var(--accent-light);
}

.clock {
    margin-top: 20px;
    padding: 14px 18px;
    border-left: 2px solid var(--accent);
    background: rgba(246, 243, 236, 0.06);
    font-size: 14px;
}

.clock b {
    color: var(--on-dark);
    font-weight: 500;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    padding-top: 22px;
    border-top: 1px solid rgba(246, 243, 236, 0.2);
}

.steps__num {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-light);
    font-size: 13px;
}

.steps h3 {
    margin-bottom: 8px;
    font-size: 21px;
}

.steps p {
    font-size: 14px;
}

/* Metric sizes next to feet and inches */
.room small {
    display: block;
    color: var(--faint);
    font-size: 12px;
    font-weight: 400;
    text-align: right;
}

/* Floating WhatsApp button (desktop) */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s var(--ease);
}

.wa-float:hover {
    transform: scale(1.06);
}

/* Call / WhatsApp / Enquire bar (phones) */
.action-bar {
    display: none;
}

@media (max-width: 1100px) {

    .header__phone {
        display: none;
    }

    .nav__links {
        gap: 18px;
    }
}

@media (max-width: 960px) {

    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .points {
        grid-template-columns: 1fr 1fr;
    }

    .features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {

    body {
        padding-bottom: 64px;
    }

    .wa-float {
        display: none;
    }

    .action-bar {
        position: fixed;
        inset: auto 0 0;
        z-index: 95;
        display: grid;
        grid-template-columns: 1fr 1fr 1.2fr;
        border-top: 1px solid var(--line);
        background: var(--surface);
    }

    .action-bar a {
        display: grid;
        place-items: center;
        min-height: 56px;
        color: var(--ink);
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
    }

    .action-bar a + a {
        border-left: 1px solid var(--line);
    }

    .action-bar__primary {
        background: var(--ink);
        color: var(--bg) !important;
    }

    .hero__facts--strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .hero__actions .btn {
        flex: 1 1 100%;
    }
}


/* =========================================================
   BRAND STRIP
   ========================================================= */

.brands {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--surface);
}

.brands__track {
    display: flex;
    width: max-content;
    animation: brands 45s linear infinite;
}

.brands:hover .brands__track {
    animation-play-state: paused;
}

.brands ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brands li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 26px 28px;
    white-space: nowrap;
}

.brands li::after {
    content: "";
    align-self: center;
    width: 5px;
    height: 5px;
    margin-left: 46px;
    border-radius: 50%;
    background: var(--accent);
}

.brands b {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
}

.brands span {
    color: var(--muted);
    font-size: 12px;
}

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


/* =========================================================
   FILLERS FOR TWO-COLUMN SECTIONS
   ========================================================= */

.pullquote {
    margin: 36px 0 0;
    padding-left: 22px;
    border-left: 2px solid var(--accent);
    color: var(--accent-dark);
    font-family: var(--serif);
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.35;
}

.side-media {
    margin: 32px 0 0;
    overflow: hidden;
    background: var(--band);
}

.side-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.next-steps__title {
    margin-top: 40px;
    font-size: 22px;
}

.next-steps {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.next-steps li {
    position: relative;
    padding: 14px 0 14px 48px;
    border-top: 1px solid var(--line);
    counter-increment: step;
}

.next-steps li::before {
    content: counter(step);
    position: absolute;
    top: 12px;
    left: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--bg);
    font-size: 13px;
}

.ticks {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ticks li {
    position: relative;
    padding: 12px 0 12px 32px;
    border-top: 1px solid var(--line);
}

.ticks li::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 4px;
    width: 12px;
    height: 7px;
    border-bottom: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
    transform: rotate(-45deg);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(32px, 4vw, 48px);
}


/* =========================================================
   SCROLL REVEAL (only when JS is running)
   ========================================================= */

.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--delay, 0s);
}

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


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {

    .header__bar {
        flex-wrap: wrap;
        gap: 0 20px;
        min-height: 64px;
    }

    .nav,
    .header__cta {
        display: none;
    }

    .nav__toggle {
        display: block;
    }

    .header.is-open .nav {
        display: block;
        flex-basis: 100%;
        padding-bottom: 12px;
    }

    .header.is-open .nav__links {
        display: grid;
        gap: 0;
        margin: 0;
    }

    .header.is-open .nav__links a {
        display: block;
        padding: 12px 0;
        border-top: 1px solid var(--line);
        font-family: var(--serif);
        font-size: 20px;
    }

    .header.is-open .header__cta {
        display: inline-flex;
        margin-bottom: 18px;
    }

    .duo,
    .split-dark,
    .location {
        grid-template-columns: 1fr;
    }

    .split-dark__media {
        min-height: 320px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
    }

    .timeline {
        grid-template-columns: 1fr 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {

    .header__phone {
        display: none;
    }

    .hero__media img {
        aspect-ratio: 4 / 5;
    }

    .pair,
    .points,
    .features,
    .form,
    .rooms,
    .kv--2,
    .tiles,
    .timeline,
    .stats,
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .kv--2 li:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .gallery {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .gallery figure:first-child {
        grid-row: auto;
    }

    .location iframe {
        height: 300px;
    }

    .section-head {
        flex-wrap: wrap;
        align-items: start;
    }

    .brands li {
        padding: 18px 20px;
    }

    .brands li::after {
        margin-left: 30px;
    }

    .brands b {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

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

    .brands__track {
        animation: none;
    }
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
