/* ==========================================================================
   CytotecHonduras.org — Editorial-Clinical Design System (Zero External Bloat)
   Paleta: Verde Petróleo Clínico (#0F3D3E) + Papel Cálido (#FAF9F6)
   ========================================================================== */

:root {
  --bg-page: #FAF9F6;
  --bg-surface: #FFFFFF;
  --bg-muted: #F1F4F2;
  --bg-accent-soft: #E5F0EE;
  --text-primary: #132121;
  --text-secondary: #3E5252;
  --text-muted: #617575;
  --brand-primary: #0F3D3E;
  --brand-hover: #0B2D2E;
  --brand-light: #1F6E6E;
  --wa-green: #15803D;
  --wa-hover: #166534;
  --alert-bg: #FDF3EF;
  --alert-border: #C85A32;
  --alert-text: #7A2E14;
  --ok-bg: #ECFDF5;
  --ok-border: #059669;
  --ok-text: #065F46;
  --border: #DCE3E0;
  --shadow-sm: 0 2px 8px rgba(15, 61, 62, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 61, 62, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1120px;
}

[data-theme="dark"] {
  --bg-page: #0D1516;
  --bg-surface: #142022;
  --bg-muted: #1A2A2C;
  --bg-accent-soft: #163233;
  --text-primary: #F1F5F4;
  --text-secondary: #C2D1CF;
  --text-muted: #8FA5A3;
  --brand-primary: #4FB3B0;
  --brand-hover: #6AC7C4;
  --brand-light: #7FD4D1;
  --wa-green: #16A34A;
  --wa-hover: #22C55E;
  --alert-bg: #2C1611;
  --alert-border: #E07A55;
  --alert-text: #FCD5C7;
  --ok-bg: #0E2920;
  --ok-border: #34D399;
  --ok-text: #A7F3D0;
  --border: #253A3C;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-primary);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 2000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-muted);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-icon:hover {
  border-color: var(--brand-primary);
}

.btn-quick-exit {
  background: var(--alert-bg);
  color: var(--alert-text);
  border: 1px solid var(--alert-border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-quick-exit:hover {
  opacity: 0.9;
}

.menu-toggle {
  display: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.hero {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-light));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-accent-soft);
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--brand-light);
  font-weight: 700;
  margin-bottom: 1.15rem;
  line-height: 1.35;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 76ch;
  margin-bottom: 1.65rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.hero-summary-box {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.hero-summary-box h3,
.hero-summary-box .box-title {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
  margin-bottom: 0.85rem;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.trust-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.trust-list svg {
  width: 18px;
  height: 18px;
  color: var(--brand-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--wa-green);
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.22);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-wa:hover {
  background: var(--wa-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  color: var(--brand-primary) !important;
  border: 1.5px solid var(--brand-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.btn-secondary:hover {
  background: var(--bg-accent-soft);
}

.jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
  padding: 0.9rem 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  align-items: center;
}

.jump-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.35rem;
}

.jump-bar a {
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.jump-bar a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.section-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.section-header {
  margin-bottom: 1.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-light);
  margin-bottom: 0.35rem;
  display: block;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  color: var(--text-primary);
}

h3 {
  font-size: 1.15rem;
  color: var(--brand-primary);
  margin: 1.45rem 0 0.55rem;
  line-height: 1.35;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

ul.prose-list, ol.prose-list {
  margin: 0.75rem 0 1.15rem 1.35rem;
  color: var(--text-secondary);
}

ul.prose-list li, ol.prose-list li {
  margin-bottom: 0.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.35rem;
  margin-top: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.info-card {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
}

.info-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.35rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

th, td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-accent-soft);
  color: var(--brand-primary);
  font-weight: 700;
}

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

.callout-alert {
  background: var(--alert-bg);
  border-left: 4px solid var(--alert-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  margin: 1.35rem 0;
  color: var(--alert-text);
}

.callout-alert strong {
  display: block;
  margin-bottom: 0.35rem;
}

.callout-alert p, .callout-alert li {
  color: var(--alert-text);
}

.callout-clinical {
  background: var(--bg-accent-soft);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  margin: 1.35rem 0;
}

.interactive-panel {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.4rem 0;
}

/* Calculadora de Semanas de Gestación (FUM) */
.calc-fum-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.35rem;
}

.calc-header {
  margin-bottom: 0.85rem;
}

.calc-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.25rem;
}

.calc-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

.calc-input-group {
  margin-bottom: 0.5rem;
}

.calc-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.calc-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.calc-input {
  flex: 1;
  min-width: 200px;
  background: var(--bg-page);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.15s ease;
}

.calc-input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

.btn-calc {
  background: var(--brand-primary);
  color: #FFFFFF;
  border: 1.5px solid var(--brand-primary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

[data-theme="dark"] .btn-calc {
  color: #0D1516;
}

.btn-calc:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.calc-privacy-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.6rem 0 0;
}

.calc-privacy-note svg {
  flex-shrink: 0;
  color: var(--brand-light);
}

.calc-output {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border-left: 4px solid var(--brand-primary);
  background: var(--bg-muted);
}

.calc-output strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.calc-output p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.calc-output.calc-success {
  background: var(--ok-bg);
  border-left: 4px solid var(--ok-border);
  color: var(--ok-text);
}

.calc-output.calc-success strong,
.calc-output.calc-success p {
  color: var(--ok-text);
}

.calc-output.calc-notice {
  background: var(--bg-muted);
  border-left: 4px solid var(--brand-primary);
  color: var(--text-secondary);
}

.calc-output.calc-notice strong,
.calc-output.calc-notice p {
  color: var(--text-secondary);
}

.segmented-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.25rem;
}

.seg-btn {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.seg-btn:hover {
  border-color: var(--brand-primary);
}

.seg-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

[data-theme="dark"] .seg-btn.active {
  color: #0D1516;
}

.panel-result {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.metric-box {
  background: var(--bg-muted);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
}

.metric-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.metric-value {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.98rem;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1rem 0;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.check-label input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
}

.verify-status {
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.verify-status.verified {
  background: var(--ok-bg);
  border-color: var(--ok-border);
  color: var(--ok-text);
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}

.tab-btn {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

[data-theme="dark"] .tab-btn.active {
  color: #0D1516;
}

.tab-panel {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
}

.tab-panel.active {
  display: block;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

details.acc-item {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

details.acc-item summary {
  padding: 1.05rem 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

details.acc-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--brand-primary);
  font-weight: 700;
  flex-shrink: 0;
}

details.acc-item[open] summary::after {
  content: "−";
}

.acc-body {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.badge-tag {
  display: inline-block;
  background: var(--bg-accent-soft);
  color: var(--brand-primary);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.guide-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.guide-card h3 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.ref-list {
  list-style: decimal;
  margin-left: 1.35rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.ref-list li {
  margin-bottom: 0.65rem;
}

.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wa-green);
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 61, 62, 0.28);
}

.floating-wa:hover {
  background: var(--wa-hover);
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 2.75rem 1.25rem 5.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open {
    display: flex;
  }
  .hero {
    padding: 1.85rem 1.35rem;
  }
  .section-block {
    padding: 1.5rem 1.2rem;
  }
  .btn-icon .btn-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0.65rem 0.85rem;
  }
  .brand-sub {
    display: none;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .btn-quick-exit span {
    display: none;
  }
  .btn-quick-exit {
    padding: 0.45rem 0.55rem;
  }
  .hero {
    padding: 1.4rem 0.95rem;
  }
  .hero-grid h1 {
    font-size: 1.55rem;
    line-height: 1.25;
  }
  .section-block {
    padding: 1.25rem 0.9rem;
  }
  .interactive-panel {
    padding: 1.15rem 0.85rem;
  }
  .calc-fum-card {
    padding: 1rem 0.85rem;
  }
  .calc-input {
    min-width: 100%;
  }
  .btn-calc {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
  }
  .cta-row .btn-wa,
  .cta-row .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .seg-btn {
    width: 100%;
    text-align: center;
  }
  .floating-wa {
    padding: 0.7rem 1.05rem;
    font-size: 0.86rem;
    right: 14px;
    bottom: 14px;
  }
}
