:root {
  --radius: 14px;
  --background: #ffffff;
  --foreground: #111827;
  --muted: #667085;
  --card: #ffffff;
  --border: #e6edf4;
  --primary: #2563eb;
  --primary-dark: #1647b6;
  --primary-glow: #22b8cf;
  --brand-soft: #edf7ff;
  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #22b8cf 100%);
  --gradient-soft: linear-gradient(180deg, #fbfdff 0%, #eff8ff 100%);
  --gradient-hero:
    radial-gradient(ellipse at top left, rgba(96, 165, 250, 0.24), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(34, 184, 207, 0.22), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
  --shadow-soft: 0 4px 20px -8px rgba(37, 99, 235, 0.24);
  --shadow-elegant: 0 20px 50px -20px rgba(37, 99, 235, 0.34);
  --shadow-glow: 0 0 60px rgba(34, 184, 207, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
i { line-height: 1; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.main-content { flex: 1; animation: fade-in .7s ease both; }
.text-gradient {
  background: linear-gradient(135deg, #1d4ed8, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.glass {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.72);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled,
.site-header.open { background: rgba(255,255,255,.78); backdrop-filter: blur(12px); box-shadow: var(--shadow-soft); border-bottom: 1px solid rgba(255,255,255,.7); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.brand-mark i { font-size: 17px; }
.desktop-nav { display: flex; align-items: center; gap: 24px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.desktop-nav a { position: relative; transition: color .2s ease; }
.desktop-nav a:after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--gradient-brand); transition: width .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--foreground); }
.desktop-nav a:hover:after, .desktop-nav a.active:after { width: 100%; }
.nav-cta, .mobile-cta {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover, .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-elegant); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--foreground); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }
.mobile-nav { border-top: 1px solid var(--border); background: rgba(255,255,255,.86); backdrop-filter: blur(12px); }
.mobile-nav ul { padding: 16px 0; list-style: none; margin: 0 auto; display: grid; gap: 4px; }
.mobile-nav a { display: block; padding: 9px 0; font-weight: 600; }
.mobile-nav a.active { color: var(--primary); }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 128px 0 80px;
}
.home-hero { padding-top: 150px; padding-bottom: 110px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.hero h1, .section h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero p, .section-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 650px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--primary);
  background: var(--brand-soft);
  padding: 7px 14px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { color: #fff; background: var(--gradient-brand); box-shadow: var(--shadow-elegant); }
.btn-glass { background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.8); }
.btn-plain { padding-inline: 12px; color: var(--foreground); }
.btn-white { background: #fff; color: var(--primary); }
.btn-outline-white { color: #fff; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.12); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; max-width: 520px; }
.mini-stats b { display: block; font-size: 28px; }
.mini-stats span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-photo-wrap { position: relative; }
.hero-photo { position: relative; padding: 8px; border-radius: 28px; background: rgba(255,255,255,.72); box-shadow: var(--shadow-elegant); border: 1px solid rgba(255,255,255,.7); }
.hero-photo:before, .page-hero-image:before {
  content: "";
  position: absolute;
  inset: -24px;
  background: var(--gradient-brand);
  border-radius: 34px;
  filter: blur(24px);
  opacity: .18;
  z-index: -1;
}
.hero-photo img { width: 100%; height: 460px; object-fit: cover; border-radius: 22px; }
.floating-card {
  position: absolute;
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow-elegant);
  border: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
}
.active-destinations { left: -24px; bottom: -24px; }
.active-destinations small { display: block; color: var(--muted); font-size: 12px; }
.active-destinations strong { display: block; margin-top: 4px; }
.placing { right: -16px; top: -18px; font-weight: 700; font-size: 14px; }
.placing span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #10b981; margin-right: 8px; }
.hero-orb { position: absolute; z-index: 0; border-radius: 50%; filter: blur(48px); opacity: .65; animation: blob 14s ease-in-out infinite; }
.orb-one { top: -120px; left: -120px; width: 390px; height: 390px; background: rgba(34,184,207,.28); }
.orb-two { top: 30%; right: -130px; width: 430px; height: 430px; background: rgba(37,99,235,.16); animation-delay: -4s; }
.orb-three { bottom: -80px; left: 35%; width: 320px; height: 320px; background: rgba(125,211,252,.32); animation-delay: -8s; }
.hero .container { position: relative; z-index: 1; }

.stats-strip { position: relative; z-index: 2; margin-top: -42px; }
.stats-card { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px; border-radius: 28px; box-shadow: var(--shadow-elegant); }
.stats-card div { text-align: center; }
.stats-card b { display: block; font-size: 38px; line-height: 1; }
.stats-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.section { padding: 88px 0; }
.section.soft { background: var(--gradient-soft); }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(32px, 4vw, 50px); }
.three-grid, .service-grid, .country-grid, .four-grid, .two-grid { display: grid; gap: 24px; }
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid, .four-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.country-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-card, .small-card, .info-panel, .country-card, .benefits-card, .contact-form, .romania-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.has-media {
  position: relative;
  overflow: hidden;
}
.card-media {
  height: 132px;
  margin: -26px -26px 22px;
  overflow: hidden;
  background: var(--brand-soft);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.has-media:hover .card-media img { transform: scale(1.06); }
.feature-card { border-radius: 28px; background: rgba(255,255,255,.7); backdrop-filter: blur(12px); box-shadow: var(--shadow-soft); }
.feature-card:hover, .small-card:hover, .info-panel:hover, .country-card:hover, .romania-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-elegant); }
.feature-card h3, .small-card h3, .info-panel h3, .country-card h3 { margin: 18px 0 8px; font-size: 20px; }
.feature-card p, .small-card p, .info-panel p, .country-card p { color: var(--muted); line-height: 1.65; font-size: 14px; margin: 0; }
.feature-card b { display: inline-block; margin-top: 18px; color: var(--primary); font-size: 14px; }
.country-card { overflow: hidden; padding: 0; border-radius: 28px; }
.country-top { height: 150px; position: relative; overflow: hidden; background: var(--gradient-brand); }
.country-top img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); transition: transform .35s ease; }
.country-card:hover .country-top img { transform: scale(1.06); }
.country-top:before { content: ""; position: absolute; inset: 0; opacity: .58; background: linear-gradient(180deg, rgba(3,7,18,.08), rgba(3,7,18,.56)); z-index: 1; }
.flag { position: absolute; left: 22px; bottom: 16px; font-size: 44px; font-weight: 900; color: #fff; text-shadow: 0 10px 25px rgba(0,0,0,.2); }
.country-name { position: absolute; top: 18px; right: 20px; color: var(--primary); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 800; }
.flag, .country-name { z-index: 2; }
.country-body { padding: 24px; }
.region, .sector-label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.chips, .white-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.chips span { border-radius: 999px; background: var(--brand-soft); color: var(--primary); padding: 6px 12px; font-size: 12px; font-weight: 700; }
.country-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--border); margin-top: 22px; padding-top: 18px; }
.country-meta small { display: block; color: var(--muted); font-size: 12px; }
.country-meta small i { margin-right: 5px; color: var(--primary); }
.country-meta strong { display: block; margin-top: 3px; font-size: 14px; }

