/*
  Online Properties Limited (OPL)
  Organized stylesheet
  Sections: Base, Header/Menu, Home Hero, Shared Blocks, Project Detail, Inner Pages, Utilities, Responsive
*/

:root {
  --primary: #005ca8;
  --primary-dark: #052c54;
  --secondary: #13b6ed;
  --accent: #ffb31a;
  --dark: #07111f;
  --text: #17283b;
  --muted: #667789;
  --light: #f5f9fd;
  --white: #ffffff;
  --border: rgba(12, 42, 74, 0.12);
  --shadow: 0 24px 70px rgba(7, 28, 53, 0.12);
  --radius: 28px;
  --header-h: 84px;
  --page-max: 1440px;
  --page-gutter: clamp(16px, 3.4vw, 64px);
  --ease: 0.25s ease;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

img {
  width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.container {
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.section {
  padding: clamp(76px, 8vw, 128px) 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(34px, 4vw, 56px);
  text-align: center;
}

.section-heading h2,
.project-main h2,
.booking-copy h2,
.about-copy h2,
.founder-card h2 {
  margin: 10px 0 14px;
  color: var(--primary-dark);
  font-size: clamp(30px, 4.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading p,
.project-main p,
.booking-copy p,
.about-copy p,
.founder-card p {
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
}

.section-heading--light h2,
.section-heading--light p,
.section-heading--light .section-kicker {
  color: var(--white);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 10px;
  background: currentColor;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: #ffb31a;
  color: #000;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge--blue {
  background: rgb(0 92 168);
  color: #fff;
}

.badge--green {
  background: rgba(28, 171, 108, 0.14);
  color: #148056;
}

.badge--dark {
  background: rgba(5, 44, 84, 0.12);
  color: var(--primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background var(--ease),
    color var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(0, 92, 168, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: var(--primary-dark);
  background: var(--white);
  border-color: var(--border);
}
.btn-secondary:hover {
  color: var(--white);
}
/* Header / hamburger drawer */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition:
    background var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(8, 36, 65, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1560px, calc(100% - (var(--page-gutter) * 2)));
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 2102;
}

.brand img {
  width: clamp(130px, 13vw, 182px);
  height: auto;
}

body.menu-open .site-header,
.site-header.menu-open {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.menu-open .site-header .brand,
body.menu-open .site-header .nav-toggle,
.site-header.menu-open .brand,
.site-header.menu-open .nav-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav-toggle {
  position: relative;
  z-index: 2102;
  width: 48px;
  height: 48px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(5, 44, 84, 0.18);
  transition:
    opacity var(--ease),
    visibility var(--ease),
    transform var(--ease),
    background var(--ease);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 8px;
  background: var(--primary-dark);
}

.nav-toggle.active {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.92);
}

.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2100;
  width: min(430px, 92vw);
  height: 100svh;
  padding: 24px 24px 32px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid var(--border);
  box-shadow: -30px 0 90px rgba(3, 18, 35, 0.22);
  transform: translateX(105%);
  transition: transform 0.28s ease;
}

.main-nav.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.drawer-head img {
  width: 170px;
}

.drawer-close {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--light);
  color: var(--primary-dark);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li {
  border-bottom: 1px solid rgba(12, 42, 74, 0.09);
}

.main-nav > ul > li > a,
.dropdown-toggle {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
}

.main-nav > ul > li > a:hover,
.dropdown-toggle:hover,
.main-nav > ul > li > a.active {
  color: var(--primary);
}

.dropdown-toggle span {
  transition: transform var(--ease);
}

.has-dropdown.open .dropdown-toggle span {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  padding: 0 0 12px 14px !important;
}

.has-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.dropdown-menu a:hover {
  color: var(--primary);
}

.drawer-contact {
  display: grid;
  gap: 10px;
  padding-top: 24px;
}

.drawer-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--light);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 850;
}

.drawer-contact a:last-child {
  background: var(--primary);
  color: var(--white);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2098;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  border: 0;
  background: rgba(9, 18, 34, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transition:
    opacity var(--ease),
    visibility var(--ease);
}

.menu-backdrop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Home hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--page-gutter) 44px;
  overflow: hidden;
  background: var(--dark);
}

.video-section,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.video-section video {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(2, 9, 18, 0.1) 0%,
    rgba(2, 9, 18, 0.18) 44%,
    rgba(2, 9, 18, 0.74) 100%
  );
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.hero-feature {
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-dark);
  text-align: center;
  transition:
    transform var(--ease),
    background var(--ease),
    color var(--ease);
}

.hero-feature:hover {
  transform: translateY(-4px);
  background: var(--primary);
  color: var(--white);
}

.hero-feature span {
  font-size: 28px;
}

.hero-feature strong {
  font-size: 22px;
  font-weight: 600;
}

.hero-feature--accent {
  background: var(--accent);
  color: var(--primary-dark);
}

/* Project showcase */
.project-showcase {
  background: linear-gradient(180deg, var(--white), #f7fbff);
}

.project-showcase > .container {
  width: 100%;
  max-width: none;
}

.project-showcase .section-heading,
.project-showcase .filter-tabs {
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 24px;
  padding-inline: var(--page-gutter);
}

.project-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--dark);
  box-shadow: var(--shadow);
}
.project-card:after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    transparent 0%,
    transparent 0%,
    transparent 57%,
    rgba(0, 0, 0, 0.8) 100%
  );
  content: "";
}

