:root {
  --bg: #eef4f6;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: #10283f;
  --surface-dark-soft: #173a5c;
  --text: #1a2633;
  --muted: #607182;
  --line: rgba(16, 40, 63, 0.12);
  --brand: #12385c;
  --brand-2: #1d6d67;
  --accent: #c79b48;
  --accent-soft: #ecd4a7;
  --success: #3b7f6a;
  --shadow: 0 18px 50px rgba(10, 27, 42, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI Variable", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(88, 154, 166, 0.16), transparent 26%),
    radial-gradient(circle at right center, rgba(29, 109, 103, 0.1), transparent 24%),
    linear-gradient(180deg, #f6fbfc 0%, #eef4f6 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(248, 248, 244, 0.84);
  border-bottom: 1px solid rgba(20, 63, 90, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav > a,
.nav-dropdown > a {
  position: relative;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a.active,
.site-nav a:hover,
.nav-dropdown:hover > a {
  color: var(--brand);
}

.site-nav a.active::after,
.site-nav > a:hover::after,
.nav-dropdown:hover > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.nav-dropdown {
  position: relative;
  padding-bottom: 0.9rem;
  margin-bottom: -0.9rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 0.1rem);
  left: 0;
  min-width: 260px;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  display: none;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 1rem;
}

.dropdown-menu a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  color: var(--text);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(18, 56, 92, 0.06);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: transparent;
  border: 0;
  padding: 0;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--brand);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 5.4rem 0 3.4rem;
  background:
    radial-gradient(circle at 8% 20%, rgba(99, 169, 179, 0.14), transparent 20%),
    radial-gradient(circle at 88% 24%, rgba(29, 109, 103, 0.1), transparent 22%);
  border-bottom: 1px solid rgba(18, 56, 92, 0.08);
}

.page-hero {
  padding: 5rem 0 2.5rem;
}

.hero-grid,
.intro-grid,
.split-contact,
.details-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 460px;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.intro-grid h2,
.details-panel h2,
.cta-row h2,
.content-panel h2,
.contact-panel h2,
.map-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  max-width: 12ch;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 56ch;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand-2);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 28px rgba(18, 56, 92, 0.18);
}

.button-secondary {
  border-color: rgba(18, 56, 92, 0.14);
  background: rgba(255, 255, 255, 0.76);
}

.button-light {
  color: var(--surface-dark);
  background: #fff;
}

.text-link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  font-weight: 700;
  color: var(--brand);
}

.text-link::after {
  content: "->";
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-points li + li {
  margin-top: 0.4rem;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  padding-inline: 0.2rem;
}

.hero-slider .slick-list {
  overflow: hidden;
}

.hero-slider .slick-track {
  display: flex;
}

.hero-slider .slick-slide {
  height: auto;
}

.hero-slider .slick-slide > div,
.hero-slide {
  height: 100%;
}

.hero-slider .slick-dots {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-slider .slick-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 56, 92, 0.18);
  font-size: 0;
}

.hero-slider .slick-dots .slick-active button {
  width: 30px;
  background: linear-gradient(90deg, var(--accent), var(--brand-2));
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(18, 56, 92, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand);
  font-size: 1.4rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.hero-arrow-prev {
  left: -0.25rem;
}

.hero-arrow-next {
  right: -0.25rem;
}

.hero-slider:hover .hero-arrow,
.hero-slider:focus-within .hero-arrow {
  opacity: 1;
  visibility: visible;
}

.hero-slider:hover .hero-arrow-prev,
.hero-slider:focus-within .hero-arrow-prev {
  transform: translateY(-50%) translateX(0.2rem);
}

.hero-slider:hover .hero-arrow-next,
.hero-slider:focus-within .hero-arrow-next {
  transform: translateY(-50%) translateX(-0.2rem);
}

.hero-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-media-grid.single-media {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.hero-media,
.hero-badge-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(18, 56, 92, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

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

.hero-media-tall {
  grid-row: span 2;
}

.hero-media-tall img {
  min-height: 340px;
}

.hero-media-wide {
  grid-column: span 2;
}

.hero-media-wide img {
  min-height: 200px;
}

.hero-media-single,
.hero-media-single img {
  height: 360px;
}

.hero-badge-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem;
}

.hero-badge-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  color: var(--brand);
}

.hero-badge-card span {
  margin-top: 0.45rem;
  color: var(--muted);
}

.section {
  padding: 4.5rem 0;
}

.section-plain {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.72));
}

