/* ===== Design tokens ===== */
:root {
  --bg: #07090d;
  --bg-soft: #0c1017;
  --bg-card: rgba(18, 24, 34, 0.72);
  --bg-card-solid: #121822;
  --bg-elevated: #161d28;
  --text: #f0f4fa;
  --text-muted: #b8c5d6;
  --text-dim: #8a9bb0;
  --accent: #ff6b1a;
  --accent-2: #ff8c42;
  --accent-glow: rgba(255, 107, 26, 0.35);
  --whatsapp: #25d366;
  --whatsapp-dim: rgba(37, 211, 102, 0.15);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 107, 26, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(255, 107, 26, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 107, 26, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(40, 60, 100, 0.15) 0%, transparent 50%),
    var(--bg);
  pointer-events: none;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-2); }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 9, 13, 0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.logo-mark {
  display: flex;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo-text span { color: var(--accent); }

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.25s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(12, 16, 23, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--text);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .btn-whatsapp {
  margin-top: 12px;
  border-bottom: none;
  justify-content: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a2e 0%, #ff5a00 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
  color: #fff;
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  padding: 9px 16px;
  font-size: 0.82rem;
  border-radius: 10px;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  border-radius: 14px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 107, 26, 0.12);
  border: 1px solid rgba(255, 107, 26, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 24px;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  color: #c5d0e0;
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.55;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero orbs */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.4) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.25) 0%, transparent 70%);
  bottom: 15%;
  right: 25%;
  animation-delay: -4s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(60, 100, 180, 0.3) 0%, transparent 70%);
  top: 40%;
  left: 55%;
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ===== About cards ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.about-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.15) 0%, rgba(255, 107, 26, 0.05) 100%);
  border: 1px solid rgba(255, 107, 26, 0.2);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 20px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== Form ===== */
.request {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 26, 0.03) 50%, transparent 100%);
}

.form-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--text);
}

.input-wrap {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

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

.hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255, 107, 26, 0.06);
  border: 1px solid rgba(255, 107, 26, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-note svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

/* ===== Contacts ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  color: inherit;
  display: block;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  color: inherit;
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.contact-card:hover .contact-icon {
  color: var(--accent);
  border-color: rgba(255, 107, 26, 0.3);
  background: rgba(255, 107, 26, 0.08);
}

.contact-icon-wa {
  color: var(--whatsapp) !important;
  background: var(--whatsapp-dim) !important;
  border-color: rgba(37, 211, 102, 0.25) !important;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-card .small {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 400;
  margin-top: 4px;
}

.markets-block {
  text-align: center;
  padding: 36px 28px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.markets-block > p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.markets-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.markets-hint {
  font-size: 0.8rem !important;
  color: var(--text-dim) !important;
  max-width: 420px;
  margin: 0 auto !important;
  line-height: 1.5;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-brand .logo-text span { color: var(--accent); }

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-links a:hover { color: var(--accent); }

.copyright {
  width: 100%;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav, .header-actions .btn-whatsapp { display: none; }
  .burger { display: flex; }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 40px) 0 60px;
  }

  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }

  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }

  .form-card { padding: 28px 20px; }
  .section { padding: 72px 0; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .container { padding: 0 16px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .orb-1 { width: 280px; height: 280px; }
  .hero h1 { color: #fff; -webkit-text-fill-color: #fff; }
  .hero-sub { color: #d0d8e6; }
  .stat-label { color: #a8b6c8; }
  .about-card p, .section-desc { color: #b8c5d6; }
}
