:root {
    --teal: #0E6B7A;
    --teal-dark: #0A5360;
    --coral: #E8835C;
    --coral-dark: #D26B45;
    --sand: #F5E9D4;
    --aqua: #CDE7E5;
    --ink: #1F2A2E;
    --ink-soft: #4A5860;
    --shell: #FBF8F3;
    --white: #ffffff;
    --shadow-sm: 0 4px 14px rgba(31,42,46,.08);
    --shadow-md: 0 14px 36px rgba(31,42,46,.12);
    --radius: 14px;
}

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

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: var(--shell);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--ink); line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost, .btn-block {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .3px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--coral); color: var(--white); box-shadow: 0 8px 22px rgba(232,131,92,.35); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(232,131,92,.45); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-block { display: flex; justify-content: center; width: 100%; background: var(--teal); color: var(--white); margin-top: 18px; }
.btn-block:hover { background: var(--teal-dark); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(251,248,243,.92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid rgba(14,107,122,.08);
    transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark svg { display: block; }
.logo-words { display: flex; flex-direction: column; gap: 4px; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--teal); line-height: 1; }
.logo-subtitle { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li > a {
    padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--ink);
    border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links > li > a:hover { color: var(--teal); }
.nav-links > li > a.btn-primary {
    color: var(--white); padding: 12px 22px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav-links > li > a.btn-primary:hover { color: var(--white); }

.has-dropdown { position: relative; }
.has-dropdown > a i { font-size: 10px; margin-left: 4px; transition: transform .2s; }
.has-dropdown:hover > a i { transform: rotate(180deg); }
.dropdown {
    position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
    background: var(--white); border-radius: 12px;
    box-shadow: var(--shadow-md); padding: 10px; min-width: 230px;
    opacity: 0; visibility: hidden; transition: all .25s ease;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li a {
    display: block; padding: 10px 14px; font-size: 14px; border-radius: 8px;
    color: var(--ink); transition: background .15s, color .15s;
}
.dropdown li a:hover { background: var(--sand); color: var(--teal); }

.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    font-size: 22px; color: var(--teal); padding: 8px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    color: var(--white); overflow: hidden;
}
.hero-carousel { position: absolute; inset: 0; }
.slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease;
    transform: scale(1.05);
}
.slide.is-active { opacity: 1; transform: scale(1); transition: opacity 1.2s ease, transform 8s ease; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(6,52,60,.9) 0%, rgba(8,12,14,.96) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 140px 24px 100px; }
.hero-content { max-width: 720px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px; border-radius: 999px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    font-size: 13px; font-weight: 500; margin-bottom: 24px;
}
.hero-badge i { color: var(--coral); }
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--white); margin-bottom: 20px; font-weight: 600;
}
.hero h1 span { font-style: italic; color: var(--coral); position: relative; }
.hero-tag { font-size: 1.1rem; opacity: .92; margin-bottom: 36px; max-width: 600px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.hero-stat .number { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--coral); font-weight: 700; line-height: 1; }
.hero-stat .label { font-size: 13px; opacity: .85; margin-top: 6px; letter-spacing: .5px; }

