:root {
  --ink: #17211f;
  --muted: #5b6763;
  --paper: #fbfaf6;
  --mist: #eef4f2;
  --line: #d9e0dc;
  --teal: #007c83;
  --teal-dark: #04565c;
  --coral: #d96845;
  --sand: #f1d9af;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 37, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(217, 224, 220, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 235px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 15px;
}

.nav-links a,
.header-cta,
.button,
.text-link {
  text-decoration: none;
  font-weight: 750;
}

.header-cta {
  color: var(--teal-dark);
  border-bottom: 2px solid var(--coral);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: clamp(620px, 85vh, 780px);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 27, 30, 0.76) 0%, rgba(8, 27, 30, 0.5) 38%, rgba(8, 27, 30, 0.08) 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 86px 0 128px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sand);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(44px, 6.7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-dark);
}

.quick-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: -70px auto 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.quick-panel a {
  display: grid;
  gap: 8px;
  padding: 24px;
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.quick-panel a:last-child {
  border-right: 0;
}

.quick-panel span {
  color: var(--teal);
  font-weight: 850;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quick-panel strong {
  font-size: 18px;
  line-height: 1.25;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.intro p:last-child,
.section-heading p,
.split p,
.lead-magnet p,
.contact-copy > p {
  color: var(--muted);
  font-size: 18px;
  margin: 18px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.section-heading {
  grid-column: 1 / -1;
  max-width: 760px;
  margin-bottom: 10px;
}

.service-grid article,
.guide-list article,
.lead-form,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid article {
  padding: 28px;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 24px;
}

.service-grid p,
.guide-list span,
.seller-list span,
.contact-card span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--coral);
}

.seller-list {
  display: grid;
  gap: 14px;
}

.seller-list div {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: var(--mist);
  border-left: 5px solid var(--teal);
  border-radius: 7px;
}

.guides {
  width: 100%;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background: #eaf2ef;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.guide-list article {
  min-height: 250px;
  padding: 22px;
}

.guide-list p {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.guide-list h3 {
  margin-bottom: 14px;
}

.lead-magnet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lead-magnet div {
  max-width: 740px;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  padding-top: 20px;
}

.contact-card {
  display: grid;
  gap: 5px;
  margin-top: 28px;
  padding: 22px;
}

.contact-card a {
  color: var(--teal-dark);
  font-weight: 750;
  text-decoration: none;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cbd4d0;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.condo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  padding: clamp(82px, 12vw, 132px) clamp(18px, 7vw, 92px) 70px;
  background:
    linear-gradient(90deg, rgba(8, 27, 30, 0.86), rgba(8, 27, 30, 0.58)),
    url("assets/marco-island-hero.png") center / cover;
  color: var(--white);
}

.condo-hero h1 {
  max-width: 860px;
}

.condo-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

.condo-stats {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.condo-stats strong {
  font-size: 62px;
  line-height: 1;
}

.condo-stats span {
  color: rgba(255, 255, 255, 0.82);
}

.condo-stats a {
  color: var(--sand);
  font-weight: 850;
  text-decoration: none;
}

.condo-map-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.condo-map-section iframe {
  width: 100%;
  min-height: 430px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.condo-map-section p,
.directory-section .section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.condo-advice {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.advice-grid article {
  display: grid;
  gap: 9px;
  padding: 22px;
  background: var(--mist);
  border-radius: 8px;
}

.advice-grid span {
  color: var(--muted);
}

.directory-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  margin: 30px 0 18px;
}

.letter-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.letter-filter button {
  min-width: 40px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.letter-filter button.active {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}

.results-note {
  color: var(--muted);
  font-weight: 750;
}

.condo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.condo-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.condo-photo {
  position: relative;
  display: block;
  overflow: hidden;
  margin: -22px -22px 4px;
  aspect-ratio: 16 / 10;
  background: var(--mist);
  border-radius: 8px 8px 0 0;
  text-decoration: none;
}

.condo-photo-link {
  cursor: pointer;
}

.condo-photo-link img {
  transition: transform 180ms ease;
}

.condo-photo-link:hover img {
  transform: scale(1.025);
}

.condo-photo-link:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: -3px;
}

.condo-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-pending {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(4, 86, 92, 0.14), rgba(217, 104, 69, 0.16)),
    var(--mist);
  color: var(--teal-dark);
  font-weight: 850;
}

.condo-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.condo-title p {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal-dark);
  font-weight: 850;
}

.condo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.condo-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f5ead9;
  color: #6e402e;
  font-size: 12px;
  font-weight: 850;
}

.condo-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 14px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.condo-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(217, 224, 220, 0.8);
}

.condo-facts strong {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.condo-facts span {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  text-align: right;
}

.condo-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.condo-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: 7px;
  background: var(--mist);
  color: var(--teal-dark);
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
}

.guide-list h3 a {
  text-decoration: none;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 7vw, 92px);
  background: var(--mist);
}

