/* Coastal Revive Property Services — spec preview
   Palette from their GoDaddy theme: orange #e85600, navy #0a003b,
   accent rgb(17,17,17), League Spartan headings. */

:root {
  --orange: #e85600;
  --orange-deep: #c44c00;
  --orange-ink: #7f2b00;
  --navy: #0a003b;
  --navy-2: #14084a;
  --ink: #111111;
  --muted: #5a5a5a;
  --paper: #f7f4ef;
  --paper-2: #efe8dc;
  --line: rgba(10, 0, 59, 0.12);
  --white: #ffffff;
  --max: 1120px;
  --header: 72px;
  --display: "League Spartan", "Avenir Next", "Segoe UI", sans-serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 18px 44px rgba(10, 0, 59, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); }
a:hover { color: var(--orange); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -48px;
  background: var(--navy);
  color: #fff;
  padding: 0.45rem 0.75rem;
  z-index: 100;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #050014;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
}
.brand img {
  height: 52px;
  width: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
}
.brand-text span {
  font-size: 0.72rem;
  color: #c9c3e6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.45rem 0.7rem;
  font: 600 0.8rem/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
#site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
#site-nav a {
  color: #f4f2ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
#site-nav a:hover,
#site-nav a[aria-current="page"] { color: var(--orange); }
#site-nav .btn { color: #fff; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  #site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #050014;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  #site-nav.is-open { display: flex; }
  #site-nav a { padding: 0.7rem 0.2rem; border-top: 1px solid rgba(255,255,255,0.08); }
  .brand-text { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  line-height: 1.2;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  min-height: 34rem;
  display: grid;
  align-items: end;
  background: #0a003b;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,0,59,0.25) 0%, rgba(10,0,59,0.72) 55%, rgba(10,0,59,0.92) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 2.4rem;
}
.eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffc19a;
  margin: 0 0 0.7rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.85rem, 5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}
.lede {
  max-width: 38rem;
  margin: 0 0 1.25rem;
  color: #efe8ff;
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin-top: 1.4rem;
  font-size: 0.92rem;
  color: #d8d2ef;
}
.hero-meta b { color: #fff; display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Sections */
.section { padding: 3.2rem 0; }
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}
.kicker {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 0.45rem;
}
.prose { max-width: 40rem; color: #2b2b2b; }
.prose p { margin: 0 0 0.9rem; }
.band-navy { background: var(--navy); color: #fff; }
.band-navy .kicker { color: #ffb48a; }
.band-navy .prose,
.band-navy p { color: #ddd6f5; }
.band-sand { background: var(--paper-2); }

.split {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1.05fr; gap: 2.4rem; }
  .split.photo-first { grid-template-columns: 1.05fr 1fr; }
}
.split figure { margin: 0; }
.split img {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 32rem;
}
figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.45rem;
}

/* Services */
.service-cols {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 720px) {
  .service-cols { grid-template-columns: 1fr 1fr; }
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: 0 8px 24px rgba(10,0,59,0.04);
}
.service-card h3 {
  font-family: var(--display);
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  background: #fff4ec;
  color: var(--orange-ink);
  border: 1px solid #ffd4b8;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.service-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 46rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
@media (min-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
}
.gallery-grid a,
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%;
  height: 11.5rem;
  object-fit: cover;
  border-radius: 5px;
}
@media (min-width: 720px) {
  .gallery-grid img { height: 14rem; }
  .gallery-grid .span2 { grid-column: span 2; }
  .gallery-grid .span2 img { height: 18rem; }
}
.more-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
}
.more-link:hover { color: var(--orange); }

.work-list { display: grid; gap: 1.6rem; }
.work-item { margin: 0; }
.work-item img {
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
  border-radius: 6px;
  background: #ddd;
}
.work-item figcaption {
  margin-top: 0.5rem;
}

/* Hours / contact */
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0.8rem 0 1.1rem;
}
.hours th, .hours td {
  text-align: left;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.hours th { font-weight: 700; width: 8rem; }
.closed { color: var(--muted); }

.contact-grid {
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 1.15rem 1.2rem;
}
.contact-card h3 { margin: 0 0 0.35rem; font-family: var(--display); }
.contact-card .big {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.35rem 0;
}
.contact-card .big:hover { color: #ffc19a; }
.contact-card a { color: #ffc19a; }

.form {
  display: grid;
  gap: 0.75rem;
  background: #fff;
  color: var(--ink);
  padding: 1.2rem;
  border-radius: 8px;
}
.form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.form input,
.form textarea {
  font: 400 1rem/1.4 var(--sans);
  padding: 0.6rem 0.7rem;
  border: 1px solid #d4cfc4;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}
.form textarea { min-height: 7rem; resize: vertical; }
.form button { justify-self: start; }

/* Footer */
.site-footer {
  background: #050014;
  color: #c9c3e6;
  padding: 1.4rem 0 1.6rem;
  font-size: 0.92rem;
}
.site-footer a { color: #ffc19a; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0.25rem 0; }
.site-footer strong { color: #fff; }
