:root {
  --ink: #1d2520;
  --muted: #667069;
  --line: #dce4dd;
  --paper: #fbfcf8;
  --soft: #eef4ec;
  --green: #0f5fa8;
  --green-dark: #073e74;
  --blue: #0b67b2;
  --blue-dark: #063763;
  --clay: #ad5d3f;
  --gold: #d6a84f;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(29, 37, 32, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  color: var(--white);
  background: var(--blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 26px rgba(6, 55, 99, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 74px;
  height: 56px;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 8px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav .nav-action {
  color: var(--white);
}

.nav-action {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.welcome-marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.welcome-marquee span {
  display: inline-block;
  min-width: 100%;
  padding: 10px 0;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.12rem;
  animation: marquee-left 14s linear infinite;
}

@keyframes marquee-left {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-carousel,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 20, 0.78), rgba(17, 24, 20, 0.34), rgba(17, 24, 20, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 70px clamp(18px, 6vw, 86px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 620px;
  font-size: 1.12rem;
}

.hero-actions,
.admin-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 72px clamp(18px, 5vw, 72px);
}

.intro-grid,
.split-section,
.contact-layout,
.admin-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
}

.category-section {
  display: block;
  padding-top: 62px;
  padding-bottom: 62px;
}

.category-heading {
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}

.category-heading .eyebrow {
  margin-bottom: 8px;
}

.category-heading h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
}

.category-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 16px;
}

.category-grid {
  max-width: 980px;
  margin: 0 auto;
}

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

.category-grid article,
.service-list article,
.metric-card,
.value-panel,
.form-panel,
.admin-panel,
.login-card,
.contact-details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(29, 37, 32, 0.08);
}

.category-grid article,
.service-list article,
.metric-card,
.value-panel,
.form-panel,
.admin-panel,
.login-card,
.contact-details {
  padding: 22px;
}

.category-grid article {
  min-height: 358px;
  padding: 18px 20px 20px;
  overflow: hidden;
}

.category-grid article img {
  width: 100%;
  height: 96px;
  display: block;
  object-fit: cover;
  margin-bottom: 12px;
}

.category-grid article div {
  padding: 0;
}

.category-grid article h3 {
  margin-bottom: 20px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.category-grid article p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.service-list article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 230px;
  padding: 0;
  overflow: hidden;
}

.service-list article img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.service-list article div {
  padding: 24px 24px 24px 0;
}

.service-list article h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 2.8vw, 2.55rem);
}

.category-grid span {
  color: var(--clay);
  font-weight: 800;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  color: var(--white);
  background: var(--green-dark);
  padding-top: 0;
  padding-bottom: 0;
}

