/* ===== Transporte Fantinati — Página estática En construcción ===== */

:root {
  --navy-deep: #06162F;
  --navy: #092454;
  --gold: #F3B51D;
  --light: #EAF2F8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--navy-deep);
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.gold { color: var(--gold); }

/* ===== Animaciones ===== */
@keyframes tf-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes tf-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.tf-fade-up,
.tf-fade-logo {
  opacity: 0;
  animation-fill-mode: forwards;
}

.tf-fade-up {
  animation: tf-fade-up 0.9s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

.tf-fade-logo {
  animation: tf-fade-in 1s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .tf-fade-up,
  .tf-fade-logo {
    opacity: 1 !important;
    animation: none !important;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 96px 5% 64px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 52%, rgba(6,22,47,0.55) 0%, rgba(6,22,47,0.18) 42%, rgba(6,22,47,0.5) 100%),
    linear-gradient(180deg, rgba(6,22,47,0.6) 0%, rgba(6,22,47,0.18) 32%, rgba(6,22,47,0.18) 68%, rgba(6,22,47,0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-logo img {
  max-height: 140px;
  width: auto;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.45));
}

.kicker {
  display: block;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.08;
}

.hero-sub {
  margin-top: 24px;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--light);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* ===== Botones ===== */
.btn {
  display: inline-block;
  border-radius: 4px;
  padding: 20px 40px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: #fff;
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--navy);
}

/* ===== SERVICIOS ===== */
.services {
  position: relative;
  overflow: hidden;
  padding: 64px 5%;
  border-top: 1px solid rgba(243,181,29,0.3);
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 50% -10%, rgba(243,181,29,0.14) 0%, rgba(9,36,84,0) 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(45deg, rgba(243,181,29,0.04) 0px, rgba(243,181,29,0.04) 1px, transparent 1px, transparent 26px);
}

.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(4px);
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(243,181,29,0.4);
  background: rgba(255,255,255,0.06);
}

.service-card svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.service-card:hover svg { transform: scale(1.1); }

.service-card h3 {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
}

/* ===== FOOTER ===== */
.footer {
  padding: 56px 5%;
  text-align: center;
  background: var(--navy-deep);
}

.footer-tag {
  margin-bottom: 12px;
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.footer-mail {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s ease;
}

.footer-mail:hover { color: var(--gold); }

/* ===== Responsive (escritorio) ===== */
@media (min-width: 640px) {
  .hero-logo img { max-height: 170px; }
  .kicker { font-size: 14px; }
  .hero h1 { font-size: 4rem; }
  .hero-sub { font-size: 1.25rem; }
  .btn { font-size: 14px; }
  .hero-actions { flex-direction: row; gap: 24px; }
  .services { padding: 96px 5%; }
  .services-grid { gap: 40px; }
  .service-card h3 { font-size: 1.125rem; }
  .footer-tag { font-size: 1.125rem; }
  .footer-copy, .footer-mail { font-size: 14px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 4.5rem; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}