/* ===============================================
   Carlos Marine Master — Decks & Dock Corp
   Layout-faithful styles (matches approved mockup)
   =============================================== */

/* ---------- TOKENS ---------- */
:root {
    --navy-950: #050f24;
    --navy-900: #0a1f3d;
    --navy-850: #0c2546;
    --navy-800: #102b51;
    --navy-700: #143869;
    --gold-600: #b8902f;
    --gold-500: #c9a44c;
    --gold-400: #d9b864;
    --gold-300: #e6c97f;
    --gold-200: #f0dca0;
    --cream: #f5efe1;
    --ivory: #fbf7ed;
    --paper: #f8f3e4;
    --white: #ffffff;
    --ink: #0c1f3a;
    --muted: #6e7e94;
    --border: rgba(10, 31, 61, .12);
    --shadow-md: 0 14px 35px rgba(10, 31, 61, .14);
    --shadow-lg: 0 30px 60px rgba(10, 31, 61, .25);

    --font-display: 'Oswald', 'Arial Narrow', sans-serif;
    --font-script: 'Playfair Display', Georgia, serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    --container: 1280px;
}

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: .02em; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

.gold { color: var(--gold-500); font-style: normal; }
.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: .35em;
    text-transform: uppercase;
    margin: 0 0 12px;
    font-weight: 500;
}
.eyebrow--gold { color: var(--gold-400); }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: transform .25s ease, box-shadow .25s ease, background .3s ease, color .3s ease, border-color .3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1;
}
.btn i { font-size: 13px; }
.btn--xs { padding: 9px 16px; font-size: 11px; letter-spacing: .2em; }
.btn--sm { padding: 11px 18px; font-size: 12px; }
.btn--lg { padding: 17px 30px; font-size: 13.5px; }

.btn--gold {
    background: linear-gradient(180deg, var(--gold-400) 0%, var(--gold-500) 60%, var(--gold-600) 100%);
    color: var(--navy-900);
    border-color: var(--gold-500);
    box-shadow: 0 8px 22px rgba(201, 164, 76, .3), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(201, 164, 76, .5), inset 0 1px 0 rgba(255,255,255,.5);
}

.btn--ghost {
    background: rgba(255,255,255,.06);
    color: var(--white);
    border-color: rgba(255,255,255,.55);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: var(--white); }

.btn--outline {
    background: transparent;
    color: var(--gold-400);
    border-color: var(--gold-500);
}
.btn--outline:hover { background: var(--gold-500); color: var(--navy-900); }

/* ---------- HEADER (transparent, sits over hero) ---------- */
.header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.header.is-scrolled {
    position: fixed;
    background: rgba(10, 31, 61, .96);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    backdrop-filter: blur(10px);
    animation: headerSlide .45s ease;
}
@keyframes headerSlide { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 20px;
}
.header__logo {
    display: block;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.header__logo img {
    height: 110px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
    transition: height .3s ease;
}
.header.is-scrolled .header__logo img { height: 64px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }

.nav { margin-left: 14px; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
    display: inline-block;
    color: rgba(255,255,255,.92);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12.5px;
    font-weight: 500;
    padding: 12px 16px;
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px; bottom: 6px;
    height: 2px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }

.header__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-display);
    letter-spacing: .12em;
    font-size: 14px;
    font-weight: 500;
}
.header__phone-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(201, 164, 76, .18);
    color: var(--gold-400);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px;
    border: 1px solid rgba(201, 164, 76, .35);
}

