/* ==========================================================================
   VOLTARIA ENERGY GROUP — Design System
   Lima green + deep pine dark, warm paper backgrounds, editorial-clean layout
   ========================================================================== */

:root {
  --lima: #BAF743;
  --lima-deep: #9FE016;
  --dark: #082E2D;
  --dark-2: #0C3E3C;
  --bg-1: #F7F8F2;
  --bg-2: #F1F3EA;
  --bg-3: #FAFAF7;
  --white: #FFFFFF;
  --ink: #0B1E1D;
  --ink-soft: #43524F;
  --line: rgba(8, 46, 45, 0.12);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-card: 0 1px 2px rgba(8, 46, 45, 0.06), 0 12px 28px rgba(8, 46, 45, 0.06);
  --font-head: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--dark);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 600;
}

p { margin: 0; color: var(--ink-soft); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  opacity: 0.65;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--bg1 { background: var(--bg-1); }
.section--bg2 { background: var(--bg-2); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.72); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }

.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: var(--dark-2); }
.btn--lima { background: var(--lima); color: var(--dark); }
.btn--lima:hover { background: var(--lima-deep); }
.btn--ghost { background: transparent; color: var(--dark); padding: 14px 6px; }
.btn--outline { background: transparent; color: var(--dark); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--dark); }
.btn--outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn--block { width: 100%; justify-content: center; }

/* ---------------------------------- Navbar --------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-brand img { height: 36px; width: auto; display: block; }
.footer-brand img { height: 40px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.nav-links a { opacity: 0.75; transition: opacity 0.15s ease; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }

.nav-calc-btn {
  opacity: 1 !important;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 600;
  color: var(--dark);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.nav-calc-btn:hover { border-color: var(--dark); background: var(--bg-2); }
.nav-calc-btn.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--dark); }

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 32px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-3);
}
.mobile-panel a {
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-panel.open { display: flex; }

.mobile-panel a.mobile-calc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 15px 18px;
  background: var(--dark);
  color: var(--white);
  border-radius: 999px;
  border-bottom: none;
  font-weight: 600;
}
.mobile-panel a.mobile-calc-btn svg { width: 18px; height: 18px; }
.mobile-panel a.mobile-calc-btn.active { background: var(--lima); color: var(--dark); }

.nav-cta .btn--dark span.short { display: none; }

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn--dark span.long { display: none; }
  .nav-cta .btn--dark span.short { display: inline; }
}

/* ------------------------------------ Hero ---------------------------------- */
.hero {
  position: relative;
  background-image:
    linear-gradient(rgba(8,47,46,0.5), rgba(8,47,46,0.5)),
    url('/images/hero-monterrey-wide.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 96px 0 64px;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-grid {
  display: block;
  max-width: 620px;
}
.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  margin: 18px 0 20px;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero-copy p { font-size: 17px; max-width: 480px; color: rgba(255,255,255,0.9); text-shadow: 0 1px 12px rgba(0,0,0,0.3); }
.hero-copy .eyebrow { opacity: 1; color: #BAF743; text-shadow: 0 1px 10px rgba(0,0,0,0.3); }
.hero-ctas { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }

@media (max-width: 880px) {
  .hero { padding: 40px 0 48px; min-height: 620px; }
}

/* ------------------------------- Stat / benefit bar -------------------------------- */
.stat-bar {
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
}
.stat-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 32px;
}
.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-item .icon-tile { flex-shrink: 0; }
.stat-item strong { display: block; font-family: var(--font-head); font-size: 19px; color: var(--dark); }
.stat-item span { font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 880px) {
  .stat-bar .container { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 32px; }
  .stat-item { border-left: none; padding-left: 0; }
}
@media (max-width: 480px) {
  .stat-bar .container { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; }
  .stat-item { align-items: center; }
}

/* ------------------------------------ Icon tiles ---------------------------------- */
.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lima);
  color: var(--dark);
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile--dark { background: var(--dark); color: var(--lima); }
.icon-tile--outline { background: var(--white); border: 1px solid var(--line); color: var(--dark); }

/* ------------------------------------ Two-col section header ---------------------------------- */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 16px; }

