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

:root {
    --blue: #106ccd;
    --dark-blue: #102f76;
    --white: #ffffff;
    --nav-h: 72px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--dark-blue);
    overflow-x: hidden;
    background: var(--white);
}

/* ─── NAV ─────────────────────────────────── */
nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    z-index: 200;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

nav.scrolled {
    background: #106ccd;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 200px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.86rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s;
}

.nav-links a:hover { color: rgba(255,255,255,0.75); }
.nav-links a:hover::after { width: 100%; }

.btn-prenota-nav {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--white);
    background: transparent;
    border: 2px solid var(--white);
    padding: 10px 28px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}

.btn-prenota-nav:hover {
    background: var(--white);
    color: #106ccd;
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    display: block;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── MOBILE MENU ─────────────────────────── */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 28px 32px 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    z-index: 199;
    border-top: 1px solid rgba(16, 47, 118, 0.06);
}

.mobile-nav.open { display: block; }

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.mobile-nav ul a {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark-blue);
    text-decoration: none;
}

/* ─── HERO ────────────────────────────────── */
.hero-address,
.hero-rating {
    display: none;
}

.hero {
    height: 100vh;
    background: #106ccd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-buttons {
    position: absolute;
    bottom: 48px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 80px;
    z-index: 3;
}

.hero-btn {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #106ccd;
    background: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.25s, transform 0.2s;
}

.hero-btn:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.hero-btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: none;
}

.hero-btn-outline svg { stroke: var(--white); }

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    box-shadow: none;
}

@media (max-width: 768px) {
    .hero-buttons {
        position: static;
        margin: 0;
        padding: 24px 20px;
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
        background-image: url('photo/background_button.jpg');
        background-size: cover;
        background-position: center;
        border-radius: 0;
        z-index: 10;
    }
    .hero-btn {
        padding: 18px 28px;
        font-size: 1.1rem;
        justify-content: center;
        width: 100%;
        background: #ffffff;
        color: #106ccd;
    }
    .hero-btn svg {
        stroke: #106ccd;
    }
    .hero-address {
        display: block;
        text-align: center;
        font-size: 0.8rem;
        color: #ffffff;
        text-decoration: underline;
        padding-bottom: 4px;
    }
    .hero-rating {
        display: block;
        text-align: center;
        font-size: 0.78rem;
        color: #ffffff;
        opacity: 0.9;
        padding-bottom: 8px;
    }
}

@keyframes heroReveal {
    from { opacity: 0; transform: scale(1.04) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}


@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    55%       { transform: translateX(-50%) translateY(10px); }
}

/* ─── SPECIALTIES ─────────────────────────── */
.specialties {
    background: var(--white);
    padding: 72px 0 64px;
    overflow: hidden;
}

.btn-download-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 0 60px;
    margin: 20px 0 36px;
}

.btn-download-group .btn-download {
    margin: 0;
}

.section-eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0 60px;
    margin-top: 32px;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    color: var(--dark-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.15;
    padding: 0 60px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 400;
    color: #444;
    padding: 0 60px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.carousel-track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 4px 0 28px;
    animation: marquee 28s linear infinite;
}

.carousel-track:hover { animation-play-state: paused; }

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

.dish-card {
    flex: 0 0 170px;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(16, 47, 118, 0.18);
}

.dish-card.light {
    background: var(--white);
    border: 1.5px solid #d8e8f7;
}

.dish-card.dark {
    background: var(--dark-blue);
}

.dish-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.dish-card-info {
    padding: 14px 12px;
}

.dish-card.light .dish-card-info { color: var(--dark-blue); }
.dish-card.dark  .dish-card-info { color: var(--white); }

.dish-name {
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1.45;
}

/* ─── MENU DOWNLOAD ──────────────────────── */
.menu-download-bar {
    background: var(--white);
    padding: 32px 60px;
    display: flex;
    justify-content: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    background: #106ccd;
    border: none;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 20px rgba(16,108,205,0.3);
    transition: box-shadow 0.25s, transform 0.2s;
}

.btn-download:hover {
    box-shadow: 0 8px 32px rgba(16,108,205,0.45);
    transform: translateY(-2px);
}

/* ─── NEWSLETTER ─────────────────────────── */
.newsletter-box {
    background: var(--white);
    padding: 0 60px 56px;
}

