:root {
  --color-ink: #152337;
  --color-ink-soft: #304159;
  --color-sage: #f0c419;
  --color-sage-dark: #1d4675;
  --color-sand: #cfa21a;
  --color-paper: #fff7df;
  --color-mist: #f4db67;
  --color-clay: #cfa21a;
  --color-navy: #11274a;
  --color-deep: #020918;
  --color-border: rgba(21, 35, 55, 0.12);
  --shadow-soft: 0 18px 48px rgba(19, 33, 51, 0.08);
  --shadow-strong: 0 30px 60px rgba(19, 33, 51, 0.16);
  --radius-lg: 0.9rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Public Sans", Arial, sans-serif;
  color: var(--color-ink);
  background:
    radial-gradient(circle at 88% 10%, transparent 0 9.5rem, rgba(29, 70, 117, 0.08) 9.5rem 10.15rem, transparent 10.45rem),
    radial-gradient(circle at 88% 10%, transparent 0 10.55rem, rgba(207, 162, 26, 0.3) 10.55rem 10.8rem, transparent 11rem),
    radial-gradient(circle at 12% 84%, transparent 0 6.5rem, rgba(17, 39, 74, 0.07) 6.5rem 7rem, transparent 7.25rem),
    radial-gradient(circle at top left, rgba(240, 196, 25, 0.32), transparent 24rem),
    linear-gradient(180deg, #fff1c1 0%, #f0d15a 100%);
  padding-top: 5.5rem;
}

h1,
h2,
h3,
h4,
.display-heading,
.panel-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.02em;
}

a {
  color: var(--color-sage-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  background: var(--color-ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.site-header {
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.navbar {
  padding: 1rem 0;
  background: rgba(240, 196, 25, 0.34);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(19, 33, 51, 0.06);
}

.site-header.scrolled .navbar {
  background: rgba(207, 162, 26, 0.46);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(19, 33, 51, 0.08);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-ink);
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-primary {
  font-size: 1rem;
  font-weight: 700;
}

.brand-secondary {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.brand-mark {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
}

.navbar-toggler {
  border: 1px solid var(--color-border);
  padding: 0.45rem 0.7rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(29, 70, 117, 0.18);
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--color-ink-soft);
  padding: 0.75rem 1rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--color-ink);
}

.navbar-nav .nav-link.btn-brand,
.navbar-nav .nav-link.btn-brand.active,
.navbar-nav .nav-link.btn-brand:hover,
.navbar-nav .nav-link.btn-brand:focus {
  color: #fff;
}

.navbar-nav .nav-link.btn-brand {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.navbar-nav .nav-link.btn-brand:hover,
.navbar-nav .nav-link.btn-brand:focus {
  background: var(--color-sage-dark);
  border-color: var(--color-sage-dark);
}

.btn {
  border-radius: 0.45rem;
  font-weight: 600;
  padding: 0.85rem 1.35rem;
}

.btn-brand {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--color-sage-dark);
  border-color: var(--color-sage-dark);
  color: #fff;
}

.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-section {
  padding: 5rem 0 4rem;
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
}

.hero-section::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -8rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 162, 26, 0.34), transparent 68%);
  pointer-events: none;
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  top: -6rem;
  right: -8rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 57%, rgba(29, 70, 117, 0.09) 57% 61%, transparent 61.5%),
    radial-gradient(circle, transparent 0 65%, rgba(207, 162, 26, 0.3) 65% 66.2%, transparent 66.8%),
    linear-gradient(130deg, transparent 34%, rgba(29, 70, 117, 0.1) 46%, transparent 57%),
    linear-gradient(145deg, transparent 44%, rgba(207, 162, 26, 0.18) 52%, transparent 61%);
  transform: rotate(-14deg);
  pointer-events: none;
}

.section-eyebrow {
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-sage-dark);
}

.display-heading,
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.98;
  margin-bottom: 1.25rem;
}

.hero-copy,
.page-hero .lead {
  font-size: 1.08rem;
  max-width: 42rem;
  color: var(--color-ink-soft);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  color: var(--color-ink);
  font-weight: 600;
}

.hero-trust i {
  color: var(--color-sage-dark);
  margin-right: 0.35rem;
}

.hero-panel,
.editorial-panel,
.soft-card,
.service-detail-card,
.profile-card,
.contact-card,
.news-card,
.contact-form-wrap {
  background: rgba(255, 248, 228, 0.78);
  border: 1px solid rgba(21, 35, 55, 0.07);
  box-shadow: 0 12px 28px rgba(19, 33, 51, 0.05);
  border-radius: var(--radius-lg);
}

.hero-panel {
  padding: 1.6rem;
  background:
    linear-gradient(180deg, rgba(2, 9, 24, 0.96), rgba(17, 39, 74, 0.96)),
    linear-gradient(135deg, rgba(207, 162, 26, 0.4), transparent);
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.panel-title {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.metric-grid,
.process-steps,
.faq-preview,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.metric-card {
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
}

.metric-card h3,
.soft-card h3,
.news-card h3,
.contact-card h3 {
  font-size: 1.25rem;
}

.metric-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.metric-value {
  display: inline-block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
}

.trust-band {
  padding: 1.15rem 0;
  background: rgba(207, 162, 26, 0.26);
  border-top: 1px solid rgba(17, 39, 74, 0.08);
  border-bottom: 1px solid rgba(17, 39, 74, 0.08);
}

.section-space {
  padding: 5rem 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(240, 209, 90, 0.82), rgba(255, 247, 223, 0.56));
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 2.25rem;
}

.section-heading h2,
.editorial-panel h2,
.cta-banner h2,
.service-detail-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 0.8rem;
}

.soft-card,
.service-detail-card,
.profile-card,
.contact-card,
.news-card,
.contact-form-wrap {
  padding: 1.7rem;
}

