/* ============================================================
   Ideal Safety Nets — stylesheet
   Theme matched to the logo: orange accent (--accent) +
   warm espresso structure (--primary). Change those two to
   retint the whole site.
   ============================================================ */

:root {
  /* Brand palette — taken from the Ideal Safety Nets logo */
  --primary: #2a1c12;        /* warm espresso — structure (hero, footer, nav) */
  --accent:  #e85d04;        /* logo orange — CTA / highlights */

  /* Derived / supporting */
  --primary-700: #1f140c;
  --primary-900: #160d07;
  --accent-600:  #cf5000;
  --accent-700:  #b84700;

  --ink: #211912;
  --body: #4d453d;
  --muted: #7b7168;
  --bg: #ffffff;
  --bg-soft: #f6f3f0;
  --bg-soft-2: #fbf8f5;
  --line: #e6e0d9;
  --line-soft: #efeae4;
  --white: #ffffff;
  --wa: #25d366;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(42, 28, 18, .06);
  --shadow: 0 14px 40px rgba(42, 28, 18, .10);
  --shadow-lg: 0 24px 60px rgba(22, 13, 7, .18);

  --ff-display: "Sora", system-ui, sans-serif;
  --ff-body: "Manrope", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --topbar-h: 42px;
  --nav-h: 76px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1rem; }
a { color: var(--accent-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; }

.container { max-width: var(--container); }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* section rhythm */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-soft-2 { background: var(--bg-soft-2); }
.bg-primary-deep { background: var(--primary-900); color: #e2d7cd; }

/* eyebrow / headings */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display);
  font-weight: 600; font-size: .82rem; color: var(--accent-600);
  background: rgba(232,93,4,.10);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow i { font-size: .95rem; }
.h-xl { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.h-lg { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .lede { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { font-family: var(--ff-display); font-weight: 600; border-radius: 999px; padding: .8rem 1.5rem; border: 0; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(232,93,4,.28); }
.btn-accent:hover { background: var(--accent-600); color: #fff; box-shadow: 0 12px 26px rgba(232,93,4,.34); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-700); color: #fff; }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--primary); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1fb959; color: #fff; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.02rem; }
.btn i { vertical-align: -1px; }

/* ---------- topbar ---------- */
.topbar { background: var(--primary-900); color: #cabbae; font-size: .86rem; }
.topbar a { color: #ece2d7; }
.topbar a:hover { color: #fff; }
.topbar .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--topbar-h); }
.topbar .t-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .t-left span, .topbar .t-left a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .t-right { display: inline-flex; gap: 12px; }
.topbar .t-right a { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }

/* ---------- navbar ---------- */
.site-nav { background: #fff; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1030; }
.navbar { min-height: var(--nav-h); padding-block: .5rem; }
.navbar-brand { display: flex; align-items: center; gap: 12px; padding: 0; }
.brand-logo { height: 54px; width: auto; }
.brand-text { line-height: 1.05; }
.brand-text .bn { font-family: var(--ff-display); font-weight: 700; color: var(--ink); font-size: 1.18rem; display: block; }
.brand-text .bt { font-size: .74rem; color: var(--accent-600); font-weight: 600; letter-spacing: .02em; }
.navbar-nav .nav-link { font-family: var(--ff-display); font-weight: 600; color: var(--ink); font-size: .98rem; padding: .6rem 1rem; position: relative; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--accent-600); }
.navbar-nav .nav-link.active::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .35rem; height: 2px; background: var(--accent); border-radius: 2px; }
.navbar-toggler { border: 0; padding: .25rem .4rem; color: var(--primary); }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 100%; }
.hero-slide {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  background-color: var(--primary-900);
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(22,13,7,.93) 0%, rgba(22,13,7,.78) 42%, rgba(22,13,7,.42) 100%);
}
/* faint "invisible wire" motif — subtle vertical hairlines */
.hero-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 46px);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding: 72px 0; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.5rem); }
.hero .hero-sub { color: #ece0d5; font-size: 1.16rem; max-width: 54ch; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 22px 0 28px; }
.hero-chips .chip { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #f6ece2; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 7px 13px; border-radius: 999px; }
.hero-chips .chip i { color: #ffb066; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero quote card */
.quote-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px 24px; position: relative; z-index: 2; }
.quote-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.quote-card .qc-sub { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.quote-card .form-control, .quote-card .form-select { border-radius: var(--radius-sm); border: 1.5px solid var(--line); padding: .7rem .9rem; font-size: .96rem; }
.quote-card .form-control:focus, .quote-card .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .18rem rgba(232,93,4,.16); }
.quote-card .form-note { font-size: .78rem; color: var(--muted); }

.hero-carousel-ctrl { width: 46px; height: 46px; background: rgba(255,255,255,.14); border-radius: 50%; top: 50%; transform: translateY(-50%); opacity: 1; }
.carousel-indicators { margin-bottom: 1rem; }
.carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- marquee / trust strip ---------- */
.trust-strip { background: var(--primary); color: #fff; padding: 16px 0; }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; will-change: transform; }
.marquee-track .m-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-weight: 600; font-size: 1rem; color: #f6ece2; }
.marquee-track .m-item i { color: #ffb066; font-size: 1.15rem; }

/* ---------- stats ---------- */
.stat { text-align: center; padding: 10px; }
.stat .num { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--primary); line-height: 1; }
.stat .num .suffix { color: var(--accent); }
.stat .lbl { color: var(--muted); font-weight: 600; font-size: .95rem; margin-top: 6px; }

/* ---------- service cards (image -> name -> content -> call) ---------- */
.svc-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc-media { position: relative; aspect-ratio: 16/10; background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; }
.svc-media i { font-size: 2.6rem; color: var(--accent); opacity: .4; }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.svc-body p { font-size: .95rem; color: var(--body); margin-bottom: 16px; }
.svc-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.svc-actions .btn { padding: .55rem 1.05rem; font-size: .9rem; }
.svc-link { font-family: var(--ff-display); font-weight: 600; font-size: .9rem; }

/* ---------- feature / why cards ---------- */
.feature { display: flex; gap: 16px; }
.feature .ic { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(232,93,4,.10); color: var(--accent-600); font-size: 1.4rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { font-size: .95rem; margin: 0; }

/* list ticks */
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--body); background-repeat: no-repeat; background-position: 0 3px; background-size: 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e85d04'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E"); }

/* ---------- process steps ---------- */
.step { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 22px; height: 100%; position: relative; }
.step .step-no { font-family: var(--ff-display); font-weight: 800; font-size: 1rem; color: #fff; background: var(--accent); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .94rem; margin: 0; }

/* ---------- split image block ---------- */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); aspect-ratio: 4/3; display: grid; place-items: center; position: relative; }
.media-frame i { font-size: 3.4rem; color: var(--accent); opacity: .35; }
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); display: grid; place-items: center; }
.gallery-item i { font-size: 2rem; color: var(--accent); opacity: .35; }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
@media (max-width: 575.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- testimonials ---------- */
.testi { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; height: 100%; }
.testi .stars { color: #f5a623; margin-bottom: 10px; }
.testi p { font-size: .98rem; color: var(--ink); }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.testi .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; }
.testi .who b { color: var(--ink); display: block; font-size: .95rem; }
.testi .who small { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-700) 45%, var(--accent-700) 160%); color: #fff; border-radius: var(--radius-lg); padding: 44px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ecdfd4; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: 12px; overflow: hidden; }
.faq .accordion-button { font-family: var(--ff-display); font-weight: 600; color: var(--ink); font-size: 1.02rem; padding: 1.05rem 1.2rem; }
.faq .accordion-button:not(.collapsed) { background: rgba(232,93,4,.07); color: var(--accent-600); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; border-color: var(--line); }
.faq .accordion-body { color: var(--body); font-size: .97rem; padding-top: 0; }

