:root {
  --blue: #1c5d82;
  --blue-dark: #123f59;
  --blue-light: #eaf3f8;
  --green: #4f8a5b;
  --green-dark: #3d6d47;
  --grey: #5b6672;
  --grey-light: #f4f6f7;
  --white: #ffffff;
  --ink: #1f2933;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 63, 89, 0.08);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }

h2.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  color: var(--blue-dark);
}

p.section-sub {
  text-align: center;
  color: var(--grey);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

section { padding: 72px 0; scroll-margin-top: 84px; }
section.alt { background: var(--grey-light); }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 16px;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue-dark);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.logo span { color: var(--green); }
.logo-img { height: 68px; width: auto; display: block; }
.footer-logo { height: 56px; width: auto; display: block; }

nav.main-nav { display: flex; gap: 22px; }
nav.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--blue); }

.header-right { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; gap: 6px; }
.lang-btn {
  border: 1px solid #dbe3e8;
  background: var(--white);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 1.05rem;
  cursor: pointer;
  line-height: 1;
}
.lang-btn.active { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-light); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { background: transparent; border: 1.5px solid var(--white); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }

.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(15,40,55,.55), rgba(15,40,55,.65)), url("../images/hero.jpg") center/cover no-repeat;
  color: var(--white);
}
.hero-inner { max-width: 680px; }
.hero h1 { margin-bottom: .5em; }
.hero-logo {
  width: min(100%, 520px);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}
.hero p.tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #eef4f7;
  margin-bottom: 1.8em;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-grid h2 { text-align: left; }
.about-grid .eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: .6em;
  display: block;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e7edf0;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.service-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.service-card h3 { font-size: 1.05rem; color: var(--blue-dark); }
.service-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--grey);
  font-size: .92rem;
}
.service-card li { margin-bottom: 4px; }

.service-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.service-photos figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-photos img { height: 220px; width: 100%; object-fit: cover; }
.service-photos figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(15,40,55,.75), transparent);
  color: var(--white);
  padding: 30px 14px 12px;
  font-weight: 700;
  font-size: .95rem;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid #e7edf0;
  display: flex;
  flex-direction: column;
}
.plan-card.featured { border: 2px solid var(--blue); position: relative; }
.plan-card.featured::before {
  content: attr(data-badge);
  position: absolute; top: -13px; left: 24px;
  background: var(--blue); color: var(--white);
  font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.plan-name { font-weight: 700; color: var(--grey); text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; }
.plan-price { font-size: 2.1rem; font-weight: 800; color: var(--blue-dark); margin: .2em 0; }
.plan-price small { font-size: 1rem; font-weight: 600; color: var(--grey); }
.plan-card ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.plan-card li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: .92rem;
  color: var(--ink);
  border-bottom: 1px dashed #e7edf0;
}
.plan-card li:before {
  content: "✓";
  position: absolute; left: 0; top: 7px;
  color: var(--green); font-weight: 800;
}
.plan-card .btn { justify-content: center; width: 100%; }

.pricing-note {
  max-width: 760px;
  margin: 36px auto 0;
  font-size: .86rem;
  color: var(--grey);
  text-align: center;
  border-top: 1px solid #e2e8ea;
  padding-top: 20px;
}
.pricing-note strong { color: var(--blue-dark); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info .info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info .info-row .flags { font-size: 1.2rem; white-space: nowrap; }
.contact-info a.info-link { text-decoration: none; font-weight: 700; color: var(--blue-dark); }
.contact-info .label { display: block; font-size: .82rem; color: var(--grey); margin-bottom: 2px; }

form.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border: 1px solid #e7edf0;
}
form.contact-form label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--blue-dark);
}
form.contact-form label:first-child { margin-top: 0; }
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d7dee2;
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
}
form.contact-form textarea { min-height: 110px; resize: vertical; }
form.contact-form .btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
footer {
  background: var(--blue-dark);
  color: #cfe0ea;
  padding: 40px 0 22px;
  font-size: .86rem;
}
footer .foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
footer a { color: #cfe0ea; }
footer .credits {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
  font-size: .74rem;
  color: #9fb7c4;
  line-height: 1.7;
}
footer .credits a { color: #9fb7c4; text-decoration: underline; }

/* ---------- i18n helper ---------- */
[data-lang] { display: none; }
[data-lang].lang-active { display: revert; }
.plan-card[data-lang].lang-active,
.service-card[data-lang].lang-active { display: flex; flex-direction: column; }
li[data-lang].lang-active,
span[data-lang].lang-active { display: inline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid img { order: -1; }
  .services-grid, .service-photos, .pricing-grid { grid-template-columns: 1fr; }
  .plan-card.featured { order: -1; }
}

@media (max-width: 480px) {
  .hero { min-height: 100vh; }
  .nav-wrap { padding: 12px 16px; }
  section { padding: 52px 0; }
}
