:root {
  color-scheme: light;
  --bg-start: #f7ce72;
  --bg-end: #e08f3a;
  --ink: #18202d;
  --muted: #465262;
  --surface: #fffaf2;
  --surface-strong: #fff2df;
  --accent: #dd6b1f;
  --accent-strong: #b84d0d;
  --night: #151f2b;
  --line: rgba(24, 32, 45, 0.14);
  --shadow: 0 16px 40px rgba(21, 28, 39, 0.14);
  --shadow-strong: 0 18px 36px rgba(21, 28, 39, 0.2);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: linear-gradient(120deg, var(--bg-start), var(--bg-end));
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.55rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.15rem, 1.55vw, 1.35rem);
  line-height: 1.3;
}

p {
  margin: 0 0 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: #fff;
  color: var(--night);
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.55), transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(255, 222, 175, 0.65), transparent 50%),
    linear-gradient(120deg, var(--bg-start), var(--bg-end));
  z-index: -2;
}

.bg-orbit {
  position: fixed;
  inset: -20% 10% auto auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 60%);
  filter: blur(8px);
  opacity: 0.65;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 250, 242, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 22px rgba(25, 35, 48, 0.08);
  z-index: 25;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(24, 32, 45, 0.9);
  opacity: 0.95;
}

.site-header nav a.btn {
  color: #fff;
}

.site-header nav a.btn.btn-ghost {
  color: var(--night);
}

.site-header nav a:not(.btn) {
  position: relative;
  padding: 6px 0;
}

.site-header nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-header nav a:not(.btn):hover::after,
.site-header nav a:not(.btn):focus-visible::after {
  transform: scaleX(1);
}

.site-header nav a[aria-current="page"]:not(.btn) {
  color: var(--night);
  font-weight: 800;
}

.site-header nav a[aria-current="page"]:not(.btn)::after {
  transform: scaleX(1);
}

.site-header nav a.nav-secondary {
  opacity: 0.82;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, #101a29, #df6e1f);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  min-height: 44px;
  border-radius: 12px;
  background: var(--night);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 12px 26px rgba(21, 31, 43, 0.22);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-strong);
}

.btn:focus-visible,
.lead-form input:focus-visible,
.lead-form select:focus-visible,
.calc-card input:focus-visible,
.calc-card select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(221, 107, 31, 0.3);
  outline-offset: 2px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.3);
  color: var(--night);
  border-color: rgba(24, 32, 45, 0.2);
  box-shadow: none;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.84rem;
}

.btn-dark {
  width: 100%;
  background: var(--accent-strong);
  color: #fff;
}

.hero {
  padding: 88px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 3.5vw, 3.8rem);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: rgba(24, 32, 45, 0.78);
  margin-bottom: 12px;
}

.lead {
  max-width: 66ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.hero-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.hero-list li {
  padding-left: 20px;
  position: relative;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--night);
}

.hero-card {
  background: rgba(255, 255, 255, 0.88);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(24, 32, 45, 0.06);
}

.card-kicker {
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.lead-form input,
.lead-form select {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  color: var(--ink);
}

.form-note {
  font-size: 0.82rem;
  color: #6a5b4e;
}

.turnstile-wrap {
  display: flex;
  justify-content: center;
}

.form-status {
  font-weight: 600;
  margin: 0;
}

.form-status.ok {
  color: #0f6d3f;
}

.form-status.error {
  color: #8e2c18;
}

section {
  padding: 68px 0;
}

.page-hero {
  padding: 86px 0 42px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.page-hero-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(24, 32, 45, 0.06);
}

.trust {
  padding-top: 40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: center;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.trust-stats span {
  font-size: 2rem;
  font-weight: 700;
}

.section-head {
  margin-bottom: 34px;
}

.section-head p {
  max-width: 72ch;
  color: var(--muted);
}

.section-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 700;
  color: var(--accent-strong);
  align-items: center;
  gap: 6px;
}

.text-link::after {
  content: "->";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(2px);
}

.card-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.card-heading span,
.contact-label span {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-solar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84d0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Cpath d='M12 2v3M12 19v3M4.9 4.9l2.2 2.2M16.9 16.9l2.2 2.2M2 12h3M19 12h3M4.9 19.1l2.2-2.2M16.9 7.1l2.2-2.2'/%3E%3C/svg%3E");
}

.icon-engineering,
.icon-tools {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84d0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 5.5a3.5 3.5 0 0 0 4.3 4.3L10 18.6a2 2 0 1 1-2.8-2.8l8.8-8.8z'/%3E%3Cpath d='M4 20l3.5-3.5'/%3E%3C/svg%3E");
}

.icon-shield {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84d0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.2-2.6 7.6-7 9-4.4-1.4-7-4.8-7-9V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

.icon-monitor {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84d0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4M7 10l3-3 3 3 4-4'/%3E%3C/svg%3E");
}

.icon-finance {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84d0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l5-5 4 3 6-7'/%3E%3Cpath d='M14 8h4v4'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E");
}

.icon-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84d0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='8' height='8' rx='1.5'/%3E%3Crect x='13' y='3' width='8' height='8' rx='1.5'/%3E%3Crect x='3' y='13' width='8' height='8' rx='1.5'/%3E%3Crect x='13' y='13' width='8' height='8' rx='1.5'/%3E%3C/svg%3E");
}

.icon-checklist {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84d0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4h6l1 2h3v14H5V6h3l1-2z'/%3E%3Cpath d='M9 12l1.6 1.6L14 10.2M9 17h6'/%3E%3C/svg%3E");
}

.icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84d0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2A19.9 19.9 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.8 2.6a2 2 0 0 1-.5 2.2L8 10a16 16 0 0 0 6 6l1.5-1.4a2 2 0 0 1 2.2-.5c.8.4 1.7.7 2.6.8A2 2 0 0 1 22 16.9z'/%3E%3C/svg%3E");
}