.project-card.hidden {
  display: none;
}

.project-card img {
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card__body {
  position: absolute;
  inset: auto 18px 18px;
  padding: 10px;
  border-radius: 22px;
  color: var(--white);
  /* background: linear-gradient(
    180deg,
    rgba(5, 44, 84, 0.7),
    rgba(5, 44, 84, 0.92)
  );
  backdrop-filter: blur(12px); */
  z-index: 1;
}

.project-card__body h3 {
  margin: 12px 0 8px;
  font-size: 26px;
  line-height: 1.1;
}

.project-card__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.project-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-card__actions a {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

/* Story / values */
.story-section {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.story-bg,
.story-overlay {
  position: absolute;
  inset: 0;
}

.story-bg {
  background: url("../images/story-bg.png") center/cover no-repeat;
  transform: scale(1.03);
}

.story-overlay {
  background: linear-gradient(
    90deg,
    rgba(3, 11, 22, 0.88),
    rgba(3, 11, 22, 0.42)
  );
}

.story-content {
  position: relative;
  z-index: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.value-card span {
  font-size: 34px;
}

.value-card h3 {
  margin: 20px 0 10px;
  font-size: 22px;
}

.value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

/* Map / contact */
.contact-section {
  background: var(--white);
}

.contact-layout {
  display: grid;
  gap: 24px;
}

#map {
  width: 100%;
  min-height: 600px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-popup {
  text-align: center;
}

.map-popup h3 {
  margin: 0;
  color: var(--primary-dark);
}

.map iframe {
  border-radius: 26px;
  box-shadow: var(--shadow);
}

/* Forms / booking */
.book-viewing-section {
  background: linear-gradient(180deg, #f7fbff, var(--white));
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.booking-copy {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.quick-contact,
.overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 28px;
}

.quick-contact a {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-weight: 900;
}

.booking-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 900;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(12, 42, 74, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  background: #fbfdff;
  outline: none;
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(0, 92, 168, 0.5);
  box-shadow: 0 0 0 4px rgba(0, 92, 168, 0.1);
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Inner pages */
.inner-hero {
  position: relative;
  min-height: 64vh;
  min-height: 64svh;
  display: flex;
  align-items: end;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.inner-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 9, 18, 0.15),
    rgba(2, 9, 18, 0.72)
  );
}

.inner-hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 48px) 0 70px;
}

.inner-hero h1 {
  margin: 18px 0 12px;
  max-width: 900px;
  font-size: clamp(42px, 7vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.inner-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.breadcrumb strong {
  color: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.about-image img {
  min-height: 520px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.about-copy p {
  margin: 0 0 18px;
}

.founder-section {
  background: #f7fbff;
}

.founder-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  max-width: 1040px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-mark {
  color: var(--primary);
  font-size: clamp(70px, 10vw, 140px);
  line-height: 0.8;
  font-family: Georgia, serif;
}

.founder-signature {
  display: grid;
  gap: 5px;
  margin-top: 28px;
}

.founder-signature strong {
  color: var(--primary-dark);
  font-size: 22px;
}

.founder-signature span {
  color: var(--muted);
  font-weight: 800;
}

.ventures-section {
  background: linear-gradient(180deg, #f7fbff, var(--white));
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.venture-card {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(4, 40, 79, 0.08);
  transition:
    transform var(--ease),
    box-shadow var(--ease);
}

.venture-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.venture-card__logo img {
  max-height: 104px;
  object-fit: contain;
}

/* Project detail */
.project-detail {
  background: var(--white);
}

.project-detail__hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.project-detail__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 9, 18, 0) 0%,
    rgba(3, 9, 18, 0.02) 45%,
    rgba(3, 9, 18, 0.2) 65%,
    rgba(3, 9, 18, 0.74) 100%
  );
}

.project-detail__hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 48px) 0 clamp(42px, 6vw, 78px);
}

.project-detail__hero h1 {
  margin: 0 0 12px;
  max-width: 1040px;
  font-size: clamp(46px, 7.2vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.project-detail__hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.8vw, 24px);
  line-height: 1.45;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.project-detail__body {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.project-main {
  max-width: 1180px;
  margin-inline: auto;
}

.project-main > p {
  max-width: 980px;
}

.project-main h3 {
  margin: clamp(44px, 5vw, 70px) 0 22px;
  color: var(--primary-dark);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

.project-gallery {
  display: grid;
  gap: 18px;
}

.project-gallery--top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.project-gallery img,
.synopsis-split__media img {
  cursor: zoom-in;
}

.project-gallery--top img {
  height: 380px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 16px;
  border: 1px solid rgba(12, 42, 74, 0.09);
  border-radius: 18px;
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(4, 40, 79, 0.06);
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}

.feature-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 92, 168, 0.24);
  box-shadow: 0 18px 48px rgba(4, 40, 79, 0.1);
}

.feature-list li span {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 92, 168, 0.1);
  font-size: 18px;
  line-height: 1;
}

.apartment-grid--premium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
  margin-top: 26px;
  padding: clamp(18px, 2.6vw, 30px);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 10% 12%,
      rgba(0, 122, 255, 0.08),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(120, 80, 255, 0.08),
      transparent 30%
    ),
    linear-gradient(180deg, #f8fbff 0%, #f3f8fc 100%);
}

.apartment-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid rgba(15, 45, 76, 0.1);
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.9)
  );
  box-shadow: 0 24px 70px rgba(9, 34, 66, 0.1);
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}