/* ---------- breadcrumb hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--primary-900); color: #fff; padding: 64px 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .5; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 46px); pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero .hero-sub { color: #ece0d5; }
.page-hero .crumbs { font-size: .9rem; color: #cbbbad; }
.page-hero .crumbs a { color: #ecdfd4; }
.page-hero .crumbs .sep { margin: 0 8px; opacity: .6; }

/* ---------- contact ---------- */
.contact-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; height: 100%; }
.contact-card .ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: rgba(232,93,4,.12); color: var(--accent-600); display: grid; place-items: center; font-size: 1.3rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: .96rem; margin: 0; color: var(--body); }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); }
.form-panel { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.form-panel .form-control, .form-panel .form-select { border-radius: var(--radius-sm); border: 1.5px solid var(--line); padding: .8rem 1rem; }
.form-panel .form-control:focus, .form-panel .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .18rem rgba(232,93,4,.16); }

/* ---------- footer ---------- */
.site-footer { background: var(--primary-900); color: #b7a99b; padding-top: 64px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.site-footer a { color: #d8ccbf; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact i { color: #ff9f52; margin-top: 3px; }
.footer-brand .brand-text .bn { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 20px 0; font-size: .88rem; color: #a99a8c; }
.footer-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-areas .ar { font-size: .82rem; background: rgba(255,255,255,.07); padding: 4px 11px; border-radius: 999px; color: #e4d8cc; }

/* ---------- floating action buttons ---------- */
.fab { position: fixed; bottom: 22px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.6rem; box-shadow: var(--shadow); }
.fab:hover { color: #fff; }
.fab-wa { left: 20px; background: var(--wa); animation: fabPulse 2.2s infinite; }
.fab-call { right: 20px; background: var(--accent); animation: fabPulseAccent 2.2s infinite .6s; }
@keyframes fabPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes fabPulseAccent {
  0% { box-shadow: 0 0 0 0 rgba(232,93,4,.45); }
  70% { box-shadow: 0 0 0 16px rgba(232,93,4,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,93,4,0); }
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse { background: #fff; border-top: 1px solid var(--line-soft); margin-top: .5rem; padding: .5rem 0 1rem; border-radius: 0 0 var(--radius) var(--radius); }
  .navbar-nav .nav-link.active::after { display: none; }
  .nav-cta-wrap { padding: .5rem 1rem 0; }
  .hero-slide { min-height: 560px; }
  .section { padding: 64px 0; }
}
@media (max-width: 767.98px) {
  .topbar .t-left { gap: 14px; }
  .hero-content { padding: 48px 0; }
  .cta-band { padding: 32px 22px; }
  .gallery-grid { gap: 12px; }
  .fab { width: 52px; height: 52px; font-size: 1.45rem; }
}
