/* ============================================
   Притяжение Гор — Landing Page Styles
   Color Palette (from VK page):
   - Deep Navy:    #0d1b2a
   - Dark Blue:    #1b2838
   - Medium Blue:  #1a3a5c
   - Accent Gold:  #E8A83E
   - Warm Orange:  #D4842A
   - Light Gold:   #F5C563
   - Snow White:   #FFFFFF
   - Light Gray:   #F0F2F5
   - Text Gray:    #8B95A5
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0d1b2a;
    --navy-light: #1b2838;
    --blue: #1a3a5c;
    --blue-light: #2a5080;
    --gold: #E8A83E;
    --gold-light: #F5C563;
    --orange: #D4842A;
    --white: #FFFFFF;
    --gray-light: #F0F2F5;
    --gray: #8B95A5;
    --gray-dark: #4A5568;
    --text: #1a202c;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Section Base --- */
.section {
    padding: 100px 0;
}

.section--dark {
    background: var(--navy);
    color: var(--white);
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__tagline {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 12px;
}

.section__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section--dark .section__subtitle {
    color: rgba(255,255,255,0.6);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(232, 168, 62, 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232, 168, 62, 0.5);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--radius);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn--full {
    width: 100%;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* --- Logo --- */
.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__img {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid rgba(232, 168, 62, 0.5);
    box-shadow: 0 2px 16px rgba(232, 168, 62, 0.25);
    flex-shrink: 0;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    white-space: nowrap;
}

.logo__subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
}

.logo__img--footer {
    height: 72px;
    width: 72px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo__text--footer .logo__title {
    font-size: 1.4rem;
}

.logo__text--footer .logo__subtitle {
    font-size: 0.75rem;
}

.header__nav {
    display: flex;
    gap: 28px;
}

.header__link {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.header__link:hover {
    color: var(--white);
}

.header__link:hover::after {
    width: 100%;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
}

.header__phone:hover {
    background: rgba(232, 168, 62, 0.2);
    color: var(--gold);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../img/back.png') center/cover no-repeat;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(13, 27, 42, 0.75) 0%, rgba(26, 58, 92, 0.55) 50%, rgba(13, 27, 42, 0.8) 100%),
        radial-gradient(ellipse at 50% 100%, rgba(232, 168, 62, 0.08) 0%, transparent 40%);
    z-index: 1;
}

.hero__snow {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero__snow .snowflake {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10px) translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) translateX(20px);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) translateX(-10px);
        opacity: 0;
    }
}

.hero__inner {
    position: relative;
    z-index: 3;
    padding-top: 120px;
    padding-bottom: 80px;
    width: 100%;
}

.hero__content {
    max-width: 700px;
}

.hero__tagline {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__locations {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero__location {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero__location-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero__description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 550px;
}

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

.hero__stats {
    display: flex;
    gap: 48px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.hero__stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero__scroll-btn {
    color: rgba(255,255,255,0.4);
    animation: bounce 2s infinite;
}

.hero__scroll-btn:hover {
    color: var(--gold);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- About --- */
.about__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.about__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.about__card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(232,168,62,0.1), rgba(232,168,62,0.05));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about__card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
}

.about__card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about__card-text {
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.6;
}



/* --- Advantages --- */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.advantage {
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
}

.advantage:hover {
    background: var(--gray-light);
}

.advantage__number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(232, 168, 62, 0.15);
    line-height: 1;
    margin-bottom: 12px;
}

.advantage__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.advantage__text {
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.7;
}

/* --- Booking --- */
.booking__widget {
    max-width: 1100px;
    margin: 0 auto;
}

.booking__search {
    margin-bottom: 48px;
}

.booking__search,
.booking__list {
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-lg);
    padding: 32px;
    min-height: 120px;
}

/* Override homereserve widget styles for dark background */
.booking__widget [id="hr-widget"] {
    width: 100%;
}

/* --- Contacts --- */
.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacts__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.contacts__item-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(232,168,62,0.1), rgba(232,168,62,0.05));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacts__item-icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

.contacts__item-label {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contacts__item-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}

a.contacts__item-value:hover {
    color: var(--gold);
}

.contacts__item-hint {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 2px;
}

.contacts__socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.contacts__social {
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contacts__social svg {
    width: 22px;
    height: 22px;
}

.contacts__social:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.contacts__form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.06);
}

.contacts__form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    transition: var(--transition);
    background: var(--gray-light);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(232,168,62,0.1);
}

.form-input::placeholder {
    color: var(--gray);
}

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

.form-status {
    text-align: center;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 1.4em;
}

.form-status--success {
    color: #34d399;
}

.form-status--error {
    color: #f87171;
}

.btn--loading {
    opacity: 0.7;
    pointer-events: none;
}

/* --- Footer --- */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 300px;
}

.footer__heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a,
.footer__links p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* --- Animations on Scroll --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile: touch-friendly, safe areas, tap targets --- */