.apartment-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--card-accent, var(--primary));
}

.apartment-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 34px 90px rgba(9, 34, 66, 0.16);
}

.apartment-card--blue {
  --card-accent: #1b7cff;
  --card-soft: rgba(27, 124, 255, 0.12);
  --card-text: #1b7cff;
}
.apartment-card--teal {
  --card-accent: #26bfc3;
  --card-soft: rgba(38, 191, 195, 0.13);
  --card-text: #1b9da1;
}
.apartment-card--purple {
  --card-accent: #7c4dff;
  --card-soft: rgba(124, 77, 255, 0.13);
  --card-text: #7047e8;
}

.apartment-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.apartment-card__icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: var(--card-soft);
  color: var(--card-text);
  font-size: 30px;
}

.apartment-card h4 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.05;
}

.unit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--badge-bg, rgba(0, 92, 168, 0.1));
  color: var(--badge-color, var(--primary));
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.unit-badge::before {
  content: "⌂";
  font-size: 12px;
}
.unit-badge--blue {
  --badge-bg: rgba(27, 124, 255, 0.12);
  --badge-color: #1b7cff;
}
.unit-badge--teal {
  --badge-bg: rgba(38, 191, 195, 0.13);
  --badge-color: #1b9da1;
}
.unit-badge--purple {
  --badge-bg: rgba(124, 77, 255, 0.13);
  --badge-color: #7047e8;
}
.unit-badge--gold {
  --badge-bg: rgba(230, 158, 22, 0.13);
  --badge-color: #c88600;
}
.unit-badge--gold::before {
  content: "▦";
}
.unit-badge--block {
  margin: 20px 0 10px;
}

