/* TaxiTask · capa propia sobre la plantilla saasten (style.css / theme.css ya recoloreados a amarillo taxi). */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --primary_color: #fdc010;
  --primary_color-2: #ffd23f;
  --hover_color: #e5a800;
  --hover_color-2: #e5a800;
  --heading_color: #111b24;
  --yellow: #fdc010;
  --gradient-color-2: linear-gradient(101.03deg, #fff3c4 0%, #ffd23f 100%);
  --tt-ink: #111b24;
  --tt-taxi: #fdc010;
  --tt-route: #1f6fe5;
  --tt-ok: #1d7a46;
  --tt-warn: #a15c00;
  --tt-bad: #b42318;
  --tt-line: #e7e1d3;
}

body { background: #fff; }
:root { --bs-body-font-family: "Inter", system-ui, sans-serif; }
body, h1, h2, h3, h4, h5, h6, button, input { font-family: "Inter", system-ui, sans-serif; }
.num, .tt-row, .tt-kpi b, .price-amount { font-variant-numeric: tabular-nums; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 99999; background: var(--tt-taxi); color: var(--tt-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--tt-route); outline-offset: 3px; }
section[id], div[id] { scroll-margin-top: 90px; }

/* Cabecera */
.saastain-header__logo img.logo-img { height: 44px; width: auto; }
.saastain-header__button .saastain-btn { white-space: nowrap; }
.offcanvas-logo img { height: 40px; width: auto; }

/* Banda ajedrezada del luminoso: firma visual de la marca */
.tt-checker { height: 16px; background-color: var(--tt-ink);
  background-image: linear-gradient(45deg, var(--tt-taxi) 25%, transparent 25%, transparent 75%, var(--tt-taxi) 75%),
                    linear-gradient(45deg, var(--tt-taxi) 25%, transparent 25%, transparent 75%, var(--tt-taxi) 75%);
  background-size: 16px 16px; background-position: 0 0, 8px 8px; }

/* Hero: fondo amarillo en lugar de la foto menta */
.banner-area-v3 { position: relative; background: linear-gradient(120deg, #fff6d6 0%, #ffe07a 55%, #fdc010 100%); }
.banner-area-v3::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; z-index: 2;
  background-color: var(--tt-ink);
  background-image: linear-gradient(45deg, var(--tt-taxi) 25%, transparent 25%, transparent 75%, var(--tt-taxi) 75%),
                    linear-gradient(45deg, var(--tt-taxi) 25%, transparent 25%, transparent 75%, var(--tt-taxi) 75%);
  background-size: 16px 16px; background-position: 0 0, 8px 8px; }
.banner-area-v3__title { letter-spacing: -.02em; }
.banner-area-v3__images img { border-radius: 16px; box-shadow: 0 18px 40px rgba(17, 27, 36, .25); object-fit: cover; }
.banner-area-v3__buttons .saastain-btn.primary-bg { background: var(--tt-ink); color: #fff; }
.banner-area-v3__buttons .saastain-btn.primary-bg:hover { background: #000; }
.banner-area-v3__trusted i { color: var(--tt-ink); }
.banner-area-v3__lead { font-size: 19px; line-height: 1.6; color: #2b3742; max-width: 560px; margin: 24px 0 0; }

/* Tarjetas bajo el hero */
.hero-features-v3 { background: #262f38; }
.hero-features-v3__list li a { cursor: default; }
.hero-features-v3__list li a:hover { background: transparent; color: #fff; border-color: #fff; }
.hero-features-v3--popup { position: relative; height: 100%; }
.hero-features-v3--popup img { width: 100%; height: 100%; object-fit: cover; }
.tt-photo-tag { position: absolute; left: 18px; bottom: 18px; background: var(--tt-taxi); color: var(--tt-ink); font-weight: 700; border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.hero-features-v3__text { color: #d4dae0; }
.tt-mini { background: #fff; border-radius: 14px; padding: 16px; color: var(--tt-ink); }
.tt-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.tt-kpi { background: #fbf8f1; border: 1px solid var(--tt-line); border-radius: 10px; padding: 10px; }
.tt-kpi b { display: block; font-size: 20px; line-height: 1.1; font-weight: 800; }
.tt-kpi span { display: block; font-size: 12px; color: #5b6672; line-height: 1.25; margin-top: 4px; }
.tt-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tt-alerts li { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 10px; border: 1px solid var(--tt-line); border-radius: 10px; }
.tt-alerts .tt-badge { margin-left: auto; }
.tt-plate { font-weight: 800; font-size: 12px; letter-spacing: .04em; border: 1.5px solid var(--tt-ink); border-radius: 5px; padding: 2px 6px 2px 11px; position: relative; background: #fff; white-space: nowrap; }
.tt-plate::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--tt-route); border-radius: 3px 0 0 3px; }
.tt-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; line-height: 1; padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.tt-b-warn { background: #fff1d6; color: var(--tt-warn); }
.tt-b-bad { background: #fde7e5; color: var(--tt-bad); }
.tt-b-ok { background: #e3f4ea; color: var(--tt-ok); }

/* Imágenes de secciones "about" */
.about-section-v3__img img { border-radius: 0 24px 24px 0; width: 100%; height: auto; object-fit: cover; }
.about-section-v3 .container .about-section-v3__img img { border-radius: 24px; }
.list-features li span:last-child { color: #2b3742; }

/* Rótulo animado */
.animated-list { background: var(--tt-taxi) !important; }

/* Funciones con pestañas */
.ux-features-list__single { width: 100%; background: transparent; border: 0; border-bottom: 1px solid #fdc01045 !important; text-align: left; font: inherit; border-radius: 0 !important; }
.ux-features-list__single.active { border-bottom-color: var(--tt-taxi) !important; }
.ux-features-list__single.active .ux-features-list__icon { background: var(--tt-taxi); }
.ux-features-list__single.active .ux-features-list__title, .ux-features-list__single.active .ux-features-list__text { color: var(--heading_color); }
.ux-features-list__icon i { font-size: 22px; color: var(--tt-ink); }
.ux-features-list__single::after { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--tt-ink); opacity: .35; padding-left: 12px; }
.ux-features-list__single.active::after { opacity: 1; }
.ux-images .tab-content { width: 100%; }
.tt-tab { position: relative; border-radius: 20px; overflow: hidden; }
.tt-tab img { width: 100%; height: auto; display: block; aspect-ratio: 750 / 586; object-fit: cover; }
.tt-tab__card { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255, 255, 255, .97); border-radius: 16px; padding: 20px 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.tt-tab__card h3 { font-size: 20px; margin: 0 0 10px; }
.tt-tab__card ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.tt-tab__card li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.4; color: #2b3742; }
.tt-tab__card li::before { content: ""; position: absolute; left: 0; top: .4em; width: 10px; height: 10px; background: var(--tt-taxi); border: 1.5px solid var(--tt-ink); border-radius: 2px; }

/* Precios */
.single-price-table.single-price-table__v3 { background: linear-gradient(101.03deg, #fff3c4 0%, #ffd23f 100%); }
.single-price-table.single-price-table__v3.middle-active { background: var(--tt-taxi); }
.single-price-table__v3 .price-amount { font-size: 56px; }
.single-price-table__v3 .price-amount .duration { font-size: 18px; }
.tt-price-note { margin: 6px 0 0; font-weight: 600; color: var(--tt-ink); }
.pricing-section-v3 .tt-pricing-foot { color: #c9d1d8; text-align: center; margin-top: 30px; }
.pricing-button.primary-bg { background: var(--tt-ink) !important; color: #fff !important; }
.pricing-button.primary-bg svg path { stroke: #fff; }
.pricing-button.primary-bg:hover { background: #000 !important; }

/* App del conductor: móvil sobre la foto */
.tt-photo-phone { position: relative; }
.tt-phone { position: absolute; right: -10px; bottom: -30px; width: 230px; background: var(--tt-ink); border-radius: 34px; padding: 10px; box-shadow: 0 18px 40px rgba(17, 27, 36, .35); }
.tt-phone__screen { background: #fff; border-radius: 26px; padding: 16px 14px; font-size: 13px; color: var(--tt-ink); }
.tt-phone__screen h4 { font-size: 16px; margin: 0 0 10px; }
.tt-offline { display: flex; gap: 6px; align-items: center; font-size: 11.5px; background: #fff1d6; color: var(--tt-warn); border-radius: 8px; padding: 6px 8px; margin-bottom: 10px; font-weight: 600; }
.tt-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--tt-line); }
.tt-row.neg span:last-child { color: var(--tt-bad); }
.tt-row.total { border: 0; font-weight: 800; padding-top: 10px; }
.tt-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0; }
.tt-shots div { aspect-ratio: 4 / 3; border-radius: 8px; background: #eef1f4; display: grid; place-items: center; font-size: 11px; color: #5b6672; border: 1px dashed #c6ced6; }
.tt-shots div.done { background: #e3f4ea; color: var(--tt-ok); border: 1px solid #b9e0c8; font-weight: 700; }
.tt-phone__btn { margin-top: 10px; background: var(--tt-ink); color: #fff; text-align: center; border-radius: 12px; padding: 10px; font-weight: 700; }
.tt-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.tt-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.tt-steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--tt-taxi); color: var(--tt-ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.tt-steps h3 { font-size: 19px; margin: 0 0 4px; }
.tt-steps p { margin: 0; color: #595959; }

/* Caja: ticket de ejemplo */
.tt-ticket { background: #fff; border: 1px solid var(--tt-line); border-radius: 20px; padding: 28px; box-shadow: 0 18px 50px rgba(17, 27, 36, .12); position: relative; color: var(--tt-ink); }
.tt-ticket h3 { font-size: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.tt-ticket h3 small { font-size: 14px; font-weight: 500; color: #5b6672; }
.tt-ticket .tt-sub { color: #5b6672; font-size: 12.5px; margin: 16px 0 2px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.tt-ticket .tt-row { font-size: 16px; padding: 8px 0; }
.tt-deliver { margin-top: 12px; background: var(--tt-taxi); border-radius: 12px; padding: 13px 16px; font-weight: 800; display: flex; justify-content: space-between; font-size: 17px; }
.tt-ticket__note { margin: 10px 0 0; color: #5b6672; font-size: 14px; }
.tt-states { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

/* Para quién (tarjetas oscuras de la plantilla) */
.tt-who h3 { color: #fff; font-size: 24px; margin: 0 0 10px; display: flex; align-items: center; gap: 12px; }
.tt-who h3 i { width: 46px; height: 46px; border-radius: 50%; background: var(--tt-taxi); color: var(--tt-ink); display: grid; place-items: center; font-size: 18px; flex: 0 0 46px; }
.tt-who ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tt-who li { color: #e5e9ec; display: flex; gap: 10px; align-items: flex-start; }
.tt-who li i { color: var(--tt-taxi); margin-top: 5px; }
.single-feedback__v2.tt-who { height: 100%; }

/* Preguntas */
.faq-img img { border-radius: 24px; width: 100%; height: auto; }
.faq .accordion-button.faq-button { font-weight: 600; }

/* CTA final */
.footer-newsletter-v3 { background-size: cover; background-position: center; }
.footer-newsletter-v3-subscribe { background: var(--tt-taxi); }
.tt-cta-box p { color: var(--tt-ink); margin: 0 0 18px; font-size: 17px; max-width: 360px; }
.tt-cta-box .saastain-btn { background: var(--tt-ink); color: #fff; }
.tt-cta-box .saastain-btn:hover { background: #000; color: #fff; }
.footer-newsletter-v3-subscribe__img img { border-radius: 12px; }
.footer-newsletter-v3__text a { color: var(--tt-taxi); }

/* Pie */
.footer-logo img { height: 46px; width: auto; }
.footer-menu__list a, .footer-copyright a { text-decoration: none; }
.tt-contact-line { color: #d4dae0; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.tt-contact-line i { color: var(--tt-taxi); }
.tt-contact-line a { color: #fff; }

@media (max-width: 991px) {
  .tt-phone { position: relative; right: auto; bottom: auto; margin: -120px 16px 0 auto; }
  .tt-tab__card { position: static; margin-top: -10px; border-radius: 0 0 16px 16px; box-shadow: none; border: 1px solid var(--tt-line); }
  .tt-tab img { border-radius: 20px 20px 0 0; }
  .about-section-v3__img img { border-radius: 20px; }
}
@media (max-width: 575px) {
  .tt-tab__card ul { grid-template-columns: 1fr; }
  .tt-kpis { grid-template-columns: 1fr 1fr; }
  .tt-kpi:last-child { grid-column: span 2; }
  .single-price-table__v3 .price-amount { font-size: 44px; }
  .tt-ticket { padding: 20px; }
}

/* Botón principal: la plantilla deja .primary-bg sin fondo (comentado en theme.css) */
.saastain-btn.primary-bg { background: var(--tt-taxi); color: var(--tt-ink); padding: 16px 30px; white-space: nowrap; display: inline-block; }
.saastain-btn.primary-bg:hover { background: var(--hover_color); color: var(--tt-ink); }
.saastain-header__button .saastain-btn.primary-bg { padding: 14px 24px; }
.saastain-btn.saastain-btn__v3 { white-space: nowrap; }
.banner-area-v3__buttons .saastain-btn.primary-bg { background: var(--tt-ink); color: #fff; padding: 18px 34px; }
.banner-area-v3__buttons .saastain-btn.primary-bg:hover { background: #000; color: #fff; }

/* Píldoras giradas: texto blanco legible */
.hero-features-v3 .hero-features-v3__list li a { color: #fff; white-space: nowrap; }
.hero-features-v3__list li a i { color: var(--tt-ink); }

/* Precio en tinta */
.single-price-table__v3 .price-amount { color: var(--tt-ink); font-weight: 800; }

.banner-area-v3__trusted-label { white-space: nowrap; }
.banner-area-v3__trusted-label span { white-space: normal; }

/* =====================================================================
   Maquetación contenida. La plantilla deja fotos y listas pegadas al borde
   (full-bleed) y saca las fotos del hero fuera de su caja; aquí todo va
   dentro de un ancho máximo con márgenes iguales a ambos lados.
   ===================================================================== */
.banner-area-v3__shape, .footer-newsletter-v3__shape { display: none !important; }

/* Hero: texto + collage de 3 fotos SIEMPRE dentro de la caja amarilla */
.banner-area-v3__inside { min-height: 0 !important; max-width: 1380px; margin: 0 auto; padding: 72px 64px 100px !important; gap: 56px !important; align-items: center; justify-content: space-between; }
.banner-area-v3__content { flex: 1 1 0; min-width: 0; max-width: 580px; }
.banner-area-v3__title { font-size: 56px !important; line-height: 1.12 !important; }
.banner-area-v3__buttons { margin-top: 36px !important; flex-wrap: wrap; }
.banner-area-v3__images { position: relative !important; display: block !important; flex: 1 1 0; min-width: 0 !important; max-width: 620px; aspect-ratio: 640 / 560; }
.banner-area-v3__images > div { position: absolute !important; margin: 0 !important; max-width: none !important; inset: auto !important; }
.banner-area-v3__images .banner-area-v3__img1 { top: 0 !important; right: 0 !important; width: 62%; z-index: 2 !important; }
.banner-area-v3__images .banner-area-v3__img2 { top: 12% !important; left: 0 !important; width: 34%; z-index: 3 !important; }
.banner-area-v3__images .banner-area-v3__img3 { bottom: 0 !important; left: 12% !important; width: 50%; z-index: 4 !important; }
.banner-area-v3__images img { width: 100% !important; max-width: none !important; height: auto; display: block; border: 4px solid #fff; }

/* Tarjetas bajo el hero: misma rejilla que el hero */
.hero-features-v3__inside { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.3fr); gap: 20px; }
.hero-features-v3 { min-width: 0 !important; max-width: none !important; width: auto !important; }

/* "Qué es": foto y texto dentro del container */
.about-section-v3 .section-rs-space { padding: 0 0 0 24px !important; }

/* Funciones: lista + foto en una rejilla centrada */
.ux-features__main { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; max-width: 1320px; margin: 0 auto; padding: 0 24px !important; align-items: start; justify-content: initial !important; }
.ux-features-list, .ux-images { min-width: 0 !important; max-width: none !important; width: auto !important; }
.ux-features-list { display: block !important; }

@media (max-width: 1199px) {
  .banner-area-v3__inside { padding: 64px 40px 90px !important; gap: 40px !important; }
  .banner-area-v3__title { font-size: 46px !important; }
  .hero-features-v3__inside { grid-template-columns: 1fr 1fr; }
  .hero-features-v3--banner { grid-column: span 2; }
  .ux-features__main { gap: 36px; }
}

/* Tablet y móvil */
@media (max-width: 991px) {
  .banner-main-v3 { padding: 0 16px 16px !important; }
  .banner-area-v3__inside { flex-direction: column; align-items: stretch; padding: 48px 24px 72px !important; }
  .banner-area-v3__content { max-width: none; }
  .banner-area-v3__title { font-size: 38px !important; }
  .banner-area-v3__images { width: 100%; max-width: 560px; margin: 0 auto; flex: none; }
  .hero-features-v3__inside { grid-template-columns: 1fr; }
  .hero-features-v3--banner { grid-column: auto; }
  .about-section-v3 .section-rs-space { padding: 0 !important; }
  /* Funciones: sin pestañas, las seis tarjetas una tras otra */
  .ux-features__main { display: block !important; padding: 0 20px !important; }
  .ux-features-list { display: none !important; }
  .ux-images .tab-content > .tab-pane { display: block; opacity: 1; margin-bottom: 24px; }
}
@media (max-width: 575px) {
  .banner-area-v3__inside { padding: 40px 20px 64px !important; }
  .banner-area-v3__title { font-size: 32px !important; }
  .banner-area-v3__label { font-size: 17px; }
  .banner-area-v3__lead { font-size: 17px; }
  .banner-area-v3__images img { border-width: 3px; border-radius: 12px; }
}

/* Ajustes de revisión */
.container { padding-left: 24px !important; padding-right: 24px !important; }
.container > .row { --bs-gutter-x: 1.5rem; }
@media (min-width: 992px) { .container > .row.gx-lg-5 { --bs-gutter-x: 3rem; margin-left: -1.5rem; margin-right: -1.5rem; } }
.about-section-v3:first-of-type, section[aria-labelledby="t-que"] { padding-bottom: 100px; }
.tt-photo-phone { overflow: visible; }
.tt-photo-phone > img { border-radius: 24px; }
.tt-phone { bottom: 28px; right: -28px; }
.footer-area--v3 { background-image: none !important; }
.footer-newsletter-v3 .overlay-v3 { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, #000 100%), linear-gradient(90deg, rgba(10, 14, 18, .88) 0%, rgba(10, 14, 18, .6) 55%, rgba(10, 14, 18, .45) 100%) !important; }
.footer-newsletter-v3-main { position: relative; z-index: 2; }
.single-price-table__features li span:last-child { color: var(--tt-ink); }
@media (max-width: 991px) {
  section[aria-labelledby="t-que"] { padding-bottom: 72px; }
  .tt-phone { position: relative; right: auto; bottom: auto; margin: -140px 12px 0 auto; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .saastain-header__button { display: flex !important; gap: 10px; }
  .saastain-header__button .saastain-btn { font-size: 14px; padding: 11px 16px !important; }
  .saastain-header__menu .nav-menu > li > a { font-size: 15px; }
  .saastain-header__menu .nav-menu { gap: 0; }
  .saastain-header__logo img.logo-img { height: 38px; }
}

/* Cabecera fija al hacer scroll: fondo oscuro (el logo y el menú son claros) y márgenes laterales */
@media (min-width: 1000px) {
  #active-sticky.is-sticky .saastain-header__middle { background: var(--tt-ink) !important; box-shadow: 0 6px 24px rgba(0, 0, 0, .25) !important; width: 100%; }
  #active-sticky.is-sticky .saastain-header__inside { padding: 10px 30px !important; max-width: 1440px; margin: 0 auto; }
}
@media (max-width: 999px) {
  .saastain-header { background: var(--tt-ink); }
  .saastain-header__inside { padding-left: 16px; padding-right: 16px; }
}

/* Revisión 768/390: pie oscuro y checks de precios en una sola línea con el texto */
.footer-area--v3 { background-color: var(--tt-ink) !important; }
.footer-area--v3 p, .footer-area--v3 .footer-menu__list a, .footer-area--v3 .tt-contact-line a { color: rgba(255,255,255,.72); }
.footer-area--v3 .footer-title { color: #fff; }
.footer-copyright--v3 { background: #0b1218; }
.single-price-table__features ul li { flex-wrap: nowrap !important; align-items: flex-start; }
.single-price-table__features ul li span:last-child { flex-shrink: 1 !important; min-width: 0; }
.single-price-table__features-icon { margin-top: 2px; }
.footer-menu__list--v3 li a { white-space: nowrap; }
/* Tarjetas bajo el hero: sin altura máxima (la plantilla recortaba las píldoras a 1200-1399 px) */
.hero-features-v3 { max-height: none !important; }
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-features-v3__inside { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.35fr) minmax(0, 1.3fr); }
  .hero-features-v3 .hero-features-v3__list li a { font-size: 15px; }
}
.tt-kpi b { white-space: nowrap; font-size: clamp(16px, 1.5vw, 20px); }
