/**
 * Agencia SEO Tenerife — landing nativa (estilo BlitSales).
 */

body.has-landing-native {
  background: var(--bg-light);
  color: var(--text-dark);
}

body.has-landing-native #main {
  padding: 0;
  background: var(--bg-light);
}

body.has-landing-native .site-header {
  position: sticky;
}

/* ── Hero ── */
.stf-hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 4rem;
  background: linear-gradient(165deg, #0d0d10 0%, #151820 45%, #0f1419 100%);
  color: var(--text);
}

.stf-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(60, 183, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(60, 183, 255, 0.1), transparent 55%);
  pointer-events: none;
}

.stf-hero__inner {
  position: relative;
}

.stf-hero .breadcrumbs {
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stf-hero .breadcrumbs a {
  color: var(--text-muted);
}

.stf-hero .breadcrumbs a:hover {
  color: var(--accent);
}

.stf-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(60, 183, 255, 0.35);
  border-radius: 999px;
  background: rgba(60, 183, 255, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stf-hero__title {
  max-width: 14ch;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.stf-hero__hook {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-muted);
}

.stf-hero__hook strong {
  color: var(--accent);
}

.stf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.stf-stat {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(60, 183, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.stf-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.stf-stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.stf-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.stf-hero__copy p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d8d8e0;
}

.stf-hero__copy strong {
  color: #fff;
}

.stf-hero__copy .btn {
  margin-top: 0.5rem;
}

/* ── Form card ── */
.stf-form-card {
  padding: 1.5rem;
  border: 1px solid rgba(60, 183, 255, 0.28);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(20, 22, 28, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.stf-form-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.stf-form-card__sub {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stf-form {
  display: grid;
  gap: 0.75rem;
}

.stf-form__field {
  display: grid;
  gap: 0.3rem;
}

.stf-form__field span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stf-form__field input {
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
}

.stf-form__field input:focus {
  outline: none;
  border-color: rgba(60, 183, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(60, 183, 255, 0.15);
}

.stf-form__check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.stf-form__check input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.stf-form__check a {
  color: var(--accent);
  text-decoration: underline;
}

.stf-form__notice {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.stf-form__notice--ok {
  background: rgba(60, 183, 255, 0.12);
  color: var(--accent);
}

.stf-form__notice--error {
  background: rgba(255, 80, 80, 0.12);
  color: #ff8a8a;
}

/* ── Sections ── */
.stf-section {
  padding: 4.5rem 0;
}

.stf-section--light {
  background: var(--bg-light-2);
  color: var(--text-dark);
}

.stf-section--dark {
  background: linear-gradient(180deg, #12141a 0%, #0e1014 100%);
  color: var(--text);
}

.stf-section--muted {
  background: #eef6fc;
  color: var(--text-dark);
}

.stf-section--logos {
  padding: 3rem 0 4rem;
  background: #fff;
}

.stf-kicker {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stf-kicker--dark {
  color: #1a8fd4;
}

.stf-section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.stf-section--light h2,
.stf-section--muted h2 {
  color: var(--text-dark);
}

.stf-section p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.75;
}

.stf-section--light p,
.stf-section--muted p {
  color: var(--text-dark-muted);
}

.stf-section--dark p {
  color: #c8c8d4;
}

.stf-section strong,
.stf-band strong {
  color: inherit;
  font-weight: 700;
}

.stf-section--light strong,
.stf-section--muted strong {
  color: var(--text-dark);
}

.stf-section--dark strong {
  color: #fff;
}

.stf-lead {
  max-width: 62ch;
  font-size: 1.08rem !important;
}

.stf-section-head {
  margin-bottom: 2rem;
}

.stf-section-head--center {
  text-align: center;
  margin-bottom: 2.5rem;
}

.stf-section-head--center .stf-lead {
  margin-inline: auto;
}

.stf-narrow {
  max-width: 780px;
}

/* ── Split layout ── */
.stf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.stf-split--reverse .stf-split__content {
  order: 2;
}

.stf-split--reverse .stf-split__media {
  order: 1;
}

.stf-split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stf-split__media--rounded img {
  border-radius: calc(var(--radius) + 4px);
}

/* ── Accent bands ── */
.stf-band {
  padding: 2.75rem 0;
}

.stf-band--accent {
  background: linear-gradient(135deg, #1a8fd4 0%, #3cb7ff 50%, #5ec9ff 100%);
  color: #fff;
}

.stf-band--quote {
  background: #0e1014;
  color: var(--text);
  border-block: 1px solid rgba(60, 183, 255, 0.15);
}

.stf-band__text {
  margin: 0;
  max-width: 72ch;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

.stf-band__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: var(--accent);
}

/* ── Map ── */
.stf-map {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.stf-map iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

/* ── Services grid ── */
.stf-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stf-service-card {
  padding: 1.35rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stf-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(60, 183, 255, 0.12);
}

.stf-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  background: #eef6fc;
  font-size: 1.25rem;
}

.stf-service-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

.stf-service-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-dark-muted);
}

.stf-service-card strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* ── Accordion ── */
.stf-accordion {
  display: grid;
  gap: 0.5rem;
  max-width: 820px;
}

.stf-accordion__item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.stf-accordion__item summary {
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

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

.stf-accordion__item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 400;
}

.stf-accordion__item[open] summary::after {
  content: "−";
}

.stf-accordion__item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.stf-accordion__foot {
  margin-top: 1.5rem !important;
  max-width: 72ch;
  color: var(--text-muted) !important;
}

/* ── Screenshots ── */
.stf-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stf-screenshots img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* ── Pitch ── */
.stf-pitch__highlight {
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(60, 183, 255, 0.08);
  font-size: 1.05rem !important;
  color: #e8e8f0 !important;
}

.stf-pitch__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stf-pitch__urgency {
  margin: 0 !important;
  font-size: 0.95rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
}

/* ── Benefits ── */
.stf-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stf-benefits--two {
  max-width: 900px;
  margin-inline: auto;
}

.stf-benefit-card {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.stf-benefit-card--light {
  border-color: rgba(60, 183, 255, 0.15);
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.stf-benefit-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: inherit;
}

.stf-benefit-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.stf-benefit-card--light p {
  color: var(--text-dark-muted);
}

.stf-section-head .btn {
  margin-top: 1rem;
}

/* ── Social proof ── */
.stf-proof__inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.stf-proof__score {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.stf-proof__label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-dark);
}

.stf-proof__stars {
  font-size: 1.5rem;
  color: #f5b301;
  letter-spacing: 0.15em;
}

.stf-proof__meta {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
}

.stf-proof__quote {
  margin: 0 0 1.25rem !important;
  font-size: 1.1rem !important;
  font-style: italic;
  color: var(--text-dark) !important;
}

/* ── Client logos ── */
.stf-logos__title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
}

.stf-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.stf-logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: #fafafa;
}

.stf-logos__item img {
  width: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.85;
}

/* ── Final CTA ── */
.stf-cta-final {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0d0d10 0%, #121820 50%, #0a1620 100%);
  color: var(--text);
  text-align: center;
}

.stf-cta-final__inner h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
}

.stf-cta-final__inner p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.stf-cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn--lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

/* ── Interlinking on light bg (Tenerife) ── */
body.has-landing-native .section--trustindex {
  background: #fff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stf-services {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .stf-hero {
    padding: 2rem 0 3rem;
  }

  .stf-stats {
    grid-template-columns: 1fr;
  }

  .stf-hero__grid,
  .stf-split,
  .stf-screenshots,
  .stf-benefits {
    grid-template-columns: 1fr;
  }

  .stf-split--reverse .stf-split__content,
  .stf-split--reverse .stf-split__media {
    order: unset;
  }

  .stf-section {
    padding: 3rem 0;
  }

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

  .stf-map iframe {
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .stf-services,
  .stf-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .stf-cta-final__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stf-cta-final__actions .btn {
    width: 100%;
  }
}

/* ── Two-line hero title (universal landings) ── */
.stf-hero__title-accent {
  display: block;
  color: var(--accent);
}

.stf-hero__title {
  max-width: 16ch;
}

/* ── Software product cards ── */
.stf-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stf-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2rem;
  border: 1px solid rgba(60, 183, 255, 0.18);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(165deg, rgba(34, 34, 40, 0.95) 0%, rgba(17, 17, 20, 0.98) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.stf-product-card__domain {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.stf-product-card__badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(60, 183, 255, 0.12);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stf-product-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
}

.stf-product-card__hook {
  margin: 0 0 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.stf-product-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.stf-product-card__points {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.stf-product-card__points li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.55rem;
  color: #d5dbea;
  font-size: 0.9rem;
}

.stf-product-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.stf-product-card .btn {
  width: fit-content;
}

@media (max-width: 768px) {
  .stf-products {
    grid-template-columns: 1fr;
  }
}

/* ── Sticky contact (native landings) ── */
.landing-sticky-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.landing-sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s;
}

.landing-sticky-cta__btn:hover {
  transform: translateY(-2px);
}

.landing-sticky-cta__btn--phone {
  background: #111114;
  color: #fff;
}

.landing-sticky-cta__btn--ghost {
  background: #fff;
  color: #111114;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.landing-sticky-cta--compact {
  width: min(200px, calc(100vw - 2rem));
}