.unit-group {
  display: grid;
  gap: 12px;
}

.unit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid rgba(15, 45, 76, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.unit-row span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 850;
}

.unit-row span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--card-accent, var(--primary));
  box-shadow: 0 0 0 4px var(--card-soft, rgba(0, 92, 168, 0.1));
}

.unit-row strong {
  flex: 0 0 auto;
  color: #2d435b;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

/* Synopsis split */
.project-synopsis-section {
  padding: 0;
  background: var(--white);
}

.synopsis-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(40%, 1fr);
  min-height: 760px;
  background: var(--white);
}

.synopsis-split__content {
  display: flex;
  align-items: center;
  min-width: 0;
  background: #f3f1ee;
}

.synopsis-split__inner {
  width: min(640px, calc(100% - 88px));
  margin-left: auto;
  margin-right: clamp(36px, 4vw, 78px);
  padding: clamp(56px, 7vw, 94px) 0;
}

.synopsis-heading {
  margin: 0 0 34px;
  text-align: left;
}

.synopsis-heading h2 {
  margin: 0;
  color: #8c6b4f;
  font-size: clamp(34px, 4vw, 34px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.overview-table {
  display: grid;
  gap: 18px;
}

.overview-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(12, 42, 74, 0.08);
}

.overview-row:last-child {
  border-bottom: 0;
}

.overview-row span,
.overview-row strong {
  font-size: 15px;
  line-height: 1.6;
}

.overview-row span {
  color: #222;
  font-weight: 500;
}

.overview-row strong {
  color: #343434;
  font-weight: 400;
}

.synopsis-split__media {
  min-height: 760px;
  overflow: hidden;
}

.synopsis-split__media img {
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: cover;
}

.gallery-section {
  background: var(--white);
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-grid img {
  height: 330px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 20px 54px rgba(4, 40, 79, 0.12);
  transition:
    transform var(--ease),
    box-shadow var(--ease);
}

.gallery-grid img:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 24px 64px rgba(4, 40, 79, 0.16);
}

/* Footer / floating tools */
.site-footer {
  background: var(--primary-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.7fr) minmax(
      180px,
      0.7fr
    );
  gap: 36px;
  padding: 54px 0;
}

.footer-grid img {
  width: 170px;
  margin-bottom: 18px;
  filter: brightness(1.05);
}

.footer-grid p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.footer-grid h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-bottom {
  padding: 18px var(--page-gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 14px;
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  right: 22px;
  z-index: 900;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 18px 44px rgba(3, 18, 35, 0.22);
}

.floating-whatsapp {
  bottom: 88px;
  background: #20b15a;
  font-size: 22px;
}

.back-to-top {
  bottom: 24px;
  background: var(--primary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--ease),
    visibility var(--ease),
    transform var(--ease);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 5001;
  width: min(520px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--primary-dark);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition:
    opacity var(--ease),
    visibility var(--ease),
    transform var(--ease);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--ease),
    visibility var(--ease);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 8, 16, 0.84);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 94vw);
  display: grid;
  justify-items: center;
  gap: 12px;
}

.lightbox__dialog img {
  width: auto;
  max-width: 100%;
  max-height: 82svh;
  object-fit: contain;
  border-radius: 22px;
  background: var(--dark);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.lightbox__dialog p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-weight: 750;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-dark);
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
}

.lightbox__close {
  top: -18px;
  right: -18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 32px;
}

.lightbox__nav {
  top: 50%;
  width: 50px;
  height: 62px;
  border-radius: 999px;
  transform: translateY(-50%);
  font-size: 42px;
}

.lightbox__nav--prev {
  left: -70px;
}
.lightbox__nav--next {
  right: -70px;
}

/* Animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

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

/* Responsive */
@media (max-width: 1280px) {
  .project-grid,
  .feature-list,
  .ventures-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  :root {
    --page-gutter: clamp(16px, 3vw, 32px);
  }

  .project-grid,
  .values-grid,
  .feature-list,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .booking-copy {
    position: static;
  }

  .apartment-grid--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apartment-card {
    min-height: auto;
  }

  .synopsis-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .synopsis-split__content {
    order: 2;
  }

  .synopsis-split__media {
    order: 1;
    min-height: 520px;
  }

  .synopsis-split__media img {
    min-height: 520px;
  }

  .synopsis-split__inner {
    width: min(100%, calc(100% - 64px));
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
    --page-gutter: 14px;
  }

  .container,
  .header-inner,
  .project-showcase .section-heading,
  .project-showcase .filter-tabs {
    width: calc(100% - 28px);
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .project-main h2,
  .booking-copy h2,
  .about-copy h2,
  .founder-card h2 {
    font-size: clamp(28px, 9vw, 42px);
    letter-spacing: -0.04em;
  }

  .header-inner {
    height: var(--header-h);
  }

  .brand img {
    width: 128px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .main-nav {
    width: min(360px, 100vw);
    padding: 18px 16px 28px;
  }

  .drawer-close {
    width: 40px;
    height: 40px;
    font-size: 27px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    align-items: end;
    padding: calc(var(--header-h) + 18px) 14px
      calc(18px + env(safe-area-inset-bottom));
  }

  .video-section video {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(2, 9, 18, 0.08) 0%,
      rgba(2, 9, 18, 0.22) 42%,
      rgba(2, 9, 18, 0.86) 100%
    );
  }

  .hero-panel {
    width: min(100%, 420px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
  }

  .hero-feature {
    min-height: 92px;
    border-radius: 14px;
  }

  .hero-feature span {
    font-size: 24px;
  }

  .hero-feature strong {
    font-size: 13px;
  }

  .project-grid,
  .values-grid,
  .feature-list,
  .gallery-grid,
  .ventures-grid,
  .apartment-grid--premium,
  .project-gallery--top,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    padding-inline: 14px;
    gap: 14px;
  }

  .project-card,
  .project-card img {
    min-height: 440px;
  }

  .story-section {
    min-height: auto;
  }

  #map {
    min-height: 420px;
    border-radius: 22px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .inner-hero {
    min-height: 56vh;
    min-height: 56svh;
  }

  .inner-hero__content {
    padding: calc(var(--header-h) + 30px) 0 44px;
  }

  .inner-hero h1 {
    font-size: clamp(38px, 14vw, 58px);
  }

  .about-image img {
    min-height: 320px;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .project-detail__hero {
    min-height: 82vh;
    min-height: 82svh;
    background-position: center top;
  }

  .project-detail__hero-content {
    padding: calc(var(--header-h) + 36px) 0 34px;
  }

  .project-detail__hero h1 {
    font-size: clamp(38px, 14vw, 58px);
    line-height: 0.98;
  }

  .project-detail__hero p {
    font-size: 15px;
  }

  .project-gallery--top img,
  .gallery-grid img {
    height: 260px;
    min-height: 260px;
    border-radius: 18px;
  }

  .feature-list li {
    min-height: 64px;
  }

  .feature-list li span {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .apartment-grid--premium {
    padding: 14px;
    border-radius: 22px;
  }

  .apartment-card {
    padding: 20px;
    border-radius: 20px;
  }

  .apartment-card__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .unit-row {
    min-height: 44px;
    padding: 12px;
  }

  .unit-row span,
  .unit-row strong {
    font-size: 13px;
  }

  .synopsis-split__media,
  .synopsis-split__media img {
    min-height: 320px;
  }

  .synopsis-split__inner {
    width: calc(100% - 32px);
    padding: 38px 0 44px;
  }

  .overview-table {
    gap: 14px;
  }

  .overview-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-bottom: 14px;
  }

  .overview-row span,
  .overview-row strong {
    font-size: 14px;
  }

  .booking-form {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .floating-whatsapp,
  .back-to-top {
    right: 14px;
    width: 46px;
    height: 46px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox__dialog img {
    max-height: 76svh;
    border-radius: 16px;
  }

  .lightbox__close {
    top: 8px;
    right: 8px;
  }

  .lightbox__nav {
    top: auto;
    bottom: -62px;
    width: 46px;
    height: 46px;
    font-size: 32px;
  }

  .lightbox__nav--prev {
    left: calc(50% - 58px);
  }

  .lightbox__nav--next {
    right: calc(50% - 58px);
  }
}

@media (max-width: 390px) {
  .hero-panel {
    gap: 8px;
    padding: 8px;
  }

  .hero-feature {
    min-height: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Blog / Insights */
.blog-preview-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(19, 182, 237, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 30px);
}

.blog-card {
  overflow: hidden;
  border: 1px solid rgba(12, 42, 74, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 64px rgba(7, 28, 53, 0.09);
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}

.blog-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 92, 168, 0.22);
  box-shadow: 0 34px 84px rgba(7, 28, 53, 0.14);
}

.blog-card__media {
  position: relative;
  display: block;
  min-height: 270px;
  overflow: hidden;
}

.blog-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 15, 30, 0.04),
    rgba(4, 15, 30, 0.34)
  );
}

.blog-card__media img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.06);
}