.stats-band div {
  padding: 34px;
  background: rgba(255, 255, 255, 0.06);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.page-hero {
  position: relative;
  min-height: 48vh;
  display: grid;
  align-content: end;
  padding: 80px clamp(18px, 6vw, 86px);
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.page-hero > * {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.services-hero {
  background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80');
}

.about-hero {
  background-image: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1800&q=80');
}

.contact-hero {
  background-image: url('https://images.unsplash.com/photo-1560185007-c5ca9d2c014d?auto=format&fit=crop&w=1800&q=80');
}

.site-footer {
  position: relative;
  padding: 20px clamp(16px, 5vw, 60px) 0;
  color: var(--white);
  background: #0700ff;
}

.footer-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}

.footer-card {
  min-height: 174px;
  padding: 18px 16px;
  text-align: center;
  background: #181818;
  border-radius: 6px;
}

.footer-card h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
  font-style: italic;
}

.footer-card address,
.footer-card p {
  margin: 6px 0;
  color: var(--white);
  font-size: 0.84rem;
  font-style: italic;
  font-weight: 800;
}

.map-frame {
  position: relative;
  overflow: hidden;
  height: 100px;
  border-radius: 5px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  position: absolute;
  top: 8px;
  left: 10px;
  padding: 4px 8px;
  color: #1a73e8;
  background: var(--white);
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 800;
}

.social-links {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-links a {
  padding: 5px 8px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
}

.footer-social-bottom {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  max-width: 1040px;
  margin: 14px auto 0;
}

.footer-social-bottom a {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.78rem;
  font-weight: 900;
}

.mini-calendar {
  overflow: hidden;
  margin: 0 auto;
  max-width: 290px;
  color: #111827;
  background: #f8fafc;
  border-radius: 5px;
}

.calendar-title {
  padding: 8px 10px;
  background: #e8eef5;
  font-size: 1rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-grid span {
  min-height: 24px;
  display: grid;
  place-items: center;
  border-top: 1px solid #d9e1ea;
  border-right: 1px solid #d9e1ea;
  font-size: 0.72rem;
  font-weight: 800;
}

.calendar-days span {
  min-height: 22px;
  color: #344054;
  background: #f1f5f9;
  font-size: 0.66rem;
}

.calendar-grid .today {
  width: 24px;
  height: 24px;
  min-height: 24px;
  margin: auto;
  color: var(--white);
  background: #1a73e8;
  border-radius: 50%;
}

.footer-copy {
  margin: 20px calc(clamp(16px, 5vw, 60px) * -1) 0;
  padding: 11px 16px 14px;
  text-align: center;
  color: var(--white);
  background: #000;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 800;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-panel,
.form-grid {
  display: grid;
  gap: 14px;
}

.alert {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.alert.success {
  color: #16543d;
  background: #e5f5ed;
}

.alert.error {
  color: #842b25;
  background: #fde8e3;
}

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

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #063763, #0b67b2);
}

.login-card {
  width: min(100%, 380px);
  display: grid;
  gap: 13px;
}

.login-card h1 {
  margin-bottom: 4px;
  font-size: clamp(2.2rem, 7vw, 3.25rem);
  line-height: 0.98;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.1rem;
}

.login-logo {
  width: 76px;
  height: 58px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--blue-dark);
}

.forgot-link {
  color: var(--green);
  font-weight: 800;
  text-align: center;
}

.contact-layout {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 0.9fr);
}

.contact-layout .form-panel {
  max-width: 520px;
  justify-self: end;
}

.contact-layout textarea {
  min-height: 96px;
}

.reset-card {
  margin-top: 16px;
}

.form-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
}

.admin-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  color: var(--white);
  background: var(--blue-dark);
}

.admin-brand {
  margin-bottom: 28px;
}

.admin-sidebar nav {
  display: grid;
  gap: 7px;
}

