/* === DESIGN TOKENS === */
:root {
  --bg: #fdfdfc;
  --fg: #1a2740;
  --card: #ffffff;
  --card-fg: #1a2740;
  --primary: #1a2d4a;
  --primary-fg: #fdfdfc;
  --secondary: #f3f4f0;
  --secondary-fg: #1a2d4a;
  --muted: #f3f4f0;
  --muted-fg: #6b7280;
  --accent: #e8920b;
  --accent-fg: #ffffff;
  --border: #e5e7eb;
  --hero-gradient: linear-gradient(135deg, #16253a 0%, #1e3658 100%);
  --shadow-soft: 0 8px 30px -12px rgba(26, 39, 64, 0.18);
  --shadow-card: 0 4px 20px -8px rgba(26, 39, 64, 0.12);
  --radius: 0.75rem;
  --radius-lg: 1.5rem;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === UTILITY === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
@media (max-width: 768px) { .section { padding: 4rem 0; } }
.bg-offers { background: var(--secondary); }
.hidden { display: none !important; }
.text-accent { color: var(--accent); }

/* === SECTION HEADERS === */
.section-header { max-width: 650px; }
.section-header.center { margin: 0 auto; text-align: center; }
.section-header.left { text-align: left; }
.kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
.subtitle { margin-top: 1rem; color: var(--muted-fg); font-size: 1.0625rem; }
@media (min-width: 768px) {
  h2 { font-size: 2.25rem; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600; border-radius: 0.5rem; cursor: pointer;
  transition: all 0.2s; border: none; text-decoration: none;
  font-size: 0.875rem; line-height: 1;
}
.btn-sm { padding: 0.5rem 1rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-fg); }
.btn-accent:hover { background: #d4820a; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: #253a5c; }
.btn-ghost { color: white; background: rgba(255,255,255,0.08); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* === BADGE === */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.75rem; font-weight: 500;
}

/* === HEADER === */
#header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px); background: rgba(253, 253, 252, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--primary-fg);
  border-radius: 0.5rem; padding: 0.375rem 0.75rem;
  font-weight: 900; font-size: 0.8125rem; font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.875rem; color: var(--muted-fg);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* === LANGUAGE TOGGLE === */
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); border-radius: 9999px; padding: 2px;
  font-size: 0.75rem; font-weight: 600;
}
.lang-btn {
  padding: 0.25rem 0.625rem; border-radius: 9999px; border: none; background: none;
  cursor: pointer; color: var(--muted-fg); font-size: 0.75rem; font-weight: 600;
  transition: all 0.2s;
}
.lang-btn.active { background: var(--accent); color: var(--accent-fg); }
.lang-btn:hover:not(.active) { color: var(--fg); }

/* === HERO === */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-gradient); color: white;
  padding: 8rem 0;
}
@media (max-width: 768px) { .hero { padding: 5rem 0; } }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(80px);
  animation: float 6s ease-in-out infinite;
}
.hero-glow-1 { top: 5rem; left: -5rem; width: 18rem; height: 18rem; background: rgba(232, 146, 11, 0.3); }
.hero-glow-2 { bottom: 2.5rem; right: 2.5rem; width: 20rem; height: 20rem; background: rgba(255,255,255,0.06); animation-delay: 3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-content {
  position: relative; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  text-align: center; animation: fadeUp 0.7s ease-out both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 { font-size: 2.5rem; max-width: 900px; margin: 1.5rem auto 0; }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
.hero-subtitle {
  margin: 1.5rem auto 0; font-size: 1.125rem; color: rgba(255,255,255,0.8);
  max-width: 650px;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-context {
  margin: 0.75rem auto 0; font-size: 0.875rem; color: rgba(255,255,255,0.55);
  max-width: 550px;
}
.hero-btns { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.hero-proof {
  margin-top: 2rem; display: inline-flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 0.25rem 0.375rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.45);
}
.hero-proof a { color: rgba(255,255,255,0.5); text-decoration: underline; text-underline-offset: 2px; }
.hero-proof a:hover { color: var(--accent); }

/* === CARDS === */
.cards-grid {
  margin-top: 3.5rem; display: grid; gap: 1.5rem;
}
.cards-grid.cols-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  padding: 2rem; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-card); transition: transform 0.3s;
}
.card:hover { transform: translateY(-4px); }
.card-icon {
  display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center;
  border-radius: 0.75rem; background: rgba(26, 45, 74, 0.06); color: var(--primary);
  margin-bottom: 1.25rem; transition: all 0.2s;
}
.card:hover .card-icon { background: var(--accent); color: var(--accent-fg); }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--muted-fg); line-height: 1.6; font-size: 0.9375rem; }

