/* ═══════════════════════════════════════════════════════════
   FLOTA PRIME — GLOBAL STYLESHEET
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --black:      #0A0A0A;
  --black2:     #111111;
  --black3:     #1A1A1A;
  --black4:     #242424;
  --silver:     #C0C0C0;
  --silver2:    #9A9A9A;
  --silver3:    #707070;
  --white:      #F5F5F5;
  --white2:     #E0E0E0;
  --accent:     #D4D4D4;
  --border:     rgba(255,255,255,0.08);
  --border2:    rgba(255,255,255,0.15);
  --text:       #F0F0F0;
  --text2:      #AAAAAA;
  --text3:      #666666;
  --gradient:   linear-gradient(135deg, #2A2A2A, #111111);
  --gradient2:  linear-gradient(135deg, #C0C0C0, #888888);
  --shadow:     0 8px 40px rgba(0,0,0,0.6);
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.4);
  --radius:     4px;
  --radius-lg:  8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
  --nav-h:      72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--sans); }
ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--silver3); border-radius: 2px; }

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: background var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-mark {
  width: 44px;
  height: 44px;
  background: var(--black);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  flex-shrink: 0;
}

.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}
.nav-logo-sub {
  font-size: 9px;
  font-weight: 400;
  color: var(--silver2);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text2);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Right side */
.nav-right { display: flex; align-items: center; gap: 20px; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 6px 12px;
  color: var(--text2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all var(--transition);
}
.lang-toggle:hover { border-color: var(--silver); color: var(--white); }

.btn-nav {
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: var(--radius);
  padding: 10px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all var(--transition);
  display: inline-block;
}
.btn-nav:hover { background: var(--silver); transform: translateY(-1px); }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  padding: 32px 5%;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 14px; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 5% 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(80,80,80,0.12) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--silver2);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--silver3);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  background: var(--gradient2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text3);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 16px; height: 16px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn-primary {
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: var(--radius);
  padding: 16px 36px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--silver);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 15px 36px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  display: inline-block;
}
.btn-secondary:hover {
  border-color: var(--silver);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════════ */
section { padding: 100px 5%; }

.section-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--silver2);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--silver3);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  background: var(--gradient2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1rem;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

.text-center { text-align: center; }
.text-center .section-eyebrow { justify-content: center; }
.text-center .section-eyebrow::before { display: none; }
.text-center .section-eyebrow::after { content: ''; width: 24px; height: 1px; background: var(--silver3); }
.text-center .section-sub { margin: 0 auto; }

/* ══════════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════════ */
.card {
  background: var(--black2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--black3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--silver);
}
.card-icon svg { width: 22px; height: 22px; }

.card-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.card-text {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.7;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════════
   DIVIDER
══════════════════════════════════════════════════════════ */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border2), transparent);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   STAT STRIP
══════════════════════════════════════════════════════════ */
.stats-strip {
  padding: 60px 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  background: var(--black);
  padding: 40px 30px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 11px;
  color: var(--text2);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
}

/* ══════════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════════ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text2);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: var(--sans);
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--silver);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #EF4444;
}

.form-group .field-error {
  font-size: 11px;
  color: #EF4444;
  margin-top: 2px;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option { background: var(--black3); }

/* Honeypot */
.hp-field { display: none !important; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 64px 5% 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {}
.footer-brand .nav-logo-name { font-size: 22px; margin-bottom: 6px; }
.footer-brand .nav-logo-sub { margin-bottom: 16px; }
.footer-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.8;
  font-weight: 300;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver2);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--text2);
  transition: color var(--transition);
  font-weight: 300;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text3);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: var(--text3);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--text2); }

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════════════════
   PAGE HEADER (servicios, nosotros, contacto)
══════════════════════════════════════════════════════════ */
.page-header {
  padding: calc(var(--nav-h) + 80px) 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-header .hero-grid { opacity: 0.5; }

/* ══════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--black2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease;
  border-left: 3px solid var(--silver);
}
.toast.success { border-left-color: #22C55E; }
.toast.error   { border-left-color: #EF4444; }
@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes toastOut {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(100%); opacity: 0; }
}
.toast.hiding { animation: toastOut 0.3s ease forwards; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  section { padding: 72px 5%; }
  .nav-links, .btn-nav { display: none; }
  .menu-toggle { display: flex; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2.4rem; }
}