/* Lang switch in header */
.lang-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    padding: 4px;
    gap: 0;
}
.lang-switch__btn {
    color: rgba(255,255,255,.75);
    font-family: var(--font-display);
    letter-spacing: .15em;
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 30px;
    transition: color .2s ease, background .2s ease;
}
.lang-switch__btn.is-active {
    color: var(--navy-900);
    background: var(--gold-500);
    box-shadow: 0 2px 8px rgba(201,164,76,.4);
}
.lang-switch__btn:hover:not(.is-active) { color: var(--white); }
.lang-switch__sep { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO (split layout matching mockup) ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--navy-900);
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 1200px 800px at 0% 50%, var(--navy-900) 0%, var(--navy-950) 70%),
        var(--navy-900);
}
.hero__bg::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 4px),
        radial-gradient(circle at 30% 30%, rgba(201,164,76,.05), transparent 50%);
    pointer-events: none;
}
/* When a custom photo background is set, hide internal overlays so the photo reads cleanly */
.hero.has-bg-photo .hero__bg::before,
.hero.has-bg-photo .hero__bg::after { display: none; }
.hero__bg::after {
    /* Subtle wave pattern at bottom */
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'><path fill='none' stroke='%23c9a44c' stroke-opacity='.06' stroke-width='1' d='M0,80 Q360,40 720,80 T1440,80'/><path fill='none' stroke='%23c9a44c' stroke-opacity='.05' stroke-width='1' d='M0,130 Q360,90 720,130 T1440,130'/></svg>");
    background-size: 100% 100%;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 48px;
    min-height: 100vh;
    padding-top: 160px;
    padding-bottom: 80px;
}

.hero__copy { animation: heroIn .9s cubic-bezier(.16,.84,.44,1) both; max-width: 620px; }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.hero__eyebrow {
    font-family: var(--font-display);
    color: var(--white);
    font-size: clamp(20px, 1.9vw, 26px);
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin: 0 0 14px;
    opacity: .92;
}

.hero__title {
    margin: 0 0 22px;
    line-height: .92;
}
.hero__title-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 .15em;
}
.hero__word {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(58px, 9vw, 118px);
    line-height: .9;
    letter-spacing: .005em;
    color: var(--white);
    text-shadow: 0 6px 30px rgba(0,0,0,.4);
}
.hero__amp {
    display: inline-block;
    font-family: var(--font-script);
    font-weight: 700;
    font-style: italic;
    color: var(--gold-400);
    font-size: clamp(56px, 8.4vw, 110px);
    line-height: .9;
    transform: translateY(-.05em);
    text-shadow: 0 8px 30px rgba(201,164,76,.35);
}

.hero__tagline {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 28px;
    font-family: var(--font-display);
    color: var(--gold-400);
    font-size: clamp(15px, 1.5vw, 19px);
    letter-spacing: .28em;
    text-transform: uppercase;
    font-weight: 500;
}
.hero__tagline-rule {
    flex: 0 0 26px;
    height: 2px;
    background: var(--gold-500);
}
.hero__tagline > span:not(.hero__tagline-rule) {
    flex-shrink: 1;
    white-space: nowrap;
}

.hero__desc {
    font-size: 16px;
    color: rgba(255,255,255,.78);
    max-width: 520px;
    margin: 0 0 36px;
    line-height: 1.7;
}

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

/* HERO right photo */
.hero__visual {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
}
.hero__photo {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 640px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        0 0 0 1px rgba(201,164,76,.25);
    transform: translateZ(0);
}
.hero__photo::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(5,15,36,.45) 100%);
    z-index: 1;
}
.hero__photo img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.15); } }

/* ---------- SECTION HEADS ---------- */
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.6vw, 42px);
    color: var(--navy-900);
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.1;
}
.section-title--light { color: var(--white); }
.section-title--ornate { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.ornament-line {
    display: inline-block;
    width: 80px;
    height: 1px;
    background: var(--gold-500);
    position: relative;
}
.ornament-line::before, .ornament-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 5px; height: 5px;
    background: var(--gold-500);
    border-radius: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.ornament-line::before { left: -2px; }
.ornament-line::after { right: -2px; }
.ornament-line--dark { background: var(--navy-900); }
.ornament-line--dark::before, .ornament-line--dark::after { background: var(--navy-900); }

.section-sub {
    max-width: 660px;
    color: var(--muted);
    font-size: 16px;
    margin: 0 auto;
}
.section-sub--light { color: rgba(255,255,255,.7); }

/* ---------- WHY CHOOSE US ---------- */
.features {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-850) 100%);
    color: var(--white);
    padding: 90px 0 100px;
    position: relative;
}
.features::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    opacity: .4;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 50px;
}
.feature {
    text-align: center;
    padding: 18px 6px;
    border-radius: 8px;
    transition: transform .35s ease, background .35s ease;
}
.feature:hover { transform: translateY(-6px); }

