/* NC Trusted Realty — site styles (matches Hostinger Styles setup) */
/* See preview/styles.css — kept in sync */

:root {
  --navy: #0f2a44;
  --navy-2: #16385a;
  --gold: #c8a35b;
  --gold-2: #b8924a;
  --forest: #2f5d50;
  --ink: #1f2937;
  --ink-2: #4b5563;
  --paper: #faf8f4;
  --paper-2: #f1ede4;
  --line: #e6e1d6;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 42, 68, 0.06);
  --shadow: 0 12px 36px rgba(15, 42, 68, 0.10);
  --container: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--ink-2); }
.muted--light { color: rgba(255, 255, 255, 0.78); }

.ref-banner {
  background: #e8f4ec;
  color: #1a4d32;
  text-align: center;
  font-size: 13px;
  padding: 8px 12px;
  border-bottom: 1px solid #b8dcc4;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
.h-light { color: #fff; }
em { color: var(--gold); font-style: italic; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-2);
  margin-bottom: 14px;
}
.eyebrow a { color: inherit; }
.eyebrow a:hover { text-decoration: underline; }

p { margin: 0 0 1em; }
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all .2s ease;
}
.btn--sm { padding: 9px 14px; font-size: 0.85rem; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); color: #fff; }
.btn--block { width: 100%; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex; align-items: center; gap: 16px; padding-block: 14px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--navy); color: var(--gold);
  font-weight: 700; font-family: 'Playfair Display', serif;
}
.brand__name strong {
  font-family: 'Playfair Display', serif; color: var(--navy);
  display: block; font-weight: 600;
}
.brand__name small { color: var(--ink-2); font-size: 0.78rem; }
.nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.nav a { font-size: 0.93rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom: 2px solid var(--gold); }

.topbar__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.phone-short { display: none; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 0;
  border-radius: 10px; border: 1px solid var(--navy);
  background: transparent; color: var(--navy); cursor: pointer;
  place-items: center; align-content: center; justify-items: center;
  gap: 5px; flex-shrink: 0;
}
.nav-toggle__bar {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.page-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.page-hero .lede { margin-bottom: 20px; }

.hero { padding: 80px 0 70px; background: linear-gradient(180deg, var(--paper) 0%, #f5efe4 100%); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero__accent { color: var(--gold); display: block; font-style: italic; }
.hero__cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero__trust { margin: 32px 0 0; padding: 0; list-style: none; display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.85rem; }
.hero__trust li span { display: block; color: var(--navy); font-weight: 600; }
.hero__media { position: relative; margin-bottom: 28px; }
.hero__photo {
  height: 460px; border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15,42,68,0.05), rgba(15,42,68,0.22)),
    url('images/robin-hero.jpg') 68% center / cover no-repeat;
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--navy); color: #fff; padding: 16px 18px;
  border-radius: 14px; max-width: 280px; box-shadow: var(--shadow);
}
.hero__badge strong { display: block; color: var(--gold); font-family: 'Playfair Display', serif; }
.hero__badge span { font-size: 0.85rem; color: rgba(255,255,255,0.78); }

