:root {
  --brand: #0f5bd8;
  --brand-dark: #0b3a88;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --soft: #f6f8fb;
  --success: #25d366;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(16, 24, 40, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 2000;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 18, 32, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: var(--white);
  border-radius: var(--radius);
}

.nav-toggle i {
  font-size: 1.45rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: .94rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.hero {
  position: relative;
  min-height: 690px;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 28, .96), rgba(5, 13, 28, .72), rgba(5, 13, 28, .40)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=82") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 124px 0 72px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  margin: 0 0 14px;
}

.hero .eyebrow {
  color: #bfdbfe;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255,255,255,.84);
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 24px 0 0;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.28);
}

.section .btn-secondary,
.section-muted .btn-secondary {
  background: var(--white);
  color: var(--brand);
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}

.section .btn-secondary:hover,
.section-muted .btn-secondary:hover {
  background: #edf4ff;
  color: var(--brand-dark);
}

.hero-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  margin-bottom: 40px;
}

.hero-strip div {
  background: rgba(10, 18, 32, .78);
  padding: 20px;
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  font-size: 1.25rem;
}

.hero-strip span {
  margin-top: 4px;
  color: rgba(255,255,255,.72);
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-head h2,
.split h2,
.cta-layout h2 {
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

.section-head p,
.split p,
.cta-layout p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 290px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card i {
  color: var(--brand);
  font-size: 2rem;
}

.service-card h3 {
  margin: 18px 0 10px;
  font-size: 1.18rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.72;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-weight: 800;
  margin-top: 8px;
}

.page-hero {
  background:
    linear-gradient(120deg, rgba(7, 13, 24, .96), rgba(15, 91, 216, .72)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=82") center/cover no-repeat;
  color: var(--white);
  padding: 96px 0 72px;
}

.page-hero.product-hero {
  background:
    linear-gradient(120deg, rgba(7, 13, 24, .94), rgba(15, 91, 216, .68)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=82") center/cover no-repeat;
}

.page-hero.service-hero {
  background:
    linear-gradient(120deg, rgba(7, 13, 24, .94), rgba(15, 91, 216, .68)),
    url("https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=1800&q=82") center/cover no-repeat;
}

.page-hero.pos-hero {
  background:
    linear-gradient(120deg, rgba(7, 13, 24, .94), rgba(15, 91, 216, .68)),
    url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1800&q=82") center/cover no-repeat;
}

.page-hero.pdf-hero {
  background:
    linear-gradient(120deg, rgba(7, 13, 24, .95), rgba(15, 91, 216, .70)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=82") center/cover no-repeat;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  font-size: 1.05rem;
}

.company-reg {
  display: inline-flex;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.9) !important;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  min-height: 210px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.product-card i {
  color: var(--brand);
  font-size: 1.8rem;
}

.product-card h3 {
  margin: 16px 0 8px;
  font-size: 1.05rem;
}

.product-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.product-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand);
  font-weight: 800;
}

.brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.feature-tile i {
  color: var(--brand);
  font-size: 1.7rem;
}

.feature-tile img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 14px;
}

.feature-tile h3 {
  margin: 14px 0 8px;
  font-size: 1.05rem;
}

.feature-tile p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.media-card,
.promo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.media-card img,
.promo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--soft);
  padding: 16px;
}

.media-card div,
.promo-card div {
  padding: 18px;
}

.media-card h3,
.promo-card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

.media-card p,
.promo-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.video-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.reviews-widget {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
  overflow: hidden;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.stars {
  color: #f59e0b;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.review-card p {
  color: var(--muted);
  line-height: 1.75;
}

.review-card strong {
  display: block;
  margin-top: 18px;
}

.review-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: #edf4ff;
  color: #184d99;
}

.review-note a {
  font-weight: 800;
  color: var(--brand);
}

.split,
.cta-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.check-list span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.check-list i {
  color: #12b76a;
  margin-top: 2px;
}

.info-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px;
  box-shadow: var(--shadow);
}

.info-panel h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
}

.fit-grid,
.coverage-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fit-grid span,
.coverage-row span {
  background: #edf4ff;
  color: #184d99;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-weight: 700;
}

.facebook-wrap {
  display: flex;
  justify-content: center;
}

