/* Cloud Engineer IT — site stylesheet */
:root {
  --navy: #0b2340;
  --blue: #0f3f6e;
  --cyan: #17b6c4;
  --amber: #f5a623;
  --ink: #0b1220;
  --ink-soft: #45566e;
  --paper: #ffffff;
  --paper-soft: #f4f7fb;
  --line: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 35, 64, 0.08);
  --container: 1120px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
header.site {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}
.brand:hover { text-decoration: none; opacity: 0.92; }
.brand .mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 0.95rem;
}
nav.main { display: flex; align-items: center; gap: 28px; }
nav.main a {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  font-size: 0.95rem;
}
nav.main a:hover, nav.main a.active { color: #fff; text-decoration: none; }
nav.main a.cta {
  background: var(--cyan);
  color: var(--navy);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
}
nav.main a.cta:hover { background: #29ccd9; text-decoration: none; }
.nav-toggle { display: none; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
.lang-switch a:hover { text-decoration: none; color: #fff; }
.lang-switch a.active { background: #fff; color: var(--navy); }
@media (max-width: 760px) { .lang-switch { margin-top: 4px; } }

@media (max-width: 760px) {
  nav.main { position: fixed; inset: 72px 0 0 0; background: var(--navy); flex-direction: column; padding: 28px 24px; gap: 20px; transform: translateX(100%); transition: transform .25s ease; }
  nav.main.open { transform: translateX(0); }
  .nav-toggle {
    display: block; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(23,182,196,0.25), transparent),
              linear-gradient(180deg, var(--navy), #0a1c33);
  color: #fff;
  padding: 96px 0 88px;
}
.hero .eyebrow {
  display: inline-block;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 18ch;
}
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 58ch;
  margin: 0 0 34px;
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #29ccd9; text-decoration: none; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: #fff; text-decoration: none; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #0a1c33; text-decoration: none; }

/* ---------- Trust bar ---------- */
.trust {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.trust .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: center; }
.trust .item { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; }
.trust .item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.section-head { max-width: 62ch; margin: 0 0 48px; }
.section-head .eyebrow {
  color: var(--blue); font-weight: 700; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 1.2px;
}
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 10px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.alt { background: var(--paper-soft); }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: linear-gradient(135deg, rgba(23,182,196,0.16), rgba(15,63,110,0.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.card h3 { margin: 0 0 10px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 0.92rem; }

/* ---------- Service detail blocks ---------- */
.service-block {
  border-top: 1px solid var(--line);
  padding: 56px 0;
  scroll-margin-top: 90px;
}
.service-block:first-of-type { border-top: 0; }
.service-block .tag {
  display: inline-block; background: rgba(23,182,196,0.12); color: var(--blue);
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.6px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.service-block h2 { font-size: 1.5rem; margin: 0 0 14px; }
.service-block .cols { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; margin-top: 22px; }
@media (max-width: 860px) { .service-block .cols { grid-template-columns: 1fr; } }
.service-block ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.service-block ul li { margin-bottom: 8px; }
.deliverable-box {
  background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.deliverable-box h4 { margin: 0 0 12px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; text-align: center; padding: 64px 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 14px; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 52ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy); color: rgba(255,255,255,0.7); padding: 44px 0 30px; font-size: 0.9rem; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
footer.site a { color: rgba(255,255,255,0.8); }
footer.site .legal { width: 100%; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 22px; padding-top: 18px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.avatar-block {
  background: linear-gradient(160deg, var(--navy), var(--blue));
  border-radius: var(--radius); padding: 34px; color: #fff;
}
.avatar-block .mark-lg {
  width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; margin-bottom: 18px;
}
.cert-list { list-style: none; margin: 18px 0 0; padding: 0; }
.cert-list li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.92rem; }
.cert-list li:first-child { border-top: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--paper);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.contact-side .card { margin-bottom: 18px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