.blog-card__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card__body {
  padding: clamp(22px, 2.5vw, 30px);
}

.blog-meta,
.blog-article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-article__meta {
  border-top: 1px solid #ddd;
  padding: 5px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.blog-meta span:not(:last-child)::after,
.blog-article__meta span:not(:last-child)::after {
  content: "•";
  margin-left: 10px;
  color: rgba(0, 92, 168, 0.35);
}

.blog-card h3 {
  margin: 12px 0 12px;
  color: var(--primary-dark);
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.blog-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.72;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 950;
}

.blog-read-more span {
  transition: transform var(--ease);
}

.blog-read-more:hover span {
  transform: translateX(4px);
}

.blog-section-action {
  margin-top: clamp(30px, 4vw, 48px);
  text-align: center;
}

.blog-hero,
.blog-detail-hero {
  background-position: center;
}

.blog-listing-section {
  background: linear-gradient(180deg, #ffffff, #f6fbff);
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.blog-article {
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid rgba(12, 42, 74, 0.1);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 24px 72px rgba(7, 28, 53, 0.08);
}

.blog-article p {
  margin: 0 0 20px;
  color: #405366;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
}

.blog-article h2 {
  margin: clamp(30px, 4vw, 46px) 0 14px;
  color: var(--primary-dark);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.blog-article ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
}

.blog-article li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border: 1px solid rgba(12, 42, 74, 0.08);
  border-radius: 16px;
  background: var(--light);
  color: #405366;
  font-weight: 750;
}

.blog-article li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 92, 168, 0.12);
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
}

.blog-article__cta {
  margin-top: clamp(34px, 5vw, 58px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 92, 168, 0.95), rgba(5, 44, 84, 0.96)),
    url("../images/sky-garden-1.jpg") center/cover;
  color: var(--white);
}

.blog-article__cta h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
}

.blog-article__cta p {
  color: rgba(255, 255, 255, 0.82);
}

.blog-article__cta .btn-primary {
  background: var(--accent);
  color: #111;
  box-shadow: none;
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 22px;
}

.blog-sidebar__box {
  padding: 24px;
  border: 1px solid rgba(12, 42, 74, 0.1);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 18px 58px rgba(7, 28, 53, 0.08);
}

.blog-sidebar__box h3 {
  margin: 0 0 18px;
  color: var(--primary-dark);
  font-size: 22px;
}

.latest-post {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(12, 42, 74, 0.08);
}

.latest-post:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.latest-post img {
  grid-row: span 2;
  width: 86px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
}

.latest-post span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.latest-post strong {
  color: var(--primary-dark);
  font-size: 14px;
  line-height: 1.35;
}

.blog-sidebar__contact p {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1120px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    border-radius: 22px;
  }

  .blog-card__media,
  .blog-card__media img {
    min-height: 230px;
    height: 230px;
  }

  .blog-detail-section {
    padding-top: 54px;
  }

  .blog-article {
    padding: 22px;
    border-radius: 24px;
  }

  .latest-post {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .latest-post img {
    width: 72px;
    height: 66px;
  }
}

