/*
  1SMART DIGITAL — Site styles (v2)
  Layout inspired by a clean "rounded cards on warm cream" style.
  Brand: Orange #FF5A00 + Dark Navy #0A192F
  Edit the variables below to re-theme the whole site.
*/
:root {
  --orange: #FF5A00;
  --orange-dark: #E04E00;
  --orange-soft: #FFE9DC;
  --navy: #0A192F;
  --navy-2: #13294B;
  --cream: #FCF6EF;
  --white: #FFFFFF;
  --text: #0A192F;
  --muted: #4B5563;
  --line: #EADFD3;
  --wa: #25D366;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 10px 30px rgba(10, 25, 47, .08);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font); background: var(--cream); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 18px; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 3000; }
.skip-link:focus { left: 8px; }

/* Buttons — pill shaped */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; font-family: inherit; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255, 90, 0, .3); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.link-arrow { font-weight: 700; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.link-arrow:hover { color: var(--orange); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(252, 246, 239, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a { font-weight: 600; font-size: .95rem; color: var(--navy); }
.nav a:hover, .nav a.active { color: var(--orange); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--navy); cursor: pointer; padding: 6px; }

/* ---------- Hero (rounded photo card) ---------- */
.hero { padding: 16px 0 40px; }
.hero-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 600px; display: flex; align-items: center; background: var(--navy) url('../images/photos/hero.jpg') center right / cover no-repeat; }
.hero-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 25, 47, .92) 0%, rgba(10, 25, 47, .75) 40%, rgba(10, 25, 47, 0) 75%); }
.hero-content { position: relative; padding: 60px; max-width: 640px; color: #fff; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.15rem; color: #D6DEEA; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: #D6DEEA; }
.hero-points i { color: var(--orange); margin-right: 6px; }

/* ---------- Clients strip ---------- */
.clients { padding: 30px 0 10px; }
.clients-label { text-align: center; font-weight: 700; color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.clients-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.client { background: #fff; border-radius: var(--radius-sm); height: 90px; display: flex; align-items: center; justify-content: center; padding: 12px; border: 1px solid var(--line); }
.client img { max-height: 62px; width: auto; object-fit: contain; }
.certs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.cert { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 700; }
.cert i { color: var(--orange); }

/* ---------- Intro statement ---------- */
.statement { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.25; text-align: center; max-width: 900px; margin: 0 auto; letter-spacing: -0.02em; }
.statement span { color: var(--orange); }

/* ---------- Feature rows (alternating image / text) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature + .feature { margin-top: 110px; }
.feature.reverse .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.feature h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.feature p { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; }
.ticks li { display: flex; gap: 10px; margin-bottom: 10px; font-weight: 600; }
.ticks i { color: var(--orange); margin-top: 5px; }
.ticks { margin-bottom: 26px; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.service { background: #fff; border-radius: var(--radius-sm); padding: 28px 24px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 18px; }
.service h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.service p { color: var(--muted); font-size: .95rem; flex-grow: 1; margin-bottom: 16px; }
.service a { font-weight: 700; color: var(--orange); font-size: .92rem; }

/* ---------- Dark band (results / process) ---------- */
.dark { background: var(--navy); color: #fff; border-radius: var(--radius); margin: 0 20px; }
.dark .lead { color: #B9C4D4; }
.dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.steps { display: grid; gap: 16px; }
.step { display: flex; gap: 18px; background: var(--navy-2); border-radius: var(--radius-sm); padding: 22px; }
.step-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.step p { color: #B9C4D4; font-size: .95rem; }
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.promise div { border-top: 2px solid var(--orange); padding-top: 16px; }
.promise strong { display: block; font-size: 1.6rem; color: var(--orange); }
.promise span { color: #B9C4D4; font-size: .92rem; }

/* ---------- Industries / work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.work { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); padding: 26px; }
.work-logos { display: flex; gap: 12px; margin-bottom: 18px; }
.work-logos img { height: 56px; width: auto; max-width: 120px; object-fit: contain; }
.work-tag { font-size: .78rem; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .1em; }
.work h3 { font-size: 1.25rem; margin: 6px 0 8px; }
.work p { color: var(--muted); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.quote { background: #fff; border-radius: var(--radius-sm); padding: 28px; border: 1px solid var(--line); }
.stars { color: #F59E0B; margin-bottom: 12px; }
.quote p { margin-bottom: 18px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--orange); font-weight: 800; display: grid; place-items: center; }
.quote-who small { color: var(--muted); display: block; }

/* ---------- Lead form card ---------- */
.lead-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--orange); color: #fff; border-radius: var(--radius); padding: 60px; }
.lead-wrap .h2 { color: #fff; }
.lead-wrap .lead { color: #FFE9DC; }
.lead-wrap .ticks i { color: #fff; }
.form-card { background: #fff; color: var(--text); border-radius: var(--radius-sm); padding: 32px; box-shadow: 0 20px 40px rgba(10, 25, 47, .2); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); font: inherit; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }
.form-card .btn { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* intl-tel-input fix */
.iti { width: 100%; }
.field .iti input { padding-left: 52px !important; }

/* ---------- FAQ (native details/summary) ---------- */
.faq { max-width: 820px; margin: 50px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 24px 20px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; margin-top: 50px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; display: flex; gap: 16px; align-items: center; transition: border-color .2s; }
a.contact-card:hover { border-color: var(--orange); }
.contact-card i { width: 48px; height: 48px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-card.wa i { background: #DCF8E6; color: #128C4A; }
.contact-card strong { display: block; }
.contact-card span { color: var(--muted); font-size: .92rem; }

/* ---------- WhatsApp band ---------- */
.wa-band { background: #0E3B2E; color: #fff; border-radius: var(--radius); padding: 50px 60px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wa-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 6px; }
.wa-band p { color: #C9E9D9; }
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 2rem; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); z-index: 999; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* Mobile sticky action bar (shown only on phones) */
.mobile-bar { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #B9C4D4; margin-top: 90px; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 6px 12px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 50px; width: auto; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--navy-2); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }

/* ---------- Toasts ---------- */
.toast-container { position: fixed; left: 20px; bottom: 20px; z-index: 3000; display: grid; gap: 10px; max-width: 380px; }
.toast { background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 12px; border-left: 4px solid var(--orange); display: flex; gap: 10px; align-items: flex-start; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-row { grid-template-columns: repeat(3, 1fr); }
  .feature, .dark-grid, .lead-wrap, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature.reverse .feature-media { order: 0; }
  .work-grid, .quotes { grid-template-columns: 1fr 1fr; }
  .promise { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--cream); flex-direction: column; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .25s ease; z-index: -1; }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .menu-btn { display: block; }
  .header-cta .btn-ghost { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .brand img { height: 42px; }
  .header-cta .btn-primary { display: none; }
  .hero-card { min-height: 640px; align-items: flex-end; background-position: 70% center; }
  .hero-card::before { background: linear-gradient(0deg, rgba(10, 25, 47, .95) 0%, rgba(10, 25, 47, .7) 55%, rgba(10, 25, 47, .1) 100%); }
  .hero-content { padding: 30px 24px; }
  .hero-actions .btn { width: 100%; }
  .clients-row { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .work-grid, .quotes, .field-row { grid-template-columns: 1fr; }
  .lead-wrap { padding: 32px 20px; }
  .form-card { padding: 24px 18px; }
  .dark { margin: 0 10px; }
  .wa-band { flex-direction: column; text-align: center; padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 25, 47, .08); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; font-size: .78rem; font-weight: 700; color: var(--navy); }
  .mobile-bar a i { font-size: 1.2rem; }
  .mobile-bar .mb-wa i { color: #128C4A; }
  .mobile-bar .mb-cta { background: var(--orange); color: #fff; }
  body { padding-bottom: 64px; }
  .toast-container { bottom: 76px; }
}
