/* A7PHA Digital — light theme, brand blue accent */
:root {
  --bg: #ffffff;
  --panel: #f6f8fb;
  --panel2: #ffffff;
  --card: #ffffff;
  --line: #e3e8f0;
  --text: #0b1220;
  --muted: #556074;
  --blue: #1e7bff;
  --blue-dim: rgba(30, 123, 255, .10);
  --blue-dark: #0f5fd1;
  --shadow: 0 10px 30px rgba(11, 18, 32, .08);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand span { font-family: 'Space Grotesk', 'Inter', sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: .7rem 1.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(30,123,255,.30); }
.btn-big { padding: .95rem 2.2rem; font-size: 1.05rem; }
.btn-small { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-whatsapp { background: #25d366; }
.btn-whatsapp:hover { background: #1fb857; box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); box-shadow: none; background: var(--blue-dim); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1.4rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
.brand span { font-weight: 700; letter-spacing: .04em; font-size: 1.02rem; }
.brand em { font-style: normal; color: var(--blue); font-size: .78rem; letter-spacing: .32em; display: block; line-height: 1; }
.nav .links { display: flex; align-items: center; gap: 1.4rem; }
.nav .links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav .links a:not(.btn):hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; padding: .4rem .7rem; font-size: 1.2rem; cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; padding: 6rem 1.4rem 3rem;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .22;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.92) 78%, #ffffff 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-logo {
  width: 130px; height: 130px; object-fit: cover; border-radius: 22px;
  margin: 0 auto 1.6rem; box-shadow: 0 12px 40px rgba(30,123,255,.25);
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.08; letter-spacing: -.01em; }
.hero .sub { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.2rem); margin: 1.2rem auto 2rem; max-width: 600px; }
.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.reassure { margin-top: 1.6rem; color: var(--muted); font-size: .9rem; }

/* ---------- strip ---------- */
.strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem;
  padding: 1.1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--panel); color: var(--muted); font-size: .92rem; font-weight: 500;
}
.strip span::before { content: "✓ "; color: var(--blue); font-weight: 700; }