.profile-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}

.back-link {
  width: fit-content;
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
}

.profile-copy h1 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.profile-copy p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(15px, 1.45vw, 17px);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
}

.profile-photo {
  overflow: hidden;
  min-width: 0;
  min-height: 260px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.86fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: stretch;
  padding-top: 46px;
  padding-bottom: 46px;
}

.profile-overview p {
  color: var(--muted);
  font-size: 15px;
}

.profile-snapshot {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.profile-snapshot h2,
.map-panel h2,
.floorplans-panel h2,
.sales-panel h2,
.profile-guidance h2,
.related-condos h2,
.condo-contact h2 {
  font-size: clamp(24px, 3vw, 34px);
  max-width: 720px;
  line-height: 1.08;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  min-width: 0;
}

.profile-facts div {
  display: grid;
  gap: 3px;
  min-height: 78px;
  padding: 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-facts strong {
  color: var(--teal-dark);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-facts span {
  font-size: 15px;
  font-weight: 750;
}

.compact-listings-button {
  justify-self: start;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}

.floorplans-section {
  padding-top: 0;
  padding-bottom: 24px;
}

.floorplans-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px clamp(16px, 2.2vw, 20px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.floorplans-panel h2 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
}

.floorplan-downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.floorplan-downloads a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}

.floorplan-downloads a:hover {
  border-color: var(--teal-dark);
}

.floorplan-downloads span {
  color: var(--muted);
  font-size: 12px;
}

.compact-floorplans-button {
  justify-self: end;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px;
}

.profile-sales-section {
  padding-top: 28px;
  padding-bottom: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-panel,
.sales-panel {
  min-width: 0;
  padding: clamp(16px, 2.4vw, 22px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-panel iframe {
  width: 100%;
  min-height: 0;
  height: 300px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
}

.sales-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.sales-heading p:last-child {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

.sales-placeholder {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding: 14px;
  background: var(--mist);
  border-radius: 8px;
}

.sales-placeholder p,
.sales-note {
  color: var(--muted);
}

.sales-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
}

.sales-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.sales-table th,
.sales-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.sales-table th {
  color: var(--teal-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-guidance {
  padding-top: 46px;
  padding-bottom: 46px;
}

.profile-guidance .advice-grid {
  margin-top: 20px;
}

.profile-guidance .advice-grid article {
  padding: 16px;
}

.related-condos {
  padding-top: 28px;
  padding-bottom: 46px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.related-grid a {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 14px;
  background: var(--mist);
  border-radius: 8px;
  text-decoration: none;
}

.related-grid span {
  color: var(--muted);
  font-size: 14px;
}

.condo-contact {
  padding-top: 46px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .quick-panel,
  .intro,
  .service-grid,
  .split,
  .guide-list,
  .contact,
  .condo-hero,
  .condo-map-section,
  .advice-grid,
  .directory-tools,
  .condo-list,
  .profile-hero,
  .profile-overview,
  .profile-facts,
  .floorplans-panel,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    min-height: 220px;
  }

  .sales-heading {
    display: grid;
    align-items: start;
  }

  .floorplan-downloads {
    justify-content: flex-start;
  }

  .compact-floorplans-button {
    justify-self: start;
  }

  .quick-panel a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .guide-list article {
    min-height: auto;
  }

  .lead-magnet,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    margin-left: 18px;
    padding-bottom: 118px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(8, 27, 30, 0.84) 0%, rgba(8, 27, 30, 0.62) 58%, rgba(8, 27, 30, 0.25) 100%);
  }

  .button {
    width: 100%;
  }

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

  .profile-hero {
    padding-top: 34px;
  }

  .map-panel iframe {
    height: auto;
    min-height: 260px;
  }
}
