/* =============================================
   SAFETAXI — Global Stylesheet
   Colores de marca: #E94F1D (naranja), #1E1E1C (oscuro), #848584 (gris)
   ============================================= */

:root {
  --orange:       #E94F1D;
  --orange-dark:  #c23f14;
  --orange-light: rgba(233,79,29,0.1);
  --dark:         #1E1E1C;
  --dark-80:      rgba(30,30,28,0.8);
  --gray:         #848584;
  --gray-light:   #f5f5f3;
  --gray-mid:     #e8e8e5;
  --white:        #ffffff;
  --green-ok:     #639922;
  --amber-warn:   #EF9F27;
  --font:         'Inter', 'Helvetica Neue', Arial, sans-serif;
  --nav-h:        68px;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg:    0 24px 60px rgba(0,0,0,0.14);
  --transition:   0.25s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
h4 { font-size: 1rem; font-weight: 700; }
p  { line-height: 1.7; }

/* ---- LAYOUT CONTAINERS ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

.section {
  padding: 100px 5vw;
}

.section--gray   { background: var(--gray-light); }
.section--dark   { background: var(--dark); }
.section--orange { background: var(--orange); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }

.btn--primary  { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); box-shadow: 0 8px 24px rgba(233,79,29,0.35); }

.btn--ghost    { background: transparent; color: var(--dark); border: 1.5px solid rgba(0,0,0,0.15); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn--ghost-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn--ghost-white:hover { border-color: white; }

.btn--white    { background: var(--white); color: var(--orange); }
.btn--white:hover { box-shadow: var(--shadow-md); }

.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 15px; }

/* ---- BADGES ---- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
  text-transform: uppercase;
}
.badge--orange { background: var(--orange-light); color: var(--orange); border: 1px solid rgba(233,79,29,0.25); }
.badge--green  { background: rgba(99,153,34,0.1); color: #3B6D11; border: 1px solid rgba(99,153,34,0.25); }
.badge--dark   { background: var(--dark); color: var(--white); }

/* ---- SECTION HEADER ---- */
.section-header { margin-bottom: 3.5rem; }
.section-header .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 1rem; display: block;
}
.section-header h2 { color: var(--dark); margin-bottom: 1rem; }
.section-header p  { font-size: 17px; color: var(--gray); max-width: 560px; line-height: 1.65; }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,0.5); }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ---- SCROLL ANIMATIONS ---- */
.anim-fade-up    { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-fade-left  { opacity: 0; transform: translateX(-24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.anim-fade-right { opacity: 0; transform: translateX(24px);  transition: opacity 0.5s ease, transform 0.5s ease; }
.anim-scale      { opacity: 0; transform: scale(0.94);       transition: opacity 0.5s ease, transform 0.5s ease; }
.is-visible      { opacity: 1 !important; transform: none !important; }

/* ---- DIVIDER ---- */
.divider {
  height: 1px;
  background: var(--gray-mid);
  border: none;
  margin: 0;
}

/* ---- INNER PAGE HERO ---- */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 5vw 70px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(233,79,29,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero .lead { font-size: 18px; color: rgba(255,255,255,0.55); max-width: 580px; line-height: 1.65; margin-bottom: 2rem; }
.page-hero .breadcrumb { font-size: 12px; color: rgba(255,255,255,0.3); margin-bottom: 1.5rem; }
.page-hero .breadcrumb a { color: var(--orange); }
.page-hero .breadcrumb span::after { content: ' / '; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .section { padding: 70px 5vw; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 5vw 50px; }
}
@media (max-width: 600px) {
  .section { padding: 50px 5vw; }
}