/* QRCEP Ana Site — qrcep.com */

:root {
  --green-dark: #1f4d3a;
  --green-olive: #557a46;
  --green-light: #8fa876;
  --cream: #f6f2e8;
  --beige: #dcc9a3;
  --ink: #1a2e24;
  --muted: #5a6b5f;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(31, 77, 58, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 78px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  cursor: pointer;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(31, 77, 58, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand--light img {
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: var(--green-light);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--green-dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--green-olive);
}

.btn-outline {
  background: var(--white);
  border-color: var(--green-dark);
  color: var(--green-dark);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1ebe57;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.header-cta {
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(31, 77, 58, 0.92), rgba(31, 77, 58, 0.78)),
    radial-gradient(circle at 80% 20%, rgba(143, 168, 118, 0.35), transparent 50%),
    linear-gradient(160deg, #2a5a42 0%, #1f4d3a 55%, #163a2c 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-copy .lead {
  margin: 0 0 24px;
  max-width: 54ch;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-slogan {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--beige);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.trust-badges li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-badges li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-light);
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
}

.feature-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 420px;
}

.phone-mockup {
  position: relative;
  z-index: 2;
  width: min(280px, 78vw);
  margin: 0 auto;
  padding: 12px;
  border-radius: 32px;
  background: #111;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.phone-screen {
  overflow: hidden;
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
}

.phone-notch {
  height: 22px;
  background: #111;
}

.phone-header {
  padding: 12px 14px 10px;
  background: #fbf6ed;
  border-bottom: 1px solid #e7dcc8;
  text-align: center;
}

.phone-header strong {
  display: block;
  font-size: 14px;
  color: #65773a;
}

.phone-header span {
  font-size: 11px;
  color: var(--muted);
}

.phone-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  overflow-x: auto;
  background: var(--white);
  border-bottom: 1px solid #ebe3d4;
}

.phone-tabs span {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: #f3ede2;
  color: var(--muted);
}

.phone-tabs span.active {
  background: #65773a;
  color: var(--white);
}

.phone-menu {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.menu-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid #ebe3d4;
}

.menu-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dcc9a3, #8fa876);
}

.menu-item strong {
  display: block;
  font-size: 12px;
}

.menu-item small {
  font-size: 10px;
  color: var(--muted);
}

.menu-price {
  font-size: 12px;
  font-weight: 700;
  color: #65773a;
}

.table-tent {
  position: absolute;
  left: -8px;
  bottom: 36px;
  width: 110px;
  height: 130px;
  z-index: 3;
}

.tent-face {
  width: 100%;
  height: 100%;
  padding: 14px 10px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--white), #f0ebe0);
  box-shadow: var(--shadow);
  text-align: center;
}

.tent-face .mini-qr {
  width: 56px;
  height: 56px;
  margin: 8px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 6px;
  border-radius: 6px;
  background: var(--cream);
  border: 1px solid #ddd;
}

.tent-face .mini-qr i {
  display: block;
  background: var(--green-dark);
  border-radius: 1px;
}

.tent-face p {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  color: var(--green-dark);
}

.live-card {
  position: absolute;
  right: -4px;
  top: 24px;
  z-index: 4;
  width: min(260px, 72vw);
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.live-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--green-dark);
}

.live-card .subtitle {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.check-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.check-list li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(85, 122, 70, 0.15);
  color: var(--green-olive);
  font-size: 11px;
  font-weight: 700;
}

.chat-bubble {
  position: absolute;
  right: 12px;
  bottom: 8px;
  z-index: 5;
  max-width: 220px;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 12px;
  box-shadow: var(--shadow);
}

/* Sections */
.section {
  padding: clamp(56px, 8vw, 88px) 0;
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--green-dark);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.feature-card {
  padding: 24px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(31, 77, 58, 0.08);
  text-align: center;
  box-shadow: 0 8px 24px rgba(31, 77, 58, 0.05);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(143, 168, 118, 0.25), rgba(85, 122, 70, 0.15));
  color: var(--green-dark);
  font-size: 22px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--green-dark);
}

.feature-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 28px 20px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(31, 77, 58, 0.08);
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 700;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--green-dark);
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(31, 77, 58, 0.1);
  box-shadow: 0 10px 30px rgba(31, 77, 58, 0.06);
}

.price-card.featured {
  border-color: var(--green-olive);
  box-shadow: 0 16px 40px rgba(31, 77, 58, 0.12);
  transform: translateY(-4px);
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--green-dark);
}

.price-tag {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 700;
  color: var(--green-olive);
}

.price-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.price-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-olive);
  font-weight: 700;
}

/* Contact strip */
.contact-strip {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--green-dark), #2a5a42);
  color: var(--white);
  text-align: center;
}

.contact-strip h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.contact-strip p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Footer */
.site-footer {
  padding: 40px 0 28px;
  background: #163a2c;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 0;
  max-width: 36ch;
  line-height: 1.6;
}

.footer-links h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--white);
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

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

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--beige);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile nav */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
    margin-top: 12px;
  }

  .live-card {
    right: 0;
    top: 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .price-card.featured {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--green-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-cta--desktop {
    display: none;
  }

  .header-cta--mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 8px;
  }
}

@media (min-width: 769px) {
  .header-cta--mobile {
    display: none;
  }
}

@media (max-width: 540px) {
  .features-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .table-tent {
    display: none;
  }

  .chat-bubble {
    position: static;
    margin: 16px auto 0;
  }

  .hero-visual {
    min-height: auto;
  }
}
