:root {
  --green: #064326;
  --green-2: #0b5a32;
  --green-3: #e4ecdf;
  --ink: #082a19;
  --muted: #5f6f64;
  --paper: #f3f6f0;
  --white: #ffffff;
  --accent: #829b72;
  --line: #d5dfd2;
  --shadow: 0 24px 60px rgba(6, 67, 38, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(850px, calc(100% - 40px)); }
.topbar { background: var(--ink); color: #edf4ee; font-size: 12px; letter-spacing: .04em; }
.topbar-inner { display: flex; justify-content: space-between; padding: 8px 0; gap: 20px; }
.top-links { display: flex; gap: 22px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,.06); }
.nav { height: 118px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 300px; height: 104px; object-fit: contain; object-position: center; }
.menu { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); color: var(--green); padding: 9px 13px; border-radius: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: white; border: 1px solid var(--green); padding: 14px 22px; font-weight: 700; border-radius: 3px; transition: .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); background: var(--green-2); }
.btn-small { padding: 10px 16px; }
.btn-ghost { background: transparent; color: var(--green); }
.hero { background: linear-gradient(135deg, #fbfcfa 0%, #eff4eb 52%, #dfe9d9 100%); padding: 92px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.eyebrow { color: var(--green-2); font-size: 12px; font-weight: 800; letter-spacing: .17em; margin: 0 0 18px; }
.eyebrow.light { color: #c9dac0; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(46px, 6vw, 78px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 24px; max-width: 820px; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(36px, 4vw, 56px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 24px; }
h3 { line-height: 1.25; margin-top: 0; }
.lead { font-size: 20px; color: #30483a; max-width: 740px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.trust-row { margin-top: 50px; display: flex; gap: 36px; }
.trust-row div { border-left: 2px solid var(--accent); padding-left: 13px; display: grid; }
.trust-row strong { font-size: 22px; }
.trust-row span { font-size: 12px; color: var(--muted); }
.hero-panel { background: var(--white); border: 1px solid rgba(18,62,42,.12); box-shadow: var(--shadow); padding: 34px; position: relative; }
.hero-panel:before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--green), var(--accent)); }
.panel-label { font-size: 11px; font-weight: 800; letter-spacing: .15em; color: var(--muted); }
.metric { display: flex; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid var(--line); gap: 20px; }
.metric b { color: var(--green); text-align: right; }
.panel-note { margin: 25px 0 0; color: var(--muted); font-size: 14px; }
.section { padding: 100px 0; }
.origin { background: white; }
.intro { font-size: 21px; color: #2f493a; }
.origin p { font-size: 18px; }
blockquote { border-left: 4px solid var(--accent); margin: 40px 0 0; padding: 12px 0 12px 26px; font-family: Georgia, serif; font-size: 28px; line-height: 1.35; color: var(--green); }
.dark { background: var(--ink); color: white; }
.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; }
.dark .section-heading > p:last-child { color: #c4d3c7; }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.principle-card { background: #0d3823; border: 1px solid #2e5a40; padding: 34px; min-height: 365px; }
.number { display: inline-block; color: var(--accent); font-weight: 800; margin-bottom: 40px; }
.principle-card h3 { font-size: 26px; }
.principle-card p { color: #d3dfd5; }
.principle-card .quote { color: white; font-family: Georgia, serif; font-size: 19px; margin-top: 28px; }
.efficiency { background: var(--paper); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; }
.check-list li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); }
.check-list li:before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.workflow-card { background: white; box-shadow: var(--shadow); padding: 36px; }
.workflow-title { font-weight: 900; color: var(--green); letter-spacing: .1em; font-size: 12px; margin-bottom: 24px; }
.workflow-step { display: flex; gap: 17px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.workflow-step > span { width: 32px; height: 32px; background: var(--green); color: white; display: grid; place-items: center; border-radius: 50%; flex: 0 0 32px; font-weight: 700; }
.workflow-step small { display: block; color: var(--muted); }
.invoice-box { margin-top: 25px; padding: 22px; background: var(--green-3); border-left: 4px solid var(--green); }
.invoice-box p { margin-bottom: 0; font-size: 14px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 30px; border: 1px solid var(--line); background: white; transition: .2s; }
.service:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.07); }
.service h3 { color: var(--green); font-size: 22px; }
.service p { color: var(--muted); }
.emergency { background: var(--green); color: white; }
.emergency-grid { display: grid; grid-template-columns: 280px 1fr; gap: 70px; align-items: center; }
.emergency-icon { width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; font-size: 66px; color: white; box-shadow: inset 0 0 0 15px rgba(255,255,255,.06); }
.example-box { margin: 28px 0; padding: 22px; background: rgba(255,255,255,.1); border-left: 4px solid var(--accent); }
.example-box p { margin-bottom: 0; }
.legal-note { font-size: 13px; color: #d5e5d8; }
.group { background: #f7f9f5; }
.group-visual { background: white; border: 1px solid var(--line); padding: 18px; margin: 30px 0 40px; }
.group-visual img { max-height: 540px; width: 100%; object-fit: contain; }
.group-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.group-card { background: white; border-top: 4px solid var(--green); padding: 22px; min-height: 230px; }
.group-card h3 { font-size: 17px; }
.group-card p { font-size: 14px; color: var(--muted); }
.coordination { margin-top: 28px; background: var(--ink); color: white; padding: 32px; display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: center; }
.coordination h3, .coordination p { margin: 0; }
.contact { background: var(--ink); color: white; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-lines { margin-top: 34px; display: grid; gap: 16px; }
.contact-lines > * { display: grid; border-bottom: 1px solid #365a43; padding-bottom: 14px; }
.contact-lines span { color: #b8cbbd; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.contact-form { background: white; color: var(--ink); padding: 34px; }
.contact-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; margin-bottom: 17px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #cad2cc; padding: 13px; font: inherit; border-radius: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .consent { display: flex; align-items: flex-start; font-weight: 400; }
.consent input { width: auto; margin-top: 5px; }
.contact-form small { display: block; margin-top: 12px; color: var(--muted); }
footer { background: #041f12; color: #d9e4db; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-grid > div { display: grid; align-content: start; gap: 8px; }
.footer-logo { width: 310px; background: white; padding: 10px; border-radius: 2px; }
.footer-bottom { border-top: 1px solid #2a4f39; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .topbar-inner > span { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; top: 120px; left: 20px; right: 20px; background: white; box-shadow: var(--shadow); padding: 22px; flex-direction: column; align-items: stretch; }
  .menu.open { display: flex; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .principles-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .group-grid { grid-template-columns: repeat(2, 1fr); }
  .emergency-grid { grid-template-columns: 1fr; }
  .emergency-icon { width: 170px; height: 170px; font-size: 44px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 26px, 1180px); }
  .top-links { width: 100%; justify-content: space-between; gap: 8px; font-size: 10px; }
  .nav { height: 82px; }
  .brand img { width: 175px; height: 68px; }
  .menu { top: 114px; }
  h1 { font-size: 45px; }
  h2 { font-size: 37px; }
  .section { padding: 72px 0; }
  .hero-actions, .trust-row { flex-direction: column; align-items: stretch; }
  .principles-grid, .services-grid, .group-grid, .form-row, .footer-grid, .coordination { grid-template-columns: 1fr; }
  .principle-card { min-height: auto; }
  .group-card { min-height: auto; }
  .footer-bottom { flex-direction: column; }
}

.brand { display:flex; align-items:center; }
.menu a:not(.btn):hover { color: var(--green-2); }
.service, .workflow-card, .contact-form, .group-card { border-radius: 2px; }
.dark { background: linear-gradient(145deg, #052a18 0%, #0a3922 100%); }
.contact { background: linear-gradient(145deg, #052a18 0%, #0b3c24 100%); }
.emergency { background: linear-gradient(135deg, #064326 0%, #0b5a32 65%, #829b72 160%); }
.topbar { background: #052a18; }


.protocol-highlight { margin: 26px 0; padding: 24px 26px; background: linear-gradient(135deg, #06351f 0%, #0b5731 100%); border-left: 5px solid #91aa7f; box-shadow: 0 14px 30px rgba(5, 42, 24, .14); color: #fff; }
.protocol-highlight .protocol-label { display: block; margin-bottom: 9px; font-size: 11px; line-height: 1.2; letter-spacing: .16em; font-weight: 800; color: #c9d9bf; }
.protocol-highlight strong { display: block; font-size: clamp(20px, 2.15vw, 30px); line-height: 1.25; font-weight: 750; letter-spacing: -.02em; }
.privacy-summary { background: var(--green-3); border-left: 4px solid var(--green); padding: 15px 17px; margin: 4px 0 17px; font-size: 12px; line-height: 1.55; }
.privacy-summary p { margin: 5px 0 0; color: #334c3d; }
.consent span { line-height: 1.45; }
.consent a, .privacy a { color: var(--green-2); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.privacy { background: #f7f9f5; }
.privacy h3 { margin: 26px 0 7px; color: var(--green); font-size: 17px; }
.privacy p { color: #344a3d; font-size: 13px; line-height: 1.62; }
.privacy-updated { font-size: 11px !important; color: var(--muted) !important; }

/* Formulario funcional */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-status { margin-bottom: 18px; padding: 13px 15px; border: 1px solid; font-weight: 700; }
.form-status.success { background: #edf8f1; color: #064326; border-color: #8fc6a6; }
.form-status.error { background: #fff2f2; color: #7a1f1f; border-color: #d9a1a1; }


/* Selector de idioma */
.language-switcher { display:flex; align-items:center; gap:10px; margin-left:10px; font-size:12px; font-weight:800; letter-spacing:.04em; }
.language-switcher a, .language-switcher span {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  min-height:34px;
  padding:7px 10px;
  border:1px solid #b8c8bc;
  border-radius:6px;
  background:#fff;
  color:var(--green);
  text-decoration:none;
  box-shadow:0 1px 2px rgba(9, 64, 34, .06);
}
.language-switcher a:hover { background:#eef5ef; border-color:var(--green); }
.language-switcher .active { background:var(--green); border-color:var(--green); color:#fff; }
.language-switcher span[aria-disabled="true"] { color:#8b978f; background:#f3f5f3; cursor:not-allowed; }
@media (max-width:980px) {
  .language-switcher { margin:0 0 12px; width:max-content; gap:8px; }
  .language-switcher a, .language-switcher span { min-width:46px; }
}

/* Bangla language typography */
html[lang="bn"] body { font-family: "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", "Vrinda", Arial, sans-serif; line-height: 1.72; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3, html[lang="bn"] .btn { letter-spacing: 0; }
html[lang="bn"] .menu { gap: .7rem; }
