/* ── Variables ─────────────────────────────────────────────── */
:root {
  --blue-dark:   #1a237e;
  --blue-mid:    #0d47a1;
  --blue-accent: #1976d2;
  --text:        #212121;
  --text-muted:  #666;
  --bg-light:    #f5f7fa;
  --white:       #ffffff;
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --radius:      12px;
  --nav-height:  60px;
  --transition:  0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navbar ────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #111827;
  height: var(--nav-height);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.3); }

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.brand-accent { color: var(--blue-accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.lang-btn {
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-left: 0.5rem;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.lang-btn:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,0.08); }

.nav-toggle {
  display: none;
  color: var(--white);
  font-size: 1.4rem;
  padding: 0.25rem 0.5rem;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color: var(--white);
  overflow: hidden;
  min-height: 75vh;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.hero-text { flex: 1; }
.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-text p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hero-image img {
  max-width: 460px;
  filter: drop-shadow(0 0 24px rgba(255,255,255,0.15));
}

/* ── Services ──────────────────────────────────────────────── */
.services {
  padding: 5rem 0;
  background: var(--bg-light);
}
.services h2, .about h2, .contact h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 3rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.service-card-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}
.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.service-card:hover .service-card-image img { transform: scale(1.04); }
.service-card-body { padding: 1.25rem; }
.service-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-card-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.service-card-body ul { display: flex; flex-direction: column; gap: 0.35rem; }
.service-card-body li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.service-card-body li::before {
  content: '•';
  color: var(--blue-accent);
  flex-shrink: 0;
}

/* ── About ─────────────────────────────────────────────────── */
.about { padding: 5rem 0; }
.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ── Contact ───────────────────────────────────────────────── */
.contact { padding: 5rem 0; background: var(--bg-light); }
.contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.contact-header p { color: var(--text-muted); font-size: 1.05rem; }
.contact-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  border: none;
  border-bottom: 2px solid #e0e0e0;
  border-radius: 0;
  padding: 0.65rem 0;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  background: transparent;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue-accent); }
.form-group input.invalid,
.form-group textarea.invalid { border-color: #e53935; }
.form-group textarea { resize: vertical; min-height: 120px; }
.field-error { font-size: 0.8rem; color: #e53935; margin-top: 0.25rem; min-height: 1rem; }
.form-submit { text-align: center; margin-top: 0.5rem; }
.form-submit button {
  background: var(--blue-accent);
  color: var(--white);
  padding: 0.85rem 2.5rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(25,118,210,0.3);
  transition: background var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.form-submit button:hover { background: var(--blue-mid); box-shadow: 0 6px 16px rgba(25,118,210,0.4); }
.form-submit button:disabled { opacity: 0.65; cursor: not-allowed; }

.alert {
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.alert.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert.error   { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.alert.hidden  { display: none; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: #111827;
  color: rgba(255,255,255,0.5);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-image { display: none; }
  .form-row { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #111827;
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.6rem 0.5rem; }
  .lang-btn { margin-left: 0; align-self: flex-start; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 1.5rem; }
}