.page-hero { padding-bottom: 92px; }
.page-hero-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 44px; align-items: center; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--primary); }
.page-hero-image { position: relative; padding: 8px; border-radius: 28px; background: rgba(255,255,255,.72); box-shadow: var(--shadow-elegant); }
.page-hero-image img { width: 100%; height: 380px; object-fit: cover; border-radius: 22px; }

.license-banner {
  display: inline-flex; flex-direction: column; gap: 3px;
  margin-top: 34px;
  border-radius: 18px;
  background: var(--gradient-brand);
  color: #fff;
  padding: 18px 24px;
  font-weight: 800;
  box-shadow: var(--shadow-elegant);
}
.license-banner span { font-size: 14px; font-weight: 500; opacity: .9; }

.timeline-title { font-size: 26px; margin: 0 0 32px; }
.timeline { position: relative; padding: 0; margin: 0; list-style: none; display: grid; gap: 24px; }
.timeline:before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(#2563eb, #22b8cf); opacity: .3; }
.timeline li { position: relative; padding-left: 58px; }
.timeline li span { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient-brand); color: #fff; font-weight: 900; box-shadow: var(--shadow-soft); }
.timeline li b { display: block; }
.timeline li p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.manpower-grid, .romania-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.manpower-panel, .romania-panel, .contact-panel, .cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--gradient-brand);
  color: #fff;
  padding: 38px;
  box-shadow: var(--shadow-elegant);
}
.image-panel {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 28px;
  align-items: center;
}
.image-panel > img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.28);
}
.manpower-panel h3, .romania-panel h3, .contact-panel h3, .cta h2 { margin: 0 0 10px; font-size: 28px; }
.manpower-panel p, .romania-panel p, .contact-panel p, .cta p { opacity: .9; line-height: 1.6; }
.white-chips span { border-radius: 999px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.24); padding: 8px 14px; font-size: 14px; }
.workforce-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.workforce-types div { border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 16px; }
.workforce-types small { display: block; opacity: .78; margin-bottom: 5px; }
.benefits-card h3, .romania-card h3 { margin-top: 0; }
.benefits-card ul, .romania-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.benefits-card li, .romania-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.benefits-card li span, .romania-card li span { display: grid; place-items: center; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--primary); font-weight: 900; }
.romania-panel { min-height: 100%; }
.romania-grid { grid-template-columns: 1.15fr .95fr; align-items: stretch; }
.procedure-card { grid-column: span 2; }
.procedure-card ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.procedure-card li { display: block; border-radius: 18px; background: var(--brand-soft); padding: 18px; counter-increment: step; }
.procedure-card li:before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-weight: 900; margin-bottom: 12px; }
.procedure-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }

