/* ==========================================
   RESET & BASE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #42012C;
  --color-secondary: #ff6b35;
  --color-dark: #600446;
  --color-light: #f5f5f5;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-gray: #666666;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #ffffff;
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ==========================================
   UTILITIES
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #600446;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-radius: 29px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--color-secondary);
}

.btn:hover {
  background-color: #ff8557;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-wide {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  background-color: var(--color-white);
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.top-nav {
  display: flex;
  gap: 159px;
}

.top-nav a {
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.top-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

.top-nav a:hover {
  color: var(--color-secondary);
}

.top-nav a:hover::after {
  width: 100%;
}

.menu-icon {
  display: none;
  font-size: 28px;
  color: var(--color-text);
}

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 2000;
}

.mobile-menu.is-open {
  right: 0;
}

.mobile-menu-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.close-menu {
  align-self: flex-end;
  font-size: 32px;
  color: var(--color-text);
  padding: 8px;
}

.mobile-menu a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1{
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  font-size: 50px;
  line-height: 1.2;
  color: #ff8557;
}


/* ==========================================
   CARDS ROW (SLIDER)
   ========================================== */
.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
    padding: 4px 2px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-img {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card-img:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================
   PAGER
   ========================================== */
.pager {
    display: flex;
    justify-content: space-between;
    padding: 0 2px 40px;
    max-width: 1200px;
    margin-top: 55px;
    color: var(--color-gray);
    font-size: 15px;
}

.pager span {
  cursor: pointer;
  transition: color 0.3s ease;
}

.pager span:hover {
  color: var(--color-secondary);
}

/* ==========================================
   ABOUT PREVIEW
   ========================================== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 150px 24px;
  max-width: 1200px;
  margin: 0 auto;
  margin-left: -25px;   
  margin-right: -80px
}

.about-img {
  border-radius: 16px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-copy h2 {
  font-family: 'Source Code Pro', monospace;
  font-style: italic;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-dark);
}

.about-copy p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-gray);
  margin-bottom: 32px;
}

/* ==========================================
   CONTACT BAND
   ========================================== */
.contact-band {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-left h2 {
  font-family: 'Source Code Pro', monospace;
  font-style: italic;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-left p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label span {
  font-size: 14px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================
   TRUSTED BY
   ========================================== */
.trusted {
  background-color: var(--color-light);
  padding: 60px 0;
}

.trusted h3 {
  font-family: 'Source Code Pro', monospace;
  font-style: italic;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--color-dark);
}

.trusted-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.logo-box {
  height: 80px;
  background-color: var(--color-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  .top-nav {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  .hero {
    padding: 40px 24px 30px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .cards-row {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cards-row::-webkit-scrollbar {
    display: none;
  }

  .card-img {
    min-width: calc(100% - 48px);
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  .card-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .pager {
    padding: 0 24px 30px;
    margin-top: 30px;
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 24px;
    margin-left: 0;
    margin-right: 0;
  }

  .about-copy {
    padding-left: 0;
    margin-top: 0;
  }

  .about-copy h2 {
    font-size: 28px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-left h2 {
    font-size: 28px;
    font-family: 'Source Code Pro', monospace;
    font-style: italic;
  }

  .trusted-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-meta {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 16px 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .about-copy h2 {
    font-size: 28px;
  }

  .about-copy p {
    font-size: 16px;
  }

  .contact-left h2 {
    font-size: 24px;
    font-family: 'Source Code Pro', monospace;
    font-style: italic;
  }

  .trusted-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   PATCH: Contact + Trusted (Figma)
   ========================================== */

.contact-band{
  background: var(--color-primary);
  padding: 70px 0;
}

.contact-inner{
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}

.contact-left h2{
  font-family: 'Source Code Pro', monospace;
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  color: #ff6b35;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-left .dot{
  width: 6px;
  height: 6px;
  background: #ff6b35;
  margin-right: 0;
}

.contact-left p{
  font-size: 13px;
  line-height: 1.6;
  opacity: .9;
  max-width: 360px;
}

.contact-form{
  max-width: 420px;
  gap: 14px;
}

.contact-form label span{
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

.contact-form input,
.contact-form textarea{
  background: #ffffff;
  color: #2d1b2e;
  border: 0;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: rgba(0,0,0,.35);
}

.contact-form textarea{
  min-height: 90px;
  resize: none;
}

.btn-wide{
  width: 260px;
  margin-top: 10px;
  padding: 10px 18px;
  font-size: 12px;
  border-radius: 999px;
  justify-self: start;
  box-shadow: none;
  transform: none;
}

.btn:hover{
  transform: none;
  box-shadow: none;
}

@media (max-width: 768px){
  .contact-inner{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .btn-wide{
    width: 100%;
  }
}

.trusted{
  background: #ffffff;
  padding: 55px 0;
}

.trusted h3{
  font-family: 'Source Code Pro', monospace;
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.trusted h3 .dot{
  width: 6px;
  height: 6px;
  background: var(--color-primary);
}

.trusted-logos{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.logo-box{
  height: 44px;
  background: #d9d9d9;
  border-radius: 2px;
  box-shadow: none;
}

@media (max-width: 768px){
  .trusted-logos{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px){
  .trusted-logos{ grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   PATCH 2: Escala
   ========================================== */

.contact-band{
  padding: 92px 0;
}

.contact-inner{
  grid-template-columns: 1fr 460px;
  gap: 110px;
}

.contact-left h2{
  font-family: 'Source Code Pro', monospace;
  font-style: italic;
  font-size: 30px;
  margin-bottom: 14px;
}

.contact-left p{
  font-size: 14px;
  max-width: 420px;
}

.contact-form{
  max-width: 460px;
  gap: 18px;
}

.contact-form label span{
  font-size: 12px;
}

.contact-form input,
.contact-form textarea{
  padding: 12px 14px;
  font-size: 13px;
  border-radius: 7px;
}

.contact-form textarea{
  min-height: 130px;
}

.btn-wide{
  width: 280px;
  margin-top: 16px;
  align-self: center;
  padding: 11px 18px;
  font-size: 12px;
}

.trusted{
  padding: 70px 0;
}

.trusted h3{
  font-family: 'Source Code Pro', monospace;
  font-style: italic;
  font-size: 18px;
  margin-bottom: 22px;
}

.trusted-logos{
  gap: 22px;
}

.logo-box{
  height: 52px;
  border-radius: 3px;
}

@media (max-width: 768px){
  .contact-band{ padding: 70px 0; }
  .contact-inner{
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-form{
    max-width: 520px;
  }
  .btn-wide{
    width: 100%;
    align-self: stretch;
  }
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer{
  background:#280021;
  border-top:3px solid #ff6b35;
  padding: 26px 0 18px;
  color:#fff;
}

.footer-inner{
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  justify-content: center;
  align-items: center;
  column-gap: 46px;
  row-gap: 10px;
}

.footer-spacer{ display:none; }

.footer-logo-wrapper{
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.footer-logo{ height: 30px; width:auto; }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-top: 5px;
}

.footer-contact p{
  margin:0;
  font-size:10.5px;
  line-height:1.5;
  opacity:.95;
}

.footer-bottom{
  grid-column: 1 / -1;
  text-align:center;
}

.footer-copyright{
  margin:15px;
  font-size:9.5px;
  opacity:.8;
}

@media (max-width: 768px){
  .footer-inner{
    grid-template-columns: 1fr;
    justify-items:center;
    text-align:center;
    row-gap: 8px;
  }
  .footer-logo-wrapper{ justify-content:center; }
  .footer-contact{
    align-items:center;
    text-align:center;
  }
}

.about-copy {
  padding-left: 40px;
  margin-top: 80px;
}

.about-copy p{
  color: #000000;
}

@media (max-width: 768px){

  /* Quitamos el padding lateral SOLO en la sección about */
  .about-preview{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Hacemos que la imagen use todo el ancho de pantalla */
  .about-img{
    width: 100vw !important;      /* ancho real de pantalla */
    margin-left: calc(50% - 50vw); /* truco para romper el container */
    margin-right: calc(50% - 50vw);
  }

  /* Mantiene altura actual, solo se estira a los lados */
  .about-img img{
    width: 100%;
    height: 400px;   /* conserva altura tipo banner */
    object-fit: cover;
  }
}
@media (max-width: 768px){
  .about-img,
  .about-img img{
    border-radius: 0 !important;
  }
}

.pager span {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pager img {
  height: 28px;   /* ajusta tamaño si quieres */
  width: auto;


}
/* Hover color exacto */
.pager span:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(48%) sepia(85%) saturate(749%) hue-rotate(356deg) brightness(101%) contrast(101%);
}
@media (max-width: 768px) {

  .cards-row{
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;

    /* importante: sin padding aquí */
    padding: 0;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    /* para que el “snap” respete el margen */
    scroll-padding: 24px;
  }

  .cards-row::-webkit-scrollbar{ display:none; }

  .card-img{
    flex: 0 0 calc(100% - 48px); /* 24px izq + 24px der */
    scroll-snap-align: center;

    /* margen real para que no se corte nada */
    margin: 0 24px;
  }

  /* evita que se acumulen márgenes en medio */
  .card-img:not(:first-child){ margin-left: 0; }
  .card-img:not(:last-child){ margin-right: 0; }

  .card-img img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
}
@media (max-width: 768px){

  /* ✅ el carrusel NO puede dejar ver nada por fuera */
  .cards-row{
    display: flex !important;
    flex-wrap: nowrap !important;

    /* el scroll sigue funcionando */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;

    /* ✅ PERO visualmente recorta TODO lo que se salga */
    overflow: hidden !important;  /* clave para que no se vea el vecino */
    position: relative;
  }

  /* ✅ usamos un "viewport" interno para el scroll real */
  .cards-row{
    padding: 0 !important;
  }

  /* ✅ el truco: cada card ocupa 100% y no hay gap */
  .cards-row > .card-img{
    flex: 0 0 100% !important;
    max-width: 100% !important;

    /* centrado */
    display: flex;
    justify-content: center;

    /* separación sin mostrar vecino */
    padding: 0 24px !important;
    box-sizing: border-box;
  }

  .card-img img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 16px !important;
  }

  /* opcional: ocultar scrollbar */
  .cards-row::-webkit-scrollbar{ display:none; }
  .cards-row{ scrollbar-width: none; }
}
@media (max-width: 768px) {
    .card-img img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
        border-radius: 16px !important;
        margin-right: 45px;
    }
}

.pager-btn.is-disabled{
  opacity: 0.35;
  pointer-events: none;
}

.pager-btn.is-disabled img{
  filter: grayscale(100%);
}

@media (max-width: 480px){
  .contact-left h2{
    font-size: 22px;      /* ↓ achica el tamaño */
    white-space: nowrap;  /* ✅ obliga a un solo renglón */
  }
}
@media (max-width: 768px){
  .about-copy{
    padding-left: 0;
    margin-left: 0;
    text-align: left;
  }

  .about-preview{
    padding-left: 16px;  /* margen suave desde el borde */
    padding-right: 16px;
  }
}
@media (max-width: 768px){
  .about-preview{
    padding-top: 30px;   /* antes tenías 60px, esto lo sube */
  }

  .about-copy{
    margin-top: 20px;       /* elimina el espacio extra */
  }
}
/* ==========================================
   MOBILE FIX: TRUSTED BY como mockup
   ========================================== */

@media (max-width: 480px) {

  .trusted {
    padding: 40px 20px 30px;
    background: #ffffff;
  }

  .trusted h3 {
    font-size: 18px;
    margin-bottom: 18px;
    text-align: left;
    justify-content: flex-start;
  }

  .trusted h3 .dot {
    width: 6px;
    height: 6px;
  }

  .trusted-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ✅ 3 por fila */
    gap: 14px;
  }

  .logo-box {
    height: 48px;
    border-radius: 6px;
    background: #d9d9d9;
  }

  /* Separación correcta antes del footer */
  .trusted {
    padding-bottom: 40px;
  }

  .site-footer {
    margin-top: 0;
  }
}
/* ==========================================
   MOBILE FIX: FOOTER como mockup
   ========================================== */
@media (max-width: 480px){

  .site-footer{
    background:#280021;
    border-top:3px solid #ff6b35;
    padding: 18px 0 14px;
  }

  .footer-inner{
    max-width: 100%;
    padding: 0 18px;

    display: grid;
    grid-template-columns: 1fr 1fr;     /* ✅ logo centro-izq / contacto der */
    grid-template-rows: auto auto;      /* ✅ segunda fila copyright */
    align-items: center;
    column-gap: 14px;
    row-gap: 20px;

    justify-content: initial;           /* ✅ quita el "center" que lo compactaba */
  }

  /* logo centrado (fila 1 col 1) */
  .footer-logo-wrapper{
    grid-column: 1;
    justify-content: center;
  }
  .footer-logo{
    height: 34px;
  }

  /* contacto a la derecha (fila 1 col 2) */
  .footer-contact{
    grid-column: 2;
    align-items: flex-end;
    text-align: right;
    margin-top: 0;
  }
  .footer-contact p{
    font-size: 10px;
    line-height: 1.35;
  }

  /* copyright abajo centrado (fila 2 span 2) */
  .footer-bottom{
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-copyright{
    margin: 4px 0 0;
    font-size: 9.5px;
    opacity: .85;
  }
}