.newsletter-inner {
    background: #f0f6ff;
    border-radius: 16px;
    padding: 40px 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-text {
    flex: 1;
}

.newsletter-form {
    flex: 1;
}

.mn-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin: 8px 0 10px;
}

.mn-desc {
    font-size: 0.9rem;
    color: rgba(16, 47, 118, 0.65);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .menu-download-bar { padding: 28px 24px; }
    .newsletter-box { padding: 0 24px 48px; }
    .newsletter-inner { flex-direction: column; padding: 32px 24px; gap: 24px; }
}

/* ─── INFO CARD ───────────────────────────── */
.info-section {
    background: var(--white);
    padding: 0 60px 72px;
}

.info-card {
    background: var(--dark-blue);
    border-radius: 28px;
    padding: 48px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-label {
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 12px;
}

.info-address {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 28px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.hours-row .day {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.info-map {
    flex: 1;
    min-width: 280px;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
}

.btn-white {
    background: var(--white);
    color: var(--dark-blue);
    border: none;
    padding: 16px 0;
    border-radius: 12px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.25s;
    text-align: center;
    text-decoration: none;
    display: block;
    letter-spacing: 0.3px;
}

.btn-white:hover { background: #e4eef9; }

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.45);
    padding: 14px 0;
    border-radius: 12px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s;
    text-align: center;
    text-decoration: none;
    display: block;
    letter-spacing: 0.3px;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

/* ─── ABOUT ───────────────────────────────── */
.about {
    background: var(--white);
    padding: 80px 60px 72px;
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

.about-text {
    flex: 1;
}

.about-img {
    width: 420px;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
    flex-shrink: 0;
    display: block;
}

@media (max-width: 900px) {
    .about-img { display: none; }
    .about-inner { display: block; }
}

.about-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 16px;
}

.about h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    color: var(--dark-blue);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 36px;
    max-width: 720px;
}

.about-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3d4a6b;
    max-width: 680px;
    font-weight: 400;
}

.about-body strong {
    color: var(--dark-blue);
    font-weight: 700;
}

/* ─── FEATURES ────────────────────────────── */
.features {
    background: var(--blue);
    padding: 72px 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 420px;
    transition: transform 0.35s ease;
    cursor: pointer;
}

.feature-card:hover { transform: translateY(-6px); }

.fc-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .fc-bg { transform: scale(1.05); }

.fc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 22, 52, 0.93) 0%, rgba(4, 22, 52, 0.35) 55%, transparent 100%);
}

.fc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
}

.feature-card h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    margin-bottom: 20px;
}

.btn-scopri {
    display: inline-block;
    background: var(--white);
    color: var(--dark-blue);
    border: none;
    padding: 10px 28px;
    border-radius: 10px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.25s;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.btn-scopri:hover { background: #e4eef9; }

/* ─── FOOTER ──────────────────────────────── */
footer {
    background: var(--dark-blue);
    padding: 64px 60px 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-address {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-top: 4px;
}

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

.footer-socials a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

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

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.footer-hours-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.footer-hours-row span:first-child {
    font-weight: 700;
    color: var(--white);
}

.footer-col h4 {
    font-weight: 700;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: rgba(255,255,255,0.45);
    text-decoration: underline;
    transition: color 0.2s;
}

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

/* ─── ANIMATIONS ──────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
    nav { padding: 0 24px; }
    .nav-links, .btn-prenota-nav { display: none; }
    .hamburger { display: flex; }

    .section-eyebrow,
    .section-title,
    .section-subtitle,
    .btn-download-group { padding-left: 24px; padding-right: 24px; }

    .carousel-track {
        animation: none;
        overflow-x: auto;
        width: auto;
        padding-left: 24px;
        padding-right: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        cursor: grab;
    }

    .carousel-track::-webkit-scrollbar { display: none; }
    .carousel-track [aria-hidden="true"] { display: none; }

    .info-section { padding: 0 24px 56px; }
    .info-card {
        flex-direction: column;
        padding: 32px 28px;
        align-items: stretch;
    }
    .info-map { min-width: unset; height: 200px; }

    .about { padding: 64px 24px; }
    .features { padding: 56px 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { height: 340px; }

    footer { padding: 56px 24px 36px; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        background: #ffffff;
    }
    .specialties {
        padding-top: 8px;
    }
    .hero picture {
        width: 100%;
        height: auto;
        display: block;
        transform: none;
    }
    .hero-image {
        width: 100%;
        height: auto;
        max-width: none;
        max-height: none;
        object-fit: unset;
    }
}

/* ─── SEO PAGES ───────────────────────────── */
.seo-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    padding: 0 60px 80px;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.seo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 22, 52, 0.92) 0%, rgba(4, 22, 52, 0.55) 45%, rgba(4, 22, 52, 0.2) 100%);
    z-index: 0;
}

