:root {
  --blue: #0044ff;
  --blue-rgb: 0, 68, 255;
  --deep-blue: #000e37;
  --deep-blue-rgb: 0, 14, 55;
  --red: #ff0000;
  --red-rgb: 255, 0, 0;
  --red-dark: #6f0000;
  --ink: #081323;
  --muted: #5f6f83;
  --line: rgba(var(--deep-blue-rgb), 0.14);
  --cream: #f6f2eb;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(8, 19, 35, 0.16);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(var(--deep-blue-rgb), 0.84);
  box-shadow: 0 16px 60px rgba(8, 19, 35, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand img {
  width: 148px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 11px 15px;
  border-radius: 12px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.main-nav .nav-cta {
  background: var(--red-dark);
  color: var(--white);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  background: var(--red-dark);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--deep-blue);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 19, 35, 0.86) 0%, rgba(8, 19, 35, 0.58) 44%, rgba(8, 19, 35, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 19, 35, 0.38), rgba(8, 19, 35, 0.02));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 74px;
  color: var(--white);
}

.mobile-hero-banner {
  display: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(var(--deep-blue-rgb), 0.78);
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 8.2vw, 7.2rem);
  letter-spacing: -0.07em;
}

h2 {
  color: var(--deep-blue);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -0.05em;
}

