/* ==========================================================================
   Andrea Real Estate — Base Styles
   Placeholder theme inspired by common Florida brokerage sites:
   clean white/navy palette, large hero photo, card-based listings.
   ========================================================================== */

:root {
  --color-navy: #14213d;
  --color-navy-light: #1f2f52;
  --color-navy-deep: #0b1226;
  --color-blue: #2f4f73;
  --color-blue-bright: #4a6f96;
  --color-blue-deep: #1d3550;
  --color-blue-glow: rgba(74, 111, 150, 0.45);
  --color-sky: #b7c9dd;
  --accent: #2f4f73;
  --color-white: #ffffff;
  --color-offwhite: #efece4;
  --color-gray: #6b7280;
  --color-border: #e5e2da;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-navy);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Social icons ---------- */

.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icons a {
  display: inline-flex;
  color: var(--color-gray);
  transition: color 0.15s ease;
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icons a:hover {
  color: var(--accent);
}

.social-icons.compact svg {
  width: 17px;
  height: 17px;
}

.footer-grid .social-icons a {
  color: rgba(255,255,255,0.75);
}

.social-icons.on-light a {
  color: var(--color-navy);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.15s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--color-navy);
  color: var(--color-white) !important;
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: var(--color-navy-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Dark header */

.site-header {
  background: rgba(11, 18, 38, 0.97);
  border-bottom: 1px solid rgba(183, 201, 221, 0.4);
  backdrop-filter: blur(8px);
}

.logo {
  color: var(--color-white);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent);
}

.site-header .social-icons a {
  color: rgba(255, 255, 255, 0.65);
}

.site-header .social-icons a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--color-navy) !important;
}

.nav-cta:hover {
  background: #d9b45f;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 30%, var(--color-blue-glow), transparent 60%),
    radial-gradient(ellipse at 10% 100%, rgba(183, 201, 221, 0.14), transparent 50%),
    linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 50%, var(--color-blue) 100%);
  color: var(--color-white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 400px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px -18px 18px 18px;
  border: 2px solid rgba(183, 201, 221, 0.55);
  border-radius: 214px 214px 12px 12px;
  z-index: 0;
}

.hero-portrait {
  position: relative;
  z-index: 1;
  border-radius: 200px 200px 10px 10px;
  border: 3px solid var(--accent);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-navy-light);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  left: -28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fbfaf7;
  color: var(--color-navy);
  padding: 10px 16px 10px 10px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.hero-badge img {
  width: 58px;
  height: auto;
}

.hero-badge span {
  font-size: 0.7rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.hero-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Gold facts strip ---------- */

.facts-strip {
  background: var(--accent);
  color: var(--color-navy);
}

.facts-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-solid {
  background: var(--accent);
  color: var(--color-navy);
  border-color: var(--accent);
}

.btn-outline-navy {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn-outline-navy:hover {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

/* ---------- Section generic ---------- */

section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.section-header h2 {
  font-size: 2.1rem;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--color-gray);
}

.bg-offwhite {
  background: var(--color-offwhite);
}

/* Dark navy sections */

.section-dark {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(183, 201, 221, 0.12), transparent 50%),
    linear-gradient(160deg, var(--color-navy-deep) 0%, var(--color-navy) 60%, var(--color-navy-light) 100%);
}

.section-blue {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(183, 201, 221, 0.25), transparent 55%),
    linear-gradient(160deg, var(--color-blue-deep) 0%, var(--color-blue) 55%, var(--color-blue-bright) 100%);
}

.section-dark,
.section-blue {
  color: var(--color-white);
}

.section-dark .section-header p,
.section-dark .listing-body p,
.section-blue .section-header p,
.section-blue .listing-body p,
.section-blue .about-grid p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.section-dark .listing-card,
.section-blue .listing-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(183, 201, 221, 0.4);
}

.section-dark .listing-price,
.section-dark .listing-body h3,
.section-blue .listing-price,
.section-blue .listing-body h3,
.section-blue .stat-number {
  color: var(--color-white);
}

