/* Easy4You base styles (keeps original colors + layout) */

:root {
  --bg: #05070b;
  --bg2: #0b1018;
  --card: #121823;
  --line: #223043;
  --text: #f4f7fb;
  --muted: #9ca9bb;
  --blue: #1e90ff;
  --blue2: #0f62c2;
  --max: 1180px;
  --r: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: linear-gradient(180deg, #05070b 0%, #09101a 100%);
  color: var(--text);
  line-height: 1.55;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 11, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.brand img {
  height: 200px;
  width: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  color: white;
  box-shadow: 0 10px 24px rgba(30, 144, 255, 0.28);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  background: rgba(255, 255, 255, 0.02);
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  line-height: 1.15;
  margin: 0 0 12px;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.hero-card,
.card,
.service-card,
.post-card,
.project-card,
.cta-bar,
.image-card {
  background: linear-gradient(180deg, #111827 0%, #0c121c 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r);
}

.hero-card,
.card,
.service-card,
.post-card,
.project-card,
.image-card {
  overflow: hidden;
}

.image-card {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.stat {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  color: white;
}

.hero-actions,
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #dbe6f4;
}

.section {
  padding: 34px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.service-card,
.post-card,
.project-card {
  padding: 22px;
}

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

.kpi {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.kpi strong {
  display: block;
  color: white;
  font-size: 1.2rem;
}

.trust-block-wrap {
  padding-top: 0;
  padding-bottom: 0;
}
.trust-block {
  list-style: none;
  margin: 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
  align-items: center;
}
.trust-block li {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-block li::before {
  content: none;
}
@media (max-width: 900px) {
  .trust-block {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .trust-block {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin: 0 0 7px;
}

.links-tiles a {
  display: block;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: white;
}

.links-tiles a:hover {
  text-decoration: none;
  border-color: rgba(30, 144, 255, 0.5);
}

.cta-bar {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.form {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  background: #0a0f16;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: white;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.map-box,
.cal-box {
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.calendly-inline-widget {
  min-width: 320px;
  height: 700px;
}

.site-footer {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #04060a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 24px;
  padding: 12px 0 18px;
}

.footer-logo {
  height: 180px;
  width: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

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

.footer-list li {
  margin: 0 0 8px;
}

.footer-copy {
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.small {
  font-size: 0.92rem;
}

.image-cover {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
}

.hero-media {
  aspect-ratio: 16/11;
  width: 100%;
  object-fit: cover;
}

.notice {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(30, 144, 255, 0.08);
  border: 1px solid rgba(30, 144, 255, 0.24);
}

/* FAQ blocks (good for SEO + conversion) */
.faq {
  margin-top: 18px;
}

.faq details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 16px;
}

.faq details + details {
  margin-top: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: #fff;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] {
  border-color: rgba(30, 144, 255, 0.35);
}

.faq p {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .kpis,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 740px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 86px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    background: #0b1018;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
  }

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

  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .kpis,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .cta-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    height: 140px;
  }
}

/* Carrusel de marcas */
.brands-carousel {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}
.brands-carousel-view {
  overflow: hidden;
  border-radius: var(--r);
  width: 100%;
}
.brands-carousel-track {
  display: flex;
  transition: transform 0.35s ease-out;
  width: 300%;
}
.brands-carousel-slide {
  flex: 0 0 33.333%;
  width: 33.333%;
  min-width: 0;
}
.brands-slide-inner {
  padding: 24px 18px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.brands-slide-inner img {
  max-height: 72px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.brands-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(18, 24, 35, 0.95);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.brands-carousel-btn:hover {
  background: var(--card);
  border-color: var(--blue);
  color: var(--blue);
}
.brands-carousel-prev {
  left: -12px;
}
.brands-carousel-next {
  right: -12px;
}
.brands-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.brands-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.brands-carousel-dots .dot:hover {
  background: var(--muted);
}
.brands-carousel-dots .dot.active {
  background: var(--blue);
  transform: scale(1.2);
}