.feature__icon {
    width: 84px; height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(201,164,76,.18), transparent 65%),
        rgba(255,255,255,.02);
    border: 1.5px solid rgba(201,164,76,.45);
    color: var(--gold-400);
    font-size: 32px;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .3s ease, background .3s ease, transform .35s ease;
    position: relative;
}
.feature__icon::after {
    content: '';
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(201,164,76,.18);
    opacity: 0;
    transition: opacity .3s ease;
}
.feature:hover .feature__icon { border-color: var(--gold-400); background: rgba(201,164,76,.1); transform: scale(1.05); }
.feature:hover .feature__icon::after { opacity: 1; }

.feature__title {
    font-family: var(--font-display);
    font-size: 13.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.92);
    line-height: 1.35;
    font-weight: 500;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 100px 0 110px;
    background:
        linear-gradient(180deg, var(--navy-850) 0%, var(--navy-800) 100%);
    color: var(--white);
    position: relative;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.service-card {
    background: var(--ivory);
    color: var(--ink);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .35s ease, box-shadow .35s ease;
    display: flex; flex-direction: column;
    border: 1px solid rgba(255,255,255,.08);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.service-card:hover .service-card__media img { transform: scale(1.08); }
.service-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; text-align: center; }
.service-card__title {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--navy-900);
    line-height: 1.25;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card__desc { font-size: 14px; color: var(--muted); flex: 1; line-height: 1.6; }
.service-card .btn { align-self: center; margin-top: 10px; }

/* ---------- PROJECTS ---------- */
.projects {
    padding: 100px 0 110px;
    background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
    color: var(--white);
}
.projects__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0 0 36px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    padding: 6px;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}
.filter-btn {
    padding: 9px 22px;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: .2em;
    color: rgba(255,255,255,.75);
    background: transparent;
    border-radius: 6px;
    transition: all .25s ease;
    font-weight: 500;
}
.filter-btn:hover { color: var(--white); background: rgba(255,255,255,.05); }
.filter-btn.is-active {
    background: var(--gold-500);
    color: var(--navy-900);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(201,164,76,.35);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.project-tile {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    background: var(--navy-800);
    border: 2px solid rgba(201,164,76,.15);
}
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, filter .4s ease; }
.project-tile__hover {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, rgba(10,31,61,0) 0%, rgba(10,31,61,.8) 100%);
    color: var(--gold-400);
    font-size: 26px;
    opacity: 0;
    transition: opacity .35s ease;
}
.project-tile:hover { border-color: var(--gold-500); }
.project-tile:hover img { transform: scale(1.08); }
.project-tile:hover .project-tile__hover { opacity: 1; }
.project-tile.is-hidden { display: none; }

.projects__more { text-align: center; margin-top: 44px; }
.projects__more .btn--outline { color: var(--white); border-color: rgba(255,255,255,.4); }
.projects__more .btn--outline:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }

/* ---------- PROCESS ---------- */
.process { padding: 100px 0 110px; background: var(--paper); position: relative; }
.process::before, .process::after {
    content: '';
    position: absolute; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10,31,61,.18), transparent);
}
.process::before { top: 0; }
.process::after { bottom: 0; }