.section-dark .listing-address,
.section-dark .listing-meta,
.section-blue .listing-address,
.section-blue .listing-meta,
.section-blue .stat-label {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .listing-meta,
.section-blue .listing-meta {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.section-dark .btn-outline-navy,
.section-blue .btn-outline-navy {
  border-color: var(--accent);
  color: var(--color-white);
}

.section-dark .btn-outline-navy:hover,
.section-blue .btn-outline-navy:hover {
  background: var(--accent);
  color: var(--color-navy);
}

.section-blue .about-photo.framed {
  box-shadow: 14px 14px 0 var(--accent);
}

/* Numbered service tiles */

.numbered {
  counter-reset: tile;
}

.numbered .listing-card {
  counter-increment: tile;
  border-top: 3px solid var(--accent);
}

.numbered .listing-card::before {
  content: "0" counter(tile);
  display: block;
  padding: 22px 24px 0;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  background: var(--color-border);
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}

.about-photo.framed {
  max-width: 400px;
  width: calc(100% - 14px);
  border-radius: 8px;
  box-shadow: 14px 14px 0 var(--accent);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-navy);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-gray);
  text-transform: uppercase;
}

/* ---------- Listings grid ---------- */

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.listing-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-white);
}

.listing-photo {
  background: var(--color-border);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.listing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: 2px;
}

.listing-body {
  padding: 20px;
}

.listing-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.listing-address {
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.listing-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-gray);
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

/* ---------- Gallery (Instagram photos) ---------- */

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

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--color-border);
}

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

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(20,33,61,0.85), transparent);
  color: var(--color-white);
  padding: 24px 16px 12px;
  font-size: 0.9rem;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 28px;
}

.testimonial-quote {
  font-style: italic;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.testimonial-name {
  font-weight: bold;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--color-gray);
}

/* ---------- Contact / CTA ---------- */

.cta-band {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(183, 201, 221, 0.3), transparent 60%),
    linear-gradient(135deg, var(--color-blue-deep) 0%, var(--color-blue) 50%, var(--color-blue-bright) 100%);
  color: var(--color-white);
  text-align: center;
}

.cta-band .section-header p {
  color: rgba(255,255,255,0.75);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-item {
  margin-bottom: 24px;
}

.contact-info-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-navy-light);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 24px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  display: block;
  width: 92px;
  height: auto;
  background: #fbfaf7;
  padding: 6px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.footer-grid h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* ---------- Page header (interior pages) ---------- */

.page-header {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 64px 0;
  text-align: center;
}

.page-header p {
  color: rgba(255,255,255,0.7);
}

/* ---------- Brokerage logo ---------- */

.brokerage-logo {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 16px;
}

.brokerage-logo.small {
  width: 110px;
}

/* ---------- Embedded video ---------- */

.video-embed {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.video-embed iframe {
  width: 100%;
  height: 720px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-white);
}

.video-fallback {
  margin-top: 12px;
  font-size: 0.85rem;
}

.video-fallback a {
  color: var(--accent);
}

/* ---------- Featured listing (wide card) ---------- */

.featured-listing {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.1);
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.featured-listing:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(20, 33, 61, 0.16);
}

.featured-photo {
  position: relative;
  min-height: 360px;
  background: var(--color-border);
}

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

.featured-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.featured-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.featured-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.featured-rent {
  margin-top: -4px;
  font-weight: 600;
  color: var(--accent);
}

.featured-address {
  color: var(--color-gray);
}

.featured-meta {
  display: flex;
  gap: 22px;
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-gray);
}

.featured-meta strong {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.featured-body p {
  margin: 4px 0 8px;
  font-size: 0.95rem;
  color: var(--color-gray);
}

.featured-body .btn {
  align-self: flex-start;
}

@media (max-width: 800px) {
  .featured-listing {
    grid-template-columns: 1fr;
  }

  .featured-photo {
    min-height: 240px;
  }

  .featured-body {
    padding: 24px;
  }
}

/* ---------- Clickable listing cards ---------- */

a.listing-card {
  display: block;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

/* ---------- Single listing page ---------- */

.listing-detail {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  align-items: start;
}

.gallery-main {
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-border);
  aspect-ratio: 4 / 3;
}

.gallery-thumbs button.active {
  border-color: var(--accent);
}

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

.feature-list {
  padding-left: 20px;
  line-height: 1.9;
}

.listing-panel {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 28px;
  background: var(--color-white);
  position: sticky;
  top: 96px;
}

.status-pill {
  display: inline-block;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 2px;
}

.panel-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 14px 0 4px;
}

