/* ---------- Tokens ---------- */
:root {
  --blue-900: #0A2E6B;
  --blue-700: #0B46D6;
  --blue-600: #1560E8;
  --cyan-400: #22C3F3;
  --cyan-300: #7BE0FA;
  --gradient: linear-gradient(120deg, var(--blue-700), var(--cyan-400));

  --bg: #FFFFFF;
  --bg-tint: #F5F9FF;
  --text: #101828;
  --text-muted: #4B5768;
  --border: #E3EAF5;
  --white: #FFFFFF;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 45px -20px rgba(11, 70, 214, 0.25);
  --shadow-sm: 0 8px 24px -12px rgba(11, 70, 214, 0.2);

  --transition: 220ms ease;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--blue-900);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--blue-700);
  margin-bottom: 0.6rem;
}

.section { padding: 96px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 680px; margin-bottom: 3rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-700);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -18px rgba(11,70,214,0.4); }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--blue-900);
}
.btn--ghost:hover { border-color: var(--blue-600); background: var(--bg-tint); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-900);
}
.header__logo { height: 42px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 500;
}
.nav a { color: var(--text-muted); transition: color var(--transition); }
.nav a:hover { color: var(--blue-700); }
.nav__cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 640px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(34, 195, 243, 0.25), transparent 70%),
              radial-gradient(50% 50% at 80% 10%, rgba(11, 70, 214, 0.18), transparent 70%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero__lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 1.4rem 0 2.2rem;
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  margin: 0 auto;
}
.hero__photo {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(11, 70, 214, 0.25));
}
.hero__badge {
  display: flex;
  align-self: center;
  margin-top: -1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.hero__badge strong {
  font-family: var(--font-display);
  color: var(--blue-900);
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.about__text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.about__text p { color: var(--text-muted); margin-top: 1rem; font-size: 1.1rem; }
.about__text h2 { margin-top: 0.4rem; }
.about__text .eyebrow { display: block; text-align: center; }

@media (min-width: 1200px) {
  .about__text { max-width: 1040px; }
  .about__text p { font-size: 1.15rem; }
}

/* ---------- Cards / Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--text-muted); }
.card--featured {
  background: var(--gradient);
  color: #fff;
  position: relative;
}
.card--featured h3, .card--featured p { color: #fff; }
.card__tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Trust ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}
.trust__item {
  padding-left: 1.2rem;
  border-left: 3px solid var(--cyan-400);
}
.trust__item p { color: var(--text-muted); margin-top: 0.5rem; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.testimonial p { color: var(--text); font-size: 0.98rem; }
.testimonial p::before { content: open-quote; }
.testimonial p::after { content: close-quote; }
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--blue-700);
  font-size: 0.9rem;
}
.testimonial cite span { color: var(--text-muted); font-weight: 400; }
.testimonials__source {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- FAQ ---------- */
#faq .section__head {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.faq { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--blue-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--blue-700);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin-top: 0.9rem; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact__card:is(a):hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact__card strong { display: block; font-family: var(--font-display); color: var(--blue-900); margin-bottom: 0.3rem; }
.contact__card span span { color: var(--text-muted); font-size: 0.92rem; }
.contact__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
}
.contact__card--cta {
  background: var(--gradient);
  border-color: transparent;
}
.contact__card--cta strong, .contact__card--cta > span > span { color: #fff; }
.contact__card--cta .contact__icon { background: rgba(255,255,255,0.25); }

/* ---------- Footer ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-900);
}
.footer__copy { color: var(--text-muted); font-size: 0.88rem; }
.footer__social { display: flex; gap: 1.2rem; }
.footer__social a { color: var(--text-muted); font-size: 0.88rem; }
.footer__social a:hover { color: var(--blue-700); }

.footer__credit { color: var(--text-muted); }
.footer__credit a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.footer__credit a:hover { color: var(--blue-700); }

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  z-index: 90;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.whatsapp-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__media { order: -1; }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav.is-open { max-height: 400px; }
  .nav a { padding: 1rem 24px; border-bottom: 1px solid var(--border); }
  .nav__cta { margin: 12px 24px; text-align: center; }
  .nav__toggle { display: flex; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 56px; }
  .about { min-height: 0; }
}

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