:root {
  --primary: #1f6b63;
  --primary-dark: #154742;
  --accent: #f4a261;
  --bg: #f7f7f7;
  --text: #222222;
  --muted: #555555;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: white;
  line-height: 1.6;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.top-bar {
  background: var(--primary-dark);
  color: white;
  font-size: 0.9rem;
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.3rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-right .btn-top {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #222;
  font-weight: 600;
}

.nav-bar {
  background: white;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo img {
  height: 40px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.9rem;
}

nav a {
  color: var(--muted);
  font-weight: 500;
}

nav a:hover {
  color: var(--primary-dark);
}

/* HERO */
#top {
  background: linear-gradient(135deg, #edf6f9, #ffffff);
  padding: 3rem 1rem 3.5rem;
  border-bottom: 1px solid #eaeaea;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2rem;
  align-items: center;
}

.hero-title {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  font-size: 0.98rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-outline:hover {
  background: var(--primary-dark);
  color: white;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  padding: 0.3rem 0.7rem;
  background: #fff;
  border-radius: 999px;
  border: 1px solid #dde4e5;
}

.hero-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dde4e5;
  background: #dde4e5;
  min-height: 240px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTIONS */
section {
  padding: 1rem 1rem;
}

section:nth-of-type(even) {
  background: var(--bg);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
}

.section-title {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  text-align: left;
}

.section-intro {
  max-width: 650px;
  color: var(--muted);
  margin-bottom: 1.8rem;
  text-align: left;
}

/* UNITS */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.unit-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.2rem;
  border: 1px solid #e1e4e5;
}

.unit-card h3 {
  color: var(--primary-dark);
}

/* FEATURES */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: white;
  border-radius: 10px;
  border: 1px solid #e1e4e5;
  padding: 1rem;
}

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step {
  background: white;
  border-radius: 10px;
  border: 1px solid #e1e4e5;
  padding: 1rem;
}

.step-number {
  background: var(--primary);
  color: white;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

/* PHOTO STRIP */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.photo-box {
  background: #dfe7ea;
  border-radius: 10px;
  border: 1px solid #cfd7da;
  overflow: hidden;
}

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

/* FAQ */
details {
  background: white;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  border: 1px solid #e1e4e5;
  margin-bottom: 0.6rem;
}

/* LOCATION */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 1.75rem;
}

.map-placeholder {
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #cfd7da;
  background: #dfe7ea;
}

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

/* Contact layout + polished form styling */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

/* CONTACT FORM — tighten spacing + bold labels */
.contact-grid form {
  max-width: 430px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;              /* reduced overall spacing */
}

/* Labels directly above fields with no extra air */
.contact-grid label:not(.checkbox-label) {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;         /* bold */
  color: var(--primary-dark);
  margin: 0 0 0.15rem 0;    /* tiny gap before the field */
  padding: 0;
}

/* Inputs + textarea — remove browser margins completely */
.contact-grid input,
.contact-grid textarea {
  width: 100%;
  margin: 0;                /* removes the big vertical white space */
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #ccd3d6;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
}

/* Textarea adjusted */
.contact-grid textarea {
  resize: vertical;
  min-height: 95px;         /* smaller, tighter */
}

/* Center the submit button */
.contact-grid form .btn {
  justify-self: center;
  margin-top: 1rem;
}

/* Clean, inline checkbox layout for SMS opt-in */
/* SMS opt-in checkbox — correct inline layout */
.form-checkbox {
  display: flex;
  align-items: center;
  margin: 0.3rem 0;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;   /* not bold */
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  transform: scale(1.1);
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  transform: scale(1.1);   /* slightly larger, easier to tap */
}

/* PRIVACY PAGE STYLING */
.privacy-page {
  max-width: 800px;              /* narrower, easier reading */
}

/* H1 already uses .section-title, just tighten spacing */
.privacy-page .section-title {
  margin-bottom: 1rem;
}

/* Section-level headings */
.privacy-page h2 {
  font-size: 1.25rem;
  margin: 1.8rem 0 0.6rem;
  color: var(--primary-dark);
}

/* Subheadings */
.privacy-page h3 {
  font-size: 1.05rem;
  margin: 1.1rem 0 0.4rem;
  color: var(--text);
}

.privacy-page ul {
  margin-left: 2rem;
  padding-left: 0;
  list-style-position: outside;
}

/* FAQ section headers */
.faq-group-title {
  font-weight: 700;       /* bold */
  font-size: 1.2rem;      /* slightly larger */
  color: var(--primary-dark);
  margin: 1.2rem 0 0.6rem; /* spacing above and below */
}
/* FOOTER */
footer {
  background: #111;
  color: #eee;
  padding: 1.5rem;
  text-align: center;
}

/* MOBILE FIXES */
@media (max-width: 800px) {
  .hero-inner,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  /* Mobile header/nav layout */
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  nav ul {
    flex-wrap: wrap;
    font-size: 0.9rem;
    gap: 0.3rem 0.8rem; /* smaller gap so it doesn’t get so tall */
  }
}

/* Button tweaks inside cards/steps */
.unit-card .btn,
.step .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.6rem;  /* slightly smaller, neater pill */
  margin-top: 1rem;         /* space above the button */
}

.unit-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Center the buttons in the card/step */
.unit-card .btn,
.step .btn {
  align-self: center;
}

.section-cta {
  margin-top: 1.5rem;
}