.icon-clock {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84d0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6l4 2'/%3E%3C/svg%3E");
}

.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-grid,
.faq-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card,
.case,
.faq-item {
  padding: 22px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(21, 31, 43, 0.11);
  border: 1px solid rgba(24, 32, 45, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.case:hover,
.faq-item:hover,
.city-card:hover,
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(21, 31, 43, 0.16);
}

.content-section.alt {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}

.compare-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 32, 45, 0.08);
  box-shadow: 0 8px 24px rgba(21, 31, 43, 0.08);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(24, 32, 45, 0.08);
}

.compare-table th {
  background: rgba(221, 107, 31, 0.13);
  color: #18202d;
}

.calculator {
  padding-top: 20px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.calc-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.calc-card label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.calc-card input,
.calc-card select {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  font-family: inherit;
}

.calc-result {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: #fff;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.result-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.result-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

.city-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.city-card,
.blog-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 40px rgba(21, 31, 43, 0.12);
  border: 1px solid rgba(24, 32, 45, 0.06);
}

.blog-meta {
  font-size: 0.85rem;
  color: rgba(70, 82, 98, 0.9);
}

.article {
  background: rgba(255, 255, 255, 0.9);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(24, 32, 45, 0.06);
}

.article h2 {
  margin-top: 28px;
}

.article-cta {
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.case-list {
  display: grid;
  gap: 20px;
}

.case-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(21, 31, 43, 0.14);
  border: 1px solid rgba(24, 32, 45, 0.07);
}

.case-meta {
  display: grid;
  gap: 10px;
  font-weight: 600;
  color: var(--muted);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.metric-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(21, 31, 43, 0.16);
  border: 1px solid rgba(24, 32, 45, 0.06);
}

.metric-note {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #6a5b4e;
}

.finance {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.list li {
  padding-left: 18px;
  position: relative;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-strong);
}

.finance-card {
  background: var(--night);
  color: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.finance-bars {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.finance-bars div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.process .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.step {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 32, 45, 0.08);
}

.step span {
  font-weight: 700;
  color: var(--accent-strong);
  display: inline-block;
  margin-bottom: 12px;
}

.case span {
  display: inline-block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
}

.cta-band {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 30px;
  align-items: stretch;
}
.contact-grid > * {
  align-self: stretch;
}
.contact-left {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact-left .contact-box {
  margin-top: auto;
}

.contact-box {
  background: var(--surface-strong);
  padding: 22px;
  border-radius: var(--radius-md);
  display: grid;
  gap: 16px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-width: 110px;
}

.contact-link {
  display: inline-block;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.contact-meta {
  font-weight: 600;
  color: var(--ink-muted);
}

.contact-card {
  background: var(--night);
  color: #fff;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 220px;
}

.site-footer {
  padding: 52px 0 24px;
  background: linear-gradient(160deg, rgba(18, 28, 41, 0.98), rgba(12, 20, 31, 0.98));
  color: #eef3f9;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
  margin-bottom: 26px;
}

.site-footer h3 {
  color: #ffffff;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(233, 240, 250, 0.86);
}

.site-footer ul li {
  margin-bottom: 10px;
}

.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-contact-item::before {
  content: "";
  width: 15px;
  height: 15px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.95;
}

.footer-contact-phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f4f8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2A19.9 19.9 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.8 2.6a2 2 0 0 1-.5 2.2L8 10a16 16 0 0 0 6 6l1.5-1.4a2 2 0 0 1 2.2-.5c.8.4 1.7.7 2.6.8A2 2 0 0 1 22 16.9z'/%3E%3C/svg%3E");
}

.footer-contact-mail::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f4f8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 8l9 6 9-6'/%3E%3C/svg%3E");
}

.footer-contact-place::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f4f8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.8 7-11a7 7 0 1 0-14 0c0 5.2 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-title {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
}

.footer-note {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(233, 240, 250, 0.72);
  border-top: 1px solid rgba(233, 240, 250, 0.14);
  padding-top: 18px;
  margin-top: 6px;
}

.site-footer .btn {
  background: #f2f4f8;
  color: #0f1a28;
  border-color: rgba(255, 255, 255, 0.22);
}

.site-footer .btn-ghost {
  background: transparent;
  color: #f2f4f8;
  border-color: rgba(255, 255, 255, 0.32);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

@media (max-width: 820px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .site-header nav {
    width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 10px 14px;
    padding-bottom: 0;
  }
  .site-header nav a {
    font-size: 0.86rem;
  }
  .site-header nav a.nav-secondary {
    display: none;
  }
  .site-header nav a[aria-current="page"] {
    display: inline-flex;
  }
  .site-header nav .btn {
    margin-left: auto;
  }
  .hero {
    padding-top: 50px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn,
  .hero-actions .btn-ghost,
  .cta-actions .btn,
  .cta-actions .btn-ghost {
    width: 100%;
  }
  .cta-actions {
    flex-direction: column;
  }
  .footer-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-label {
    min-width: 0;
  }
}

.page-crediplata .calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.page-crediplata .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.page-crediplata label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  color: var(--night);
}

.page-crediplata input,
.page-crediplata select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #fff;
  font-weight: 600;
  color: var(--night);
}

.page-crediplata .helper {
  margin-top: 16px;
  color: rgba(24, 32, 45, 0.7);
  font-size: 0.9rem;
}

.page-crediplata .calc-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.page-crediplata .calc-summary div {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
}

.page-crediplata .calc-summary span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(24, 32, 45, 0.6);
}

.page-crediplata .calc-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  color: var(--night);
}

