* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Heebo', sans-serif; color: #12142c; background: #fff; overflow-x: hidden; }
a { color: #12142c; text-decoration: none; }
a:hover { color: #4a4d68; }
img { max-width: 100%; display: block; }
::selection { background: #12142c; color: #fff; }

:root {
  --navy: #12142c;
  --navy-hover: #2d328a;
  --text-body: #565968;
  --text-body-alt: #63665f;
  --text-muted: #6b6e7d;
  --text-faint: #9a9d9e;
  --border: #ececec;
  --border-strong: #d8d8dc;
  --max-width: 1320px;
}

.section { max-width: var(--max-width); margin: 0 auto; padding: 20px 32px 110px; }
.section-head { margin-bottom: 52px; }
.eyebrow, .eyebrow-text-light { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.eyebrow p { color: var(--text-muted); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0; }
.eyebrow--light p { color: rgba(255,255,255,0.85); }
.eyebrow__line { width: 22px; height: 1px; background: var(--navy); }
.eyebrow__line--light { background: rgba(255,255,255,0.6); width: 26px; }
.eyebrow-text-light { color: rgba(255,255,255,0.8); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 18px; }
.section-title { font-size: clamp(28px, 3.2vw, 42px); margin: 0; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.section-subtitle { color: var(--text-body); font-size: 15.5px; line-height: 1.75; margin: 0; }

.btn-pill { font-size: 14.5px; font-weight: 600; padding: 16px 30px; border-radius: 999px; display: inline-block; transition: background 0.25s ease, transform 0.25s ease; border: none; cursor: pointer; }
.btn-pill--light { background: #fff; color: var(--navy); }
.btn-pill--light:hover { background: #d8dae2; color: var(--navy); transform: translateY(-2px); }
.btn-pill--dark { background: var(--navy); color: #fff; }
.btn-pill--dark:hover { background: var(--navy-hover); color: #fff; transform: translateY(-2px); }
.btn-underline { color: #fff; font-size: 14.5px; font-weight: 600; padding: 17px 6px; border-bottom: 1px solid rgba(255,255,255,0.5); transition: border-color 0.25s ease; }
.btn-underline:hover { color: #fff; border-color: #fff; }
.btn-lang { border: 1px solid rgba(255,255,255,0.45); background: transparent; color: #fff; font-family: 'Heebo', sans-serif; font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.btn-lang:hover { border-color: #fff; }

/* Hero */
.hero { position: relative; height: 96vh; min-height: 700px; overflow: hidden; background: #0c0e1e; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; animation: kenBurns 18s ease-out both; }
.hero__gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,20,0.72) 0%, rgba(6,7,20,0.18) 30%, rgba(6,7,20,0.1) 55%, rgba(6,7,20,0.85) 100%), linear-gradient(100deg, rgba(6,7,20,0.55) 0%, rgba(6,7,20,0) 45%); }
@keyframes kenBurns { from { transform: scale(1.06); } to { transform: scale(1.16); } }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.site-header--scrolled { background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(6,7,20,0.1); }
.site-header--scrolled .site-header__row { padding-top: 24px; padding-bottom: 24px; }
.site-header--scrolled .logo { height: 55px; width: 210px; filter: brightness(0); }
.site-header--scrolled .nav-links a { color: var(--navy); }
.site-header--scrolled .btn-lang { border-color: rgba(18,20,44,0.35); color: var(--navy); }
.site-header--scrolled .btn-lang:hover { border-color: var(--navy); }
.site-header--scrolled .hamburger { border-color: rgba(18,20,44,0.35); }
.site-header--scrolled .hamburger span { background: var(--navy); }
.site-header--scrolled .site-header__actions .btn-pill { background: var(--navy); color: #fff; }
.site-header--scrolled .site-header__actions .btn-pill:hover { background: var(--navy-hover); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
.site-header__row { max-width: var(--max-width); margin: 0 auto; padding: 30px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; direction: ltr; transition: padding 0.3s ease; }
.logo { height: 60px; width: 230px; filter: brightness(0) invert(1); transition: height 0.3s ease, width 0.3s ease; }
.nav-links { display: flex; align-items: center; gap: 36px; }
[dir="rtl"] nav.nav-links { flex-direction: row-reverse; }
.nav-links a { font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; color: rgba(255,255,255,0.92); }
a.nav-links.btn-pill { padding: 12px 22px; font-size: 13px; white-space: nowrap; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.hamburger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.45); background: transparent; align-items: center; justify-content: center; cursor: pointer; flex-direction: column; gap: 4px; }
.hamburger span { width: 16px; height: 1.5px; background: #fff; }
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(6,7,20,0.4); z-index: 60; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.mobile-menu-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-menu { position: fixed; top: 0; right: 0; height: 100%; width: min(78vw, 320px); background: rgba(12,14,30,0.8); backdrop-filter: blur(14px); z-index: 61; display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(6,7,20,0.35); transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1); }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__header { display: flex; align-items: center; justify-content: flex-end; padding: 24px 24px 8px; }
.mobile-menu__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; font-size: 17px; line-height: 1; }
.mobile-menu__nav { display: flex; flex-direction: column; padding: 12px 28px; overflow-y: auto; gap: 6px; }
.mobile-menu__nav a { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.92); padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.mobile-menu__nav a:last-child { border-bottom: none; }

.hero__content { position: relative; z-index: 5; max-width: var(--max-width); margin: 0 auto; height: 100%; padding: 112px 32px 0; display: flex; flex-direction: column; justify-content: center; }
.hero__title { font-family: 'Heebo', sans-serif; font-size: clamp(34px, 6.5vw, 68px); line-height: 1.05; color: #fff; margin: 0 0 20px; font-weight: 600; letter-spacing: -0.01em; max-width: 760px; opacity: 0; animation: fadeUp 0.9s ease 0.3s both; }
.hero__subtitle { color: rgba(255,255,255,0.82); font-size: 16.5px; line-height: 1.75; max-width: 520px; margin: 0 0 40px; opacity: 0; animation: fadeUp 0.9s ease 0.48s both; }
.hero__ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s ease 0.64s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.stat-row-wrap { position: relative; z-index: 6; max-width: var(--max-width); margin: 0 auto; padding: 0 32px 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 26px 60px rgba(6,7,20,0.22); opacity: 0; animation: statRise 0.9s ease 0.9s both; }
@keyframes statRise { from { opacity: 0; transform: translateY(90%); } to { opacity: 1; transform: translateY(50%); } }
.stat-cell { padding: 30px 28px; border-inline-start: 1px solid var(--border); }
.stat-cell p:first-child { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; margin: 0 0 6px; color: var(--navy); }
.stat-cell p:last-child { font-size: 12.5px; color: var(--text-muted); margin: 0; letter-spacing: 0.02em; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Services */
.services-section { padding-top: 150px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 36px 30px; transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(18,20,44,0.12); border-color: var(--border-strong); }
.service-card__icon { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 26px; color: var(--navy); }
.service-card__icon svg path, .service-card__icon svg circle, .service-card__icon svg rect, .service-card__icon svg line, .service-card__icon svg polyline { stroke-dasharray: 70; stroke-dashoffset: 70; transition: stroke-dashoffset 0.9s ease; }
.services-grid.is-visible .service-card:nth-child(1) svg * { transition-delay: 0s; stroke-dashoffset: 0; }
.services-grid.is-visible .service-card:nth-child(2) svg * { transition-delay: 0.15s; stroke-dashoffset: 0; }
.services-grid.is-visible .service-card:nth-child(3) svg * { transition-delay: 0.3s; stroke-dashoffset: 0; }
.services-grid.is-visible .service-card:nth-child(4) svg * { transition-delay: 0.45s; stroke-dashoffset: 0; }
.service-card__title { font-size: 17.5px; color: var(--navy); margin: 0 0 10px; font-weight: 600; }
.service-card__desc { color: var(--text-body-alt); font-size: 14px; line-height: 1.65; margin: 0; }

/* Properties */
.properties-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.property-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease; }
.property-card:hover { transform: translateY(-8px); box-shadow: 0 30px 55px rgba(6,7,20,0.14); }
.property-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.property-card:hover .property-card__media img { transform: scale(1.06); }
.property-card__badge { position: absolute; top: 16px; inset-inline-start: 16px; background: rgba(12,14,30,0.78); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; padding: 7px 14px; border-radius: 3px; }
.property-card__body { padding: 26px; }
.property-card__title { font-size: 18.5px; margin: 0 0 10px; font-weight: 600; color: var(--navy); }
.property-card__meta { color: var(--text-body-alt); font-size: 13.5px; margin: 0 0 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.property-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid #f0f0ea; }
.property-card__price { font-size: 19px; font-weight: 600; color: var(--navy); }
.property-card__link { font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.arrow-flip { display: inline-block; }
[dir="rtl"] .arrow-flip { transform: scaleX(-1); }

/* CTA banner */
.cta-banner { position: relative; margin: 0 0 110px; height: 62vh; min-height: 460px; overflow: hidden; }
.cta-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-banner__gradient { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,7,20,0.88) 0%, rgba(6,7,20,0.5) 55%, rgba(6,7,20,0.35) 100%); }
.cta-banner__content { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; height: 100%; display: flex; align-items: center; padding: 0 32px; }
.cta-banner__inner { max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; }
.cta-banner__title { font-size: clamp(30px, 5vw, 50px); line-height: 1.12; color: #fff; margin: 0 0 18px; font-weight: 600; }
.cta-banner__subtitle { color: rgba(255,255,255,0.82); font-size: 15.5px; line-height: 1.75; margin: 0 0 32px; }

/* Marina */
.marina-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.marina-image { border-radius: 6px; overflow: hidden; aspect-ratio: 4/4.4; }
.marina-image img { width: 100%; height: 100%; object-fit: cover; }
.marina-p { color: var(--text-body); font-size: 15px; line-height: 1.8; margin: 0 0 16px; }
#marina .section-title { font-size: clamp(28px, 5vw, 50px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.005em; }
.marina-p + .marina-p { margin-bottom: 28px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.blog-card { display: block; }
.blog-card__media { border-radius: 6px; overflow: hidden; aspect-ratio: 4/2.7; margin-bottom: 20px; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card__title { font-size: 17.5px; margin: 0 0 10px; font-weight: 600; color: var(--navy); }
.blog-card__excerpt { color: var(--text-body-alt); font-size: 14px; line-height: 1.6; margin: 0 0 12px; }
.blog-card__link { font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; }
.contact-title { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 0 0 16px; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; overflow-wrap: break-word; }
.contact-note { font-size: 17px; line-height: 1.6; color: var(--text-body); margin: 0 0 26px; max-width: 420px; }
.thanks-view { padding: 40px 0; max-width: 420px; }
.thanks-view h3 { font-size: 22px; margin: 0 0 12px; color: var(--navy); font-weight: 700; }
.thanks-view p { color: var(--text-body-alt); font-size: 15px; margin: 0; }
.contact-form { display: flex; flex-direction: column; gap: 26px; max-width: 480px; }
.form-field { position: relative; padding-top: 22px; }
.form-field label { position: absolute; inset-inline-start: 0; top: 22px; font-size: 15px; color: var(--text-faint); transition: all 0.25s ease; pointer-events: none; }
.form-field.is-active label { top: 0; font-size: 11px; color: var(--navy); }
.form-field--select label { position: static; font-size: 13px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.form-field input { width: 100%; padding: 0 0 10px; border: none; outline: none; border-bottom: 1px dashed #b8bac2; font-size: 16px; background: transparent; color: var(--navy); font-family: 'Heebo', sans-serif; }
.form-field input:focus { border-bottom: 1px solid var(--border-strong); }

.custom-select { position: relative; }
.custom-select__trigger { width: 100%; text-align: inherit; padding: 0 24px 10px 0; border: none; outline: none; border-bottom: 1px dashed #b8bac2; font-size: 16px; background: transparent; color: var(--navy); font-family: 'Heebo', sans-serif; cursor: pointer; position: relative; transition: border-color 0.2s ease; }
.custom-select__trigger:focus { border-bottom: 1px solid var(--border-strong); }
.custom-select__trigger::after { content: ''; position: absolute; inset-inline-end: 4px; top: 45%; width: 7px; height: 7px; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: translateY(-60%) rotate(45deg); transition: transform 0.25s ease; }
.custom-select.is-open .custom-select__trigger::after { transform: translateY(-20%) rotate(225deg); }
.custom-select__options { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; inset-inline-end: 0; margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(6,7,20,0.16); border: 1px solid var(--border); z-index: 30; max-height: 240px; overflow-y: auto; }
.custom-select__option { padding: 11px 14px; border-radius: 6px; font-size: 15px; color: var(--navy); cursor: pointer; transition: background 0.15s ease; }
.custom-select__option:hover { background: #f3f3f6; }
.custom-select__option.is-selected { background: var(--navy); color: #fff; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3, auto); gap: 28px 44px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--border); max-width: 620px; }
.contact-info-label { font-size: 12px; color: var(--text-faint); margin: 0 0 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-info-value { font-size: 14px; font-weight: 600; margin: 0; color: var(--navy); white-space: nowrap; }
.social-icons { display: flex; align-items: center; gap: 12px; }
.social-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.social-icon:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.contact-photo { position: relative; max-width: 460px; width: 100%; margin: 34px auto 0; }
.contact-badge { position: absolute; top: -26px; inset-inline-start: -26px; width: 96px; height: 96px; z-index: 2; animation: spinBadge 16s linear infinite; }
.contact-badge text { direction: ltr; }
@keyframes spinBadge { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.contact-photo__frame { border-radius: 6px; overflow: hidden; aspect-ratio: 3/4; }
.contact-photo__frame img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px; }
.footer__row { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__copyright { color: var(--text-faint); font-size: 13px; margin: 0; }
.footer__top-link { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; color: var(--navy); }
.footer__top-link:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
  .marina-section { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .stat-row { grid-template-columns: repeat(2, 1fr) !important; }
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .services-section { padding-top: 90px !important; }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr !important; }
  .stat-row { grid-template-columns: repeat(2, 1fr) !important; }
  .stat-cell { padding: 20px 16px !important; }
  .logo { height: 38px !important; width: 148px !important; }
  .site-header__row { padding: 20px !important; }
  .section { padding-inline: 20px !important; }
  .contact-badge { display: none !important; }
  .contact-grid { gap: 40px !important; }
  .contact-photo { max-width: 280px !important; }
  .contact-info-grid { grid-template-columns: repeat(2, auto) !important; }
}