/* === OFFER CARDS === */
.offer-card {
  position: relative; padding: 2rem; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform 0.3s;
}
.offer-card:hover { transform: translateY(-4px); }
.offer-card.featured {
  background: var(--primary); color: white; border-color: var(--primary);
  box-shadow: var(--shadow-soft); transform: scale(1.02);
}
.offer-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.offer-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  background: var(--accent); color: var(--accent-fg);
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}
.offer-tag.muted {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted-fg);
}
.offer-tag.accent {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--accent);
}
.offer-card h3 { margin-top: 0.75rem; font-size: 1.5rem; }
.offer-card ul { margin-top: 1.5rem; flex: 1; }
.offer-card li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.35rem 0; font-size: 0.875rem;
}
.offer-card li::before {
  content: ''; display: block; width: 1.25rem; height: 1.25rem; flex-shrink: 0;
  margin-top: 1px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.offer-card.featured li::before { color: var(--accent); }
.offer-card:not(.featured) li::before { color: var(--primary); }
.offer-card.featured li { color: rgba(255,255,255,0.9); }
.offer-card .btn { margin-top: 2rem; }
.offer-card.featured .btn { background: var(--accent); color: var(--accent-fg); }
.note { margin-top: 2rem; text-align: center; font-size: 0.875rem; color: var(--muted-fg); }

/* === STEPS === */
.steps-grid {
  margin-top: 4rem; display: grid; gap: 2rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; }
.step-icon {
  margin: 0 auto; display: inline-flex; width: 4rem; height: 4rem;
  align-items: center; justify-content: center; border-radius: var(--radius-lg);
  background: var(--primary); color: var(--primary-fg);
  box-shadow: var(--shadow-soft);
}
.step-num {
  margin-top: 0.5rem; font-size: 0.75rem; font-weight: 600;
  color: var(--accent);
}
.step h3 { margin-top: 0.5rem; }
.step p { margin-top: 0.75rem; color: var(--muted-fg); max-width: 300px; margin-left: auto; margin-right: auto; }

/* === PORTFOLIO === */
.portfolio-grid {
  margin-top: 3.5rem; display: grid; gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(5, 1fr); } }
.portfolio-card {
  display: block; padding: 1.5rem; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-card); transition: all 0.3s;
}
.portfolio-card:hover { transform: translateY(-4px); }
.portfolio-card h3:hover { color: var(--primary); }
.portfolio-img {
  aspect-ratio: 16/9; border-radius: 0.75rem; overflow: hidden;
  margin-bottom: 1.25rem; background: var(--hero-gradient);
}
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card .offer-tag { display: block; margin-bottom: 0.25rem; }
.portfolio-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.portfolio-card p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.5; }
.portfolio-link {
  display: inline-flex; align-items: center; gap: 0.25rem;
  margin-top: 1rem; font-size: 0.875rem; font-weight: 500; color: var(--primary);
}

/* === ABOUT === */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 2fr 3fr; } }
.about-img {
  aspect-ratio: 1; border-radius: 1.5rem; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text .kicker { margin-bottom: 0.5rem; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--muted-fg); line-height: 1.7; margin-bottom: 1rem; }
.about-meta {
  margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem;
  font-size: 0.875rem; color: var(--muted-fg);
}
.about-meta span {
  display: inline-flex; align-items: center; gap: 0.375rem;
}
.about-meta svg { color: var(--accent); }

/* === CONTACT FORM === */
.contact-form {
  margin-top: 3rem; padding: 2rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 1.5rem; box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.form-row { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border);
  border-radius: 0.5rem; font-size: 0.9375rem; font-family: inherit;
  background: var(--bg); color: var(--fg); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 45, 74, 0.1);
}
.form-group input { height: 44px; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  margin-top: 0.75rem; text-align: center; font-size: 0.875rem; font-weight: 500;
}
.form-status.success { color: var(--primary); }
.form-status.error { color: #dc2626; }
.form-status.sending { color: var(--muted-fg); }
.form-langs {
  margin-top: 1rem; text-align: center; font-size: 0.75rem; color: var(--muted-fg);
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border); padding: 2.5rem 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  font-size: 0.875rem; color: var(--muted-fg);
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
  .footer-right { text-align: right; }
}
.footer-left { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo {
  display: inline-flex; width: 1.75rem; height: 1.75rem;
  align-items: center; justify-content: center; border-radius: 0.375rem;
  background: var(--primary); color: var(--primary-fg);
  font-size: 0.75rem; font-weight: 700;
}
.footer-brand { font-weight: 600; color: var(--fg); }
.footer-entity { font-weight: 500; color: var(--fg); }
.footer-right a { color: var(--muted-fg); }
.footer-right a:hover { color: var(--fg); }