.page-crediplata .calc-total {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--night);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.page-crediplata .table-wrap {
  overflow-x: auto;
}

.page-crediplata .amort-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}

.page-crediplata .amort-table th,
.page-crediplata .amort-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.page-crediplata .amort-table thead th {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(24, 32, 45, 0.7);
}

/* Crediplata layout refresh */
.page-crediplata .crediplata-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.page-crediplata .crediplata-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.page-crediplata .crediplata-summary {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-crediplata .crediplata-calc {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.page-crediplata .card-input,
.page-crediplata .card-result {
  height: 100%;
}

.page-crediplata .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-crediplata .form-grid > label:first-child {
  grid-column: 1 / -1;
}

.page-crediplata .slider-head {
  align-items: center;
}

.page-crediplata .table-wrap {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: #fff;
}

.page-crediplata .amort-table thead th {
  position: sticky;
  top: 0;
  background: #f5f7fb;
  z-index: 1;
}

.page-crediplata .amort-table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.03);
}

.page-crediplata .amort-table tbody tr:hover {
  background: rgba(57, 117, 255, 0.08);
}

@media (max-width: 980px) {
  .page-crediplata .crediplata-grid,
  .page-crediplata .crediplata-calc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-crediplata .form-grid {
    grid-template-columns: 1fr;
  }
}

.page-crediplata .slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.page-crediplata .slider-head strong {
  font-size: 1rem;
  color: var(--night);
}

.page-crediplata input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #7dc8ff);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.page-crediplata input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--night);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
  cursor: pointer;
}

.page-crediplata input[type="range"]::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #7dc8ff);
}

.page-crediplata input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--night);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
  cursor: pointer;
}

.page-crediplata {
  color: var(--night);
}

.page-crediplata .crediplata-hero {
  padding: 72px 0 40px;
}

.page-crediplata .crediplata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.page-crediplata .crediplata-copy h1 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  margin-bottom: 12px;
}

.page-crediplata .crediplata-copy .lead {
  max-width: 520px;
}

.page-crediplata .crediplata-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 600;
}

.page-crediplata .crediplata-empty {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
  color: rgba(24, 32, 45, 0.7);
  font-weight: 600;
}

.page-crediplata .is-hidden {
  display: none !important;
}

.page-crediplata .crediplata-summary {
  background: var(--night);
  color: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-strong);
}

.page-crediplata .crediplata-summary .card-kicker {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.12em;
}

.page-crediplata .crediplata-summary h3 {
  font-size: 2rem;
  margin: 8px 0 16px;
}

.page-crediplata .summary-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-crediplata .crediplata-calc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.page-crediplata .section-sub {
  margin: 8px 0 18px;
  color: rgba(24, 32, 45, 0.7);
}

.page-crediplata .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.page-crediplata label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  color: var(--night);
  background: rgba(255, 255, 255, 0.8);
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.page-crediplata input,
.page-crediplata select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  background: #fff;
  font-weight: 700;
  font-size: 1rem;
  color: var(--night);
}

.page-crediplata .calc-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.page-crediplata .calc-summary div {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
}

.page-crediplata .calc-summary span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(24, 32, 45, 0.6);
}

.page-crediplata .calc-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  color: var(--night);
}

.page-crediplata .calc-total {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--night);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.page-crediplata .table-wrap {
  overflow-x: auto;
}

.page-crediplata .amort-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}

.page-crediplata .amort-table th,
.page-crediplata .amort-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.page-crediplata .amort-table thead th {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(24, 32, 45, 0.7);
}