.admin-sidebar nav a {
  padding: 11px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.admin-sidebar nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.admin-main {
  padding: 28px;
}

.admin-title {
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-title h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.admin-title h1.property-title-small {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.admin-grid {
  grid-template-columns: 360px minmax(0, 1fr);
}

.admin-grid.wide-form {
  grid-template-columns: minmax(520px, 0.95fr) minmax(0, 1.05fr);
}

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

.property-form h2,
.property-form .button,
.property-form .uploaded-file {
  grid-column: 1 / -1;
}

.uploaded-file {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.uploaded-file a {
  color: var(--green);
}

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

.two-column-form h2,
.two-column-form .button {
  grid-column: 1 / -1;
}

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

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.metric-card span,
.metric-card strong {
  display: block;
}

.metric-card strong {
  font-size: 2rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

td a {
  color: var(--green);
  font-weight: 800;
}

td a.danger {
  color: var(--clay);
  margin-left: 10px;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.report-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tabs a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.tabs a.active {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

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

  .service-list {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .split-section,
  .contact-layout,
  .admin-grid,
  .admin-grid.wide-form,
  .admin-grid.two {
    grid-template-columns: 1fr;
  }

  .property-form,
  .two-column-form {
    grid-template-columns: 1fr;
  }

  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero {
    min-height: 72vh;
  }

  .category-grid,
  .metric-grid,
  .stats-band {
    grid-template-columns: 1fr;
  }

  .service-list article {
    grid-template-columns: 1fr;
  }

  .service-list article div {
    padding: 20px;
  }

  .service-list article img {
    height: 190px;
    min-height: 190px;
  }

  .footer-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-social-bottom {
    justify-content: center;
  }

  .site-footer {
    flex-direction: column;
  }

  .admin-main {
    padding: 18px;
  }
}

/* Final home showcase and footer polish */
.property-showcase {
  padding: 72px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(11, 103, 178, 0.06), rgba(214, 168, 79, 0.06)),
    var(--paper);
}

.property-showcase .category-heading {
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
}

.property-showcase .category-heading h2 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.property-showcase .category-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.property-showcase .category-grid article {
  min-height: 360px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 95, 168, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(29, 37, 32, 0.11);
}

.property-showcase .category-grid article img {
  width: 100%;
  height: 118px;
  margin: 0 0 14px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.property-showcase .category-grid article div {
  padding: 0 2px;
}

.property-showcase .category-grid article span {
  display: block;
  margin-bottom: 4px;
}

.property-showcase .category-grid article h3 {
  margin-bottom: 18px;
  font-size: 1.12rem;
  line-height: 1.35;
}

.property-showcase .category-grid article p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.site-footer {
  padding: 42px clamp(18px, 5vw, 72px) 0;
  background:
    radial-gradient(circle at top left, rgba(214, 168, 79, 0.25), transparent 34%),
    linear-gradient(135deg, #052b4d, #074f8e 55%, #063763);
}

.footer-cards {
  max-width: 1120px;
  gap: 24px;
}

.footer-card {
  min-height: 220px;
  padding: 24px;
  background: rgba(9, 20, 34, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.footer-card h2 {
  margin-bottom: 18px;
  color: #f7d27d;
  font-size: 1.08rem;
  font-style: normal;
}

.footer-card address {
  color: var(--white);
  font-size: 0.98rem;
  font-style: normal;
  line-height: 1.8;
}

.map-frame {
  height: 140px;
  border-radius: 8px;
}

.mini-calendar {
  max-width: 260px;
}

.footer-social-bottom {
  max-width: 1120px;
  margin-top: 18px;
}

.footer-social-bottom a {
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
}

.footer-copy {
  margin-top: 24px;
  background: rgba(0, 0, 0, 0.72);
}

@media (max-width: 980px) {
  .property-showcase .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .property-showcase .category-grid {
    grid-template-columns: 1fr;
  }

  .property-showcase .category-grid article {
    min-height: auto;
  }
}

/* Final desktop rows for client presentation */
.property-showcase .category-heading {
  max-width: 1440px;
}

.property-showcase .category-heading h2 {
  max-width: none;
  font-size: clamp(2rem, 3vw, 2.85rem);
  white-space: nowrap;
}

.property-showcase .category-grid {
  max-width: 1460px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.property-showcase .category-grid article {
  min-height: 410px;
  padding: 22px;
}

.property-showcase .category-grid article img {
  height: 190px;
  margin-bottom: 18px;
}

.service-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-list article {
  display: block;
  min-height: 450px;
  padding: 0;
}

.service-list article img {
  width: 100%;
  height: 195px;
  min-height: 195px;
  object-fit: cover;
}

.service-list article div {
  padding: 22px;
}

.service-list article h2 {
  font-size: clamp(1.25rem, 1.65vw, 1.9rem);
}

.footer-copy {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .property-showcase .category-heading h2 {
    white-space: normal;
  }
}

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

@media (max-width: 720px) {
  .service-list {
    grid-template-columns: 1fr;
  }
}

.property-showcase .category-heading .eyebrow {
  font-size: 1.12rem;
  letter-spacing: 0;
}