.section-tint {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(173, 214, 220, 0.14));
}

.section-dark {
  color: #eff6fd;
  background:
    radial-gradient(circle at top right, rgba(199, 155, 72, 0.2), transparent 22%),
    linear-gradient(135deg, #0d2236, #173a5c 65%, #21517d);
}

.section-soft {
  background:
    radial-gradient(circle at left top, rgba(99, 169, 179, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(246, 251, 252, 0.92), rgba(233, 242, 245, 0.92));
}

.section-warm {
  background:
    radial-gradient(circle at right top, rgba(199, 155, 72, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.94), rgba(247, 241, 228, 0.92));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.light .eyebrow,
.section-heading.light h2 {
  color: #fff;
}

.card-grid,
.project-grid,
.content-grid,
.gallery-grid {
  display: grid;
  gap: 1.4rem;
}

.card-grid.three,
.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.feature-card,
.content-panel,
.contact-panel,
.map-panel,
.details-panel,
.contact-form,
.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-card,
.feature-card,
.content-panel,
.contact-panel,
.map-panel,
.details-panel {
  padding: 1.6rem;
}

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

.project-card {
  overflow: hidden;
}

.project-body {
  padding: 1.6rem;
}

.project-visual,
.visual-block,
.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.project-visual::before,
.visual-block::before,
.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(8, 20, 32, 0), rgba(8, 20, 32, 0.3));
}

.project-visual-one,
.gallery-one,
.gallery-four {
  background:
    linear-gradient(120deg, rgba(190, 150, 82, 0.55), rgba(18, 56, 92, 0.8)),
    linear-gradient(180deg, #d5b57a, #204868);
}

.project-visual-two,
.gallery-two,
.gallery-five {
  background:
    linear-gradient(140deg, rgba(16, 40, 63, 0.82), rgba(72, 120, 158, 0.56)),
    linear-gradient(180deg, #204868, #9fb9cd);
}

.gallery-three,
.gallery-six {
  background:
    linear-gradient(135deg, rgba(236, 212, 167, 0.72), rgba(33, 81, 125, 0.72)),
    linear-gradient(180deg, #f3ead4, #3f6b91);
}

.split-contact,
.details-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1.2rem;
}

.contact-form {
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--brand);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(18, 56, 92, 0.12);
  background: #fff;
  font: inherit;
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
}

.contact-facts p,
.detail-list p {
  margin: 0 0 0.8rem;
}

.map-panel iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 18px;
  margin-top: 0.75rem;
}

.cta-band {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(190, 150, 82, 0.2), transparent),
    linear-gradient(135deg, #174855, #12374d);
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.gallery-card {
  min-height: 280px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.gallery-card span {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  z-index: 1;
  color: #fff;
  font-weight: 700;
}

.site-footer {
  color: #dce8f2;
  background: #0c1f31;
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.6rem;
}

.site-footer a {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 960px) {
  .hero-grid,
  .split-contact,
  .details-grid,
  .project-grid,
  .card-grid.three,
  .content-grid,
  .gallery-grid,
  .footer-grid,
  .cta-row,
  .hero-media-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0.5rem 0 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .dropdown-menu a {
    padding-left: 0;
  }

  .hero-media-tall,
  .hero-media-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .hero-media-single,
  .hero-media-single img,
  .hero-media img {
    height: 300px;
    min-height: 300px;
  }

  .hero-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 4.8rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .section,
  .page-hero {
    padding: 3.5rem 0;
  }
}
