@font-face {
  font-family: 'Croogla';
  src: url('../fonts/Croogla 4F.otf') format('opentype');
  font-weight: 400;
}

@font-face {
  font-family: 'Croogla';
  src: url('../fonts/Croogla4F-Bold.otf') format('opentype');
  font-weight: 700;
}

@font-face {
  font-family: 'Croogla';
  src: url('../fonts/Croogla4F-ExtraLight.otf') format('opentype');
  font-weight: 200;
}

:root {
  --primary: #18374C;
  --secondary: #4A768D;
  --accent: #F2A541;
  --bg: #F4F7FA;
  --white: #ffffff;
  --text: #18374C;
  --muted: #6f8290;
  --border: #dce6eb;
  --font-brand: 'Croogla', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 250, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  font-family: var(--font-brand);
  font-size: 50px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -1px;
}

.menu {
  display: flex;
  gap: 24px;
}

.menu a {
  color: var(--primary);
  text-decoration: none;
  font-size: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: .2s ease;
    border-width: 0px;
    border: var(--accent);
}

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

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-soft {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
}

.hero {
 /* background:
    radial-gradient(circle at 78% 30%, rgba(242,165,65,.22), transparent 34%),
    linear-gradient(135deg, #18374C 0%, #0f2838 100%);*/
    background-color: #18374C;
  color: #ffffff;
  padding: 110px 0 120px;
}

.hero .eyebrow {
  color: #F2A541;
}



.hero p {
  color: rgba(255,255,255,.82);
}

.hero .btn-soft {
  background: #ffffff;
  color: #18374C;
  border-color: #ffffff;
}

.hero .btn-soft:hover {
  background: #F2A541;
  border-color: #F2A541;
  color: #18374C;
}

.hero .hero-mockup {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 35px 90px rgba(0,0,0,.28);
}

.hero-grid,
.two-cols {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

.hero h1,
.section h2 {
  font-family: var(--font-brand);
  margin: 0;
  color: var(--primary);
  letter-spacing: -2px;
}

.hero h1 {
  font-size: clamp(45px, 6vw, 80px);
  line-height: .9;
  font-weight: 100;
    color: #ffffff;
  text-shadow: 0 4px 18px rgba(0,0,0,.18);
}

.hero p,
.section p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-mockup {
    /* min-height: 420px; */
    border-radius: 34px;
    background: rgba(255,255,255,.55);
    border: 1px solid var(--border);
    box-shadow: 0 28px 80px rgba(24,55,76,.12);
    display: flex;
    align-items: center;
    justify-content: center;
 /*   padding: 18px;*/
    overflow: hidden;
}

.hero-mockup img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.mockup-placeholder,
.image-card {
  min-height: 420px;
  border-radius: 34px;
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.55)),
    radial-gradient(circle at 20% 20%, rgba(242,165,65,.28), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(74,118,141,.25), transparent 35%);
  box-shadow: 0 28px 80px rgba(24,55,76,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  padding: 30px;
}

.section {
  padding: 90px 0;
}

.section h2 {
  font-size: clamp(35px, 4.5vw, 60px);
  line-height: 1;
  font-weight: 100;
}

.section-soft {
  background: var(--white);
}

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 30px;
}

.card h3 {
  font-family: var(--font-brand);
  font-size: 32px;
  margin: 0 0 16px;
  color: var(--primary);
  font-weight: 100;
}

.card p {
  font-size: 16px;
  margin: 0;
}

.reverse {
  grid-template-columns: .95fr 1.05fr;
}

.two-cols.reverse {
  direction: rtl;
}

.two-cols.reverse > * {
  direction: ltr;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h2,
.section-dark p {
  color: var(--white);
}

.section-tag.light {
  color: var(--accent);
}

.image-card.dark {
  background:
    linear-gradient(145deg, rgba(74,118,141,.45), rgba(24,55,76,.9)),
    radial-gradient(circle at 20% 20%, rgba(242,165,65,.4), transparent 35%);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.7);
}

.highlight-box,
.distributor-box,
.cta-final .container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 54px;
  box-shadow: 0 22px 70px rgba(24,55,76,.08);
}

.distributor-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
}

.distributor-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}

.cta-final {
  text-align: center;
}

.cta-final p {
  margin-left: auto;
  margin-right: auto;
}