/* ===== Career Page ===== */
.career-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f8f5ee;
}

.career-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.92) 38%,
      rgba(255, 255, 255, 0.45) 58%,
      rgba(255, 255, 255, 0.08) 100%
    ),
    radial-gradient(
      circle at 18% 22%,
      rgba(180, 125, 48, 0.16),
      transparent 26%
    );
  z-index: 0;
}

.career-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(112px, 12vw, 150px) 0 clamp(56px, 7vw, 92px);
}

.career-hero__content {
  max-width: 610px;
}

.career-hero h1 {
  margin: 8px 0 18px;
  color: var(--primary-dark);
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.career-hero h1 span {
  color: #b47d30;
}

.career-hero h2 {
  margin: 0 0 22px;
  color: #1f2c3f;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.career-hero p {
  max-width: 510px;
  margin: 0 0 28px;
  color: #596574;
  font-size: 17px;
  line-height: 1.8;
}

.career-hero__btn {
  gap: 16px;
  min-width: 230px;
  background: linear-gradient(135deg, #b47d30, #d39a42);
  box-shadow: 0 18px 42px rgba(180, 125, 48, 0.24);
}

.career-hero__visual {
  position: relative;
  min-height: 560px;
  border-radius: 0 0 0 90px;
  overflow: hidden;
  box-shadow: -22px 34px 90px rgba(8, 24, 44, 0.14);
}

.career-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.48),
    transparent 38%
  );
  z-index: 1;
}

.career-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.career-why,
.career-openings,
.career-life {
  background: #ffffff;
}

.career-why {
  padding-top: 0 !important;
}

.career-why__panel {
  position: relative;
  z-index: 2;
  margin-top: -52px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(15, 45, 76, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 90px rgba(12, 30, 54, 0.1);
  backdrop-filter: blur(12px);
}

.career-section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.career-section-heading h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.career-benefits {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.career-benefits article {
  min-height: 190px;
  padding: 22px 20px;
  text-align: center;
  border-right: 1px solid rgba(15, 45, 76, 0.1);
}

.career-benefits article:last-child {
  border-right: 0;
}

.career-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: #b47d30;
}

.career-icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.career-benefits h3 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.25;
}

.career-benefits p {
  max-width: 175px;
  margin: 0 auto;
  color: #647387;
  font-size: 14px;
  line-height: 1.7;
}

.career-jobs {
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(15, 45, 76, 0.1);
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 70px rgba(12, 30, 54, 0.08);
}

.career-job {
  display: grid;
  grid-template-columns: 52px minmax(220px, 1.4fr) minmax(120px, 0.7fr) minmax(
      120px,
      0.7fr
    ) minmax(130px, auto);
  gap: 18px;
  align-items: center;
  padding: 19px 34px;
  border-bottom: 1px solid rgba(15, 45, 76, 0.08);
  transition:
    background var(--ease),
    transform var(--ease);
}

.career-job:last-child {
  border-bottom: 0;
}

.career-job:hover {
  background: #fbf7ef;
}

.career-job__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(180, 125, 48, 0.1);
  color: #b47d30;
}

.career-job h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 18px;
}

.career-job p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #4d5b6f;
  font-size: 14px;
}

.career-job a {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #b47d30;
  font-size: 15px;
  font-weight: 900;
}

.career-openings__action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.career-openings__action .btn-secondary {
  border-color: #b47d30;
  color: #b47d30;
  min-width: 220px;
}

.career-openings__action .btn-secondary:hover {
  background: #b47d30;
  color: #fff;
}

.career-resume {
  padding: clamp(38px, 5vw, 72px) 0;
  background: #fff;
}

.career-resume__panel {
  display: grid;
  grid-template-columns: 92px minmax(260px, 0.8fr) minmax(360px, 1.1fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 12% 50%,
      rgba(180, 125, 48, 0.1),
      transparent 28%
    ),
    linear-gradient(135deg, #fbf7ef, #ffffff);
  border: 1px solid rgba(180, 125, 48, 0.18);
  box-shadow: 0 22px 76px rgba(12, 30, 54, 0.08);
}

.career-resume__icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(180, 125, 48, 0.1);
  color: #b47d30;
  font-size: 38px;
}