.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 3; width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
    color: var(--white); cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background .2s, transform .2s;
}
.carousel-btn:hover { background: rgba(255,255,255,.3); }
.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }
.carousel-dots {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; gap: 8px;
}
.carousel-dots button {
    width: 28px; height: 4px; border-radius: 2px; border: none;
    background: rgba(255,255,255,.4); cursor: pointer;
    transition: background .2s, width .2s;
}
.carousel-dots button.is-active { background: var(--coral); width: 40px; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-label {
    display: inline-block; font-size: 12px; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--coral); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.section-desc { color: var(--ink-soft); max-width: 640px; }
.section-header { text-align: center; margin: 0 auto 60px; max-width: 720px; }
.section-header .section-desc { margin: 0 auto; }

/* ---------- About strip ---------- */
.about-strip { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-points { display: flex; flex-direction: column; gap: 32px; }
.point { display: flex; gap: 14px; align-items: flex-start; }
.point i {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--white); color: var(--teal); font-size: 18px;
    box-shadow: var(--shadow-sm);
}
.point h4 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.point p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Properties ---------- */
.properties { background: var(--shell); }
.properties-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.property-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex; flex-direction: column;
    position: relative;
}
.property-card::before {
    content: ''; position: absolute; top: 0; left: 0; height: 4px; width: 60px;
    background: var(--teal); transition: width .4s ease; z-index: 2;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.property-card:hover::before { width: 100%; }
.property-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.property-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.property-card:hover .property-img img { transform: scale(1.06); }
.property-tag {
    position: absolute; top: 16px; right: 16px;
    background: var(--coral); color: var(--white);
    padding: 6px 14px; border-radius: 999px;
    font-size: 12px; font-weight: 600; letter-spacing: .5px;
}
.property-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.property-body h3 { font-size: 1.6rem; margin-bottom: 8px; }
.property-location { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.property-location i { color: var(--coral); margin-right: 6px; }
.property-desc { color: var(--ink-soft); margin-bottom: 18px; font-size: 15px; }
.property-amenities {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.property-amenities li {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; background: var(--aqua); color: var(--teal-dark);
    border-radius: 999px; font-size: 12px; font-weight: 500;
}
.property-contact {
    display: flex; flex-direction: column; gap: 6px;
    padding: 14px 0; margin-top: auto;
    border-top: 1px solid rgba(14,107,122,.1);
    font-size: 13px;
}
.property-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); transition: color .2s; }
.property-contact a:hover { color: var(--teal); }
.property-contact i { color: var(--coral); width: 14px; }
.property-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.property-actions .btn-block { margin-top: 0; }
.visit-link { font-size: 13px; color: var(--teal); font-weight: 600; letter-spacing: .3px; transition: color .2s; }
.visit-link:hover { color: var(--coral); }
.visit-link i { font-size: 11px; margin-left: 4px; }

/* ---------- Area ---------- */
.area { background: var(--aqua); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.area-text p { color: var(--ink-soft); margin-bottom: 28px; font-size: 16px; }
.area-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.area-stat { background: var(--white); padding: 20px 24px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.area-stat .big { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--coral); font-weight: 700; line-height: 1; }
.area-stat .lbl { font-size: 12px; color: var(--ink-soft); margin-top: 4px; letter-spacing: .5px; }
.area-image img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
    display: block; padding: 28px 24px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius); backdrop-filter: blur(6px);
    transition: transform .25s ease, background .25s ease;
}
.contact-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); }
.contact-card h4 { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 14px; }
.contact-card p { font-size: 13px; color: var(--aqua); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.contact-card p i { color: var(--coral); width: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .logo-text { color: var(--coral); }
.footer .logo-subtitle { color: rgba(255,255,255,.5); }
.footer-tag { margin-top: 14px; font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer h5 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer ul li { margin-bottom: 8px; font-size: 14px; }
.footer ul li a { transition: color .2s; }
.footer ul li a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; font-size: 13px; text-align: center; }

/* ---------- Reveal ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
    .about-grid, .area-grid, .properties-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .mobile-toggle { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch;
        background: var(--white); padding: 0 16px;
        box-shadow: var(--shadow-md);
        max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
    }
    .nav-links.active { max-height: 600px; padding: 16px; }
    .nav-links > li > a { padding: 14px; }
    .dropdown {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; padding: 0 0 0 16px; min-width: 0;
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { max-height: 300px; transform: none; }
    .hero-stats { gap: 28px; }
    .carousel-btn { display: none; }
    .about-points { grid-template-columns: 1fr; }
    .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}

/* ============ Complex Eforie family bar ============ */
.cefb {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1500;
    background: #0A5360;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.cefb-inner {
    position: relative;
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px;
    display: flex; align-items: center; gap: 24px;
    min-height: 36px;
}
.cefb-brand {
    display: inline-flex; align-items: center; gap: 8px;
    color: #ffffff; text-decoration: none;
    font-weight: 500; letter-spacing: .3px;
    white-space: nowrap;
}
.cefb-brand strong { font-weight: 700; }
.cefb-mark { color: #E8835C; font-size: 14px; line-height: 1; }
.cefb-brand:hover { color: #E8835C; }

.cefb-links {
    list-style: none; margin: 0 0 0 auto; padding: 0;
    display: flex; align-items: center; gap: 4px;
}
.cefb-links a {
    display: inline-block; padding: 6px 12px;
    color: rgba(255,255,255,.78); text-decoration: none;
    border-radius: 6px;
    transition: color .2s ease, background .2s ease;
    white-space: nowrap;
    font-weight: 500;
}
.cefb-links a:hover { color: #ffffff; background: rgba(255,255,255,.08); }
.cefb[data-current="hub"] .cefb-links { margin-left: 0; }
.cefb[data-current="hub"]      .cefb-links a[data-key="hub"],
.cefb[data-current="egreta"]   .cefb-links a[data-key="egreta"],
.cefb[data-current="meridian"] .cefb-links a[data-key="meridian"],
.cefb[data-current="smarald"]  .cefb-links a[data-key="smarald"],
.cefb[data-current="hostel"]   .cefb-links a[data-key="hostel"] {
    color: #0A5360; background: #ffffff;
    pointer-events: none; cursor: default;
    font-weight: 600;
}

.cefb-toggle {
    display: none;
    margin-left: auto;
    background: transparent; border: 1px solid rgba(255,255,255,.25);
    color: #ffffff; font: inherit; font-size: 13px;
    padding: 4px 12px; border-radius: 6px;
    cursor: pointer;
    align-items: center; gap: 6px;
}
.cefb-toggle:hover { background: rgba(255,255,255,.08); }

@media (max-width: 860px) {
    .cefb-links {
        display: none;
        position: absolute; top: 100%; right: 16px; left: auto;
        flex-direction: column; align-items: stretch;
        background: #0A5360; padding: 8px;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 12px 24px rgba(0,0,0,.25);
        min-width: 220px; gap: 2px;
        margin: 0;
    }
    .cefb.is-open .cefb-links { display: flex; }
    .cefb.is-open .cefb-links a { padding: 10px 14px; }
    .cefb-toggle { display: inline-flex; }
}

/* push existing fixed navbar below family bar */
body { padding-top: 36px; }
.navbar { top: 36px !important; }

/* ============ Page hero (compact hero for sub-pages) ============ */
.page-hero {
    position: relative; min-height: 360px;
    display: flex; align-items: flex-end;
    color: var(--white); overflow: hidden;
    margin-top: 76px;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,52,60,.55) 0%, rgba(8,12,14,.85) 100%); }
.page-hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.page-hero .breadcrumb { font-size: 13px; opacity: .85; margin-bottom: 14px; letter-spacing: .3px; }
.page-hero .breadcrumb a { color: var(--coral); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--white); margin-bottom: 12px; }
.page-hero .lead { font-size: 1.05rem; max-width: 640px; opacity: .92; }

/* ============ CTA strip ============ */
.cta-strip { background: var(--teal); color: var(--white); padding: 70px 0; text-align: center; }
.cta-strip h2 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-strip p { max-width: 580px; margin: 0 auto 28px; opacity: .92; }
.cta-strip .btn-primary { background: var(--coral); }
.cta-strip .btn-primary:hover { background: var(--coral-dark); }

/* ============ Distance table (Zona) ============ */
.distance-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.distance-table th, .distance-table td { padding: 14px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid rgba(14,107,122,.08); }
.distance-table th { background: var(--sand); color: var(--ink); font-weight: 600; letter-spacing: .3px; }
.distance-table tr:last-child td { border-bottom: none; }
.distance-table tbody tr:hover { background: var(--shell); }
.distance-table td:first-child { font-weight: 600; color: var(--teal); }

/* ============ Attractions grid (Zona) ============ */
.attractions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.attraction-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.attraction-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.attraction-card .icn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--aqua); color: var(--teal); font-size: 18px; margin-bottom: 14px; }
.attraction-card h4 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.attraction-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.attraction-card ul { margin-top: 8px; padding-left: 0; }
.attraction-card ul li { font-size: 13.5px; color: var(--ink-soft); padding: 4px 0; padding-left: 18px; position: relative; }
.attraction-card ul li::before { content: '•'; color: var(--coral); position: absolute; left: 4px; top: 4px; font-weight: 700; }

/* ============ Map embed ============ */
.map-embed { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; }

/* ============ Inquiry form (Contact) ============ */
.inquiry-form { background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row.full { grid-template-columns: 1fr; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; letter-spacing: .3px; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 12px 14px; font: inherit; font-size: 14px;
    border: 1px solid rgba(14,107,122,.18); border-radius: 8px; background: var(--shell);
    color: var(--ink); transition: border-color .2s, background .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.form-check input { margin-top: 3px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; text-align: center; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* booking modal styles live in assets/booking.css (auto-injected by booking.js) */

.icon{width:1em;height:1em;fill:currentColor;display:inline-block;vertical-align:-0.125em;flex-shrink:0}
