/* ===========================================================
   Britex Property Solutions Inc — styles
   Matched to the live Carrot design:
   Lora (headings) + Rubik (body), navy #192361, orange #FF851B
   =========================================================== */

:root {
  --navy:       #192361;   /* footer, dark sections, accents */
  --navy-deep:  #121a4a;
  --orange:     #FF851B;   /* CTA buttons */
  --orange-dk:  #ec7405;
  --orange-txt: #1d1d1d;   /* button label color (dark) */
  --accent:     #E85035;   /* in-text links */
  --green:      #4ca64c;
  --ink:        #212529;   /* body text / dark headings */
  --muted:      #5b6b78;
  --line:       #e3e6ea;
  --bg:         #ffffff;
  --bg-soft:    #f5f6f8;
  --radius:     5px;
  --shadow-sm:  0 4px 16px rgba(25,35,97,.10);
  --maxw:       1180px;
  --font-head:  'Lora', Georgia, 'Times New Roman', serif;
  --font-body:  'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 60px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #e7e9f3; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--orange-txt);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.15rem;
  padding: 13px 28px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background .18s ease, transform .15s ease;
}
.btn:hover { background: var(--orange-dk); color: var(--orange-txt); text-decoration: none; transform: translateY(-1px); }
.btn--block { display: block; width: 100%; }
.btn--lg { font-size: 1.25rem; padding: 16px 34px; }

/* ===========================================================
   Header  (white, logo left, uppercase black nav, phone right)
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 12px; padding-bottom: 12px;
}
.brand { flex: 0 0 auto; display: block; }
.brand img { height: 84px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ink);
  font-size: .9rem;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--orange-dk); text-decoration: none; }
.nav__phone {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.12rem;
  white-space: nowrap;
}
.nav__phone:hover { color: var(--orange-dk); text-decoration: none; }
.nav__phone-inline { display: none; }  /* shown only inside the mobile dropdown */
.menu-toggle {
  display: none; background: none; border: none;
  color: var(--navy); cursor: pointer; font-size: 1.7rem; line-height: 1; padding: 4px 8px;
}

/* ===========================================================
   Hero  (full-bleed photo, dark left gradient, form on right)
   =========================================================== */
