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

:root {
  --primary: #e65100;
  --primary-light: #ff6d00;
  --primary-dark: #bf360c;
  --accent: #1565c0;
  --accent-light: #1e88e5;
  --dark: #1a1a2e;
  --gray-900: #212121;
  --gray-700: #424242;
  --gray-500: #757575;
  --gray-400: #9e9e9e;
  --gray-200: #e0e0e0;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #e65100 0%, #ff6d00 50%, #bf360c 100%);
  --gradient-cool: linear-gradient(135deg, #1565c0 0%, #1e88e5 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-900);
  line-height: 1.7;
  background: var(--white);
}

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

/* ── NAV ────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo { font-size: 1.4rem; font-weight: 800; text-decoration: none; color: var(--dark); }
.logo em { font-style: normal; color: var(--primary); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--gray-700); font-weight: 500;
  font-size: 0.92rem; transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.btn-nav {
  background: var(--primary); color: var(--white) !important;
  padding: 0.55rem 1.3rem; border-radius: 10px;
}
.btn-nav:hover { background: var(--primary-light); }

/* Hamburger */
.nav-toggle-cb { display: none; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-700); transition: 0.3s; }

/* ── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 2.2rem; border-radius: 12px;
  font-size: 1.05rem; font-weight: 700; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}
.btn-white { background: var(--white); color: var(--primary); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 20px rgba(230,81,0,0.35); }
.btn-primary:hover { transform: translateY(-2px); background: var(--primary-light); }
.btn-outline {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ── HERO ───────────────────────────────── */
.hero {
  padding: 10rem 2rem 5rem;
  background: var(--gradient);
  color: var(--white);
  text-align: center;
}
.hero-sm { padding: 8rem 2rem 4rem; }
.hero-inner { max-width: 850px; margin: 0 auto; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.18);
  padding: 0.4rem 1.2rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.hero h1 { font-size: 3rem; font-weight: 900; line-height: 1.15; margin-bottom: 1.2rem; }
.hero-sub { font-size: 1.2rem; opacity: 0.92; margin-bottom: 2rem; max-width: 650px; margin-left: auto; margin-right: auto; }
.highlight { color: #ffd54f; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 900; }
.stat span { font-size: 0.85rem; opacity: 0.8; }

/* ── SECTIONS ───────────────────────────── */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--gray-50); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--dark); }
.section-header p { font-size: 1.1rem; color: var(--gray-500); max-width: 600px; margin: 0 auto; }
.content-block { max-width: 800px; margin: 0 auto 2rem; }
.content-block h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.8rem; color: var(--dark); }
.content-block p { color: var(--gray-700); font-size: 1.05rem; }

/* ── SERVICES GRID ──────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--dark); }
.service-card p { font-size: 0.95rem; color: var(--gray-500); margin-bottom: 1rem; }
.service-link { font-size: 0.9rem; font-weight: 600; color: var(--primary); }

/* ── FEATURES GRID ──────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.feature-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 2rem;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--dark); }
.feature-card p { font-size: 0.95rem; color: var(--gray-500); }

/* ── STEPS ──────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card { text-align: center; padding: 2rem; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient); color: var(--white);
  font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.95rem; color: var(--gray-500); }

/* ── PROBLEMS GRID ──────────────────────── */
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.problem-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.problem-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.problem-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--dark); }
.problem-card p { font-size: 0.92rem; color: var(--gray-500); }

/* ── CTA ────────────────────────────────── */
.cta-section { padding: 4rem 2rem; }
.cta-box {
  background: var(--gradient); border-radius: var(--radius);
  padding: 4rem 3rem; text-align: center; color: var(--white);
}
.cta-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.8rem; }
.cta-box p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; }

/* ── CONTACT ────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h2, .contact-form-wrap h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; color: var(--dark); }
.contact-info p { color: var(--gray-500); margin-bottom: 2rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-method { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { font-size: 1.5rem; min-width: 2rem; }
.contact-method h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
.contact-method a, .contact-method p { font-size: 0.95rem; color: var(--primary); text-decoration: none; }
.contact-method a:hover { text-decoration: underline; }
.contact-emergency {
  background: #fff3e0; border: 1px solid #ffcc02; border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-emergency h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.contact-emergency p { font-size: 0.9rem; color: var(--gray-700); }

/* ── FORM ───────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.8rem 1rem; border: 1px solid var(--gray-200);
  border-radius: 10px; font-size: 1rem; font-family: inherit;
  transition: border-color 0.2s; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--dark); color: var(--gray-400); padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
}
.footer-brand .logo { color: var(--white); margin-bottom: 0.8rem; display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--gray-400); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 0.85rem;
}

/* ── DETAIL PAGES ─────────────────────────── */
.detail-intro {
  display: grid; grid-template-columns: 1fr 340px; gap: 3rem;
  align-items: start; max-width: 1000px; margin: 0 auto;
}
.detail-intro-text h2 {
  font-size: 1.8rem; font-weight: 800; color: var(--dark); margin-bottom: 1rem;
}
.detail-intro-text p {
  font-size: 1.05rem; color: var(--gray-700); line-height: 1.8; margin-bottom: 1rem;
}
.detail-intro-stats {
  display: flex; flex-direction: column; gap: 1rem;
}
.detail-stat {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.4rem 1.8rem;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.detail-stat:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.detail-stat strong {
  display: block; font-size: 2rem; font-weight: 900;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.2;
}
.detail-stat span {
  font-size: 0.85rem; color: var(--gray-500); font-weight: 600;
}

/* Detail causes grid */
.detail-causes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.detail-cause-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.detail-cause-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); opacity: 0; transition: opacity 0.3s;
}
.detail-cause-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.detail-cause-card:hover::before { opacity: 1; }
.detail-cause-icon {
  font-size: 2.2rem; margin-bottom: 1rem; display: block;
}
.detail-cause-card h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem;
}
.detail-cause-card p {
  font-size: 0.92rem; color: var(--gray-500); line-height: 1.7;
}

