/* ==========================================================================
   Charlotte Estate & Agro Solutions Ltd — main stylesheet
   Built on Bootstrap 5.3 (CDN). Brand tokens live in :root.
   ========================================================================== */

:root {
  --brand-navy: #0f2a44;
  --brand-navy-dark: #0a1d30;
  --brand-accent: #f5a623;
  --brand-accent-dark: #d98b0a;
  --brand-light: #f4f6f9;
  --brand-text: #4a5568;
  --brand-heading: #0f2a44;
  --brand-border: #e3e8ef;
  --brand-radius: 14px;
  --brand-shadow: 0 10px 30px rgba(15, 42, 68, .08);
  --brand-shadow-lg: 0 20px 45px rgba(15, 42, 68, .16);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Poppins", var(--font-body);

  --bs-primary: var(--brand-navy);
  --bs-primary-rgb: 15, 42, 68;
  --bs-link-color: var(--brand-navy);
  --bs-link-hover-color: var(--brand-accent-dark);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--brand-text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  color: var(--brand-heading);
  font-weight: 700;
  line-height: 1.25;
}
a { text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; height: auto; background: #dfe5ec; }
::selection { background: var(--brand-accent); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--brand-accent); color: #fff; padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }

/* ---------- Utilities ---------- */
.text-accent { color: var(--brand-accent) !important; }
.text-navy { color: var(--brand-navy) !important; }
.bg-navy { background: var(--brand-navy) !important; }
.bg-navy-dark { background: var(--brand-navy-dark) !important; }
.bg-soft { background: var(--brand-light) !important; }
.rounded-brand { border-radius: var(--brand-radius) !important; }
.shadow-brand { box-shadow: var(--brand-shadow) !important; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
@media (max-width: 767.98px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-accent-dark); margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand-accent); }
.section-title { max-width: 720px; margin-bottom: 3rem; }
.section-title.text-center { margin-left: auto; margin-right: auto; }
.section-title.text-center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--brand-accent); }
.section-title h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.lead-sm { font-size: 1.075rem; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 50px; padding: .7rem 1.6rem; transition: all .25s ease; }
.btn-sm { padding: .45rem 1rem; }
.btn-lg { padding: .9rem 2rem; }
.btn-accent { background: var(--brand-accent); border-color: var(--brand-accent); color: #fff; }
.btn-accent:hover, .btn-accent:focus { background: var(--brand-accent-dark); border-color: var(--brand-accent-dark); color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.btn-navy:hover, .btn-navy:focus { background: var(--brand-navy-dark); border-color: var(--brand-navy-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-navy { border: 2px solid var(--brand-navy); color: var(--brand-navy); }
.btn-outline-navy:hover { background: var(--brand-navy); color: #fff; }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn-whatsapp:hover, .btn-whatsapp:focus { background: #1ebe5b; border-color: #1ebe5b; color: #fff; transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-navy-dark); color: rgba(255,255,255,.75); font-size: .85rem; padding: .5rem 0; }
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--brand-accent); }
.topbar .social a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; }

/* ---------- Navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; box-shadow: 0 2px 18px rgba(15,42,68,.08); }
.navbar { padding: .8rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-navy); color: var(--brand-accent); font-size: 1.35rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-heading); color: var(--brand-navy); font-size: 1.2rem; letter-spacing: .02em; }
.brand-text small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-accent-dark); font-weight: 600; }
.navbar .nav-link { font-weight: 600; color: var(--brand-navy); padding: .5rem .85rem !important; font-size: .95rem; }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .dropdown-item.active { color: var(--brand-accent-dark); }
.navbar .dropdown-item.active { background: var(--brand-light); }
.navbar .dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--brand-shadow-lg); padding: .6rem; }
.navbar .dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-weight: 500; }
.navbar .dropdown-item:hover { background: var(--brand-light); color: var(--brand-accent-dark); }
.navbar-toggler { border: 0; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
@media (max-width: 991.98px) {
  .navbar-collapse { max-height: calc(100vh - 80px); overflow-y: auto; padding: 1rem 0; }
  .navbar .dropdown-menu { box-shadow: none; background: var(--brand-light); }
}

/* ---------- Hero carousel ---------- */
.hero { position: relative; }
.hero .carousel-item { height: min(88vh, 760px); min-height: 520px; }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.hero .carousel-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,29,48,.88) 0%, rgba(10,29,48,.6) 45%, rgba(10,29,48,.15) 100%);
}
.hero-caption { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero-caption h1, .hero-caption h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 1.25rem; }
.hero-caption p { color: rgba(255,255,255,.85); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 580px; margin-bottom: 2rem; }
.hero-caption .eyebrow { color: var(--brand-accent); }
.hero .carousel-indicators { z-index: 3; margin-bottom: 2.5rem; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border-radius: 4px; background: #fff; }
.hero .carousel-indicators .active { background: var(--brand-accent); }
.hero .carousel-control-prev, .hero .carousel-control-next { z-index: 3; width: 6%; }

/* Hero search panel */
.search-panel { position: relative; z-index: 5; margin-top: -70px; }
.search-panel .card { border: 0; border-radius: var(--brand-radius); box-shadow: var(--brand-shadow-lg); }
.search-panel .form-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-navy); }
.form-control, .form-select { border-radius: 10px; padding: .75rem 1rem; border-color: var(--brand-border); }
.form-control:focus, .form-select:focus { border-color: var(--brand-accent); box-shadow: 0 0 0 .2rem rgba(245,166,35,.2); }

