@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --navy: #082d54;
  --navy-dark: #051c35;
  --navy-light: #0f457e;
  --blue: #1262a3;
  --blue-light: #e8f2fa;
  --gold: #d2a84d;
  --gold-dark: #b88e33;
  --gold-light: #fdf6e7;
  --gold-glow: rgba(210, 168, 77, 0.25);
  --cream: #f8f6f0;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --text-main: #193247;
  --text-muted: #5e7387;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(8, 45, 84, 0.06);
  --shadow-md: 0 10px 30px rgba(8, 45, 84, 0.08);
  --shadow-lg: 0 20px 50px rgba(8, 45, 84, 0.12);
  --shadow-hover: 0 22px 60px rgba(8, 45, 84, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  background-color: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

.serif-heading {
  font-family: 'Playfair Display', Georgia, serif;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease;
}

.skip:focus {
  top: 15px;
}

/* =========================================
   TOP UTILITY BAR
   ========================================= */
.utility {
  background: var(--navy-dark);
  color: #c9dbe9;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e1edf6;
  font-weight: 500;
}

.utility-links a:hover {
  color: var(--gold);
}

.utility-icon {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* =========================================
   HEADER & NAVBAR
   ========================================= */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(8, 45, 84, 0.06);
}

.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-link {
  color: var(--navy);
  padding: 8px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--blue);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
}

.dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 320px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(8, 45, 84, 0.15);
  border: 1px solid var(--slate-200);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  gap: 2px;
  z-index: 110;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.nav-dropdown:hover .dropdown-toggle svg,
.nav-dropdown.is-open .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--navy);
  transition: var(--transition);
}

.dropdown-item strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.dropdown-item span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.dropdown-item:hover, .dropdown-item.active {
  background: var(--blue-light);
  color: var(--blue);
}

.dropdown-item:hover strong, .dropdown-item.active strong {
  color: var(--blue);
}

.dropdown-divider {
  height: 1px;
  background: var(--slate-200);
  margin: 6px 0;
}

.dropdown-all {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  display: block;
}

.dropdown-all:hover {
  background: var(--blue);
  color: var(--white);
}

/* Header Buttons */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 26px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--gold-glow);
  transition: var(--transition);
  text-decoration: none;
}

.button:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 142, 51, 0.35);
}

.button-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.button-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.button-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: none;
}

.button-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.button-small {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.button-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.button-whatsapp:hover {
  background: #20ba59;
  color: var(--white);
}

.menu-button {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 120;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================
   HERO SECTIONS & BACKGROUND CAROUSEL
   ========================================= */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 85px 0 95px;
  position: relative;
  overflow: hidden;
}

/* Background Image Carousel */
.hero-bg-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s ease-in-out, transform 8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 28, 53, 0.78) 0%, rgba(8, 45, 84, 0.73) 55%, rgba(15, 69, 126, 0.67) 100%);
  z-index: 1;
}

/* Hero Carousel Indicators */
.hero-carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
  background: var(--gold);
  width: 48px;
  box-shadow: 0 0 10px rgba(210, 168, 77, 0.6);
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 168, 77, 0.12) 0%, rgba(210, 168, 77, 0) 70%);
  pointer-events: none;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--blue) 50%, var(--gold) 100%);
  z-index: 3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-inner-page {
  padding: 70px 0 80px;
}

.hero-inner-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #a7c5df;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: #cde2f3;
  text-decoration: underline;
  text-decoration-color: rgba(205, 226, 243, 0.4);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs span {
  color: #7b9ebc;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(210, 168, 77, 0.16);
  border: 1px solid rgba(210, 168, 77, 0.35);
  border-radius: 50px;
  color: #f7df9d;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--white);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 700;
}

.hero-copy p {
  font-size: 1.15rem;
  color: #dbe7f2;
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.trust-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  color: #cbddec;
  font-size: 0.9rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-list li svg, .trust-list li span.check {
  color: var(--gold);
  font-weight: 900;
}

/* Hero Cards */
.hero-card {
  background: var(--white);
  color: var(--text-main);
  padding: 34px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  border-top: 4px solid var(--gold);
}

.hero-card-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.hero-card strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 22px;
  line-height: 1.55;
}

.hero-card-list {
  list-style: none;
  margin-bottom: 24px;
  display: grid;
  gap: 10px;
}

.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--slate-700);
}

.hero-card-list li svg {
  flex-shrink: 0;
  color: #10b981;
  margin-top: 3px;
}

/* =========================================
   GENERAL SECTIONS & TYPOGRAPHY
   ========================================= */
.section {
  padding: 85px 0;
  position: relative;
}

.section-alt {
  background: var(--white);
}

.section-cream {
  background: var(--cream);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h2, .section-navy h3 {
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  margin-bottom: 10px;
}

.eyebrow-gold {
  color: var(--gold);
}

.section-heading h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--slate-600);
  font-size: 1.1rem;
  line-height: 1.6;
}

.section-navy .section-heading p {
  color: #cde0ef;
}

/* =========================================
   SERVICES GRID & CARDS
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--slate-300);
}

.service-card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--slate-100);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-category {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: auto;
}

.service-card-link:hover {
  color: var(--navy);
  gap: 12px;
}

/* =========================================
   DETAIL PAGES CONTENT LAYOUT
   ========================================= */
.detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 50px;
  align-items: start;
}

.content-block {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  margin-bottom: 35px;
}

.content-block h2 {
  font-size: 1.85rem;
  margin-bottom: 18px;
  color: var(--navy);
}

.content-block h3 {
  font-size: 1.4rem;
  margin: 28px 0 14px;
  color: var(--navy);
}