h3 {
  color: var(--deep-blue);
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.button {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.button {
  min-height: 54px;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--red-dark);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(111, 0, 0, 0.28);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button.outline {
  border: 1px solid rgba(var(--deep-blue-rgb), 0.2);
  color: var(--deep-blue);
}

.hero-specs {
  display: grid;
  width: min(720px, 100%);
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
}

.hero-specs div {
  padding: 24px;
}

.hero-specs div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-specs dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-specs dd {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 800;
}

.intro,
.feature-grid,
.specs-section,
.gallery-section,
.location,
.contact {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 70px;
  padding: 112px 0 58px;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.price-card {
  display: grid;
  width: min(1160px, calc(100% - 40px));
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto 110px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-card div {
  padding: 26px;
}

.price-card div + div {
  border-left: 1px solid var(--line);
}

.price-card span,
.spec-list span,
.distance-list span {
  color: var(--muted);
}

.price-card strong {
  display: block;
  margin-top: 8px;
  color: var(--deep-blue);
  font-size: 1.25rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 112px;
}

.feature-lead,
.feature-grid article {
  min-height: 285px;
  padding: 34px;
  border-radius: var(--radius);
}

.feature-lead {
  grid-row: span 2;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(145deg, rgba(var(--deep-blue-rgb), 0.96), rgba(var(--blue-rgb), 0.82)),
    var(--deep-blue);
}

.feature-lead h2,
.feature-lead .section-kicker {
  color: var(--white);
}

.feature-grid article {
  background: var(--white);
  box-shadow: 0 18px 60px rgba(8, 19, 35, 0.08);
}

.feature-grid article span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: rgba(var(--blue-rgb), 0.1);
  color: var(--deep-blue);
  font-weight: 900;
}

.feature-grid article h3 {
  text-transform: uppercase;
}

.feature-grid article p,
.feature-lead p {
  margin-bottom: 0;
}

.specs-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  margin-bottom: 116px;
}

.specs-panel,
.specs-image {
  overflow: hidden;
  border-radius: var(--radius);
}

.specs-panel {
  padding: 40px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.spec-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list strong {
  color: var(--deep-blue);
  text-align: right;
}

.specs-image img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.gallery-section {
  margin-bottom: 120px;
}

.section-heading.centered {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 220px;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--deep-blue);
  cursor: zoom-in;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, opacity 360ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  opacity: 0.86;
  transform: scale(1.045);
}

.location {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  margin-bottom: 116px;
}

.location-card,
.map-card {
  min-height: 520px;
  border-radius: var(--radius);
}

.location-card {
  padding: 40px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.distance-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.distance-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.distance-list strong {
  color: var(--blue);
  font-size: 1.12rem;
}

.map-card {
  position: relative;
  overflow: hidden;
  background: var(--deep-blue);
}

#batel-map {
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.leaflet-container {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.leaflet-control-attribution {
  font-size: 0.68rem;
}

.batel-map-label {
  border: 0;
  border-radius: 10px;
  background: var(--deep-blue);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(var(--deep-blue-rgb), 0.24);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.batel-map-label::before {
  display: none;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 90px;
}

.agent-card,
.contact-highlight {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.agent-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.agent-card img {
  width: 100%;
  height: 440px;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
  background: #d8e0eb;
}

.agent-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 36px);
  min-width: 0;
}

.agent-card h2 {
  max-width: 100%;
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 3.3vw, 3.95rem);
  overflow-wrap: normal;
  word-break: normal;
}

.agent-card h2 span {
  display: block;
  white-space: nowrap;
}

.phone-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--blue);
  font-size: 1.55rem;
  font-weight: 900;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.contact-actions .button {
  min-height: 56px;
  padding-inline: 18px;
}

.contact-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(145deg, rgba(var(--deep-blue-rgb), 0.96), rgba(var(--blue-rgb), 0.78)),
    var(--deep-blue);
}

.contact-highlight span {
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-highlight h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.contact-highlight ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.contact-highlight li {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 44px 20px 92px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--deep-blue);
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  width: 210px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 18;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 12px;
  background: #1ea952;
  color: var(--white);
  box-shadow: 0 16px 42px rgba(30, 169, 82, 0.34);
  font-weight: 900;
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.floating-share {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 18;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--deep-blue);
  color: var(--white);
  box-shadow: 0 16px 42px rgba(var(--deep-blue-rgb), 0.28);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.floating-share:hover,
.floating-share:focus-visible {
  background: var(--blue);
  transform: translateY(-2px);
}

.floating-share svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.share-feedback {
  position: fixed;
  right: 22px;
  bottom: 150px;
  z-index: 18;
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--deep-blue);
  color: var(--white);
  box-shadow: 0 16px 42px rgba(var(--deep-blue-rgb), 0.28);
  font-size: 0.88rem;
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(8, 19, 35, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 1280px);
  max-height: 88svh;
  border-radius: 14px;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: #f0f3f8;
  transform: translateY(-1px);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 2rem;
}

.lightbox-nav {
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--deep-blue);
  font-size: 3rem;
  font-weight: 700;
  transform: translateY(-50%);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(calc(-50% - 1px));
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 86px 16px auto;
    display: grid;
    padding: 18px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
    visibility: hidden;
  }

  body.menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav a {
    padding: 14px 16px;
  }

  .intro,
  .specs-section,
  .location,
  .contact,
  .agent-card {
    grid-template-columns: 1fr;
  }

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

  .price-card div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .price-card div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .feature-lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }

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

  .specs-image img,
  .agent-card img {
    height: 420px;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 64px;
    padding-left: 16px;
  }

  .brand img {
    width: 126px;
  }

  .hero-content {
    width: min(100% - 28px, 1160px);
    padding-top: 86px;
  }

  .mobile-hero-banner {
    display: block;
    overflow: hidden;
    width: 100vw;
    margin: 0 0 14px 50%;
    border-radius: 0;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
    transform: translateX(-50%);
  }

  .mobile-hero-banner img {
    width: 100%;
    height: 235px;
    object-fit: cover;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.45rem);
  }

  h2 {
    font-size: clamp(2.05rem, 12vw, 3.2rem);
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(8, 19, 35, 0.9), rgba(8, 19, 35, 0.52));
  }

  .hero-specs,
  .price-card,
  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-specs div + div,
  .price-card div + div,
  .price-card div:nth-child(3),
  .price-card div:nth-child(4) {
    border-left: 0;
    border-top: 1px solid rgba(var(--deep-blue-rgb), 0.14);
  }

  .hero-specs div + div {
    border-top-color: rgba(255, 255, 255, 0.2);
  }

  .intro,
  .feature-grid,
  .specs-section,
  .gallery-section,
  .location,
  .contact {
    width: calc(100% - 28px);
  }

  .intro {
    gap: 18px;
    padding-top: 78px;
  }

  .price-card,
  .feature-grid,
  .specs-section,
  .gallery-section,
  .location,
  .contact {
    margin-bottom: 72px;
  }

  .feature-lead,
  .feature-grid article,
  .specs-panel,
  .location-card,
  .agent-card div,
  .contact-highlight {
    padding: 26px;
  }

  .feature-lead,
  .feature-grid article {
    min-height: auto;
  }

  .gallery-grid {
    grid-auto-rows: 235px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .location-card,
  .map-card {
    min-height: auto;
  }

  .map-card {
    min-height: 380px;
  }

  #batel-map {
    min-height: 380px;
  }

  .distance-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .phone-link {
    font-size: 1.28rem;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }

  .floating-share {
    right: 14px;
    bottom: 78px;
  }

  .share-feedback {
    right: 14px;
    bottom: 138px;
  }

  .lightbox {
    padding: 76px 16px 24px;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 46px;
    height: 46px;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: translateY(-1px);
  }

  .lightbox-prev {
    left: calc(50% - 56px);
  }

  .lightbox-next {
    right: calc(50% - 56px);
  }
}