.panel-address {
  color: var(--color-gray);
  margin-bottom: 20px;
}

.panel-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  margin-bottom: 20px;
}

.panel-facts strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.panel-facts span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gray);
}

.panel-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 0 0 24px;
  font-size: 0.9rem;
}

.panel-details dt {
  color: var(--color-gray);
}

.panel-details dd {
  margin: 0;
  text-align: right;
}

.panel-agent {
  margin: 20px 0 0;
  font-size: 0.8rem;
  color: var(--color-gray);
  text-align: center;
}

@media (max-width: 900px) {
  .listing-detail {
    grid-template-columns: 1fr;
  }

  .listing-panel {
    position: static;
  }

  .gallery-main {
    height: 380px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Responsive ---------- */

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

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-visual {
    max-width: 320px;
  }

  .hero-badge {
    left: -8px;
  }

  .facts-strip .container {
    justify-content: center;
    text-align: center;
  }

  .about-photo.framed {
    margin: 0 auto;
  }
}

/* ==========================================================================
   Sleek / minimal refresh — no gold. Accent is royal blue on light areas
   and soft sky blue on dark areas; buttons are white on dark, navy on light.
   ========================================================================== */

.hero,
.section-dark,
.section-blue,
.cta-band,
.page-header,
.site-header,
.site-footer {
  --accent: var(--color-sky);
}

section {
  padding: 84px 0;
}

.section-header h2 {
  font-weight: 600;
}

.section-header h2::after {
  width: 36px;
  height: 2px;
  opacity: 0.8;
}

.section-eyebrow,
.hero-eyebrow,
.featured-eyebrow,
.contact-info-label {
  font-weight: 500;
  letter-spacing: 3.5px;
}

/* Buttons: pill shaped, white on dark, navy on light */

.btn {
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid var(--color-navy);
  color: var(--color-navy);
  letter-spacing: 1.2px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.btn-solid {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-solid:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
}

.btn-outline-navy {
  background: transparent;
  border-color: rgba(20, 33, 61, 0.35);
  color: var(--color-navy);
}

.hero .btn,
.section-dark .btn,
.section-blue .btn,
.cta-band .btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--color-white);
}

.hero .btn:hover,
.section-dark .btn:hover,
.section-blue .btn:hover,
.cta-band .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}

.hero .btn-solid,
.section-dark .btn-solid,
.section-blue .btn-solid,
.cta-band .btn-solid {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy);
}

.hero .btn-solid:hover,
.section-dark .btn-solid:hover,
.section-blue .btn-solid:hover,
.cta-band .btn-solid:hover {
  background: var(--color-sky);
  border-color: var(--color-sky);
  color: var(--color-navy);
}

.nav-cta {
  background: var(--color-white);
  color: var(--color-navy) !important;
  border-radius: 999px;
  padding: 11px 24px;
}

.nav-cta:hover {
  background: var(--color-sky);
}

/* Header */

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero: calm blue glow, thin white frame */

.hero {
  background:
    radial-gradient(ellipse at 85% 20%, var(--color-blue-glow), transparent 60%),
    linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 55%, var(--color-blue-deep) 100%);
}

.hero-portrait {
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-visual::before {
  border: 1px solid rgba(183, 201, 221, 0.4);
}

.hero h1 em {
  color: var(--color-sky);
}

/* Facts strip: quiet white band instead of a gold bar */

.facts-strip {
  background: var(--color-white);
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-border);
}

.facts-strip .container {
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 0.74rem;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Dark / blue sections: flat, no gold glow */

.section-dark {
  background: linear-gradient(160deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
}

.section-blue {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(183, 201, 221, 0.18), transparent 55%),
    linear-gradient(160deg, var(--color-blue-deep) 0%, var(--color-blue) 100%);
}

.section-dark .listing-card,
.section-blue .listing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.listing-card {
  border-radius: 12px;
}

.section-dark .btn-outline-navy,
.section-blue .btn-outline-navy {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--color-white);
}

