/* Clean Cloud IT Services — one-page site
   Palette sampled from the logo: navy #121E55 on white. */

:root {
  --navy:        #121e55;
  --navy-deep:   #0b1338;
  --navy-soft:   #2a3a80;
  --accent:      #2f6fed;
  --accent-soft: #eaf1ff;
  --ink:         #14161f;
  --body:        #4b5266;
  --line:        #e3e7f0;
  --bg:          #ffffff;
  --bg-alt:      #f6f8fc;
  --radius:      16px;
  --wrap:        1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.center { text-align: center; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px; top: 12px;
  background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 100;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 .8rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--navy);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover {
  text-decoration: none;
  background: var(--navy-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(18, 30, 85, .22);
}
.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--navy); }
.btn-invert { background: #fff; color: var(--navy); border-color: #fff; }
.btn-invert:hover { background: var(--accent-soft); color: var(--navy); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
}
.brand:hover { text-decoration: none; }
.brand img { width: 60px; height: 60px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; }
.brand small {
  font-size: .66rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--navy-soft); font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--ink);
  font-size: .93rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-links a.btn { color: #fff; }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 480px at 82% -10%, var(--accent-soft), transparent 65%),
    linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 92px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.lead {
  font-size: 1.1rem;
  max-width: 54ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  /* No trailing margin: the buttons are the last thing in the hero now, so the
     section's own padding provides the spacing. */
  margin: 28px 0 0;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}
.hero-art img {
  width: min(320px, 82%);
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(18, 30, 85, .16);
}
.hero-art .orb {
  position: absolute;
  inset: -4% 0 12% -6%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(47,111,237,.20) 0%, rgba(47,111,237,.07) 55%, transparent 72%);
}

/* ---------- Sections ---------- */

.section { padding: 92px 0; }
.section > .wrap > h2.center { margin-bottom: 48px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
/* Services holds an odd number of cards, so the auto-fit grid leaves the last
   row hanging against the left edge. Flex instead: the trailing row centres
   itself, which stays tidy however many services get added or removed. */
.cards-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.cards-flow .card { flex: 1 1 320px; max-width: 360px; }
@media (max-width: 640px) {
  .cards-flow .card { max-width: none; }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #cfd9f0;
  box-shadow: 0 16px 40px rgba(18, 30, 85, .09);
}
.icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--navy);
  margin-bottom: 20px;
}
.icon svg { width: 26px; height: 26px; }

.ticks {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  font-size: .95rem;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px; top: .58em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.ticks.light li::before { background: #7fa6ff; }

/* ---------- Product ---------- */

.product {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #1b2c74 100%);
  color: #c9d2ee;
}
.product h2 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3rem); }
.product h2 .dot { color: #6f9bff; }
.product .lead { color: #c9d2ee; }
.product .eyebrow { color: #7fa6ff; }
.product .ticks { color: #dfe6f8; }
.product .btn-invert { margin-top: 26px; }

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(6px);
}
.chat { display: flex; flex-direction: column; gap: 12px; }
.bubble {
  max-width: 84%;
  padding: 12px 17px;
  border-radius: 16px;
  font-size: .93rem;
  line-height: 1.5;
}
.bubble.in {
  align-self: flex-start;
  background: rgba(255, 255, 255, .12);
  color: #eef2ff;
  border-bottom-left-radius: 5px;
}
.bubble.out {
  align-self: flex-end;
  background: #fff;
  color: var(--navy);
  font-weight: 500;
  border-bottom-right-radius: 5px;
}
.panel-note {
  margin: 22px 0 0;
  text-align: center;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8ea4dd;
}

/* ---------- Work ---------- */

.work-card .tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--accent-soft);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.work-card .meta {
  font-size: .84rem;
  color: #7a8199;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.link { font-size: .92rem; font-weight: 600; }

/* ---------- About ---------- */

.about { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
}
.about h2 { margin: 0; }

/* ---------- Partner ---------- */
/* One centred card rather than the 3-up .cards grid -- a single card in that
   grid would stretch the full width and read like an empty row. */

.partner-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 34px 36px;
  text-align: center;
}
.partner-card h3 { margin-bottom: .5em; }
.partner-tag {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: .01em;
  color: #7a8199;
  margin-top: 6px;
}
.partner-card p { margin-bottom: 1.1rem; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}
.contact-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
a.contact-card:hover {
  text-decoration: none;
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(18, 30, 85, .08);
}
.contact-card .label {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.contact-card strong {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}
.contact-foot { margin: 0; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-deep);
  color: #9aa7cd;
  padding: 48px 0;
}
.footer-inner { display: grid; gap: 14px; justify-items: center; text-align: center; }
/* Wordmark only -- the logo lives in the header, and repeating it in the footer
   on a one-page site is just noise. */
.footer-brand { color: #fff; }
.footer-brand small { color: #8ea4dd; }
.footer-meta { margin: 0; font-size: .85rem; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner,
  .product-inner,
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .hero-art { order: -1; min-height: 0; }
  .hero-art img { width: min(200px, 55%); }
  .section { padding: 68px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .card { padding: 28px 24px; }
}
