/* =========================================================
   Atomiso Tech LLC — style.css
   Orange & white modern software-company theme
   ========================================================= */

:root {
  --orange: #FF6B00;
  --orange-dark: #E55D00;
  --orange-soft: #FFF1E6;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6B7280;
  --line: #ECECEC;
  --bg: #FFFFFF;
  --bg-warm: #FFF7F0;
  --white: #FFFFFF;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(17, 24, 39, .06);
  --shadow-md: 0 14px 40px rgba(17, 24, 39, .09);
  --shadow-orange: 0 14px 30px rgba(255, 107, 0, .28);

  --maxw: 1180px;
  --font-display: "Bricolage Grotesque", "Manrope", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.section { padding: 110px 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.text-grad {
  background: linear-gradient(100deg, var(--orange), #ff9248);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.section-lead { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .98rem;
  padding: 13px 26px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-3px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(17,24,39,.16); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); }

.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-3px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 38px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; }
.brand-accent { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-link { font-weight: 600; font-size: .96rem; color: var(--ink-soft); position: relative; transition: color .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--orange); transition: width .25s ease;
}
.nav-link:hover { color: var(--orange); }
.nav-link:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 110px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob-1 { width: 460px; height: 460px; background: radial-gradient(circle, #FF8A3D, transparent 70%); top: -120px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: radial-gradient(circle, #FFC59B, transparent 70%); bottom: -140px; left: -120px; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(17,24,39,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,24,39,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 30%, transparent 75%);
}

.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 660px; margin: 0 auto 38px; }

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 56px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--orange); line-height: 1; }
.stat span { font-size: .88rem; color: var(--muted); }
.stat-divider { width: 1px; height: 34px; background: var(--line); }

/* ---------- Vision ---------- */
.vision { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.vision::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.32), transparent 65%);
  top: -180px; right: -120px;
}
.vision-inner { position: relative; z-index: 1; text-align: center; max-width: 920px; margin: 0 auto; }
.vision-mark { width: 78px; height: 78px; margin: 0 auto 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,107,0,.12); color: var(--orange); }
.vision .eyebrow { background: rgba(255,107,0,.16); }
.vision-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.7rem);
  line-height: 1.28;
  letter-spacing: -.015em;
}

/* ---------- Services ---------- */
.services { background: var(--bg-warm); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(255,107,0,.4); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange); margin-bottom: 18px;
  transition: background .3s, color .3s;
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--orange); color: #fff; }
.card h3 { font-family: var(--font-display); font-size: 1.16rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- Why choose us ---------- */
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-list { display: grid; gap: 14px; }
.why-list li {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; font-weight: 600; color: var(--ink-soft);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.why-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); border-color: rgba(255,107,0,.4); }
.tick {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange); color: #fff; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800;
}
.why-left .btn { margin-top: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: stretch; }

.contact-info {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: 44px 38px; display: flex; flex-direction: column; gap: 26px;
}
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,107,0,.16); color: var(--orange); display: grid; place-items: center; }
.info-ic svg { width: 22px; height: 22px; }
.info-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #9CA3AF; margin-bottom: 3px; }
.info-value { font-size: 1.02rem; font-weight: 600; color: #fff; transition: color .2s; }
a.info-value:hover { color: var(--orange); }
.info-address { font-weight: 500; line-height: 1.5; }
.contact-buttons { display: flex; gap: 12px; margin-top: auto; flex-wrap: wrap; }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px; box-shadow: var(--shadow-sm); display: grid; gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .98rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #FAFAFA; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
  cursor: pointer;
}
.field select:invalid { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); background: #fff;
  box-shadow: 0 0 0 4px rgba(255,107,0,.12);
}
.field textarea { resize: vertical; }
.form-note { font-size: .9rem; color: var(--orange); font-weight: 600; min-height: 1em; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #0B1220; color: #cbd5e1; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; color: #94A3B8; font-size: .95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 16px; }
.footer-col a, .footer-address { display: block; color: #94A3B8; font-size: .95rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-address { font-size: .9rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom p { font-size: .88rem; color: #64748B; text-align: center; }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .25s; animation: pulse 2.4s infinite;
}
.float-wa:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Active nav link (scroll spy) ---------- */
.nav-link.active { color: var(--orange); }
.nav-link.active::after { width: 100%; }

/* ---------- Keyboard accessibility ---------- */
a:focus-visible, button:focus-visible,
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid rgba(255, 107, 0, .45);
  outline-offset: 2px;
}

/* ---------- Lock page scroll while mobile menu is open ---------- */
body.menu-open { overflow: hidden; }

/* ---------- Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 16px 24px 26px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .35s ease; z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; }

  .why-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero { padding: 80px 0 70px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero-break { display: none; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 18px; }
  .contact-info, .contact-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