/* Detail steps (vertical timeline) */
.detail-steps {
  max-width: 750px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.detail-steps::before {
  content: ""; position: absolute; left: 28px; top: 0; bottom: 0;
  width: 3px; background: var(--gray-200); border-radius: 3px;
}
.detail-step {
  display: flex; align-items: flex-start; gap: 1.5rem;
  padding: 1.5rem 0; position: relative;
}
.detail-step-num {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient); color: var(--white);
  font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
}
.detail-step-body { flex: 1; padding-top: 0.6rem; }
.detail-step-body h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem;
}
.detail-step-body p {
  font-size: 0.95rem; color: var(--gray-500); line-height: 1.7;
}

/* ── PROVINCES ────────────────────────────── */
.provinces-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start; margin-bottom: 2rem;
}
.provinces-map {
  position: relative; display: flex; flex-direction: column; align-items: center;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); border: 1px solid var(--gray-200);
  padding: 2rem; position: sticky; top: 100px;
}
.provinces-map img {
  width: 100%; height: auto; max-width: 380px;
}
.map-badge {
  display: flex; flex-direction: column; align-items: center;
  margin-top: 1.2rem; padding: 0.8rem 1.5rem;
  background: var(--gradient); border-radius: var(--radius);
  color: var(--white); text-align: center;
}
.map-badge-number {
  font-size: 2rem; font-weight: 900; line-height: 1;
}
.map-badge-text {
  font-size: 0.85rem; font-weight: 600; opacity: 0.9; margin-top: 0.2rem;
}
.provinces-cards {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
.province-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
}
.province-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.province-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient); color: var(--white);
  font-size: 1rem; font-weight: 800; letter-spacing: 0.5px;
  display: flex; align-items: center; justify-content: center;
}
.province-body { flex: 1; min-width: 0; }
.province-body h3 {
  font-size: 1.05rem; font-weight: 800; color: var(--dark); margin-bottom: 0.4rem;
}
.province-towns {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.province-towns span {
  display: inline-block; background: var(--gray-100); color: var(--gray-700);
  padding: 0.2rem 0.6rem; border-radius: 6px;
  font-size: 0.78rem; font-weight: 500; white-space: nowrap;
}
.provinces-note {
  display: flex; align-items: center; gap: 1.2rem;
  background: linear-gradient(135deg, #fff3e0 0%, #fff8e1 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius); padding: 1.8rem 2rem;
}
.provinces-note-icon {
  flex-shrink: 0; font-size: 2.5rem; line-height: 1;
}
.provinces-note-body h3 {
  font-size: 1.05rem; font-weight: 800; color: var(--dark); margin-bottom: 0.3rem;
}
.provinces-note-body p {
  font-size: 0.95rem; color: var(--gray-700); line-height: 1.6; margin: 0;
}

/* ── FAQ ────────────────────────────────── */
.faq-section-wrap {
  max-width: 820px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 2.5rem;
  border: 1px solid var(--gray-200);
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border: none; border-bottom: 1px solid var(--gray-200);
  border-radius: 0; margin-bottom: 0; overflow: hidden;
  transition: background 0.2s;
}
.faq-item:last-child { border-bottom: none; }
.faq-item[open] { background: var(--gray-50); box-shadow: none; }
.faq-item summary {
  padding: 1.3rem 1rem; font-weight: 700; font-size: 1.05rem;
  cursor: pointer; list-style: none; display: flex;
  align-items: center; justify-content: space-between; gap: 1rem;
  color: var(--dark); transition: color 0.2s; border-radius: 8px;
}
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 600; color: var(--white);
  background: var(--primary); border-radius: 50%;
  transition: transform 0.3s, background 0.2s;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); background: var(--primary-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-answer {
  padding: 0 1rem 1.3rem 1rem; color: var(--gray-500);
  font-size: 0.95rem; line-height: 1.8;
}
.faq-item .faq-answer a { color: var(--primary); text-decoration: none; font-weight: 600; }
.faq-item .faq-answer a:hover { text-decoration: underline; }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-causes-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-intro { grid-template-columns: 1fr 280px; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: var(--white);
    padding: 1.5rem 2rem; border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md); gap: 1rem;
  }
  .nav-toggle-cb:checked ~ .nav-links { display: flex; }

  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-stats { gap: 1.5rem; }
  .stat strong { font-size: 1.5rem; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: 1fr; }
  .detail-intro { grid-template-columns: 1fr; }
  .detail-intro-stats { flex-direction: row; }
  .detail-stat { flex: 1; }
  .detail-causes-grid { grid-template-columns: 1fr; }
  .detail-step-num { width: 44px; height: 44px; font-size: 1.1rem; }
  .detail-steps::before { left: 22px; }
  .provinces-layout { grid-template-columns: 1fr; }
  .provinces-map { position: static; }
  .provinces-note { flex-direction: column; text-align: center; }
  .province-card { padding: 1rem 1.2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .faq-section-wrap { padding: 1.2rem; }

  .section { padding: 3rem 1.2rem; }
  .section-header h2 { font-size: 1.6rem; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .cta-box h2 { font-size: 1.5rem; }
}