/* ---------- Page header ---------- */
.page-hero {
  position: relative; padding: 120px 0 90px; color: #fff; overflow: hidden;
  background: var(--brand-navy-dark);
}
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,29,48,.92), rgba(10,29,48,.55)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; font-size: 1.1rem; }
.page-hero .breadcrumb { margin-bottom: 0; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.75); font-weight: 500; }
.page-hero .breadcrumb-item.active { color: var(--brand-accent); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
@media (max-width: 767.98px) { .page-hero { padding: 80px 0 60px; } }

/* ---------- Cards: generic ---------- */
.card-brand {
  background: #fff; border: 1px solid var(--brand-border); border-radius: var(--brand-radius);
  transition: transform .3s ease, box-shadow .3s ease; height: 100%;
}
.card-brand:hover { transform: translateY(-6px); box-shadow: var(--brand-shadow-lg); border-color: transparent; }

.icon-box {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(245,166,35,.12); color: var(--brand-accent-dark); font-size: 1.8rem;
  transition: all .3s ease;
}
.card-brand:hover .icon-box { background: var(--brand-accent); color: #fff; }
.icon-box-sm { width: 48px; height: 48px; font-size: 1.3rem; border-radius: 12px; }

/* Service card with image */
.service-card { overflow: hidden; }
.service-card .service-img { aspect-ratio: 16/10; overflow: hidden; }
.service-card .service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-img img { transform: scale(1.07); }
.service-card .card-body { padding: 1.75rem; position: relative; }
.service-card .icon-box { margin-top: -62px; margin-bottom: 1rem; background: var(--brand-accent); color: #fff; border: 5px solid #fff; width: 72px; height: 72px; }
.link-arrow { font-weight: 700; color: var(--brand-navy); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .25s ease; }
.link-arrow:hover { color: var(--brand-accent-dark); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Property card ---------- */
.property-card { overflow: hidden; display: flex; flex-direction: column; }
.property-card .property-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-card .property-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.property-card:hover .property-img img { transform: scale(1.07); }
.property-card .badges { position: absolute; top: 1rem; left: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.badge-status { background: var(--brand-accent); color: #fff; font-weight: 700; font-size: .72rem; padding: .45rem .75rem; border-radius: 50px; text-transform: uppercase; letter-spacing: .05em; }
.badge-status.rent { background: #198754; }
.badge-type { background: rgba(10,29,48,.85); color: #fff; font-weight: 600; font-size: .72rem; padding: .45rem .75rem; border-radius: 50px; }
.property-card .price-tag {
  position: absolute; bottom: 1rem; left: 1rem; background: #fff; color: var(--brand-navy);
  font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; padding: .35rem .9rem; border-radius: 8px;
}
.property-card .price-tag small { font-size: .75rem; font-weight: 500; color: var(--brand-text); }
.property-card .card-body { padding: 1.4rem 1.4rem 1rem; flex: 1; }
.property-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.property-card h3 a { color: var(--brand-navy); }
.property-card h3 a:hover { color: var(--brand-accent-dark); }
.property-location { font-size: .9rem; color: var(--brand-text); }
.property-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; padding: .9rem 1.4rem; border-top: 1px solid var(--brand-border); font-size: .88rem; font-weight: 500; }
.property-meta i { color: var(--brand-accent-dark); margin-right: .3rem; }
.property-card .card-footer { background: transparent; border-top: 1px solid var(--brand-border); padding: 1rem 1.4rem; display: flex; gap: .5rem; }
.property-card .card-footer .btn { flex: 1; padding: .55rem .5rem; font-size: .88rem; }

/* ---------- Project card ---------- */
.project-card { position: relative; border-radius: var(--brand-radius); overflow: hidden; display: block; aspect-ratio: 4/3.2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,29,48,0) 35%, rgba(10,29,48,.92) 100%); transition: background .3s ease; }
.project-card:hover img { transform: scale(1.08); }
.project-card:hover::after { background: linear-gradient(180deg, rgba(10,29,48,.25) 0%, rgba(10,29,48,.95) 100%); }
.project-card .project-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; z-index: 2; color: #fff; }
.project-card .project-info h3 { color: #fff; font-size: 1.2rem; margin-bottom: .25rem; }
.project-card .project-info span { color: var(--brand-accent); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-card .project-info p { color: rgba(255,255,255,.8); font-size: .9rem; margin: .5rem 0 0; max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.project-card:hover .project-info p, .project-card:focus .project-info p { max-height: 120px; }

/* ---------- CSS-only filter (radio + :checked) ---------- */
.filter-radio { position: absolute; opacity: 0; pointer-events: none; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-bar label {
  cursor: pointer; padding: .55rem 1.3rem; border-radius: 50px; font-weight: 600; font-size: .92rem;
  border: 1px solid var(--brand-border); background: #fff; color: var(--brand-navy); transition: all .2s ease;
}
.filter-bar label:hover { border-color: var(--brand-accent); color: var(--brand-accent-dark); }
#f-all:checked ~ .filter-bar label[for="f-all"],
#f-villa:checked ~ .filter-bar label[for="f-villa"],
#f-house:checked ~ .filter-bar label[for="f-house"],
#f-apartment:checked ~ .filter-bar label[for="f-apartment"],
#f-bungalow:checked ~ .filter-bar label[for="f-bungalow"],
#f-rent:checked ~ .filter-bar label[for="f-rent"],
#f-building:checked ~ .filter-bar label[for="f-building"],
#f-civil:checked ~ .filter-bar label[for="f-civil"],
#f-residential:checked ~ .filter-bar label[for="f-residential"],
#f-structural:checked ~ .filter-bar label[for="f-structural"] {
  background: var(--brand-navy); border-color: var(--brand-navy); color: #fff;
}
#f-villa:checked ~ .filter-grid > :not([data-cat~="villa"]),
#f-house:checked ~ .filter-grid > :not([data-cat~="house"]),
#f-apartment:checked ~ .filter-grid > :not([data-cat~="apartment"]),
#f-bungalow:checked ~ .filter-grid > :not([data-cat~="bungalow"]),
#f-rent:checked ~ .filter-grid > :not([data-cat~="rent"]),
#f-building:checked ~ .filter-grid > :not([data-cat~="building"]),
#f-civil:checked ~ .filter-grid > :not([data-cat~="civil"]),
#f-residential:checked ~ .filter-grid > :not([data-cat~="residential"]),
#f-structural:checked ~ .filter-grid > :not([data-cat~="structural"]) { display: none; }
.filter-radio:focus-visible ~ .filter-bar { outline: 2px dashed var(--brand-accent); outline-offset: 6px; border-radius: 12px; }

/* ---------- Stats ---------- */
.stats-band { background: var(--brand-navy); position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(245,166,35,.08); }
.stat { text-align: center; color: #fff; padding: 1rem; }
.stat .num { font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--brand-accent); line-height: 1; }
.stat .label { color: rgba(255,255,255,.8); font-weight: 500; margin-top: .5rem; }

/* ---------- About / split media ---------- */
.media-stack { position: relative; padding: 0 0 60px 0; }
.media-stack .main { border-radius: var(--brand-radius); box-shadow: var(--brand-shadow-lg); width: 85%; aspect-ratio: 4/3.4; object-fit: cover; }
.media-stack .sub { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--brand-radius); border: 8px solid #fff; box-shadow: var(--brand-shadow-lg); }
.media-stack .exp-badge {
  position: absolute; left: 24px; bottom: 24px; background: var(--brand-accent); color: #fff; padding: 1.1rem 1.4rem;
  border-radius: 12px; box-shadow: var(--brand-shadow-lg); text-align: center;
}
.media-stack .exp-badge strong { display: block; font-family: var(--font-heading); font-size: 2.2rem; line-height: 1; }
.media-stack .exp-badge span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; font-weight: 500; color: var(--brand-navy); }
.check-list li::before {
  content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0;
  color: var(--brand-accent-dark); font-size: 1.15rem;
}

/* ---------- Process steps ---------- */
.step { position: relative; padding: 2rem 1.5rem; text-align: center; }
.step .step-num {
  width: 70px; height: 70px; margin: 0 auto 1.25rem; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px dashed var(--brand-accent); color: var(--brand-navy);
  font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem;
}

/* ---------- Team ---------- */
.team-card { overflow: hidden; text-align: center; }
.team-card .team-img { aspect-ratio: 1/1.05; overflow: hidden; position: relative; }
.team-card .team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.team-card:hover .team-img img { transform: scale(1.06); }
.team-card .team-social { position: absolute; left: 0; right: 0; bottom: -60px; display: flex; justify-content: center; gap: .5rem; padding: 1rem; transition: bottom .3s ease; }
.team-card:hover .team-social, .team-card:focus-within .team-social { bottom: 0; }
.team-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand-navy); }
.team-social a:hover { background: var(--brand-accent); color: #fff; }
.team-card .card-body { padding: 1.4rem; }
.team-card h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.team-card .role { color: var(--brand-accent-dark); font-weight: 600; font-size: .9rem; }

/* ---------- Testimonials ---------- */
.testimonial { padding: 2rem; position: relative; }
.testimonial .quote-icon { position: absolute; right: 1.5rem; top: 1.25rem; font-size: 3rem; color: rgba(245,166,35,.25); line-height: 1; }
.testimonial .stars { color: var(--brand-accent); margin-bottom: 1rem; }
.testimonial blockquote { font-size: 1.02rem; font-style: italic; margin-bottom: 1.5rem; }
.avatar-initials {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--brand-navy); color: var(--brand-accent); font-family: var(--font-heading); font-weight: 700;
}

/* ---------- Clients logo strip ---------- */
.client-logo {
  display: flex; align-items: center; justify-content: center; gap: .5rem; height: 90px; padding: 1rem;
  border: 1px solid var(--brand-border); border-radius: 12px; background: #fff;
  font-family: var(--font-heading); font-weight: 700; color: #94a3b8; font-size: 1.05rem; text-align: center;
  transition: all .3s ease;
}
.client-logo i { font-size: 1.6rem; }
.client-logo:hover { color: var(--brand-navy); border-color: var(--brand-accent); box-shadow: var(--brand-shadow); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 20px; padding: 3.5rem; background: var(--brand-navy); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.cta-band .content { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,.8); }
@media (max-width: 767.98px) { .cta-band { padding: 2.25rem 1.5rem; } }

/* ---------- Detail pages ---------- */
.gallery-carousel .carousel-inner { border-radius: var(--brand-radius); overflow: hidden; }
.gallery-carousel .carousel-item { aspect-ratio: 16/10; }
.gallery-carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
/* Keep arrows over the 16:10 photo only (not the thumbnails below it) */
.gallery-carousel .carousel-control-prev, .gallery-carousel .carousel-control-next { bottom: auto; height: 0; padding-top: 62.5%; }
.gallery-carousel .carousel-control-prev-icon, .gallery-carousel .carousel-control-next-icon {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background-color: rgba(10,29,48,.6); background-size: 45%;
}
/* Thumbnails reuse Bootstrap's .carousel-indicators so the active state updates automatically */
.gallery-carousel .carousel-indicators.gallery-thumbs {
  position: static; display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin: .75rem 0 0; padding: 0;
}
.gallery-carousel .gallery-thumbs [data-bs-target] {
  width: auto; height: auto; margin: 0; padding: 0; text-indent: 0; flex: initial;
  border: 3px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: none;
  opacity: .6; transition: all .2s ease;
}
.gallery-carousel .gallery-thumbs [data-bs-target].active, .gallery-carousel .gallery-thumbs [data-bs-target]:hover { border-color: var(--brand-accent); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.spec-item { background: var(--brand-light); border-radius: 12px; padding: 1rem 1.1rem; }
.spec-item i { color: var(--brand-accent-dark); font-size: 1.4rem; }
.spec-item .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-top: .3rem; }
.spec-item .v { font-family: var(--font-heading); font-weight: 700; color: var(--brand-navy); }

.detail-table th { color: var(--brand-navy); font-weight: 600; width: 42%; }
.detail-table td, .detail-table th { padding: .8rem 0; border-color: var(--brand-border); }

.sticky-sidebar { position: sticky; top: 110px; }
.sidebar-card { background: #fff; border: 1px solid var(--brand-border); border-radius: var(--brand-radius); padding: 1.75rem; box-shadow: var(--brand-shadow); }
.price-big { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--brand-navy); line-height: 1.1; }

.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .6rem 1.5rem; }
.feature-list li i { color: #198754; margin-right: .5rem; }

.map-frame { border: 0; width: 100%; border-radius: var(--brand-radius); min-height: 380px; display: block; filter: saturate(.9); }

/* ---------- Contact ---------- */
.contact-info-card { display: flex; gap: 1.1rem; padding: 1.5rem; }
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.contact-info-card p, .contact-info-card a { margin: 0; color: var(--brand-text); }
.contact-info-card a:hover { color: var(--brand-accent-dark); }
.form-card { background: #fff; border-radius: var(--brand-radius); padding: 2.5rem; box-shadow: var(--brand-shadow-lg); }
@media (max-width: 575.98px) { .form-card { padding: 1.5rem; } }

/* ---------- FAQ accordion ---------- */
.accordion-brand .accordion-item { border: 1px solid var(--brand-border); border-radius: 12px !important; margin-bottom: 1rem; overflow: hidden; }
.accordion-brand .accordion-button { font-family: var(--font-heading); font-weight: 600; color: var(--brand-navy); padding: 1.2rem 1.4rem; }
.accordion-brand .accordion-button:not(.collapsed) { background: var(--brand-light); color: var(--brand-accent-dark); box-shadow: none; }
.accordion-brand .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(245,166,35,.25); }

/* ---------- Careers ---------- */
.job-card { padding: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.job-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.job-tags span { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; margin-right: 1rem; }
.job-tags i { color: var(--brand-accent-dark); }

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 1.35rem; margin-top: 2.25rem; margin-bottom: .8rem; }
.legal-content p, .legal-content li { margin-bottom: .6rem; }
.toc { list-style: none; padding: 0; margin: 0; }
.toc li a { display: block; padding: .45rem 0; color: var(--brand-text); border-bottom: 1px dashed var(--brand-border); font-weight: 500; }
.toc li a:hover { color: var(--brand-accent-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-navy-dark); color: rgba(255,255,255,.7); padding-top: 80px; }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: 1.4rem; position: relative; padding-bottom: .8rem; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--brand-accent); border-radius: 3px; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--brand-accent); }
.site-footer .brand-text strong { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: .7rem; margin-right: .5rem; color: var(--brand-accent); }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .9rem; }
.footer-contact i { color: var(--brand-accent); font-size: 1.1rem; }
.social-icons { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .25s ease; }
.social-icons a:hover { background: var(--brand-accent); color: #fff; transform: translateY(-3px); }
.footer-newsletter .form-control { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; }
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; margin-top: 50px; font-size: .9rem; }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.9rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.45); animation: wa-pulse 2.2s infinite;
}
.whatsapp-float:hover { color: #fff; background: #1ebe5b; }
.whatsapp-float .wa-label {
  position: absolute; right: 72px; white-space: nowrap; background: #fff; color: var(--brand-navy); font-size: .85rem; font-weight: 600;
  padding: .45rem .9rem; border-radius: 8px; box-shadow: var(--brand-shadow); opacity: 0; transform: translateX(10px); transition: all .25s ease; pointer-events: none;
}
.whatsapp-float:hover .wa-label { opacity: 1; transform: translateX(0); }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.back-to-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 1040; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-navy); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--brand-shadow);
}
.back-to-top:hover { background: var(--brand-accent); color: #fff; }

/* ---------- 404 ---------- */
.error-code { font-family: var(--font-heading); font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; color: var(--brand-navy); }
.error-code span { color: var(--brand-accent); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .whatsapp-float, .back-to-top, .site-footer, .hero .carousel-control-prev, .hero .carousel-control-next { display: none !important; }
}
