:root {
  --bg: #0b1120;
  --panel: #111827;
  --panel-soft: rgba(17, 24, 39, 0.7);
  --ink: #f8fafc;
  --muted: #9ca3af;
  --brand-blue: #38bdf8;
  --brand-green: #34d399;
  --brand-deep: #1d4ed8;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --transition: 180ms ease;
  --max-width: 1152px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(140deg, rgba(8, 47, 73, 0.65), rgba(6, 95, 70, 0.45)), var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0.5rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo span {
  font-size: 1rem;
}

.logo-img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  z-index: 1000;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.4rem;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--ink);
  transition: background var(--transition);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-inline {
  display: none;
}

.desktop-only {
  display: block;
}

.site-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: var(--muted);
  transition: color var(--transition), background var(--transition), border var(--transition);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a.is-active {
  background: rgba(56, 189, 248, 0.12);
  color: var(--ink);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.header-cta {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: #0b1120;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

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

.hero {
  padding: 1rem 0 5rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 3.2vw + 1rem, 3.75rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--brand-blue);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: #0b1120;
  box-shadow: var(--shadow);
}

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

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(56, 189, 248, 0.8);
  color: var(--brand-blue);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.hero-stats dt {
  font-size: 1.8rem;
  font-weight: 700;
}

.hero-stats dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: min(100%, 480px);
  max-height: clamp(260px, 55vh, 420px);
  height: auto;
}

.alt {
  padding: 4.5rem 0;
}

.alt-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    'heading visual'
    'text visual';
}

.alt-grid.reverse-desktop {
  grid-template-areas:
    'visual heading'
    'visual text';
}

.alt-heading {
  grid-area: heading;
}

.alt-text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.alt-visual {
  grid-area: visual;
  display: flex;
  justify-content: center;
}

.alt-visual img {
  width: min(100%, 420px);
  max-height: 360px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.alt-heading h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.list.button-gap {
  margin-bottom: 2rem;
}

.list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}

.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
}

.cta-panel {
  padding: 5rem 0 6rem;
}

.cta-inner {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 3vw + 1rem, 4rem);
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  font-size: 2.5rem;
  margin: 1rem 0;
}

.cta-trust {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2rem 0 3rem;
}

.cta-trust strong {
  font-size: 1.4rem;
  display: block;
  color: var(--ink);
}

.page-hero {
  padding: 6rem 0 3rem;
}

.page-hero-compact {
  padding-top: 1rem;
}

.page-hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.page-hero-grid.align-top {
  align-items: flex-start;
}

.page-hero-grid.align-top h1 {
  margin-top: 0;
}

.page-hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.values {
  padding: 3rem 0 6rem;
}

.values-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
}

.card h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.svc-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 4rem;
}

.svc-grid .card {
  min-height: 200px;
}

.services-visual {
  padding: 3rem 0 2rem;
}

.services-visual-top {
  padding-top: 1rem;
}

.services-visual-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.services-visual-inner h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3rem);
  margin: 0;
  text-align: center;
}

.services-visual-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.services-visual-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--muted);
  max-width: 48rem;
}

.services-visual-text p {
  margin: 0;
}

.services-visual-media img {
  width: min(100%, 520px);
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .services-visual-inner h1 {
    text-align: left;
  }

  .services-visual-body {
    flex-direction: row;
    align-items: flex-start;
  }

  .services-visual-media,
  .services-visual-text {
    flex: 1;
  }

  .services-visual-text {
    max-width: none;
  }
}

.properties-grid {
  padding-bottom: 5rem;
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-card {
  overflow: hidden;
}

.property-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.property-media img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.badge-available {
  background: rgba(52, 211, 153, 0.22);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.5);
}

.badge-let {
  background: rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.badge-viewing {
  background: rgba(56, 189, 248, 0.22);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.5);
}

.contact-form-section {
  padding: 0 0 6rem;
}

.form-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

form {
  background: rgba(15, 23, 42, 0.85);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid rgba(56, 189, 248, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
}

input,
textarea {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.65);
  color: var(--ink);
  font: inherit;
  transition: border var(--transition), background var(--transition);
}

input:focus,
textarea:focus {
  border-color: rgba(56, 189, 248, 0.8);
  background: rgba(15, 23, 42, 0.95);
}

textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-help a {
  color: var(--brand-blue);
}

.site-footer {
  padding: 1.5rem 0;
  background: rgba(8, 11, 22, 0.95);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-inner .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}

.footer-inner nav {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0.25rem 0;
  color: var(--muted);
  scrollbar-width: none;
}

.footer-inner nav::-webkit-scrollbar {
  display: none;
}

.footer-inner nav a {
  font-size: 0.9rem;
  white-space: nowrap;
}

.footer-inner nav a:hover {
  color: var(--brand-blue);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-contact a {
  color: inherit;
}

.footer-contact a:hover {
  color: var(--brand-blue);
}

.footer-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
  width: 100%;
  text-align: center;
}

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

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

  .form-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 17, 32, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    z-index: 998;
  }

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

  .site-nav a {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-inline {
    display: block;
    margin: 1.5rem 0;
  }

  .desktop-only {
    display: none;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .alt-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      'heading'
      'visual'
      'text';
    gap: 2rem;
  }

  .alt-heading,
  .alt-text,
  .alt-visual {
    width: 100%;
  }

  .alt,
  .hero {
    padding-inline: 0;
  }

  .cta-trust {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, 100%);
  }

  .header-inner {
    padding: 1rem 0;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .svc-grid,
  .grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact,
  .footer-note {
    margin: 0;
  }

  .footer-contact {
    flex-direction: column;
    gap: 0.35rem;
  }

  .footer-contact span {
    display: none;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  form {
    grid-template-columns: 1fr;
  }
}