.section-dark .btn-outline-navy:hover,
.section-blue .btn-outline-navy:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}

.section-blue .about-photo.framed,
.about-photo.framed {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  border-radius: 16px;
}

.numbered .listing-card {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.numbered .listing-card::before {
  font-weight: 400;
  font-size: 2rem;
  opacity: 0.85;
}

.listing-tag {
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(11, 18, 38, 0.82);
  backdrop-filter: blur(4px);
}

.gallery-item,
.featured-listing {
  border-radius: 14px;
}

.status-pill {
  border-radius: 999px;
  background: var(--color-blue);
}

.listing-panel,
.testimonial-card {
  border-radius: 14px;
}

.cta-band {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(183, 201, 221, 0.22), transparent 60%),
    linear-gradient(135deg, var(--color-blue-deep) 0%, var(--color-blue) 100%);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 8px;
}

/* ---------- Language toggle (EN / ES) ---------- */

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 2px;
}

.lang-toggle button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-toggle button:hover {
  color: var(--color-white);
}

.lang-toggle button.active {
  background: var(--color-white);
  color: var(--color-navy);
}

@media (max-width: 600px) {
  .nav-actions {
    gap: 12px;
  }

  .nav-actions .social-icons.compact {
    display: none;
  }
}

/* Keep the header on one line at narrower widths */

.logo,
.nav-links a,
.nav-cta {
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .nav-links {
    gap: 20px;
  }

  .nav-actions {
    gap: 14px;
  }

  .nav-cta {
    padding: 10px 16px;
  }
}

@media (max-width: 1100px) {
  .nav-wrap {
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.6px;
  }

  .nav-actions .social-icons.compact {
    display: none;
  }
}

/* ---------- Mobile menu ---------- */

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-btn span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-btn span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-btn span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 800px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--color-navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links li:last-child {
    border-bottom: 0;
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .nav-actions .nav-cta {
    display: none;
  }

  .nav-wrap {
    padding: 14px 20px;
  }
}

@media (max-width: 600px) {
  .logo {
    font-size: 1.3rem;
  }

  .nav-actions {
    gap: 10px;
  }

  .menu-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .lang-toggle button {
    padding: 5px 9px;
  }
}

/* ---------- Numbers bar ---------- */

.stats-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 32px 16px;
  text-align: center;
  border-left: 1px solid var(--color-border);
}

.stat:first-child {
  border-left: 0;
}

.stat-big {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--color-blue);
}

.stat-cap {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gray);
}

@media (max-width: 600px) {
  .stat {
    padding: 22px 8px;
  }

  .stat-big {
    font-size: 2rem;
  }

  .stat-cap {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }
}

/* ---------- Owner's guide ---------- */

.guide {
  max-width: 820px;
}

.guide-intro {
  font-size: 1.15rem;
  color: var(--color-gray);
  margin: 0 0 40px;
}

.guide-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 32px;
}

.guide-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 66px;
}

.guide-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-steps h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.guide-steps p {
  margin: 0;
  color: var(--color-gray);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 640px;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.9);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-sky);
  font-weight: 700;
}

.guide-note {
  margin-top: 40px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Review form / thank-you ---------- */

.form-narrow {
  max-width: 640px;
  margin: 0 auto;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label,
.field-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating label {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--color-border);
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
  color: var(--color-blue-bright);
}

.rating input:focus-visible + label {
  outline: 2px solid var(--color-blue-bright);
  outline-offset: 2px;
}

.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-gray);
}

.check-row input {
  width: auto;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-gray);
}

.thanks {
  max-width: 560px;
  text-align: center;
}

.thanks p {
  color: var(--color-gray);
  margin-bottom: 28px;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.google-review {
  text-align: center;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.google-review p {
  color: var(--color-gray);
  margin: 0 0 14px;
}

/* ---------- Map ---------- */

.map-embed {
  margin-top: 24px;
}

.map-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: var(--color-border);
}

.map-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-blue);
}

.map-link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(odd) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--color-border);
  }
}

.panel-note {
  margin: -8px 0 20px;
  font-size: 0.9rem;
  color: var(--color-blue);
  font-weight: 500;
}