/* ------------------------------------ Simulator + steps ---------------------------------- */
.sim-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}
.sim-card {
  background: var(--lima);
  border-radius: var(--radius-l);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sim-card h3 { font-size: 22px; }
.sim-field {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sim-field > div { width: 100%; }
.sim-field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.sim-field input {
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  width: 100%;
  outline: none;
}
.sim-field button {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sim-badge {
  align-self: flex-start;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-m);
  padding: 14px 18px;
}
.sim-badge strong { display: block; font-family: var(--font-head); font-size: 20px; }
.sim-badge span { color: rgba(255,255,255,0.75); font-size: 12.5px; }

.how-steps { display: flex; flex-direction: column; }
.how-steps h3 { font-size: 22px; margin-bottom: 6px; }
.how-steps > p { margin-bottom: 28px; }
.step-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--lima);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step p { font-size: 14px; }

@media (max-width: 900px) {
  .sim-grid { grid-template-columns: 1fr; }
  .step-row { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------ Why voltaria ---------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.why-copy h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 14px 0 18px; }
.why-copy p { font-size: 16px; margin-bottom: 26px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-card p { font-size: 14px; color: var(--dark); font-weight: 500; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

.benefit-grid--2col { grid-template-columns: repeat(2, 1fr); }
.benefit-grid--4col { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) {
  .benefit-grid--4col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .benefit-grid--2col { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .benefit-grid--4col { grid-template-columns: 1fr; }
}

/* ------------------------------------ Emotional section ---------------------------------- */
.emotion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
}
.emotion-media { min-height: 420px; background-size: cover; background-position: center; }
.emotion-copy {
  background: var(--lima);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.emotion-copy h2 { font-size: clamp(24px, 2.8vw, 34px); margin: 14px 0 16px; }
.emotion-copy p { font-size: 16px; margin-bottom: 26px; max-width: 420px; color: rgba(8,46,45,0.8); }
.emotion-note {
  position: absolute;
  top: 28px;
  right: 40px;
  font-family: "Space Grotesk", cursive;
  font-size: 14px;
  color: var(--dark);
  transform: rotate(-4deg);
  opacity: 0.75;
}

@media (max-width: 880px) {
  .emotion-grid { grid-template-columns: 1fr; }
  .emotion-media { min-height: 280px; }
  .emotion-copy { padding: 40px 28px; }
  .emotion-note { display: none; }
}

/* ------------------------------------ Packages ---------------------------------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
}
.pkg-card.pkg-card--custom { background: var(--dark); border-color: var(--dark); }
.pkg-card.pkg-card--custom h3, .pkg-card.pkg-card--custom p, .pkg-card.pkg-card--custom .pkg-tag { color: var(--white); }
.pkg-card.pkg-card--custom li { color: rgba(255,255,255,0.8); }
.pkg-card.pkg-card--custom .pkg-count { color: var(--lima); }
.pkg-tag { font-size: 12px; font-weight: 600; color: var(--lima-deep); background: var(--bg-2); padding: 6px 12px; border-radius: 999px; align-self: flex-start; }
.pkg-card--custom .pkg-tag { background: rgba(186,247,67,0.15); color: var(--lima); }
.pkg-count { font-family: var(--font-head); font-size: 40px; color: var(--dark); line-height: 1; }
.pkg-count span { font-size: 16px; font-weight: 500; margin-left: 6px; color: var(--ink-soft); }
.pkg-card--custom .pkg-count span { color: rgba(255,255,255,0.7); }
.pkg-kwp { font-size: 13.5px; color: var(--ink-soft); }
.pkg-desc { font-size: 14.5px; color: var(--ink); }
.pkg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pkg-list li { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.pkg-list li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--lima-deep); }
.pkg-card--custom .pkg-list li svg { color: var(--lima); }
.pkg-card .btn { margin-top: auto; }

@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pkg-grid { grid-template-columns: 1fr; } }

/* ------------------------------------ Testimonials ---------------------------------- */
.testi-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.testi-head h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 6px; }
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.testi-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stars { color: var(--dark); font-size: 13px; letter-spacing: 2px; }
.testi-card p { font-size: 13.5px; color: var(--ink); }
.testi-person { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testi-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--dark); color: var(--lima);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
}
.testi-person strong { display: block; font-size: 13px; color: var(--dark); }
.testi-person span { font-size: 12px; color: var(--ink-soft); }
.testi-disclaimer { font-size: 12px; color: var(--ink-soft); margin-top: 18px; font-style: italic; }

@media (max-width: 980px) { .testi-wrap { grid-template-columns: 1fr; } .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testi-grid { grid-template-columns: 1fr; } }

/* ------------------------------------ FAQ ---------------------------------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--dark);
}
.faq-q svg { flex-shrink: 0; width: 20px; height: 20px; transition: transform 0.2s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding: 0 0 20px; font-size: 14.5px; max-width: 640px; }
.faq-item.open .faq-a { max-height: 300px; }

@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ------------------------------------ CTA band ---------------------------------- */
.cta-band {
  background: var(--dark);
  border-radius: var(--radius-l);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); max-width: 520px; }
.cta-band p { max-width: 520px; margin-top: 10px; color: rgba(255,255,255,0.72); }

@media (max-width: 700px) {
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .cta-band .btn { width: 100%; justify-content: center; }
}

/* ------------------------------------ Footer ---------------------------------- */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer p { color: rgba(255,255,255,0.75); }
.footer li { color: rgba(255,255,255,0.75); }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand span { font-family: var(--font-head); font-weight: 600; color: var(--white); font-size: 15px; }
.footer h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a:hover { color: var(--lima); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; font-size: 13px; flex-wrap: wrap; gap: 12px; }

@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ------------------------------------ Generic page hero (inner pages) ---------------------------------- */
.page-hero { background: var(--lima); padding: 56px 0 64px; }
.page-hero .eyebrow { opacity: 0.7; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-top: 14px; max-width: 720px; }
.page-hero p { margin-top: 16px; max-width: 560px; font-size: 16px; color: rgba(8,46,45,0.78); }

.list-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.list-check li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--lima-deep); }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: var(--radius-l); padding: 36px; }
.compare-card--before { background: var(--bg-2); }
.compare-card--after { background: var(--dark); color: var(--white); }
.compare-card--after h3, .compare-card--after p { color: var(--white); }
.compare-card--after .list-check li { color: rgba(255,255,255,0.85); }
.compare-card .eyebrow { display: block; margin-bottom: 10px; }
.compare-card--after .eyebrow { color: var(--lima); opacity: 1; }
.compare-card h3 { font-size: 20px; margin-bottom: 18px; }

