/* =========================================
   CLAIMFLUX — GLOBAL STYLES
========================================= */
:root {
  --green-dark: #1B5E3F;
  --green-mid: #2E7D5B;
  --mint-bg: #E8F5EE;
  --white: #FFFFFF;
  --charcoal: #2A2A2A;
  --gray: #6B7280;
  --border: #DDEEE4;
  --font-head: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(27, 94, 63, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--green-dark); }

a { text-decoration: none; color: inherit; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--green-dark); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(27,94,63,0.25); }
.btn-outline { background: transparent; border: 2px solid var(--green-dark); color: var(--green-dark); }
.btn-outline:hover { background: var(--green-dark); color: var(--white); }
.btn-full { width: 100%; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--charcoal);
}
.logo span { color: var(--green-dark); }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-weight: 500; color: var(--charcoal); position: relative; }
.main-nav a.active, .main-nav a:hover { color: var(--green-dark); }
.main-nav a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 100%; height: 2px; background: var(--green-dark);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span { width: 26px; height: 2px; background: var(--charcoal); }

/* ===== HERO ===== */
.hero { background: var(--mint-bg); padding: 80px 0; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  color: var(--green-mid);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}
.hero-text h1 { font-size: 44px; margin-bottom: 20px; }
.hero-sub { color: var(--gray); font-size: 17px; margin-bottom: 28px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img {
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: floatIn 0.8s ease both;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--green-dark); padding: 36px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}
.trust-item strong { display: block; font-size: 30px; color: var(--white); font-family: var(--font-head); }
.trust-item span { color: #CFE8DA; font-size: 14px; }

/* ===== SECTIONS (generic, used across pages) ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--mint-bg); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head h2 { font-size: 34px; margin-bottom: 14px; }
.section-head p { color: var(--gray); font-size: 16px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.hover-border-grid .card {
  border: 2px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hover-border-grid .card:hover {
  border-color: var(--green-dark);
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.open {
  border-color: var(--green-dark);
  box-shadow: var(--shadow);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  user-select: none;
}
.faq-question h3 {
  font-size: 16.5px;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 600;
}
.faq-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--mint-bg);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease;
}
.faq-item.open .faq-icon {
  background: var(--green-dark);
  color: var(--white);
  transform: rotate(135deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 26px 22px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-answer p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.7;
}
.card ul li { margin-bottom: 6px; }

/* ===== ABOUT / BULLET LIST ===== */
.bullet-list { list-style: none; }
.bullet-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15.5px;
}
.bullet-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  background: var(--green-dark);
  color: var(--white);
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  animation: pulse 1.6s infinite;
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: #25D366;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 200;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== FOOTER ===== */
.site-footer { background: #10382A; color: #DCEBE3; padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-inner-5 {
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
}
@media (max-width: 900px) {
  .footer-inner-5 { grid-template-columns: 1fr 1fr; }
}

.footer-logo { color: var(--white); margin-bottom: 14px; display: inline-block; }
.footer-logo span { color: #A8E6C1; }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: #B9D4C6; margin-bottom: 10px; font-size: 14.5px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 36px; height: 36px;
  border: 1px solid #2E6349;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.footer-bottom {
  border-top: 1px solid #2E6349;
  text-align: center;
  padding: 20px 0;
  font-size: 13.5px;
  color: #9FC2AF;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 56, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
  padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-box h3 { font-size: 24px; margin-bottom: 8px; }
.modal-box p { color: var(--gray); font-size: 14.5px; margin-bottom: 20px; }
.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; font-size: 26px; cursor: pointer; color: var(--gray);
}
#consultForm { display: flex; flex-direction: column; gap: 14px; }
#consultForm input, #consultForm select {
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--mint-bg);
}
#consultForm input:focus, #consultForm select:focus {
  outline: 2px solid var(--green-dark);
  background: var(--white);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 34px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .main-nav { 
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    display: none;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 28px; }
  .section { padding: 60px 0; }
}

/* ===== LOGO IMAGE ===== */
.logo-img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.footer-logo-img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(1.1);
}
.logo-link, .footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
}
.logo-text-accent { color: var(--green-dark); }
.footer-logo-text {
  color: var(--white);
  font-size: 24px;
}
.footer-logo-text .logo-text-accent { color: #A8E6C1; }

/* ===== SPECIALTY GRID ===== */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.specialty-item {
  background: var(--mint-bg);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  font-weight: 600;
  color: var(--green-dark);
  font-size: 14.5px;
  transition: all 0.25s ease;
}
.specialty-item:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-4px);
  border-color: var(--green-dark);
}
@media (max-width: 640px) {
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== SERVICE SELECT BOXES ===== */
.service-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.service-option {
  padding: 12px 10px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--mint-bg);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.service-option:hover { border-color: var(--green-mid); }
.service-option.selected {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}