﻿/* STARINN SAS - General Styles */
/* Base: index styles + legal content layer (header shared) */

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #102033;
  --muted: #50637a;
  --blue: #2d69d8;
  --cyan: #1cb8c9;
  --line: #dce6f3;
  --shadow: 0 16px 40px rgba(10, 32, 60, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 8% -10%, rgba(45, 105, 216, 0.18), transparent 35%),
    radial-gradient(circle at 92% 2%, rgba(28, 184, 201, 0.18), transparent 30%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

body.legal-page {
  background: #ffffff;
}

body.legal-page .site-header {
  background: rgba(255, 255, 255, 0.96);
}

body.legal-page .section {
  background: #ffffff;
}

.legal-dropdown .dropdown-menu {
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(10, 32, 60, 0.14);
  padding: 0.4rem;
  min-width: 220px;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.legal-dropdown .dropdown-item {
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.legal-dropdown .dropdown-item:hover,
.legal-dropdown .dropdown-item:focus {
  color: var(--blue);
  background: rgba(45, 105, 216, 0.08);
}

.legal-dropdown:hover > .dropdown-menu,
.legal-dropdown:focus-within > .dropdown-menu,
.legal-dropdown .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 992px) {
  .legal-dropdown {
    position: relative;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.navbar {
  padding: 0.45rem 0;
}

.navbar .container {
  align-items: center;
}

.navbar-collapse {
  align-items: center;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-logo {
  height: 46px;
  max-width: 240px;
  width: auto;
}

.brand-mark {
  height: 30px;
  width: auto;
}

.brand-text {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f2a48;
  font-size: 1.08rem;
}

.navbar-nav {
  gap: 0.3rem;
  align-items: center;
}

.nav-link {
  color: var(--ink);
  font-weight: 600;
  padding: 0.45rem 0.72rem !important;
  border-radius: 8px;
  font-size: 1.06rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-link i,
.dropdown-item i {
  margin-right: 0.35rem;
  width: 1rem;
  text-align: center;
}

.legal-dropdown > .nav-link {
  padding-right: 0.55rem !important;
}

.dropdown-toggle::after {
  margin-left: 0.35rem;
  vertical-align: middle;
}

.nav-link:hover {
  color: var(--blue);
  background: rgba(45, 105, 216, 0.08);
}

.nav-toggle {
  border: 1px solid var(--line);
  color: var(--ink);
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.nav-toggle i {
  font-size: 1.15rem;
  line-height: 1;
}

.btn-brand,
.btn-outline-brand {
  border-radius: 999px;
  padding: 0.56rem 1.02rem;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.btn-brand {
  border: 0;
  color: #fff;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
}

.btn-brand:hover {
  color: #fff;
  filter: brightness(1.03);
}

.btn-outline-brand {
  border: 1px solid #7ea4e8;
  color: var(--blue);
  background: #fff;
}

.btn-outline-brand:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.hero {
  padding: 2rem 0 1.2rem;
}

.hero-shell {
  background: var(--surface);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 2.2rem;
}

.kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  color: var(--blue);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.hero-visual {
  min-height: 310px;
  border-radius: 22px;
  background: linear-gradient(150deg, #ffffff, #eef4ff);
  border: 1px solid #d8e5fb;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-visual img {
  width: min(78%, 420px);
  filter: drop-shadow(0 4px 10px rgba(31, 64, 120, 0.12));
}

.section-pad {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.95));
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 2.1rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  margin-bottom: 0.6rem;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

.feature-card,
.mini-card,
.process-card,
.team-card,
.counter-card,
.faq-grid details,
.footer-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 35, 68, 0.08);
}

.feature-card {
  height: 100%;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  margin-bottom: 0.8rem;
}

.feature-icon i {
  font-size: 1.05rem;
  color: #ffffff;
}

.feature-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.35rem;
}

.feature-card p {
  margin: 0;
  max-width: 220px;
}

.feature-card p,
.mini-card p,
.process-card li,
.team-card p,
.counter-card p,
.faq-grid p {
  color: var(--muted);
}

.mini-card {
  padding: 1rem;
  height: 100%;
}

.about-visual {
  border-radius: 20px;
  min-height: 280px;
  background: linear-gradient(145deg, #164a95, #2c83de);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.about-visual img {
  width: min(74%, 300px);
}

.counter-wrap {
  padding-top: 0;
}

.counter-card {
  padding: 1.2rem;
}

.counter-card h3 {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.process-card {
  height: 100%;
  padding: 1.2rem;
}

.process-card .step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 0.8rem;
  background: rgba(45, 105, 216, 0.12);
  color: var(--blue);
}

.process-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.process-card ul {
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.process-card li {
  margin-bottom: 0.45rem;
}

.process-card.highlighted {
  border-color: #93b4ea;
  transform: translateY(-4px);
}

.team-card {
  height: 100%;
  text-align: center;
  padding: 1.1rem;
}

.team-card img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.7rem;
  border: 3px solid rgba(45, 105, 216, 0.22);
}

.team-card h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-grid details {
  padding: 1rem 1.1rem;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-grid p {
  margin: 0.6rem 0 0;
  line-height: 1.7;
}

.site-footer {
  padding: 2rem 0 1.6rem;
  background: #0f243c;
  color: #d8e6f8;
}

.footer-cta {
  padding: 1.25rem;
  border-color: rgba(216, 230, 248, 0.25);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.footer-cta h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 0.7rem;
}

.footer-links p {
  margin-bottom: 0.45rem;
}

.footer-links a:hover {
  color: #8ec1ff;
}

.copyright {
  margin: 1rem 0 0;
  text-align: center;
  color: #9bb3cf;
}

@media (max-width: 991px) {
  .hero-shell {
    padding: 1.5rem;
  }

  .hero-visual {
    min-height: 250px;
  }

  .footer-cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .brand-mark {
    height: 32px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 1.2rem;
  }

  .hero-visual img {
    width: min(70%, 240px);
  }

  .section-pad {
    padding: 3.1rem 0;
  }

  .feature-card {
    padding: 1rem;
  }

  .feature-card p {
    max-width: none;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .nav-toggle i {
    font-size: 1.05rem;
  }

  .navbar-collapse {
    align-items: stretch;
  }

  .navbar-nav {
    width: 100%;
    align-items: flex-start;
    gap: 0;
    padding-top: 0.25rem;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.45rem 0.15rem !important;
    margin: 0.1rem 0;
    text-align: left;
  }

  .navbar-nav .dropdown-toggle::after {
    margin-left: auto;
  }

  .legal-dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    min-width: 100%;
    box-shadow: none;
    margin-top: 0.25rem;
  }

  .legal-dropdown .dropdown-menu.show,
  .legal-dropdown.show > .dropdown-menu,
  .legal-dropdown:focus-within > .dropdown-menu {
    display: block;
  }

  .legal-dropdown .dropdown-item {
    padding: 0.55rem 0.2rem;
  }

  .btn-brand.ms-lg-3 {
    width: 100%;
    justify-content: center;
    margin-left: 0 !important;
    margin-top: 0.4rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Legal Documents Content ===== */
.section {
  padding: 96px 14px 52px !important;
}

.section-title {
  font-size: clamp(2.2rem, 3.6vw, 3rem) !important;
  margin-bottom: 0.9rem;
  color: #2d69d8;
}

.legal-updated {
  margin: -0.2rem 0 0.9rem;
  color: #5f7da6;
  font-size: 0.95rem;
  font-weight: 600;
}

.legal-content .section-heading {
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dce6f3;
}

.text-block {
  background: #ffffff !important;
  border: 1px solid #dce6f3;
  border-radius: 14px !important;
  box-shadow: 0 10px 28px rgba(15, 35, 68, 0.1) !important;
  padding: 24px 20px !important;
  margin-bottom: 1.3rem;
}

.text-block h3 {
  color: #2d69d8 !important;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  margin-bottom: 0.9rem;
}

.text-block p,
.text-block li {
  color: #17263a;
  font-size: 1.03rem;
  line-height: 1.8;
  font-weight: 400;
}

.text-block p {
  margin-bottom: 0.95rem;
}

.text-block ul,
.text-block ol {
  padding-left: 1.3rem;
}

#aviso-legal .section-heading,
#privacy-policy .section-heading,
#politica-de-cookies .section-heading,
#tos .section-heading {
  max-width: 920px;
}

@media (max-width: 767px) {
  .section {
    padding: 86px 12px 42px !important;
  }

  .section-title {
    font-size: 1.8rem !important;
  }

  .text-block {
    padding: 20px 16px !important;
  }

  .text-block p,
  .text-block li {
    font-size: 0.98rem;
    line-height: 1.72;
  }
}
