/* ================================================================
   Cloud4U Technologies — style.css
   Design: Light premium SaaS — off-white base, cyan/purple accents
   Fonts: Outfit (display) + DM Sans (body)
   ================================================================ */

/* Google Fonts — loaded remotely (requires internet access).
   To self-host: download fonts from https://google-webfonts-helper.herokuapp.com
   and replace this import with local @font-face declarations. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* backgrounds */
  --bg:          #f5f7fa;
  --bg2:         #eef1f6;
  --bg-alt:      #f0f4ff;
  --surface:     #ffffff;
  --card:        #ffffff;

  /* glass / overlays */
  --glass:       rgba(255,255,255,0.85);
  --glass-border:rgba(0,0,0,0.07);

  /* accents — kept vibrant, they pop on light */
  --accent:      #00b4d8;
  --accent2:     #6d4aff;
  --accent3:     #00c17a;
  --glow:        rgba(0,180,216,0.12);
  --glow2:       rgba(109,74,255,0.1);

  /* text */
  --text:        #0f172a;
  --text-dim:    #475569;
  --text-muted:  #94a3b8;

  /* borders */
  --border:      rgba(0,0,0,0.08);
  --border-mid:  rgba(0,0,0,0.12);
  --border-lit:  rgba(0,180,216,0.35);

  /* shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 32px rgba(0,180,216,0.18), 0 4px 16px rgba(0,0,0,0.08);

  /* type */
  --font-display:'Outfit', sans-serif;
  --font-body:   'DM Sans', sans-serif;

  /* radii */
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  /* layout */
  --nav-h:       72px;
  --section-py:  120px;
  --container:   1160px;

  /* easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ── RESET ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ── BACKGROUND MESH (very subtle on light) ──────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(0,180,216,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 85%, rgba(109,74,255,0.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ── LAYOUT ──────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}
section { position: relative; z-index: 1; }

/* alternating section background */
.section-alt { background: var(--bg-alt); }

/* ── TYPOGRAPHY ──────────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
.lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.8;
  max-width: 560px;
}
.label-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* gradient text */
.grad-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-green {
  background: linear-gradient(135deg, var(--accent3) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── DIVIDER LINE ─────────────────────────────────────────────────── */
.section-line {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-block: 16px;
  border-radius: 2px;
}

/* ── NAVIGATION ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo svg { height: 40px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__lang {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  transition: all 0.2s;
}
.nav__lang:hover {
  color: var(--accent);
  border-color: var(--border-lit);
  background: rgba(0,180,216,0.05);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  flex-direction: column;
  gap: 24px;
  z-index: 999;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link { font-size: 18px; color: var(--text); }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease-out);
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(0,180,216,0.28), 0 8px 24px rgba(0,0,0,0.12);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-mid);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--border-lit);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--border-lit);
}
.btn-outline:hover {
  background: rgba(0,180,216,0.06);
  transform: translateY(-1px);
}

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

.btn-arrow { font-size: 16px; transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── WHITE CARD ──────────────────────────────────────────────────── */
/* replaces glass-card — clean white with shadow on light bg */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.glass-card:hover {
  border-color: rgba(0,180,216,0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* subtle geometric grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,216,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 20%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-block: 80px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0,180,216,0.07);
  border: 1px solid rgba(0,180,216,0.2);
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero__heading { margin-bottom: 24px; }
.hero__lead { margin-bottom: 40px; }

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__img { position: relative; }
.hero__img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
/* accent border ring */
.hero__img-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: inherit;
  z-index: -1;
  opacity: 0.3;
}
.hero__img-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
  display: block;
}

/* soft orbs on light — very gentle */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 280px; height: 280px;
  background: rgba(0,180,216,0.08);
  top: -60px; right: -60px;
}
.hero__orb--2 {
  width: 200px; height: 200px;
  background: rgba(109,74,255,0.08);
  bottom: -40px; left: -40px;
}