.content-block p {
  color: var(--slate-700);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.content-block ul, .content-block ol {
  margin: 18px 0 24px 22px;
  color: var(--slate-700);
}

.content-block li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.highlight-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 22px 26px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}

.highlight-box p {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0;
  font-weight: 500;
}

.highlight-box strong {
  color: var(--navy-dark);
}

.legal-quote {
  background: var(--slate-100);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
}

.legal-quote p {
  color: var(--slate-800);
  font-size: 0.98rem;
  margin: 0;
}

/* Sticky Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 25px;
}

.sidebar-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.sidebar-card-navy {
  background: var(--navy);
  color: var(--white);
  border: none;
}

.sidebar-card-navy h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.sidebar-card-navy p {
  color: #cbe0f0;
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.sidebar-nav-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.sidebar-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}

.sidebar-nav-list a:hover, .sidebar-nav-list a.active {
  background: var(--blue-light);
  color: var(--blue);
  padding-left: 20px;
}

/* Feature Grid inside pages */
.feature-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 24px 0;
}

.feature-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.feature-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-light);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.feature-box h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 0;
}

/* Comparison / Calculation Tables */
.table-responsive {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  text-align: left;
  font-size: 0.95rem;
}

.custom-table th {
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.custom-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:nth-child(even) {
  background: var(--slate-50);
}

/* =========================================
   PROCESS STEPS SECTION
   ========================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.process-step {
  background: var(--white);
  padding: 34px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.step-number {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================
   ABOUT US PAGE & SECTIONS
   ========================================= */
.about-history-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.history-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.history-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.history-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(8, 45, 84, 0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
}

.history-badge strong {
  display: block;
  font-size: 1.8rem;
  font-family: 'Outfit', sans-serif;
  color: var(--gold);
}

.history-badge span {
  font-size: 0.85rem;
  color: #d2e4f2;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: var(--white);
  padding: 34px 28px;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
}

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 60px;
  align-items: start;
}

.accordion-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--slate-300);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 26px;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-icon {
  font-size: 1.3rem;
  color: var(--blue);
  transition: transform 0.25s ease;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(45deg);
  color: var(--gold-dark);
}

.accordion-content {
  padding: 0 26px 22px;
  display: none;
  color: var(--slate-600);
  font-size: 0.98rem;
  line-height: 1.65;
}

.accordion-item.is-open .accordion-content {
  display: block;
}

/* HTML5 details/summary fallback */
details.accordion-details {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  padding: 0 24px;
  transition: var(--transition);
}

details.accordion-details summary {
  padding: 20px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.accordion-details summary::-webkit-details-marker {
  display: none;
}

details.accordion-details summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--blue);
  font-weight: 400;
}

details.accordion-details[open] summary::after {
  content: '−';
  color: var(--gold-dark);
}

details.accordion-details p {
  color: var(--slate-600);
  margin-bottom: 20px;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* =========================================
   CONTACT SECTION & FORM
   ========================================= */
.contact-section {
  background: var(--navy);
  color: var(--white);
  padding: 95px 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(18, 98, 163, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-info-col h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  margin-bottom: 18px;
}

.contact-info-col p.lead {
  color: #d0e2f1;
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 35px;
}

.contact-methods {
  display: grid;
  gap: 20px;
  margin-bottom: 35px;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-method-text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9cb8d1;
  margin-bottom: 3px;
}

.contact-method-text a, .contact-method-text address {
  color: var(--white);
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-method-text a:hover {
  color: var(--gold);
}

.contact-form-card {
  background: var(--white);
  color: var(--text-main);
  padding: 42px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.form-label span.req {
  color: #e11d48;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--slate-800);
  background: var(--white);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 98, 163, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 105px;
}

.form-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-top: 4px;
}

.form-consent input {
  margin-top: 4px;
  accent-color: var(--navy);
}

.form-submit-btn {
  grid-column: 1 / -1;
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.form-disclaimer {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--slate-600);
  text-align: center;
  margin-top: 6px;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--navy-dark);
  color: #c0d3e2;
  padding: 70px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 1.2fr;
  gap: 45px;
  margin-bottom: 50px;
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 18px;
  background: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  color: #9cb8d1;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer-links a {
  color: #a7c5df;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact-info {
  display: grid;
  gap: 14px;
  font-size: 0.92rem;
}

.footer-contact-info a {
  color: var(--white);
  font-weight: 600;
}

.footer-contact-info a:hover {
  color: var(--gold);
}

.footer-contact-info address {
  font-style: normal;
  color: #9cb8d1;
  line-height: 1.5;
}

.footer-cnpj {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #7d9cb8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #7d9cb8;
  flex-wrap: wrap;
  gap: 15px;
}

/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */
.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 99;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20ba59;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--navy-dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* =========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */
@media (max-width: 1024px) {
  .hero-grid, .hero-inner-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .sticky-sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .utility {
    display: none;
  }
  .nav {
    height: 76px;
  }
  .brand img {
    height: 54px;
  }
  .menu-button {
    display: block;
  }
  .menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--slate-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-dropdown {
    width: 100%;
  }
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
  }
  .dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--slate-200);
    margin-top: 8px;
    background: var(--slate-50);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .process-grid, .values-grid {
    grid-template-columns: 1fr;
  }
  .about-history-grid {
    grid-template-columns: 1fr;
  }
  .history-image-wrap img {
    height: 350px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 30px, 1200px);
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .button {
    width: 100%;
    text-align: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid-2 {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 24px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 18px;
    bottom: 18px;
  }
  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