/* ---------- sections ---------- */
.section { padding: 5rem 1.4rem; max-width: 1080px; margin: 0 auto; }
.section.alt { max-width: none; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); text-align: center; letter-spacing: -.01em; }
.section-sub { text-align: center; color: var(--muted); margin: .7rem auto 2.6rem; max-width: 620px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.card {
  background: var(--panel2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; position: relative; box-shadow: var(--shadow);
  transition: transform .18s, border-color .18s;
}
.card:hover { transform: translateY(-4px); border-color: var(--blue); }
.card .icon { font-size: 1.7rem; color: var(--blue); margin-bottom: .8rem; }
.card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card ul { list-style: none; margin: 0 0 1.4rem; }
.card ul li { color: var(--muted); font-size: .93rem; padding: .32rem 0; }
.card ul li::before { content: "— "; color: var(--blue); }
.card .btn { width: 100%; text-align: center; }
.card.featured { border-color: var(--blue); background: linear-gradient(180deg, var(--blue-dim), var(--panel2) 55%); }
.tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .25rem .8rem; border-radius: 20px;
  white-space: nowrap;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.step { background: var(--panel2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; margin-bottom: .9rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- faq ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: .8rem; }
.faq { background: var(--panel2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 600;
  padding: 1.1rem 1.4rem; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; text-align: left;
}
.faq-q span { color: var(--blue); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: .95rem; }

/* ---------- inquire form ---------- */
.inquire { max-width: 720px; }
.form { display: grid; gap: 1.1rem; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .45rem; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 1rem; padding: .8rem 1rem; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form-note { min-height: 1.4em; font-size: .92rem; color: var(--muted); }
.form-note.ok { color: #15803d; }
.form-note.err { color: #dc2626; }

/* ---------- see our work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.work-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .2s ease, border-color .2s ease;
}
.work-card:hover { transform: translateY(-4px); border-color: var(--blue); }
.work-thumb {
  aspect-ratio: 16 / 10; overflow: hidden; background: #0a0a0e;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block;
  transition: transform .35s ease; }
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-body { padding: 1.2rem 1.3rem 1.4rem; }
.work-body h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: .05em; margin-bottom: .4rem; }
.work-body p { color: var(--muted); font-size: .92rem; line-height: 1.6; margin-bottom: .8rem; }
.work-link { color: var(--blue); font-weight: 600; font-size: .92rem; }
@media (max-width: 820px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.quote {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.5rem; margin: 0; display: flex; flex-direction: column; gap: .8rem;
}
.quote .stars { color: #fbbf24; letter-spacing: .15em; font-size: .95rem; }
.quote blockquote { margin: 0; color: var(--text); line-height: 1.65; font-size: .95rem; flex: 1; }
.quote figcaption { color: var(--muted); font-size: .88rem; font-style: italic; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.price-from { font-size: 1.05rem; color: var(--muted); margin: .2rem 0 1rem; }
.price-from strong { color: var(--text); font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; }

/* ---------- add to home screen ---------- */
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 720px; margin: 0 auto; }
.app-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.4rem 1.5rem;
}
.app-card h3 { font-family: 'Space Grotesk', sans-serif; margin-bottom: .7rem; }
.app-card ol { margin: 0; padding-left: 1.2rem; color: var(--muted); line-height: 1.9; }
.app-card strong { color: var(--text); }
@media (max-width: 640px) { .app-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 3.5rem 1.4rem 2.5rem; border-top: 1px solid var(--line); }
.footer img { width: 210px; margin: 0 auto 1.2rem; border-radius: 10px; }
.footer p { color: var(--muted); font-size: .95rem; }
.footer .copy { font-size: .82rem; margin-top: .6rem; opacity: .7; }

/* ---------- intro loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .55s ease, visibility .55s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-inner img {
  width: 110px; height: 110px; object-fit: cover; border-radius: 20px;
  margin: 0 auto 1.1rem;
  animation: loaderPop .9s cubic-bezier(.2,1.4,.4,1) both;
  box-shadow: 0 12px 40px rgba(30,123,255,.25);
}
.loader-text {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  letter-spacing: .06em; font-size: 1.15rem;
  animation: loaderUp .7s ease .35s both;
}
.loader-text span { display: block; color: var(--blue); font-size: .8rem; letter-spacing: .42em; margin-top: .3rem; }
.loader-bar {
  width: 170px; height: 3px; background: var(--line); border-radius: 3px;
  margin: 1.3rem auto 0; overflow: hidden;
  animation: loaderUp .7s ease .5s both;
}
.loader-bar i {
  display: block; height: 100%; width: 0; background: var(--blue); border-radius: 3px;
  animation: loaderFill 1.15s ease .25s forwards;
}
@keyframes loaderPop {
  from { opacity: 0; transform: scale(.55); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes loaderUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes loaderFill { to { width: 100%; } }
body.loading { overflow: hidden; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .nav .links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--line); padding: .6rem 1.4rem 1.2rem;
  }
  .nav .links.open { display: flex; }
  .nav .links a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav .links a.btn { border: none; text-align: center; margin-top: .6rem; }
  .menu-btn { display: block; }
  .form .row { grid-template-columns: 1fr; }
  .form { padding: 1.4rem; }
  .section { padding: 3.5rem 1.1rem; }
}

/* ---------- floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  display: flex; align-items: center; gap: .55rem;
  background: #25d366; color: #fff; font-weight: 600; font-size: .95rem;
  text-decoration: none; padding: .8rem 1.15rem; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .15s, background .15s;
}
.wa-float:hover { background: #1fb857; transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; flex: none; }
@media (max-width: 520px) {
  .wa-float span { display: none; }
  .wa-float { padding: .85rem; border-radius: 50%; }
}