.process__steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    margin-top: 30px;
}
.process__steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 14%;
    right: 14%;
    border-top: 2px dashed rgba(10,31,61,.25);
    z-index: 0;
}
.step { position: relative; text-align: center; padding: 0 10px; z-index: 1; }
.step__bubble {
    position: relative;
    width: 120px; height: 120px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 30px rgba(10, 31, 61, .25), inset 0 0 0 1px rgba(255,255,255,.08);
    border: 5px solid var(--paper);
}
.step__icon { color: var(--gold-400); font-size: 38px; }
.step__num {
    position: absolute;
    top: -2px; right: -6px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 4px solid var(--paper);
    box-shadow: 0 4px 12px rgba(201,164,76,.4);
}
.step__title {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--navy-900);
    margin-bottom: 10px;
    line-height: 1.3;
}
.step__desc { font-size: 14px; color: var(--muted); max-width: 240px; margin: 0 auto; line-height: 1.6; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 100px 0 110px;
    background:
        linear-gradient(180deg, rgba(5,15,35,.92), rgba(10,31,61,.94)),
        url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80") center/cover fixed;
    color: var(--white);
}
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.testi-card {
    position: relative;
    background: rgba(15, 43, 84, .55);
    border: 1px solid rgba(201,164,76,.32);
    border-radius: 10px;
    padding: 36px 28px 28px;
    backdrop-filter: blur(8px);
    transition: transform .3s ease, border-color .3s ease;
    text-align: center;
}
.testi-card:hover { transform: translateY(-4px); border-color: var(--gold-400); }
.testi-card__quote {
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    width: 42px; height: 42px;
    background: var(--gold-500);
    color: var(--navy-900);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px;
    box-shadow: 0 6px 18px rgba(201,164,76,.5);
}
.testi-card__stars { color: var(--gold-400); margin: 8px 0 14px; letter-spacing: 4px; font-size: 14px; }
.testi-card__text { font-style: italic; color: rgba(255,255,255,.92); margin: 0 0 22px; line-height: 1.7; font-size: 14.5px; }
.testi-card__person { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 4px; }
.testi-card__person strong { font-family: var(--font-display); letter-spacing: .14em; font-size: 14px; color: var(--white); }
.testi-card__person span { font-size: 12.5px; color: rgba(255,255,255,.55); }

/* ---------- AREAS ---------- */
.areas { padding: 100px 0; background: var(--cream); }
.areas__inner {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    align-items: center;
}
.areas__title { text-align: left; }
.areas__title span { display: block; }
.areas__list { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.areas__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.areas__list i { color: var(--gold-500); font-size: 16px; }
.areas__map {
    background: var(--ivory);
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.areas__svg { width: 100%; height: auto; }
.areas__img { width: 100%; height: auto; display: block; border-radius: 10px; }

/* ---------- CTA ---------- */
.cta {
    position: relative;
    padding: 60px 0;
    color: var(--white);
    isolation: isolate;
}
.cta__bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(5,15,35,.94) 0%, rgba(10,31,61,.85) 60%, rgba(15,43,84,.7) 100%),
        url("https://images.unsplash.com/photo-1473093226795-af9932fe5856?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
}
.cta__title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(20px, 2.2vw, 28px);
    letter-spacing: .03em;
    color: var(--white);
    line-height: 1.15;
}
.cta__sub { color: rgba(255,255,255,.75); margin-top: 8px; font-size: 14.5px; }
.cta__contacts { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.cta__contact {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--white);
    font-family: var(--font-display);
    letter-spacing: .08em;
    font-size: 13px;
}
.cta__contact i {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(201,164,76,.18);
    color: var(--gold-400);
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(201,164,76,.4);
    font-size: 13px;
}

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.72); padding: 70px 0 0; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer__logo { width: 110px; margin-bottom: 16px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.5)); }
.footer__brand p { line-height: 1.7; font-size: 14px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.85);
    transition: all .25s ease;
}
.footer__social a:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); transform: translateY(-2px); }

.footer__col h4 {
    font-family: var(--font-display);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 13.5px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}
.footer__col h4::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 30px; height: 2px;
    background: var(--gold-500);
}
.footer__col li { margin-bottom: 8px; font-size: 14px; }
.footer__col a:hover { color: var(--gold-400); }
.footer__contact i { color: var(--gold-500); margin-right: 8px; width: 16px; text-align: center; }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
    font-size: 12.5px;
    color: rgba(255,255,255,.5);
    text-align: center;
}