.career-resume h2 {
  margin: 6px 0 10px;
  color: var(--primary-dark);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.career-resume p {
  margin: 0;
  color: #667386;
  line-height: 1.8;
}

.career-resume__form {
  display: grid;
  gap: 14px;
}

.career-resume__form .form-row {
  margin: 0;
}

.career-resume__form input[type="file"] {
  padding: 12px;
  background: #fff;
}

.career-life__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}

.career-life__copy h2 {
  margin: 8px 0 16px;
  color: var(--primary-dark);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.career-life__copy p {
  color: #596574;
  line-height: 1.8;
}

.career-life__copy a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: #b47d30;
  font-weight: 900;
}

.career-life__images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.career-life__images img {
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(12, 30, 54, 0.12);
}

.career-contact {
  padding: 32px 0;
  background: #fbfbfb;
  border-top: 1px solid rgba(15, 45, 76, 0.08);
}

.career-contact__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.career-contact article {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 12px 26px;
  border-right: 1px solid rgba(15, 45, 76, 0.1);
}

.career-contact article:last-child {
  border-right: 0;
}

.career-contact article > span {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(180, 125, 48, 0.1);
  color: #b47d30;
  font-size: 21px;
}

.career-contact strong,
.career-contact a,
.career-contact p {
  display: block;
  margin: 0;
}

.career-contact strong {
  color: var(--primary-dark);
  font-size: 15px;
}

.career-contact a,
.career-contact p {
  margin-top: 4px;
  color: #4d5b6f;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .career-hero__inner {
    grid-template-columns: 1fr;
  }

  .career-hero__content {
    max-width: 760px;
  }

  .career-hero__visual {
    min-height: 420px;
    border-radius: 30px;
  }

  .career-hero__visual img {
    min-height: 420px;
  }

  .career-benefits,
  .career-contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-benefits article:nth-child(2n),
  .career-contact article:nth-child(2n) {
    border-right: 0;
  }

  .career-benefits article {
    border-bottom: 1px solid rgba(15, 45, 76, 0.1);
  }

  .career-resume__panel {
    grid-template-columns: 78px 1fr;
  }

  .career-resume__form {
    grid-column: 1 / -1;
  }

  .career-life__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .career-hero {
    min-height: auto;
  }

  .career-hero__inner {
    padding-top: 96px;
    padding-bottom: 40px;
    gap: 26px;
  }

  .career-hero__bg {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.88) 58%,
        rgba(255, 255, 255, 0.6) 100%
      ),
      radial-gradient(
        circle at 10% 8%,
        rgba(180, 125, 48, 0.15),
        transparent 28%
      );
  }

  .career-hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .career-hero h2 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .career-hero p {
    font-size: 15px;
  }

  .career-hero__visual {
    min-height: 280px;
    border-radius: 22px;
  }

  .career-hero__visual img {
    min-height: 280px;
  }

  .career-why__panel {
    margin-top: 0;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .career-benefits,
  .career-contact__grid,
  .career-life__images {
    grid-template-columns: 1fr;
  }

  .career-benefits article,
  .career-benefits article:nth-child(2n),
  .career-contact article,
  .career-contact article:nth-child(2n) {
    border-right: 0;
  }

  .career-job {
    grid-template-columns: 42px 1fr;
    gap: 10px 14px;
    padding: 18px;
  }

  .career-job h3 {
    font-size: 16px;
  }

  .career-job p,
  .career-job a {
    grid-column: 2;
    justify-self: start;
  }

  .career-resume__panel {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .career-resume__icon {
    width: 68px;
    height: 68px;
    font-size: 30px;
  }

  .career-life__images img {
    height: 220px;
  }

  .career-contact article {
    border-bottom: 1px solid rgba(15, 45, 76, 0.1);
  }

  .career-contact article:last-child {
    border-bottom: 0;
  }
}
.social-link a {
  display: inline-block;
}