/* ── TRUSTED BY / LOGO MARQUEE ───────────────────────────────────── */
.logos {
  padding-block: 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
/* fade edges */
.logos::before, .logos::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logos::before { left: 0;  background: linear-gradient(90deg, var(--surface), transparent); }
.logos::after  { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }

.logos__label {
  text-align: center;
  margin-bottom: 28px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.logos__track {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.logos__track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── LOGO CARD — Option A: color on white ── */
.logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 12px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-shrink: 0;
  /* natural colors, slight opacity */
  opacity: 0.7;
  transition: opacity 0.3s, box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  /* NO grayscale filter — logos show in full color */
}
.logos__item:hover {
  opacity: 1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(0,180,216,0.2);
}
.logos__item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  max-width: 140px;
  /* no filter — natural colors */
}

/* ── TESTIMONIAL ─────────────────────────────────────────────────── */
.testimonial {
  padding-block: 80px;
  background: var(--bg-alt);
  position: relative;
  z-index: 1;
}
.testimonial__card {
  max-width: 760px;
  margin-inline: auto;
  padding: 52px;
  text-align: center;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.testimonial__quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.12;
  position: absolute;
  top: 32px; left: 40px;
  pointer-events: none;
  font-weight: 800;
}
.testimonial__text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.testimonial__stars { color: #f59e0b; font-size: 15px; letter-spacing: 3px; }
.testimonial__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.testimonial__role { font-size: 13px; color: var(--text-muted); }

/* ── SERVICES SECTION ────────────────────────────────────────────── */
.services {
  padding-block: var(--section-py);
  background: var(--bg);
}
.services__header {
  text-align: center;
  margin-bottom: 72px;
}
.services__header .lead { margin-inline: auto; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 36px;
  position: relative;
  overflow: hidden;
  /* top accent bar */
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(109,74,255,0.08));
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 24px;
  transition: background 0.3s, transform 0.3s;
}
.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(109,74,255,0.12));
  transform: scale(1.08);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.service-card__body {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 24px;
}
.service-card__link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-card:hover .service-card__link { gap: 10px; }

/* ── STATS ROW ───────────────────────────────────────────────────── */
.stats {
  padding-block: 80px;
  background: linear-gradient(135deg, rgba(0,180,216,0.04) 0%, rgba(109,74,255,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 40px;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border-mid);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── ABOUT SECTION ───────────────────────────────────────────────── */
.about {
  padding-block: var(--section-py);
  background: var(--bg-alt);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__img-wrap { position: relative; }
.about__img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}
.about__img-frame {
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(0,180,216,0.2);
  border-radius: calc(var(--radius-xl) + 12px);
  z-index: 0;
}
.about__img-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(0,180,216,0.08) 0%, transparent 65%);
  z-index: 0;
}

.about__content { display: flex; flex-direction: column; gap: 20px; }
.about__title { margin-block: 8px; }
.about__role {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.about__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.skill-chip {
  padding: 6px 14px;
  background: rgba(0,180,216,0.06);
  border: 1px solid rgba(0,180,216,0.18);
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s;
}
.skill-chip:hover {
  background: rgba(0,180,216,0.12);
  border-color: rgba(0,180,216,0.3);
}

/* ── HOW CAN I HELP ──────────────────────────────────────────────── */
.help-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.help-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.help-item:hover {
  border-color: rgba(0,180,216,0.25);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.help-item__num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}
.help-item__text {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.help-item__text strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1rem;
}

/* ── CONTACT SECTION ─────────────────────────────────────────────── */
.contact {
  padding-block: var(--section-py);
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 50%, rgba(109,74,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.contact__detail-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,180,216,0.08), rgba(109,74,255,0.06));
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: var(--radius);
  font-size: 20px;
  flex-shrink: 0;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input, .form-select, .form-textarea {
  background: var(--bg);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
}
.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--bg);
  padding-right: 40px;
}
.form-select option { background: var(--surface); color: var(--text); }
.form-textarea { resize: vertical; min-height: 130px; }

.form-notice {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-status {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(0,193,122,0.08);
  border: 1px solid rgba(0,193,122,0.25);
  color: #059669;
}
.form-status.error {
  display: block;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  color: #dc2626;
}

.captcha-notice {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.captcha-notice a { color: var(--accent); }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 48px;
  background: var(--surface);
  position: relative;
  z-index: 1;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer__links { display: flex; gap: 24px; }
.footer__link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--accent); }

/* ── SCROLL REVEAL ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RTL SUPPORT ─────────────────────────────────────────────────── */
[dir="rtl"] .nav__link::after { transform-origin: right; }
[dir="rtl"] .section-line { background: linear-gradient(-90deg, var(--accent), transparent); }
[dir="rtl"] .logos__track { animation-direction: reverse; }
[dir="rtl"] .logos::before { left: auto; right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }
[dir="rtl"] .logos::after  { right: auto; left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
[dir="rtl"] .service-card__link { flex-direction: row-reverse; }
[dir="rtl"] .btn-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn-arrow { transform: scaleX(-1) translateX(-3px); }
[dir="rtl"] .form-select { background-position: left 16px center; padding-right: 18px; padding-left: 40px; }
[dir="rtl"] .hero__inner { direction: rtl; }
[dir="rtl"] .about__inner { direction: rtl; }
[dir="rtl"] .stat + .stat::before { left: auto; right: 0; }
[dir="rtl"] .testimonial__quote-mark { left: auto; right: 40px; }
[dir="rtl"] .help-item:hover { transform: translateX(-4px); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__img { order: -1; max-width: 480px; margin-inline: auto; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__img-wrap { max-width: 360px; margin-inline: auto; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; --nav-h: 64px; }
  .container { padding-inline: 20px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .testimonial__card { padding: 32px 24px; }
  .logos__item { padding: 10px 16px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .testimonial__quote-mark { font-size: 80px; }
}