@media (max-width: 800px) { .compare-grid { grid-template-columns: 1fr; } }

.stat-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-quad .stat-block { text-align: left; }
.stat-block strong { display: block; font-family: var(--font-head); font-size: clamp(28px, 3.4vw, 40px); color: var(--lima); }
.stat-block span { font-size: 13.5px; color: rgba(255,255,255,0.7); }

@media (max-width: 800px) { .stat-quad { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }

/* Timeline (proceso completo) */
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline-item:first-child { border-top: none; }
.timeline-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); color: var(--lima);
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.timeline-item h3 { font-size: 19px; margin-bottom: 8px; }
.timeline-item p { font-size: 15px; max-width: 560px; }

/* Payment method cards */
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pay-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pay-card h3 { font-size: 19px; }
@media (max-width: 900px) { .pay-grid { grid-template-columns: 1fr; } }

/* Calculator page */
.calc-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; max-width: 1080px; margin: 0 auto; }
.calc-input-card {
  background: var(--lima);
  border-radius: var(--radius-l);
  padding: 36px;
  position: sticky;
  top: 100px;
}
.calc-results { display: flex; flex-direction: column; gap: 16px; }
.result-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; }
.result-card h4 { font-size: 13.5px; text-transform: none; color: var(--ink-soft); font-weight: 500; margin-bottom: 10px; font-family: var(--font-body); }
.result-card strong { font-family: var(--font-head); font-size: 26px; color: var(--dark); display: block; }
.result-card span.note { font-size: 12.5px; color: var(--ink-soft); }
.result-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-mini { display: flex; align-items: center; gap: 18px; }
.compare-mini .from { color: var(--ink-soft); text-decoration: line-through; font-size: 18px; }
.compare-mini .to { font-family: var(--font-head); font-size: 26px; color: var(--dark); }

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-input-card { position: static; }
  .result-row { grid-template-columns: 1fr; }
}

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--dark); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--dark); }
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-side-card { background: var(--bg-2); border-radius: var(--radius-m); padding: 26px; display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ------------------------------------ Products carousel (home) ---------------------------------- */
.products-carousel-wrap { position: relative; }
.products-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 12px;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.products-carousel::-webkit-scrollbar { display: none; }

.product-card {
  position: relative;
  flex: 0 0 78%;
  scroll-snap-align: start;
  min-height: 420px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,46,45,0) 30%, rgba(8,46,45,0.92) 100%);
  z-index: 0;
  transition: background 0.25s ease;
}
.product-card.open::before { background: linear-gradient(180deg, rgba(8,46,45,0.15) 0%, rgba(8,46,45,0.95) 55%); }
.product-card-body { position: relative; z-index: 1; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.product-card-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.03em; color: var(--lima); text-transform: uppercase; }
.product-card h3 { color: var(--white); font-size: 21px; }
.product-card-desc { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.product-card-desc p { font-size: 13.5px; color: rgba(255,255,255,0.85); padding-top: 4px; }
.product-card.open .product-card-desc { max-height: 180px; }
.product-card-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  font-family: var(--font-body);
}
.product-card-btn svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.product-card.open .product-card-btn svg { transform: rotate(90deg); }

@media (min-width: 700px) {
  .product-card { flex-basis: 46%; }
}
@media (min-width: 1040px) {
  .product-card { flex-basis: 23.5%; min-height: 440px; }
}

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--line); border: none; padding: 0; cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.carousel-dots button.active { background: var(--dark); width: 24px; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  display: none;
}
.carousel-arrow svg { width: 20px; height: 20px; color: var(--dark); }
.carousel-arrow--prev { left: -20px; }
.carousel-arrow--next { right: -20px; }
@media (min-width: 1100px) { .carousel-arrow { display: flex; } }

/* ------------------------------------ Product detail page ---------------------------------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-l); overflow: hidden; margin-bottom: 24px; }
.product-detail-media { min-height: 360px; background-size: cover; background-position: center; }
.product-detail-copy { background: var(--bg-2); padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.product-detail.reverse .product-detail-media { order: 2; }
.product-detail-copy h2 { font-size: clamp(22px, 2.6vw, 30px); }
.product-detail-copy .list-check { margin-top: 4px; }

@media (max-width: 880px) {
  .product-detail, .product-detail.reverse { grid-template-columns: 1fr; }
  .product-detail.reverse .product-detail-media { order: 0; }
  .product-detail-media { min-height: 220px; }
  .product-detail-copy { padding: 32px 24px; }
}
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