.footer {
  padding: 34px 0;
  background: var(--primary);
  color: rgba(255,255,255,.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer .brand {
  color: var(--white);
}

@media (max-width: 950px) {
  .menu {
    display: none;
  }

  .hero-grid,
  .two-cols,
  .reverse,
  .distributor-box {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 60px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    height: 72px;
  }

  .nav .btn {
    display: none;
  }

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

  .highlight-box,
  .distributor-box,
  .cta-final .container {
    padding: 34px 24px;
  }

  .mockup-placeholder,
  .image-card {
    min-height: 300px;
  }
}


.contact-zone {
  text-align: left;
}

.contact-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.contact-head h2 {
  font-family: var(--font-brand);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  margin: 0;
  color: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 22px 70px rgba(24,55,76,.08);
}

.contact-card h3 {
  font-family: var(--font-brand);
  font-size: 38px;
  margin: 0 0 10px;
  color: var(--primary);
}

.contact-card p {
  font-size: 16px;
  margin: 0 0 26px;
  color: var(--muted);
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 15px 17px;
  border-radius: 16px;
  border: 1px solid var(--border);
  font-size: 15px;
  color: var(--primary);
  outline: none;
  background: #fff;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(242,165,65,.15);
}

.contact-card textarea {
  resize: vertical;
}

.contact-card-dark {
  background: var(--primary);
  border-color: rgba(255,255,255,.12);
}

.contact-card-dark h3,
.contact-card-dark p {
  color: var(--white);
}

.contact-card-dark input,
.contact-card-dark textarea {
  background: rgba(255,255,255,.95);
}

.fade-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.distributor-box-form {
  grid-template-columns: 1fr 430px;
}

.distributor-form {
  background: var(--primary);
  border-color: rgba(255,255,255,.12);
}

.distributor-form h3 {
  color: var(--white);
}

.contact-final-form {
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 950px) {
  .distributor-box-form {
    grid-template-columns: 1fr;
  }
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
  transition: .2s ease;
}

.menu-mobile-only {
  display: none;
}

@media (max-width: 950px) {
  .nav {
    position: relative;
  }

  .nav-distributor {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    background: rgba(244,247,250,.98);
    border: 1px solid var(--border);
    border-radius: 0 0 26px 26px;
    box-shadow: 0 24px 50px rgba(24,55,76,.12);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 15px 10px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    font-weight: 700;
  }

  .menu a:last-child {
    border-bottom: none;
  }

  .menu-mobile-only {
    display: block;
    color: var(--accent) !important;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
.g-recaptcha {
  margin: 8px 0 18px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  transition:
    opacity .35s ease,
    transform .35s ease,
    visibility .35s;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-inner {
  max-width: 980px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding: 18px 22px;

  background: rgba(24,55,76,.92);
  border: 1px solid rgba(255,255,255,.08);

  backdrop-filter: blur(18px);

  border-radius: 24px;

  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.cookie-text {
  color: rgba(255,255,255,.88);
  line-height: 1.5;
  font-size: 14px;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.cookie-btn {
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-btn {
    width: 100%;
  }
}

.ecosystem-card {
  position: relative;
  padding: 34px 30px 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(242,165,65,.16), transparent 34%),
    #f4f8fb;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ecosystem-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: #F2A541;
}
.ecosystem-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 55px rgba(24, 55, 76, .16);
  border-color: rgba(242, 165, 65, .55);
}

.ecosystem-icon {
  width: 78px;
  height: 78px;
  border-radius: 26px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  box-shadow: 0 16px 34px rgba(24, 55, 76, .14);
}

.ecosystem-icon img {
  width: 48px;
  height: 48px;
  display: block;
}

.ecosystem-card h3 {
  margin-bottom: 18px;
}

.ecosystem-card p {
  max-width: 95%;
}

.tpv-logo-title {
  margin: 10px 0 28px;
}

.tpv-logo-title img {
  width: 320px;
  max-width: 100%;
  display: block;
}

.hero-grid-simple {
  grid-template-columns: 1fr;
  max-width: 780px;
}

.ecosystem-main-image {
 /* max-width: 780px;*/
  margin: 10px auto 48px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(24, 55, 76, .14);
  background: #fff;
  border: 1px solid rgba(24, 55, 76, .08);
}

.ecosystem-main-image img {
  width: 100%;
  display: block;
}

.ecosystem-head {
  max-width: 850px;
  margin-bottom: 34px;
}

.ecosystem-head p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.partners-section {
  background: #ffffff;
}

.partners-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

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

.partner-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 28px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(242,246,248,0.92));
  border: 1px solid rgba(24, 55, 76, 0.10);
  box-shadow: 0 18px 45px rgba(24, 55, 76, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(24, 55, 76, 0.14);
  border-color: rgba(242, 165, 65, 0.45);
}

.partner-card h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  color: var(--primary);
}

.partner-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.partner-card span {
  margin-top: auto;
  padding-top: 24px;
  font-weight: 700;
  color: var(--accent);
  font-size: .95rem;
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .partner-card {
    min-height: auto;
  }
}

.partner-logo {
  height: 58px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.partner-logo img {
  max-height: 48px;
  max-width: 180px;
  object-fit: contain;
}


/* Ajuste formularios móviles Android */
@media (max-width: 480px) {
  .distributor-box,
  .cta-final .container {
    overflow: hidden;
  }

  .contact-card {
    width: 100%;
    max-width: 100%;
    padding: 32px 22px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .contact-card input,
  .contact-card textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .g-recaptcha {
    width: 304px;
    max-width: 304px;
    transform: scale(0.82);
    transform-origin: left top;
    margin: 8px 0 -10px;
  }
}

@media (max-width: 380px) {
  .contact-card {
    padding: 30px 18px;

  }

  .g-recaptcha {
    transform: scale(0.76);
    margin-bottom: -10px;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}