.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 18px; background: var(--card); overflow: hidden; }
.faq-question { width: 100%; border: 0; background: transparent; padding: 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; text-align: left; cursor: pointer; font: inherit; font-weight: 800; color: var(--foreground); }
.faq-question b { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--primary); }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .28s ease, opacity .28s ease; }
.faq-answer p { overflow: hidden; margin: 0; padding: 0 20px; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; opacity: 1; }
.faq-item.open .faq-answer p { padding-bottom: 20px; }

.contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 24px; }
.contact-panel { display: grid; gap: 18px; }
.contact-panel a { display: flex; flex-direction: column; gap: 4px; padding-left: 0; }
.contact-panel a strong { font-weight: 700; }
.hours { border-top: 1px solid rgba(255,255,255,.25); padding-top: 20px; opacity: .92; }
.contact-form { box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--foreground);
  padding: 13px 15px;
  font: inherit;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.map-frame { overflow: hidden; border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow-elegant); background: var(--card); }
.map-frame iframe { display: block; width: 100%; min-height: 450px; }

.cta-section { padding: 64px 0 80px; }
.cta { display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 32px; }
.cta-image { overflow: hidden; border-radius: 24px; border: 1px solid rgba(255,255,255,.28); }
.cta-image img { width: 100%; height: 150px; object-fit: cover; }
.cta h2 { font-size: clamp(30px, 4vw, 42px); }
.cta p { font-size: 18px; max-width: 640px; }

.footer { background: var(--gradient-soft); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.25fr; gap: 42px; padding: 56px 0; }
.footer h4 { margin: 0 0 16px; }
.footer-copy { margin-top: 16px; max-width: 310px; line-height: 1.7; }
.muted { color: var(--muted); }
.license { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: 13px; font-weight: 800; margin-top: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: 14px; }
.footer-links a { display: inline-flex; gap: 8px; align-items: center; }
.footer-links a:hover { color: var(--foreground); }
.contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.contact-list svg { flex: 0 0 auto; margin-top: 2px; color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; color: var(--muted); font-size: 12px; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes blob { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-40px) scale(1.1); } 66% { transform: translate(-20px,20px) scale(.95); } }
.fade-up, .feature-card, .small-card, .country-card { animation: fade-up .8s ease both; }

@media (max-width: 1180px) {
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 980px) {
  .hero-grid, .page-hero-grid, .two-grid, .manpower-grid, .romania-grid, .contact-grid, .cta, .image-panel { grid-template-columns: 1fr; }
  .three-grid, .country-grid, .service-grid, .four-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero-image img { height: 320px; }
  .cta-actions { justify-content: flex-start; }
  .image-panel > img { max-height: 320px; }
  .procedure-card { grid-column: auto; }
  .procedure-card ol { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1180px); }
  .hero { padding-top: 116px; }
  .home-hero { padding-top: 122px; }
  .hero h1 { font-size: 40px; }
  .section h2 { font-size: 32px; }
  .hero p, .section-head p { font-size: 16px; }
  .three-grid, .country-grid, .service-grid, .four-grid, .stats-card, .footer-grid, .form-grid, .workforce-types, .procedure-card ol { grid-template-columns: 1fr; }
  .hero-photo img { height: 340px; }
  .floating-card { position: static; margin-top: 12px; }
  .stats-strip { margin-top: 0; padding-top: 20px; }
  .section { padding: 68px 0; }
  .feature-card, .small-card, .info-panel, .contact-form, .manpower-panel, .romania-panel, .contact-panel, .cta { padding: 24px; }
  .card-media { height: 118px; margin: -24px -24px 22px; }
  .cta-image img { height: 180px; }
  .map-frame iframe { min-height: 340px; }
  .footer-bottom .container { flex-direction: column; }
}