.hero { position: relative; color: #fff; background-size: cover; background-position: center; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,12,30,.82) 0%, rgba(10,12,30,.62) 42%, rgba(10,12,30,.28) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p { color: #f1f2f7; font-size: 1.18rem; }
.hero strong { color: #fff; }
.hero__single { max-width: 760px; }

/* ===========================================================
   Forms  (white labels on dark, white inputs, single address)
   =========================================================== */
.lead-form { color: #fff; }
.lead-form h3 { color: #fff; font-size: 1.5rem; margin-bottom: 14px; }
.field { margin-bottom: 13px; }
.field > label {
  display: block;
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 500;
  color: #fff; margin-bottom: 5px;
}
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 13px;
  border: 1px solid #ccd0dd; border-radius: 4px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,133,27,.25);
}
.field textarea { min-height: 92px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.consent {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: .8rem; color: #e7e9f3; line-height: 1.45; margin-bottom: 11px;
}
.consent input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; }
.consent a { color: var(--orange); }
.form-note { font-size: .75rem; color: #c7cbe0; text-align: center; margin: 8px 0 0; }
.form-status { display: none; margin-top: 14px; padding: 13px 16px; border-radius: 5px; font-weight: 500; text-align: center; }
.form-status.ok  { display: block; background: #e7f6e7; color: #2e7d32; }
.form-status.err { display: block; background: #fdeaea; color: #c62828; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ===========================================================
   Steps / cards
   =========================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 34px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step { text-align: center; }
.step img { width: 92px; height: 92px; object-fit: contain; margin: 0 auto 16px; }
.step h3 { font-size: 1.15rem; margin-bottom: .3em; color: var(--navy); }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }
.section--navy .step h3 { color: #fff; }

/* situations */
.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 36px; margin-top: 36px; }
.situation { display: flex; gap: 13px; }
.situation::before {
  content: "✓"; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center;
  margin-top: 3px; font-size: .85rem;
}
.situation h4 { color: var(--navy); margin: 0 0 .2em; font-size: 1.08rem; font-family: var(--font-head); }
.situation p { margin: 0; color: var(--muted); font-size: .95rem; }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 34px; }
.benefit { text-align: center; }
.benefit img { width: 74px; height: 74px; object-fit: contain; margin: 0 auto 14px; }
.benefit h3 { font-size: 1.12rem; margin-bottom: .35em; color: var(--navy); }
.benefit p { color: var(--muted); font-size: .96rem; margin: 0; }

/* comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; }
.compare__col { border-radius: 8px; padding: 30px 28px; box-shadow: var(--shadow-sm); }
.compare__col--ours { background: var(--navy); color: #e7e9f3; }
.compare__col--ours h3, .compare__col--ours .compare__title { color: #fff; }
.compare__col--trad { background: #fff; border: 1px solid var(--line); }
.compare__icon { width: 66px; height: 66px; object-fit: contain; margin-bottom: 12px; }
.compare__title { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; margin-bottom: 4px; }
.compare__sub { font-style: italic; opacity: .85; margin-bottom: 18px; font-size: .96rem; }
.compare__list { list-style: none; margin: 0; padding: 0; }
.compare__list li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.16); }
.compare__col--trad .compare__list li { border-top: 1px solid var(--line); }
.compare__list li:first-child { border-top: none; }
.compare__list strong { display: block; font-family: var(--font-head); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split img { border-radius: 8px; box-shadow: var(--shadow-sm); }
.split--rev .split__media { order: 2; }
.split h2 { color: var(--navy); }

/* FAQ */
.faq-list { margin-top: 26px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.12rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--orange); }
.faq-item[open] summary::after { content: "–"; }
.faq-item__body { padding: 0 0 20px; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* comparison table */
.table-wrap { overflow-x: auto; margin-top: 28px; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
table.cmp th, table.cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
table.cmp thead th { background: var(--navy); color: #fff; font-family: var(--font-head); }
table.cmp tbody tr:nth-child(even) { background: var(--bg-soft); }
table.cmp td:first-child { font-weight: 500; color: var(--navy); }
table.cmp td:last-child { color: var(--green); font-weight: 500; }

/* callout band */
.band { background: var(--navy); color: #fff; text-align: center; }
.band .wrap { padding: 40px 24px; }
.band h2 { color: #fff; margin-bottom: .35em; }
.band a.tel { color: var(--orange); font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; }
.band a.tel:hover { text-decoration: none; }

/* footer */
.site-footer { background: var(--navy); color: #b9bedd; padding: 50px 0 26px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; font-family: var(--font-head); margin-bottom: .6em; }
.site-footer a { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 20px; text-align: center; font-size: .85rem; color: #9aa0c8; }
.footer-bottom a { color: #d6d9ee; }

.share { display: flex; gap: 10px; margin-top: 18px; }
.share a { background: var(--orange); color: var(--orange-txt); padding: 8px 16px; border-radius: 4px; font-size: .85rem; font-weight: 500; }
.share a:hover { background: var(--orange-dk); text-decoration: none; }

.center-cta { text-align: center; margin-top: 30px; }
hr.rule { border: none; border-top: 1px solid var(--line); margin: 44px 0; }

/* responsive */
@media (max-width: 960px) {
  .hero__grid, .split, .compare { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .split__media { order: 0; }
  .situations, .steps, .benefits, .steps--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__phone-inline { display: none; }
  .menu-toggle { display: inline-block; }
  .site-header .wrap { position: relative; }
  .nav.is-open { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .nav.is-open .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0; }
  .nav.is-open .nav__links li { border-top: 1px solid var(--line); }
  .nav.is-open .nav__links li:first-child { border-top: none; }
  .nav.is-open .nav__links a { display: block; padding: 14px 24px; }
  .nav.is-open .nav__phone-inline { display: block; padding: 14px 24px; border-top: 1px solid var(--line); color: var(--ink); }
  .situations, .steps, .benefits, .steps--4 { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .footer-links { columns: 1; }
  .brand img { height: 60px; }
  body { font-size: 16px; }
}