.stats { background: var(--navy); color: #fff; padding: 28px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats__grid strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold); }

.section { padding: 88px 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h4 { color: #fff; }
.section--lead { background: var(--paper); }
.section__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.section__grid--about { grid-template-columns: 0.9fr 1.2fr; align-items: center; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head--center { margin-inline: auto; text-align: center; }

.about-photo {
  height: 420px; border-radius: 22px;
  background: url('images/robin-about.jpg') center 18% / cover no-repeat;
  box-shadow: var(--shadow);
}
.about-photo--wide {
  height: 360px;
  background: url('images/robin-sold-moment.jpg') 35% center / cover no-repeat;
}

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-strip__item {
  aspect-ratio: 3 / 4; border-radius: 14px;
  background-size: cover; background-position: center 15%;
  box-shadow: var(--shadow-sm);
}
.photo-strip__item--wide { aspect-ratio: 4 / 3; background-position: center; }

.about-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-gallery--pair {
  margin: 0;
  grid-template-columns: 1fr;
  gap: 16px;
}
.about-gallery__item {
  aspect-ratio: 3 / 4; border-radius: 14px;
  background-size: cover; background-position: center 18%;
  box-shadow: var(--shadow-sm);
}
.about-gallery--pair .about-gallery__item { max-height: 420px; }
.about-gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; background-position: center; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--gold);
}

.prose { max-width: 72ch; }
.prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 10px; color: var(--ink-2); }

.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-card {
  display: block; background: #fff; padding: 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
}
.area-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.area-card strong { display: block; font-family: 'Playfair Display', serif; color: var(--navy); }
.area-card span { font-size: 0.82rem; color: var(--ink-2); }
.area-card--more { background: var(--navy); }
.area-card--more strong { color: var(--gold); }
.area-card--more span { color: rgba(255,255,255,0.78); }

.two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card { background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); }
.path-card--alt { background: var(--paper-2); border-color: var(--gold); }

.sold { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sold__card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); overflow: hidden; }
.sold__photo { height: 200px; position: relative; background-size: cover; background-position: center; }
.sold__photo--pending::before {
  content: "Photo soon"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,42,68,0.55); color: var(--gold); font-weight: 600; font-size: 0.85rem;
}
.sold__link { color: var(--gold); font-weight: 600; text-decoration: underline; }
.sold__body { padding: 18px 20px; }
.sold__body .meta { color: var(--gold); font-size: 0.82rem; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why__item { padding: 24px; background: var(--paper-2); border-radius: var(--radius); border: 1px solid var(--line); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quotes blockquote { margin: 0; padding: 26px; background: #fff; border-left: 4px solid var(--gold); border-radius: var(--radius); }

.ig {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ig__tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2) center/cover no-repeat;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ig__tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.ig__tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,42,68,0.45));
  opacity: 0;
  transition: opacity .2s ease;
}
.ig__tile:hover::after { opacity: 1; }
.ig__cta { text-align: center; margin-top: 28px; }

.lead { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.lead__form { background: #fff; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 14px; }
.lead__form label { display: grid; gap: 6px; font-size: 0.88rem; }
.lead__form input, .lead__form select, .lead__form textarea {
  font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
}

.footer { background: var(--navy); color: rgba(255,255,255,0.86); padding: 60px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h5 { color: var(--gold); }
.links { list-style: none; padding: 0; }
.links a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 36px; padding-top: 18px;
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .hero__grid, .section__grid, .section__grid--about, .about-layout, .lead { grid-template-columns: 1fr; }
  .stats__grid, .areas, .why, .quotes, .sold, .two-cards, .photo-strip, .ig { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: 88px; }
  .hero__media { margin-bottom: 40px; }
  .hero__badge { left: 0; right: 0; bottom: -28px; max-width: none; }
  .hero__photo { height: 380px; }

  .topbar__inner { gap: 10px; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px); left: 0; right: 0;
    margin: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    background: rgba(250, 248, 244, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .nav-toggle { display: grid; }
  .btn--search { display: none; }
  .phone-full { display: none; }
  .phone-short { display: inline; }
  .topbar__actions .btn--sm { padding: 9px 12px; }
  .btn--phone-alt {
    border: none; padding-inline: 8px; font-size: 0.8rem; color: var(--ink-2);
  }
  .btn--phone-alt:hover { background: transparent; color: var(--navy); }
}
@media (max-width: 560px) {
  .stats__grid, .areas, .why, .quotes, .sold, .two-cards, .photo-strip { grid-template-columns: 1fr; }
  .ig { grid-template-columns: repeat(2, 1fr); }
  .brand__name small { display: none; }
  .hero__photo { height: 320px; }
  .section { padding: 64px 0; }
}