.seo-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.seo-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.12;
    margin: 0 0 18px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.seo-hero-desc {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.92);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.seo-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.seo-hero-btns .hero-btn {
    padding: 14px 32px;
    font-size: 0.95rem;
}

/* Page-specific hero backgrounds */
.seo-hero-piatti    { background-image: url('photo/Spaghetto_vongole.jpg'); }
.seo-hero-crudo     { background-image: url('photo/Crudo_di_mare.jpg'); }
.seo-hero-aziendale { background-image: url('photo/locale.jpg'); }
.seo-hero-vini      { background-image: url('photo/Baccalà_umido.jpg'); }

.seo-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 72px 40px 80px;
}

.seo-block {
    margin-bottom: 52px;
}

.seo-block h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 16px;
}

.seo-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
}

.seo-block p a {
    color: var(--blue);
    text-decoration: underline;
}

.seo-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.seo-list li {
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    position: relative;
}

.seo-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--blue);
}

.seo-cta {
    background: #f0f6ff;
    border-radius: 16px;
    padding: 40px;
}

.seo-cta h2 {
    margin-bottom: 8px;
}

.seo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.seo-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .seo-hero { padding: 0 24px 56px; min-height: 85vh; }
    .seo-hero-btns { flex-direction: column; }
    .seo-hero-btns .hero-btn { width: 100%; justify-content: center; }
    .seo-content { padding: 48px 24px 56px; }
    .seo-cta { padding: 28px 24px; }
    .seo-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .dish-card { flex: 0 0 148px; }
}

/* ─── BOOKING MODAL ───────────────────────── */
.bm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 22, 52, 0.55);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.bm-overlay.open {
    display: flex;
}
.bm-box {
    background: #fff;
    border-radius: 24px;
    padding: 40px 40px 36px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 80px rgba(4, 22, 52, 0.25);
}
.bm-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    line-height: 1;
}
.bm-close:hover { background: #f0f4fa; color: #041634; }
.bm-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #041634;
    margin-bottom: 6px;
}
.bm-sub {
    font-size: 0.92rem;
    color: #666;
    margin-bottom: 28px;
}
.bm-sub a { color: #106ccd; }
.bm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.bm-field { display: flex; flex-direction: column; gap: 6px; }
.bm-field.bm-full { grid-column: 1 / -1; }
.bm-field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #041634;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bm-field input,
.bm-field select,
.bm-field textarea {
    padding: 12px 14px;
    border: 2px solid #dde4f0;
    border-radius: 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.97rem;
    color: #041634;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.bm-field input:focus,
.bm-field select:focus,
.bm-field textarea:focus { border-color: #106ccd; }
.bm-field select:disabled { color: #aaa; background: #f8fafc; }
.bm-field textarea { resize: vertical; min-height: 72px; }
.bm-error {
    font-size: 0.82rem;
    color: #c0392b;
    margin-top: 2px;
}
.bm-notice {
    font-size: 0.84rem;
    color: #d97706;
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
    margin-top: 4px;
}
.bm-hint {
    font-size: 0.82rem;
    color: #106ccd;
    margin-top: 2px;
}
.bm-submit {
    margin-top: 24px;
    width: 100%;
    padding: 15px;
    background: #041634;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.bm-submit:hover:not(:disabled) { background: #106ccd; }
.bm-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.bm-success {
    text-align: center;
    padding: 24px 0;
    color: #27ae60;
    font-size: 1.05rem;
    font-weight: 600;
}
@media (max-width: 560px) {
    .bm-box { padding: 32px 20px 28px; border-radius: 20px; }
    .bm-grid { grid-template-columns: 1fr; }
    .bm-field.bm-full { grid-column: 1; }
}
