:root {
  color-scheme: light;
  --primary: #e9b81c;
  --primary-dark: #c79000;
  --primary-soft: #f9e7a5;
  --dark: #141414;
  --dark-soft: #1d1d1d;
  --text: #191919;
  --muted: #4f4f4f;
  --line: rgba(20, 20, 20, 0.08);
  --white: #ffffff;
  --soft: #f5f5f2;
  --shadow: 0 14px 32px rgba(17, 17, 17, 0.08);
  --shadow-soft: 0 10px 24px rgba(17, 17, 17, 0.04);
  background-color: #f5f5f3;
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #f5f5f3 0%, #f0f1ed 100%);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: #f5f5f3 !important;
  color: var(--text) !important;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section.muted {
  background: #f7faf8;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 0.76rem;
  color: var(--primary-dark);
}

.eyebrow.accent {
  color: var(--primary);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  color: var(--dark);
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4.3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1rem;
}

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

.topbar {
  display: none;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
}

.topbar-item,
.contact-item,
.contact-inline,
.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-black {
  width: 1.05rem;
  height: 1.05rem;
  stroke: #111111;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-black path,
.icon-black circle,
.icon-black rect,
.icon-black line,
.icon-black polyline {
  stroke: #111111;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: none;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand strong, .brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
  color: var(--dark);
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: var(--dark-soft);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--primary-dark);
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #111111;
  box-shadow: 0 8px 18px rgba(233, 184, 28, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 1px solid rgba(15, 23, 32, 0.12);
}

.nav-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark);
  border-radius: 999px;
  margin: 6px 0;
}

.hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, #0f0f0f 0%, #1b1b1b 100%);
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.68));
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  min-height: 720px;
  padding: 4rem 0;
}

.hero-copy h1,
.hero-copy p,
.hero-copy .trust-list,
.hero-copy .lead {
  color: var(--white);
}

.lead {
  max-width: 640px;
  font-size: 1.08rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.hero-actions > * {
  min-width: 180px;
  flex: 1 1 220px;
  max-width: 260px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-weight: 600;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-card {
  display: flex;
  justify-content: end;
}

.info-panel {
  width: min(100%, 420px);
  padding: 2rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  margin-bottom: 1rem;
  background: #f2c21d;
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.info-panel h2 {
  color: var(--white);
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.icon-row strong,
.icon-row span {
  display: block;
}

.icon-row strong {
  color: var(--white);
  font-size: 1.5rem;
}

.icon-row span,
.rating-box small {
  color: rgba(255, 255, 255, 0.8);
}

.rating-box {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.rating-box span {
  display: block;
  color: var(--accent-soft);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.4rem;
}

.stats {
  background: #f4f4f4;
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  padding: 2rem 0;
}

.stats-grid article {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem 1rem;
  text-align: center;
  box-shadow: 0 12px 28px rgba(26, 35, 39, 0.06);
}

.stats-grid strong {
  display: block;
  font-size: clamp(1.6rem, 2vw, 2rem);
  color: var(--primary-dark);
}

.stats-grid span {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 2.4rem;
}

.section-heading.center {
  text-align: center;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.problem-item {
  padding: 1.2rem 1rem;
  border-radius: 18px;
  background: #fafafa;
  border: 1px solid var(--line);
  box-shadow: none;
  font-weight: 600;
  color: var(--dark);
}

.two-columns {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.feature-boxes {
  display: grid;
  gap: 1rem;
}

.feature-boxes article {
  background: #f3f3f3;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: none;
}

.feature-boxes h3 {
  margin-bottom: 0.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.06);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: rgba(242, 194, 29, 0.12);
  border: 1px solid rgba(17, 17, 17, 0.06);
  padding: 0.8rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.service-icon .icon-black,
.sector-icon .icon-black {
  width: 100%;
  height: 100%;
  stroke: #111111;
}

.service-card h3 {
  margin-bottom: 0.8rem;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sector-card {
  background: var(--white);
  border-radius: 22px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.sector-card span {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(242, 194, 29, 0.12);
  border: 1px solid rgba(17, 17, 17, 0.06);
  margin-bottom: 0.8rem;
  padding: 0.7rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.sector-card h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.steps-grid article {
  background: linear-gradient(180deg, rgba(13, 110, 59, 0.04), rgba(13, 110, 59, 0.01));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.7rem 1.2rem;
}

.steps-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: #111111;
  font-weight: 800;
  margin-bottom: 1rem;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.cta-box {
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.cta-box strong {
  color: var(--dark);
}

.cta-whatsapp {
  justify-self: start;
  min-width: 220px;
  text-align: center;
  margin-top: 0.2rem;
}

.cta-phone {
  display: inline-block;
  color: var(--dark);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--dark);
  font-weight: 700;
  text-align: left;
  padding: 1.2rem 1.1rem;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  font-size: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 1.1rem 1.1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
}

.contact-card,
.contact-info {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-card {
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--dark);
}

label.full {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 32, 0.15);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #f9fbfa;
  color: var(--dark);
  -webkit-text-fill-color: var(--dark);
  background-color: #f9fbfa !important;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(13, 110, 59, 0.18);
  border-color: rgba(13, 110, 59, 0.3);
}

.contact-info {
  padding: 2rem 1.6rem;
  background: linear-gradient(180deg, #f5faf6, #fff);
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.8rem;
  display: grid;
  gap: 0.8rem;
  color: var(--dark);
  font-weight: 500;
}

.contact-item {
  align-items: flex-start;
}

.contact-item span {
  display: inline-flex;
  align-items: center;
}

.contact-inline {
  align-items: flex-start;
  gap: 0.5rem;
}

.site-footer {
  background: #0d1714;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.footer-brand strong,
.footer-brand small,
.site-footer h4 {
  color: var(--white);
}

.site-footer h4 {
  margin-bottom: 0.7rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer li {
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.2rem 0 2rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--primary);
  font-weight: 700;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(17, 17, 17, 0.96);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: 0 20px 40px rgba(9, 17, 12, 0.34);
  z-index: 90;
}

.cookie-banner .btn-primary {
  background: var(--primary);
  color: #111111;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.cookie-banner > div {
  display: flex;
  gap: 0.75rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .two-columns,
  .faq-wrap,
  .contact-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .problems-grid,
  .sector-grid,
  .steps-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 0.7rem 0;
  }

  body {
    overflow-x: hidden;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.8rem;
  }

  .brand small {
    font-size: 0.62rem;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 3rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-actions > * {
    flex: 1 1 44%;
    min-width: 0;
  }

  .services-grid,
  .problems-grid,
  .sector-grid,
  .steps-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .container {
    width: min(100% - 1rem, 1180px);
  }

  .section {
    padding: 4rem 0;
  }

  .faq-question {
    padding-right: 2.8rem;
  }

  .cta-box,
  .contact-card,
  .contact-info {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }

  .cookie-banner > div {
    justify-content: center;
  }
}