.service-icon {
  font-size: 1.55rem;
  color: var(--color-sage-dark);
  display: inline-flex;
  margin-bottom: 1rem;
}

.process-step {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: 0.85rem;
  background: rgba(255, 248, 228, 0.72);
  border: 1px solid rgba(21, 35, 55, 0.07);
}

.process-step span {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.editorial-panel {
  padding: 2rem;
  background: rgba(255, 248, 228, 0.82);
}

.editorial-panel.inverted,
.featured-news {
  background:
    linear-gradient(180deg, rgba(2, 9, 24, 0.96), rgba(17, 39, 74, 0.96)),
    radial-gradient(circle at top right, rgba(207, 162, 26, 0.44), transparent 40%);
  color: #fff;
}

.editorial-panel.inverted .section-eyebrow,
.editorial-panel.inverted p,
.editorial-panel.inverted a,
.editorial-panel.inverted h2,
.editorial-panel.inverted h3,
.featured-news a,
.featured-news p,
.featured-news h3 {
  color: #fff;
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tick-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.85rem;
}

.tick-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--color-sage-dark);
}

.news-card {
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.news-tag,
.profile-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(207, 162, 26, 0.3);
  color: var(--color-sage-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-news .news-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}

.faq-home-btn {
  color: var(--color-ink) !important;
}

.faq-home-btn:hover,
.faq-home-btn:focus {
  color: var(--color-ink) !important;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(240, 196, 25, 0.52), rgba(255, 247, 223, 0.98));
  border: 1px solid rgba(21, 35, 55, 0.08);
  box-shadow: var(--shadow-soft);
}

.profile-card {
  background: linear-gradient(180deg, rgba(255, 247, 223, 0.84), rgba(240, 209, 90, 0.58));
}

.profile-role {
  color: var(--color-sage-dark);
  font-weight: 700;
}

.comparison-table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(12rem, 14rem) 1fr;
  background: rgba(255, 248, 228, 0.74);
}

.comparison-row > div {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--color-border);
}

.comparison-head {
  background: rgba(17, 39, 74, 0.94);
  color: #fff;
  font-weight: 700;
}

.faq-search-wrap {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.form-control,
.form-select {
  min-height: 3.35rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(21, 35, 55, 0.14);
  padding: 0.9rem 1rem;
}

.faq-no-results {
  margin-top: 0.75rem;
  color: var(--color-clay);
  font-weight: 600;
}

.faq-accordion .accordion-item {
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}

.faq-accordion .accordion-button {
  background: rgba(255, 248, 228, 0.8);
  color: var(--color-ink);
  font-weight: 700;
  padding: 1.2rem 1.3rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(240, 196, 25, 0.34);
  box-shadow: none;
}

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--color-deep);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .row > [class*="col"] {
  min-width: 0;
}

.site-footer h3 {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Public Sans", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer h3::after {
  content: none;
}

.site-footer .navbar-brand,
.site-footer .footer-brand {
  color: #fff;
}

.site-footer .footer-brand {
  align-items: flex-start;
  max-width: 100%;
  white-space: normal;
  width: 100%;
}

.site-footer .brand-stack {
  min-width: 0;
  max-width: 13rem;
}

.site-footer .brand-primary,
.site-footer .brand-secondary {
  display: block;
  overflow-wrap: anywhere;
}

.site-footer .brand-primary {
  line-height: 1.12;
}

.site-footer .brand-secondary {
  font-size: 0.62rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.site-footer .brand-secondary {
  color: rgba(255, 255, 255, 0.72);
}

.footer-copy {
  max-width: 28rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-details li {
  line-height: 1.55;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom.single-line {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  text-align: center;
}

.contact-card i {
  font-size: 1.35rem;
  color: var(--color-sage-dark);
  margin-bottom: 0.8rem;
}

.contact-separator {
  display: inline-block;
  margin: 0 0.4rem;
  color: currentColor;
  opacity: 0.55;
}

.whatsapp-link {
  font-weight: 700;
}

.contact-card .whatsapp-link i {
  font-size: 1rem;
  color: currentColor;
  margin-bottom: 0;
}

.whatsapp-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-left: 0.4rem;
  border-radius: 0.35rem;
  color: #25d366;
  vertical-align: middle;
}

.whatsapp-icon-link:hover,
.whatsapp-icon-link:focus {
  color: #1fae55;
}

.contact-card .whatsapp-icon-link i {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: currentColor;
}

.floating-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  min-width: 3.35rem;
  height: 3.35rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 34px rgba(16, 36, 28, 0.24);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
  color: #fff;
  background: #1fae55;
  box-shadow: 0 18px 38px rgba(16, 36, 28, 0.3);
  transform: translateY(-2px);
}

.floating-whatsapp i {
  position: relative;
  z-index: 1;
  font-size: 1.75rem;
  line-height: 1;
}

.legal-content {
  max-width: 54rem;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.7rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-ink-soft);
}

.article-layout {
  max-width: 48rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--color-ink-soft);
  font-weight: 600;
}

.article-intro {
  font-size: 1.1rem;
  color: var(--color-ink-soft);
}

.article-body h2 {
  margin-top: 2.2rem;
  font-size: 1.8rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5rem;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-strong);
  z-index: 1000;
}

.back-to-top.show {
  display: inline-flex;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 5rem;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(207, 162, 26, 0.9);
    border-radius: 0.8rem;
    box-shadow: var(--shadow-soft);
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .hero-section,
  .page-hero,
  .section-space {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .display-heading,
  .page-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
    width: 3.15rem;
    min-width: 3.15rem;
    height: 3.15rem;
  }

  .back-to-top {
    right: 1rem;
    bottom: 4.55rem;
  }
}
