html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  margin: 0;
  padding: 0;
}

/* ── Hero ── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#myVideo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -2;
  will-change: transform;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.85) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: Montserrat, sans-serif;
  letter-spacing: 2px;
}

.hero-sub {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.85;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-hero {
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2.5px solid #fff;
  border-radius: 30px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-hero:hover {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.7;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.arrow-down {
  width: 22px;
  height: 22px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

/* ── Fade-in on load ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
  will-change: opacity, transform;
}
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ── Sections ── */
.page-section {
  position: relative;
  padding: 100px 2rem;
  background: rgba(248,248,248,0.96);
}

.page-section::before {
  content: '';
  position: absolute;
  top: -70px;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(to bottom, transparent, rgba(248,248,248,0.96));
  pointer-events: none;
}

.dark-section {
  background: rgba(12,12,12,0.95);
  color: #f0f0f0;
}

.dark-section::before {
  background: linear-gradient(to bottom, transparent, rgba(12,12,12,0.95));
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: Montserrat, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.dark-section .section-title {
  color: #fff;
}

/* ── Cards ── */
.cards-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card-item {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  flex: 1 1 260px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card-item h3 {
  font-family: Montserrat, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  border-bottom: 2px solid #111;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.card-link:hover { opacity: 0.6; }

/* ── About ── */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #ccc;
}

/* ── Team ── */
.team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  font-family: Montserrat, sans-serif;
}

/* ── Contact ── */
.contact-grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-info {
  flex: 1 1 220px;
  font-size: 1.05rem;
  line-height: 2.2;
  color: #ccc;
}

.contact-form {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1.5px solid #444;
  border-radius: 8px;
  background: #1e1e1e;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-input:focus { border-color: #fff; }

/* ── Section subtitle ── */
.section-sub {
  text-align: center;
  color: #555;
  font-size: 1.05rem;
  max-width: 680px;
  margin: -1.5rem auto 2.5rem;
  line-height: 1.8;
}

/* ── Financing ── */
.financing-grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.financing-text {
  flex: 1 1 320px;
  max-width: 540px;
}

.financing-text h3 {
  font-family: Montserrat, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.financing-text p {
  color: #ccc;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.financing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.financing-list li {
  color: #ddd;
  padding: 0.4rem 0;
  font-size: 1rem;
}

.financing-badge {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.badge-top {
  font-size: 0.85rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.badge-main {
  font-size: 2rem;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
  color: #fff;
  line-height: 1.1;
}

.badge-bottom {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 0.4rem;
}

/* ── Contact ── */
.contact-info {
  flex: 1 1 260px;
  font-size: 1rem;
  line-height: 2.4;
}

.contact-info a {
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.btn-contact {
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 30px;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-contact:hover {
  background: #333;
  transform: translateY(-2px);
}

/* ── Footer ── */
.site-footer {
  background: #000;
  color: #666;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
}

/* ── Navbar pill ── */
#l1 {
  width: 110px;
  height: auto;
}

#mainNav {
  position: fixed;
  top: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1400px;
  display: flex;
  align-items: center;
  padding: 0.3rem 1.2rem 0.3rem 0.8rem;
  border-radius: 50px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
  z-index: 1050;
  /* needed so the mobile dropdown positions relative to the pill */
  position: fixed;
  overflow: visible;
}

#mainNav.navbar-shrink {
  background: rgba(0,0,0,0.85);
}

#mainNav.navbar-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-120%);
}

#nav-logo { flex-shrink: 0; }

#nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
}

#mainNav .navbar-nav {
  flex-direction: row;
  gap: 0;
  margin: 0 !important;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25em 0.85em;
  letter-spacing: 1px;
  color: #fff;
  font-family: Montserrat, sans-serif;
  transition: opacity 0.2s;
  white-space: nowrap;
}

#mainNav .navbar-nav .nav-item .nav-link:hover { opacity: 0.6; }

/* En desktop el pill siempre visible */
@media (min-width: 769px) {
  #mainNav .navbar-toggler { display: none; }
  #mainNav .navbar-collapse { display: flex !important; }
}

/* Hamburger en móvil */
@media (max-width: 768px) {
  #mainNav .navbar-toggler {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 0.35em 0.85em;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
    cursor: pointer;
  }
  #mainNav .navbar-collapse {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.95);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
  }
  #mainNav .navbar-nav { flex-direction: column !important; gap: 0 !important; }
  #mainNav .navbar-nav .nav-item .nav-link { padding: 0.55em 0.5em !important; font-size: 0.82rem !important; }
}

p { line-height: 1.75; }

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .page-section { padding: 70px 1.2rem; }
  .section-title { font-size: 1.5rem; letter-spacing: 1px; margin-bottom: 2rem; }
  .cards-row { gap: 1rem; }
  .card-item { flex: 1 1 100%; max-width: 100%; }
  .financing-grid { gap: 1.5rem; }
  .badge-circle { width: 150px; height: 150px; }
  .badge-main { font-size: 1.5rem; }
  .contact-grid { gap: 1.5rem; }
  .contact-info { line-height: 2; font-size: 0.95rem; }
  .contact-form { gap: 0.7rem; }
  .btn-contact { width: 100%; text-align: center; }
  .section-sub { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; letter-spacing: 1px; }
  .hero-sub { font-size: 0.88rem; }
  .btn-hero { padding: 0.7rem 1.6rem; font-size: 0.85rem; }
  .hero-buttons { gap: 0.8rem; }
  .page-section { padding: 55px 0.9rem; }
  .section-title { font-size: 1.3rem; }
}


#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

.content {
  position: fixed;
  bottom: 0;
  color: #f1f1f1;
  width: 100%;
  padding-left: 400px;
  padding-bottom: 200px;
}

#b1 {
  padding-top: 1.3%;
  padding-bottom: 1.3%;
  padding-left: 5%;
  padding-right: 5%;
  font-size: 120%;
  border-radius: 30px;
  border-width: 3px;
}

#l1 {
  width: 110px;
  height: auto;
  margin-left: 0px;
}

#mainNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 2rem;
  padding-right: 2rem;
}

#nav-logo {
  flex-shrink: 0;
}

#nav-links {
  display: flex;
  align-items: center;
}

::-moz-selection {
  background: #fed136;
  text-shadow: none;
}

::selection {
  background: #fed136;
  text-shadow: none;
}

img::-moz-selection {
  background: 0 0;
}

img::selection {
  background: 0 0;
}

img::-moz-selection {
  background: 0 0;
}

.btn {
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
}

.btn-xl {
  font-size: 18px;
  padding: 20px 40px;
}