/* Ensure min 44px tap targets on all interactive elements */
@media (pointer: coarse) {
    .btn, .header__link,
    .contacts__social, .header__burger, .footer__links a {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Disable hover effects on touch devices */
@media (hover: none) {
    .about__card:hover,
    .advantage:hover {
        transform: none;
        box-shadow: none;
    }
}

/* --- Responsive --- */

/* Tablet landscape */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .about__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero__stats {
        gap: 32px;
    }

    .hero__content {
        max-width: 100%;
    }
}

/* Tablet portrait & mobile */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* Header: burger menu + phone visible as icon */
    .header {
        padding: 12px 0;
    }

    .header.scrolled {
        padding: 8px 0;
    }

    .header__nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 999;
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }

    .header__nav.open {
        display: flex;
    }

    .header__nav .header__link {
        font-size: 1.25rem;
        padding: 8px 0;
    }

    /* Show phone as compact icon button on mobile */
    .header__phone {
        padding: 8px;
        font-size: 0;
        gap: 0;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .header__phone svg {
        width: 20px;
        height: 20px;
    }

    .header__burger {
        display: flex;
        z-index: 1001;
    }

    .logo__img {
        height: 48px;
        width: 48px;
    }

    .header__logo {
        gap: 10px;
    }

    .logo__title {
        font-size: 1.1rem;
    }

    .logo__subtitle {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .logo__img--footer {
        height: 56px;
        width: 56px;
    }

    .logo__text--footer .logo__title {
        font-size: 1.15rem;
    }

    /* Hero */
    .hero {
        min-height: calc(100vh - env(safe-area-inset-bottom, 0px));
        min-height: 100svh;
    }

    .hero__inner {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero__tagline {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    .hero__title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        margin-bottom: 14px;
    }

    .hero__locations {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero__location {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .hero__description {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero__actions .btn {
        width: 100%;
        padding: 16px 24px;
    }

    .hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 48px;
        padding-top: 28px;
        justify-content: space-between;
    }

    .hero__stat {
        text-align: center;
        flex: 1;
        min-width: 80px;
    }

    .hero__stat-number {
        font-size: 1.8rem;
    }

    .hero__stat-label {
        font-size: 0.7rem;
    }

    .hero__scroll {
        bottom: 24px;
    }

    /* Sections */
    .section__header {
        margin-bottom: 36px;
    }

    .section__tagline {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .section__subtitle {
        font-size: 0.95rem;
    }

    /* About */
    .about__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about__card {
        padding: 24px 20px;
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }

    .about__card-icon {
        margin-bottom: 0;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .about__card-icon svg {
        width: 24px;
        height: 24px;
    }

    /* Advantages */
    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .advantage {
        padding: 24px 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 0 16px;
    }

    .advantage__number {
        font-size: 2rem;
        margin-bottom: 8px;
        width: auto;
    }

    .advantage__title {
        flex: 1;
        align-self: center;
        margin-bottom: 0;
    }

    .advantage__text {
        width: 100%;
        margin-top: 8px;
    }

    /* Booking */
    .booking__search,
    .booking__list {
        padding: 16px;
        border-radius: var(--radius);
    }

    .booking__search {
        margin-bottom: 28px;
    }

    /* Contacts */
    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 0;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__brand {
        text-align: center;
    }

    .footer__brand .logo {
        justify-content: center;
    }

    .footer__desc {
        margin: 12px auto 0;
    }

    .footer__links {
        text-align: center;
    }

    .footer__bottom {
        padding: 20px 0;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }
}

/* Small phones */
@media (max-width: 380px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .hero__title {
        font-size: 1.6rem;
    }

    .hero__stats {
        gap: 12px;
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

    .about__card {
        flex-direction: column;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero__stats {
        margin-top: 32px;
    }

    .hero__scroll {
        display: none;
    }
}

/* --- Floating Contact Widget --- */
.contact-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 950;
}

.contact-fab__btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(232, 168, 62, 0.5);
    transition: var(--transition);
}

.contact-fab__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(232, 168, 62, 0.6);
}

.contact-fab__btn svg {
    width: 26px;
    height: 26px;
    transition: var(--transition);
}

.contact-fab__btn.active svg {
    transform: rotate(45deg);
}

.contact-fab__popup {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 360px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 28px;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform-origin: bottom right;
}

.contact-fab__popup.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.contact-fab__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.contact-fab__subtitle {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.contact-fab__popup .form-group {
    margin-bottom: 12px;
}

.contact-fab__popup .form-input {
    padding: 12px 14px;
    font-size: 0.9rem;
}

.contact-fab__popup .form-textarea {
    min-height: 70px;
}

.contact-fab__popup .btn {
    margin-top: 4px;
}

@media (max-width: 768px) {
    .contact-fab {
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }

    .contact-fab__popup {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 68px;
    }

    .contact-fab__btn {
        width: 56px;
        height: 56px;
    }
}

/* --- Floating phone button (mobile only) --- */
.mobile-phone {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(232, 168, 62, 0.5);
    z-index: 900;
    transition: var(--transition);
}

.mobile-phone svg {
    width: 24px;
    height: 24px;
}

.mobile-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(232, 168, 62, 0.6);
}

@media (max-width: 768px) {
    .mobile-phone {
        display: flex;
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        right: 88px;
    }
}