.facebook-wrap iframe {
  width: 100%;
  max-width: 500px;
  height: 1000px;
  border: 0;
  background: var(--white);
}

.cta-section {
  background: #0b1220;
  color: var(--white);
}

.cta-layout p {
  color: rgba(255,255,255,.76);
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
}

.software-panel {
  text-align: center;
}

.software-panel > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #edf4ff;
  color: var(--brand);
  font-size: 3rem;
  margin-bottom: 18px;
}

.software-panel p {
  margin: 6px 0 10px;
  color: var(--muted);
}

.software-panel span,
.download-note,
.form-note,
.form-status {
  color: var(--muted);
  line-height: 1.7;
}

.app-preview {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-preview img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1918 / 1070;
  object-fit: contain;
  background: #f2f4f7;
}

.app-preview figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.download-panel .btn {
  width: 100%;
}

.download-panel[hidden] {
  display: none;
}

.form-status {
  margin: 0;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 800;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
}

.site-footer {
  background: #070d18;
  color: rgba(255,255,255,.74);
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 24px;
}

.footer-grid strong {
  display: block;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 8px 0;
}

.whatsapp-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
}

.whatsapp-menu.is-open {
  display: flex;
}

.whatsapp-menu a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
  max-width: calc(100vw - 36px);
}

.whatsapp-float {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(37,211,102,.35);
  position: relative;
  isolation: isolate;
  cursor: pointer;
  animation: whatsappWave 2.6s ease-in-out infinite;
}

.whatsapp-float::before,
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.42);
  opacity: 0;
  transform: scale(.82);
  z-index: -1;
  animation: whatsappRipple 2.6s ease-out infinite;
}

.whatsapp-float::after {
  animation-delay: 1.3s;
}

.whatsapp-float i {
  font-size: 1.9rem;
}

@keyframes whatsappWave {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  15% { transform: translateY(-2px) rotate(-8deg); }
  30% { transform: translateY(0) rotate(8deg); }
  45% { transform: translateY(-1px) rotate(-5deg); }
  60% { transform: translateY(0) rotate(0deg); }
}

@keyframes whatsappRipple {
  0% { opacity: .62; transform: scale(.82); }
  70%, 100% { opacity: 0; transform: scale(1.5); }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0a1220;
    padding: 10px 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .nav-links .nav-cta {
    justify-content: center;
    margin-top: 6px;
  }

  .hero-strip,
  .service-grid,
  .product-grid,
  .reviews-grid,
  .feature-band,
  .media-grid,
  .form-row,
  .split,
  .cta-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 92px;
  }
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0a1220;
    padding: 10px 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .nav-links .nav-cta {
    justify-content: center;
    margin-top: 6px;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-shell {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-content {
    padding: 72px 0 44px;
  }

  .page-hero {
    padding: 64px 0 48px;
  }

  .page-hero h1 {
    font-size: 2.1rem;
  }

  .hero-strip div,
  .service-card,
  .product-card,
  .feature-tile,
  .media-card div,
  .promo-card div,
  .info-panel,
  .contact-card,
  .reviews-widget {
    padding: 18px;
  }

  .action-row,
  .action-row .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .service-card {
    min-height: auto;
  }

  .facebook-wrap iframe {
    height: 760px;
  }

  .whatsapp-dock {
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
  }
}


/* --- Responsive overflow fixes added for POS page --- */
img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

.split > *,
.cta-layout > *,
.media-grid > *,
.feature-band > *,
.service-grid > *,
.product-grid > * {
  min-width: 0;
}

.info-panel img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

#android-restaurant-pos .split {
  grid-template-columns: minmax(0, .82fr) minmax(420px, .8fr);
  align-items: center;
}

#android-restaurant-pos .info-panel {
  overflow: hidden;
  padding: 18px;
}

#android-restaurant-pos .info-panel img {
  max-height: 650px;
  object-fit: contain;
}

/* Tidio position */
#tidio-chat,
#tidio-chat-iframe,
iframe#tidio-chat-iframe,
.tidio-chat,
.tidio-chat-iframe {
  bottom: 90px !important;
}

@media (max-width: 960px) {
  #android-restaurant-pos .split {
    grid-template-columns: 1fr;
  }

  #android-restaurant-pos .info-panel img {
    max-height: none;
  }
}
