:root {
  --bg: #ffffff;
  --text: #101828;
  --muted: #667085;
  --line: #e7edf5;
  --primary: #007aa5;
  --primary-dark: #005f82;
  --cyan: #ffd300;
  --navy: #0f172a;
  --soft: #f6f9ff;
  --glass: rgba(255,255,255,.76);
  --shadow: 0 24px 70px rgba(15,23,42,.12);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behaviour: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity .45s ease, visibility .45s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  width: 148px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: var(--shadow);
  animation: pulse 1.1s ease-in-out infinite alternate;
  padding: 10px;
}
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(231,237,245,.85);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(15,23,42,.08);
  transition: .25s ease;
}
.site-header.scrolled, .site-header.compact { top: 10px; padding: 10px 16px; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.03em; }
.brand-logo { width: 142px; height: auto; display: block; }
.loader-mark img { width: 100%; height: auto; display: block; }
.main-nav { justify-self: center; display: flex; align-items: center; justify-content: center; gap: 8px; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #344054;
  font-weight: 700;
  font-size: 14px;
  transition: .2s ease;
}
.main-nav a:hover { background: #eef5ff; color: var(--primary); }
.nav-cta { background: var(--navy) !important; color: #fff !important; }
.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.header-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37,99,235,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.social-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}
.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(37,99,235,.38);
  color: var(--primary);
  background: #eef5ff;
}
.whatsapp-link:hover { color: #128c7e; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--navy); margin: 5px; transition: .2s ease; }
.hero {
  position: relative;
  min-height: 100vh;
  padding: 148px 24px 70px;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 10% 20%, rgba(37,99,235,.14), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(6,182,212,.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.section-motion::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    linear-gradient(90deg, rgba(37,99,235,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37,99,235,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  animation: drift 18s linear infinite;
  z-index: -2;
}
.hero-grid, .split-section, .contact { width: min(1160px, 100%); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .15em; color: var(--primary); font-size: 12px; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; font-size: clamp(42px, 7vw, 78px); line-height: .96; letter-spacing: -.07em; margin-bottom: 22px; }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -.055em; margin-bottom: 18px; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.hero-lead, .section-heading p, .split-copy p, .contact-copy p { color: var(--muted); font-size: 18px; max-width: 720px; }
.hero-actions, .quote-strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: .2s ease; }
.btn.primary { background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; box-shadow: 0 14px 32px rgba(37,99,235,.22); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(37,99,235,.28); }
.btn.secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.trust-strip { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.trust-strip span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.76); color: var(--muted); font-size: 14px; }
.trust-strip strong { color: var(--navy); }
.hero-panel { position: relative; border: 1px solid rgba(231,237,245,.9); border-radius: 36px; padding: 20px; background: var(--glass); backdrop-filter: blur(18px); box-shadow: var(--shadow); min-height: 470px; display: grid; place-items: center; overflow: hidden; }
.panel-topline { position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.mini-window { width: min(400px, 100%); border-radius: 24px; background: #fff; padding: 20px; box-shadow: 0 20px 60px rgba(15,23,42,.12); }
.window-dots { display: flex; gap: 7px; margin-bottom: 18px; }
.window-dots i { width: 11px; height: 11px; background: #d0d8e8; border-radius: 50%; }
.window-card { margin: 12px 0; padding: 18px; border-radius: 18px; background: #f5f8ff; border: 1px solid var(--line); font-weight: 800; color: #344054; }
.window-card.active { color: #fff; background: linear-gradient(135deg, var(--primary), var(--cyan)); }
.floating-badge { position: absolute; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); font-weight: 900; animation: floaty 3.4s ease-in-out infinite; }
.badge-one { top: 92px; right: 24px; }
.badge-two { bottom: 78px; left: 22px; animation-delay: .8s; }
.orb { position: absolute; border-radius: 50%; filter: blur(16px); opacity: .45; z-index: -1; }
.orb-one { width: 260px; height: 260px; background: rgba(37,99,235,.25); left: 5%; bottom: 14%; animation: floaty 7s ease-in-out infinite; }
.orb-two { width: 220px; height: 220px; background: rgba(6,182,212,.22); right: 8%; top: 16%; animation: floaty 8s ease-in-out infinite reverse; }
.logo-cloud { width: min(1160px, calc(100% - 32px)); margin: -32px auto 0; position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.logo-cloud span { color: #475467; font-weight: 800; padding: 8px 10px; }
.section { position: relative; padding: 100px 24px; }
.section-heading { width: min(860px, 100%); margin: 0 auto 42px; text-align: center; }
.cards-grid { width: min(1160px, 100%); margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card, .testimonial-card, .timeline-item, .contact-form, .quote-strip, .legal-page, .portfolio-card { border: 1px solid var(--line); background: rgba(255,255,255,.86); border-radius: var(--radius); box-shadow: 0 20px 55px rgba(15,23,42,.07); }
.service-card { padding: 28px; transition: .2s ease; }
.service-card:hover, .portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--cyan)); font-weight: 900; margin-bottom: 18px; }
.service-card p, .timeline-item p, .testimonial-card span, .form-note { color: var(--muted); }
.service-grid-wide { align-items: stretch; }
.service-grid-wide .service-card { min-height: 238px; }
.card-icon { font-size: 14px; }
.docs-list { width: min(900px, 100%); margin: 28px auto 0; display: grid; gap: 14px; }
.docs-list a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 14px 36px rgba(15,23,42,.06); color: var(--text); font-weight: 800; }
.docs-list a span { color: var(--muted); font-weight: 600; }
.docs-list a:hover { color: var(--primary); transform: translateY(-2px); }

.split-section { padding-top: 110px; padding-bottom: 110px; }
.tick-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 34px; font-weight: 700; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #eaf6ff; color: var(--primary); font-weight: 900; }
.app-visual { min-height: 560px; display: grid; place-items: center; border-radius: 40px; background: linear-gradient(135deg, #eff6ff, #ecfeff); position: relative; overflow: hidden; border: 1px solid var(--line); }
.phone-shell { width: 260px; height: 500px; border-radius: 42px; background: #0f172a; padding: 28px 18px; box-shadow: var(--shadow); }
.phone-top { width: 82px; height: 8px; border-radius: 99px; background: #334155; margin: 0 auto 28px; }
.app-card { height: 110px; border-radius: 24px; background: linear-gradient(135deg, var(--primary), var(--cyan)); margin-bottom: 18px; }
.app-card.short { height: 78px; background: #fff; }
.app-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 18px; }
.app-row span, .app-cta { display: block; height: 54px; border-radius: 18px; background: rgba(255,255,255,.9); }
.app-cta { height: 58px; background: #38bdf8; }
.code-chip { position: absolute; right: 34px; bottom: 52px; background: #fff; border-radius: 999px; padding: 13px 18px; font-weight: 900; box-shadow: var(--shadow); }
.work { background: var(--soft); }
.portfolio-grid { width: min(1160px, 100%); margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; overflow: visible; padding-bottom: 0; }
.portfolio-card { min-height: 332px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(135deg, #fff, #f4f8ff); overflow: hidden; }
.portfolio-card > span:not(.portfolio-visual) { color: var(--primary); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.portfolio-card strong { font-size: 24px; letter-spacing: -.04em; }
.portfolio-visual { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 22px; margin-bottom: 18px; overflow: hidden; border: 1px solid rgba(0,122,165,.14); background: #f3f7fb; }
.portfolio-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.testimonial-card { padding: 28px; }
.testimonial-card p { font-size: 20px; letter-spacing: -.025em; }
.process { background: #fff; }
.timeline { width: min(1160px, 100%); margin-inline: auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.timeline-item { padding: 26px; }
.timeline-item span { color: var(--primary); font-weight: 900; font-size: 13px; }
.quote-strip { width: min(1160px, calc(100% - 48px)); padding: 34px; justify-content: space-between; background: var(--navy); color: #fff; }
.quote-strip .eyebrow { color: #67e8f9; }
.quote-strip h2 { margin-bottom: 0; max-width: 820px; }
.contact { align-items: start; }
.contact-lines { display: grid; gap: 12px; margin-top: 24px; }
.contact-lines a { display: inline-flex; width: fit-content; font-weight: 900; color: var(--primary); }
.contact-form { padding: 28px; display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-weight: 800; font-size: 14px; color: #344054; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #d9e2ef; border-radius: 16px; padding: 14px 14px; font: inherit; outline: none; background: #fff; color: var(--text); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.10); }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.form-button { border: 0; width: 100%; }
.form-note { font-size: 13px; margin-bottom: 0; }
.scroll-top { position: fixed; right: 22px; bottom: 176px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; box-shadow: var(--shadow); opacity: 0; visibility: hidden; cursor: pointer; transition: .2s ease; z-index: 900; }
.scroll-top.show { opacity: 1; visibility: visible; }
.site-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; padding: 34px 24px 42px; border-top: 1px solid var(--line); color: var(--muted); background: #fff; }
.site-footer a { font-weight: 500; color: var(--navy); }
.footer-policy-links { display: grid; gap: 7px; text-align: center; }
.footer-policy-links a { line-height: 1.3; }

.thank-you-page { position: relative; min-height: calc(100vh - 180px); display: grid; place-items: center; padding: 150px 24px 90px; overflow: hidden; background: linear-gradient(135deg, #ffffff 0%, #f7fbff 55%, #eef8ff 100%); }
.thank-you-card { position: relative; z-index: 1; width: min(820px, 100%); padding: clamp(30px, 5vw, 56px); border: 1px solid var(--line); border-radius: 34px; background: rgba(255,255,255,.84); box-shadow: var(--shadow); backdrop-filter: blur(18px); text-align: center; }
.thank-you-card h1 { margin-inline: auto; max-width: 720px; }
.thank-you-card .hero-lead { margin-inline: auto; max-width: 660px; }
.thank-you-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.thank-you-note { margin: 30px auto 0; max-width: 620px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #f8fbff; color: var(--muted); }
.thank-you-note p { margin: 6px 0 0; }
.thank-you-note a { color: var(--primary); font-weight: 800; }

.legal-page { width: min(880px, calc(100% - 32px)); margin: 140px auto 70px; padding: 40px; }
.legal-page h1 { font-size: clamp(36px, 6vw, 58px); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .09s; }
.delay-2 { transition-delay: .18s; }
.delay-3 { transition-delay: .27s; }
@keyframes pulse { from { transform: scale(.96); } to { transform: scale(1.04); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift { from { background-position: 0 0, 0 0; } to { background-position: 64px 64px, 64px 64px; } }

@media (min-width: 1024px) {
  h1 { font-size: clamp(46px, 4.6vw, 64px); line-height: 1; letter-spacing: -.055em; }
  h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.06; letter-spacing: -.045em; }
  h3 { font-size: 20px; line-height: 1.24; }
  .legal-page h1 { font-size: clamp(34px, 4vw, 48px); }
  .legal-page h2 { font-size: clamp(24px, 2.4vw, 30px); }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: none; flex-direction: column; align-items: stretch; padding: 12px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { text-align: center; }
  .header-actions { grid-column: 3; }
  .social-link { width: 40px; height: 40px; }
  .hero-grid, .split-section, .contact { grid-template-columns: 1fr; }
  .hero { padding-top: 128px; }
  .hero-panel { min-height: 410px; }
  .cards-grid, .testimonials, .timeline { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-header { width: calc(100% - 20px); top: 10px; border-radius: 24px; padding: 10px 12px; gap: 10px; }
  .hero { padding-inline: 16px; }
  h1 { font-size: 42px; }
  .section { padding: 72px 16px; }
  .hero-actions .btn { width: 100%; }
  .quote-strip { width: calc(100% - 32px); padding: 26px; }
  .site-footer { display: grid; justify-items: center; text-align: center; padding-bottom: 76px; }
  .brand-logo { width: 112px; }
  .header-actions { gap: 5px; }
  .header-socials { gap: 5px; }
  .social-link { width: 35px; height: 35px; }
  .social-link svg { width: 18px; height: 18px; }
  .menu-toggle { padding: 6px; }
  .menu-toggle span { width: 22px; margin: 4px; }
  .scroll-top { right: 16px; bottom: 184px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .phone-shell { transform: scale(.86); }
  .thank-you-page { padding: 118px 16px 72px; }
  .thank-you-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behaviour: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.main-nav.open-static { display: flex; }
.legal-page h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 34px; }
.legal-page ul { color: var(--muted); }
.legal-page a { color: var(--primary); font-weight: 800; }

@media (min-width: 1024px) {
  h1 { font-size: clamp(46px, 4.6vw, 64px); line-height: 1; letter-spacing: -.055em; }
  h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.06; letter-spacing: -.045em; }
  h3 { font-size: 20px; line-height: 1.24; }
  .legal-page h1 { font-size: clamp(34px, 4vw, 48px); }
  .legal-page h2 { font-size: clamp(24px, 2.4vw, 30px); }
}

@media (max-width: 900px) {
  .main-nav.open-static { position: static; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .site-header.compact { position: relative; transform: none; left: auto; top: auto; margin: 10px auto 0; grid-template-columns: 1fr; justify-items: center; border-radius: 28px; }
  .site-header.compact .brand,
  .site-header.compact .main-nav,
  .site-header.compact .header-actions { justify-self: center; }
  .site-header.compact + .legal-page { margin-top: 34px; }
}

/* Thank-you page layout fix */
.thank-you-page { position: relative; min-height: calc(100vh - 175px); display: flex; align-items: center; justify-content: center; padding: 150px 24px 88px; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 12% 78%, rgba(37,99,235,.10), transparent 28%), radial-gradient(circle at 85% 18%, rgba(6,182,212,.12), transparent 30%), linear-gradient(135deg, #ffffff 0%, #f7fbff 58%, #eef8ff 100%); }
.thank-you-page::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(90deg, rgba(37,99,235,.08) 1px, transparent 1px), linear-gradient(0deg, rgba(37,99,235,.08) 1px, transparent 1px); background-size: 64px 64px; z-index: -2; }
.thank-you-card { position: relative; z-index: 2; width: min(820px, 100%); padding: clamp(32px, 5vw, 58px); border: 1px solid var(--line); border-radius: 34px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(18px); text-align: center; }
.thank-you-card h1 { max-width: 690px; margin: 0 auto 20px; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.055em; }
.thank-you-card .hero-lead { max-width: 620px; margin: 0 auto; }
.thank-you-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.thank-you-actions .btn { min-width: 158px; }
.thank-you-note { margin: 30px auto 0; max-width: 620px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #f8fbff; color: var(--muted); }
.thank-you-note strong { display: block; color: var(--text); margin-bottom: 4px; }
.thank-you-note p { margin: 0; }
.thank-you-note a { color: var(--primary); font-weight: 800; }
@media (max-width: 900px) { .thank-you-page { min-height: auto; padding-top: 42px; } }
@media (max-width: 560px) { .thank-you-page { padding: 34px 16px 70px; } .thank-you-card { border-radius: 28px; padding: 28px 20px; } .thank-you-card h1 { font-size: 34px; line-height: 1.06; } .thank-you-card .hero-lead { font-size: 16px; } .thank-you-actions .btn { width: 100%; } }

/* SEO / GEO upgrade sections */
.seo-geo { background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%); }
.geo-grid, .faq-grid { width: min(1160px, 100%); margin-inline: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.geo-card, .faq-item { background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 28px; padding: 26px; box-shadow: 0 16px 40px rgba(15,23,42,.06); }
.geo-card h3, .faq-item h3 { margin-bottom: 10px; }
.geo-card p, .faq-item p { margin-bottom: 0; }
.faq { background: #fff; }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .geo-grid, .faq-grid { grid-template-columns: 1fr; }
}

/* Joomla extensions showcase */
.extensions-section{background:linear-gradient(180deg,#f7fbff 0%,#fff 100%)}
.extensions-grid{width:min(1160px,100%);margin-inline:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.extension-card{display:flex;flex-direction:column;overflow:hidden;min-width:0;background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:0 18px 48px rgba(15,23,42,.07);transition:transform .2s,box-shadow .2s}
.extension-card:hover{transform:translateY(-5px);box-shadow:0 24px 55px rgba(15,23,42,.12)}
.extension-art{min-height:210px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:linear-gradient(130deg,#e5f3ff,#f7fcff)}
.extension-art--cache{background:linear-gradient(130deg,#e2fcf7,#f2fdfd)}.extension-art--sticky{background:linear-gradient(130deg,#eef0ff,#e8f3ff)}
.extension-art__window{width:72%;height:142px;background:#fff;border:1px solid #d9e5f2;border-radius:16px;box-shadow:0 17px 40px rgba(23,51,95,.16);padding:14px;transform:rotate(-3deg)}
.extension-art__dots{display:flex;gap:5px}.extension-art__dots i{display:block;width:7px;height:7px;border-radius:50%;background:#b7c8dc}.extension-art__dots i:first-child{background:#21b0cf}
.extension-art__shape{display:grid;gap:9px;margin:20px 3px}.extension-art__shape span{height:13px;border-radius:6px;background:#dceaf8}.extension-art__shape span:nth-child(2){width:75%;background:#9ed4f1}.extension-art__shape span:nth-child(3){width:55%}
.extension-art__shape--cache span{border-radius:50%;width:44px;height:44px;display:inline-block;background:#67d6c6;margin-left:5px}.extension-art__shape--cache{display:flex;align-items:center;justify-content:center}
.extension-art__shape--sticky span:first-child{height:17px;background:#496fe2}.extension-art__shape--sticky span:nth-child(2){height:48px;width:26%;background:#b7caff}.extension-art__shape--sticky span:nth-child(3){width:70%;height:12px}
.extension-art__mark{position:absolute;right:20px;bottom:18px;width:48px;height:48px;border-radius:16px;background:#102338;color:#fff;display:grid;place-items:center;font-weight:800;letter-spacing:-.04em;box-shadow:0 8px 20px rgba(0,0,0,.15)}
.extension-card__content{padding:25px;display:flex;flex:1;flex-direction:column;gap:12px}.extension-tag{font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#2775a9}
.extension-card h3{font-size:21px;margin:0}.extension-card p{color:var(--muted);font-size:15px;line-height:1.65;margin:0}.extension-card__bottom{margin-top:auto;padding-top:15px;display:flex;flex-direction:column;gap:15px}.extension-card__bottom small{color:#64748b;font-size:12px}.extension-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;align-self:start;border-radius:999px;padding:11px 17px;background:var(--navy);color:#fff!important;font-size:14px;font-weight:750}.extension-link:hover{background:#106a9e}
.extensions-footnote{text-align:center;margin:28px auto 0;color:var(--muted)}.extensions-footnote a{color:var(--primary);font-weight:750}
@media(max-width:900px){.extensions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.extensions-grid{grid-template-columns:1fr}.extension-art{min-height:190px}}

/* Apps showcase — revised responsive layout */
.apps-showcase { padding: 100px 24px 110px; scroll-margin-top: 112px; background: linear-gradient(180deg,#fff 0%,#f6faff 100%); }
.apps-heading { width: min(1160px,100%); margin: 0 auto 34px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 44px; }
.apps-heading h2 { max-width: 740px; margin: 0; }
.apps-intro { color: var(--muted); margin: 0; font-size: 17px; line-height: 1.75; }
.apps-products-grid { width: min(1160px,100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.app-product-card { display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--line); border-radius: 28px; background:#fff; box-shadow: 0 20px 48px rgba(15,23,42,.06); }
.app-product-media { aspect-ratio: 1 / 1; background: linear-gradient(180deg,#f9fbfd,#eff5fb); display:grid; place-items:center; padding: 22px; }
.app-product-media img { width:100%; height:100%; object-fit: contain; }
.app-product-body { padding: 24px 24px 26px; display:flex; flex-direction:column; flex:1; }
.app-product-tag { display:inline-flex; align-self:flex-start; margin-bottom: 14px; padding: 8px 12px; border-radius: 999px; background:#eef7ff; color: var(--primary); font-size:12px; font-weight:800; text-transform: uppercase; letter-spacing:.08em; }
.app-product-body h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.03em; }
.app-product-body p { margin: 0; color: var(--muted); line-height: 1.72; }
.app-product-link { margin-top: auto; padding-top: 18px; font-weight: 800; color: var(--primary); }
.apps-bottom-note { width:min(1160px,100%); margin: 26px auto 0; padding: 24px 28px; border:1px solid var(--line); border-radius:24px; background: #fff; display:flex; align-items:center; justify-content:space-between; gap: 22px; box-shadow: 0 16px 40px rgba(15,23,42,.04); }
.apps-bottom-note p { margin:0; color: var(--muted); max-width: 780px; }
@media (max-width: 960px) {
  .apps-heading { grid-template-columns:1fr; gap:17px; }
  .apps-products-grid { grid-template-columns: 1fr; }
  .apps-bottom-note { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .apps-showcase { padding:72px 16px 78px; }
  .apps-heading { margin-bottom:22px; }
  .app-product-body { padding: 20px; }
  .app-product-body h3 { font-size: 21px; }
  .apps-bottom-note { padding: 20px; }
}

/* Jouweb October 2026: fixed responsive product and work cards */
#apps .apps-products-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:stretch; }
#apps .app-product-card { display:flex; min-width:0; flex-direction:column; height:100%; overflow:hidden; }
#apps .app-product-media { width:100%; height:230px; aspect-ratio:auto; flex:0 0 230px; padding:22px; display:flex; justify-content:center; align-items:center; overflow:hidden; }
#apps .app-product-media > img { display:block!important; width:100%!important; height:100%!important; max-width:220px!important; max-height:186px!important; min-height:0!important; object-fit:contain!important; object-position:center center!important; }
#apps .app-product-body { display:flex; flex-direction:column; flex:1; }
#work .portfolio-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:stretch; }
#work .portfolio-card { display:flex; flex-direction:column; min-height:0; height:auto; padding:16px; justify-content:flex-start; }
#work .portfolio-visual { display:block!important; width:100%; height:auto!important; min-height:0!important; max-height:none!important; aspect-ratio:16/10!important; flex:none!important; overflow:hidden!important; margin:0 0 16px!important; border-radius:14px; }
#work .portfolio-visual img { display:block!important; width:100%!important; height:100%!important; max-width:none!important; max-height:none!important; object-fit:cover!important; object-position:center top!important; transform:none!important; }
#work .portfolio-card strong { display:block; line-height:1.25; margin-top:5px; font-size:21px; }
@media (max-width:980px) { #apps .apps-products-grid, #work .portfolio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { #apps .apps-products-grid, #work .portfolio-grid { grid-template-columns:minmax(0,1fr); } #apps .app-product-media { height:205px; flex-basis:205px; } }