/* ---------- FLOATING CALL ---------- */
.float-call {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--navy-900);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
    box-shadow: 0 10px 26px rgba(201,164,76,.45);
    z-index: 60;
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 26px rgba(201,164,76,.45), 0 0 0 0 rgba(201,164,76,.55); }
    50% { box-shadow: 0 10px 26px rgba(201,164,76,.45), 0 0 0 16px rgba(201,164,76,0); }
}
.float-call:hover { transform: scale(1.06); }

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 1180px) {
    .header__inner { gap: 14px; }
    .nav__link { padding: 12px 11px; font-size: 12px; }
    .header__logo img { height: 88px; }
}

@media (max-width: 1080px) {
    .hero__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 150px; padding-bottom: 70px; }
    .hero__visual { max-width: 720px; margin: 0 auto; width: 100%; }
    .hero__photo { height: 50vh; min-height: 360px; }
    .hero__copy { max-width: 100%; text-align: center; margin: 0 auto; }
    .hero__tagline { justify-content: center; }
    .hero__title-line { justify-content: center; }
    .hero__actions { justify-content: center; }
    .hero__desc { margin-left: auto; margin-right: auto; }

    .features__grid { grid-template-columns: repeat(3, 1fr); }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .projects__grid { grid-template-columns: repeat(3, 1fr); }
    .process__steps { grid-template-columns: repeat(2, 1fr); gap: 50px 28px; }
    .process__steps::before { display: none; }
    .testi__grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .areas__inner { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    .nav-toggle { display: flex; }
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 88%;
        max-width: 340px;
        height: 100vh;
        background: var(--navy-900);
        padding: 100px 30px 30px;
        transition: right .35s cubic-bezier(.6,.05,.28,.91);
        box-shadow: -20px 0 50px rgba(0,0,0,.4);
        z-index: 40;
        margin: 0;
    }
    .nav.is-open { right: 0; }
    .nav__list { flex-direction: column; gap: 6px; }
    .nav__link {
        display: block;
        padding: 14px 0;
        font-size: 17px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        letter-spacing: .15em;
    }
    .nav__link::after { display: none; }
    body.nav-open { overflow: hidden; }

    .header__inner { padding-top: 14px; padding-bottom: 14px; }
    .header__logo img { height: 70px; }
    .header.is-scrolled .header__logo img { height: 56px; }
    .header__phone-num { display: none; }
    .header__actions .btn--gold { padding: 10px 14px; font-size: 11px; }

    .cta__inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
    .cta__contacts { justify-content: center; }
}

@media (max-width: 680px) {
    .container { padding: 0 18px; }
    .header__inner { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
    .header__logo img { height: 56px; }
    .header__actions { gap: 10px; }
    .header__actions .btn--gold span { display: none; }
    .header__actions .btn--gold { padding: 10px 12px; }
    .lang-switch__btn { padding: 4px 8px; font-size: 11px; }

    .hero__inner { padding-top: 130px; padding-bottom: 60px; }
    .hero__photo { height: 42vh; min-height: 280px; border-radius: 12px; }
    .hero__amp { font-size: clamp(50px, 12vw, 80px); }
    .hero__word { font-size: clamp(48px, 13vw, 80px); }
    .hero__tagline { font-size: 13px; gap: 10px; }
    .hero__tagline-rule { flex: 0 0 18px; }
    .hero__actions .btn { flex: 1; justify-content: center; }

    .features__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .services__grid { grid-template-columns: 1fr; }
    .projects__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .process__steps { grid-template-columns: 1fr; gap: 40px; }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; text-align: center; }
    .footer__col h4::after { left: 50%; transform: translateX(-50%); }
    .footer__social { justify-content: center; }
    .footer__contact li { justify-content: center; display: flex; align-items: center; }
    .areas__list { grid-template-columns: 1fr; }

    .features, .services, .projects, .process, .areas, .testimonials { padding: 70px 0; }
    .section-head { margin-bottom: 40px; }

    .step__bubble { width: 100px; height: 100px; }
    .step__icon { font-size: 32px; }
    .float-call { width: 50px; height: 50px; font-size: 19px; right: 14px; bottom: 14px; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero__photo img { animation: none; }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,.84,.44,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
