/* ==========================================================================
   Contabify para Restaurantes — Landing page dedicada
   Tema dark teal (isolado do style.css principal via prefixo .rest)
   ========================================================================== */

.rest {
  --background: #0f172a;
  --foreground: #f1f5f9;
  --card: #1e293b;
  --primary: #2eb0b0;
  --primary-foreground: #f1f5f9;
  --muted-foreground: #94a3b8;
  --success: #10b981;
  --destructive: #ef4444;
  --blue: #60a5fa;
  --border: rgba(255, 255, 255, 0.08);

  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

.rest h1,
.rest h2,
.rest h3,
.rest p {
  margin: 0;
}

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

.rest img {
  display: block;
  max-width: 100%;
}

.rest .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.rest .text-primary {
  color: var(--primary);
}
.rest .text-success {
  color: var(--success);
}
.rest .text-muted {
  color: var(--muted-foreground);
}

/* ---------- Buttons ---------- */
.rest .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 9999px;
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.rest .btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 25px -5px rgba(46, 176, 176, 0.35);
}
.rest .btn-primary:hover {
  background: #2a9e9e;
}
.rest .btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}
.rest .btn-outline:hover {
  background: var(--card);
}
.rest .btn-ghost {
  background: transparent;
  color: var(--foreground);
}
.rest .btn-ghost:hover {
  background: var(--card);
}
.rest .btn-lg {
  font-size: 1.125rem;
  padding: 1.1rem 2.5rem;
}
.rest .btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.rest-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
  background: transparent;
}
.rest-header.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.rest-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rest-header .logo-img {
  height: 2.25rem;
}
.rest-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.rest-nav button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.2s ease;
}
.rest-nav button:hover {
  color: var(--primary);
}
.rest-header .header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rest-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
}
.rest-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.rest-mobile-menu.open {
  display: flex;
}
.rest-mobile-menu button {
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  padding: 0.5rem 0;
  cursor: pointer;
}
.rest-mobile-menu hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}

/* ---------- Sections ---------- */
.rest section {
  padding: 6rem 0;
}
.rest .section-head {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}
.rest .section-head h2,
.rest h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.rest .section-head p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}
.rest .bg-card-soft {
  background: rgba(30, 41, 59, 0.3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Cards ---------- */
.rest .card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

/* ---------- Hero ---------- */
.rest-hero {
  position: relative;
  padding: 9rem 0 6rem;
  overflow: hidden;
}
.rest-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.rest-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.93) 0%,
    rgba(15, 23, 42, 0.8) 45%,
    rgba(15, 23, 42, 0.4) 100%
  );
}
.rest-hero .hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.rest-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.rest-hero .hero-sub {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 36rem;
}
.rest-hero .hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.rest-hero .hero-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Floating invoice card */
.rest-invoice-wrap {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 32rem;
}
.rest-invoice-glow {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(to top right, rgba(46, 176, 176, 0.3), rgba(16, 185, 129, 0.2));
  border-radius: 1.5rem;
  filter: blur(40px);
  opacity: 0.7;
  z-index: 0;
}
.rest-invoice {
  position: relative;
  z-index: 1;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  margin: 2.5rem 1rem 1.5rem;
}
.rest-invoice .scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  box-shadow: 0 0 15px rgba(46, 176, 176, 1);
  z-index: 20;
  animation: rest-scanline 3s linear infinite;
}
@keyframes rest-scanline {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(3000%);
  }
}
.rest-invoice-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.5);
}
.rest-invoice-head .title {
  font-weight: 700;
  font-size: 1.05rem;
}
.rest-invoice-head .sub {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}
.rest-tag-ai {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.rest-invoice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  animation: rest-highlight 4s ease-in-out infinite;
}
@keyframes rest-highlight {
  0%,
  100% {
    background-color: transparent;
  }
  50% {
    background-color: rgba(46, 176, 176, 0.12);
  }
}
.rest-invoice-row .item {
  font-weight: 500;
  font-size: 0.875rem;
}
.rest-invoice-row .qty {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.rest-invoice-row .right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rest-invoice-row .price {
  font-weight: 600;
  font-size: 0.875rem;
}
.rest-iva {
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: 0.35rem;
  border: 1px solid;
}
.rest-iva.iva-23 {
  color: var(--blue);
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.2);
}
.rest-iva.iva-6 {
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
}
.rest-iva.iva-13 {
  color: var(--primary);
  background: rgba(46, 176, 176, 0.1);
  border-color: rgba(46, 176, 176, 0.2);
}
.rest-invoice-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.8);
}
.rest-invoice-total .label {
  color: var(--muted-foreground);
  font-weight: 500;
}
.rest-invoice-total .value {
  font-size: 1.25rem;
  font-weight: 700;
}

/* ---------- Ambiance strip ---------- */
.rest-strip {
  position: relative;
  height: 20rem;
  overflow: hidden;
}
.rest-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rest-strip .strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.8),
    rgba(15, 23, 42, 0.4),
    rgba(15, 23, 42, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}
.rest-strip .kicker {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.rest-strip .strip-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #fff;
  max-width: 42rem;
}

/* ---------- Pain grid ---------- */
.rest-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.rest-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}
.rest-pain {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: border-color 0.2s ease;
}
.rest-pain:hover {
  border-color: rgba(46, 176, 176, 0.3);
}
.rest-pain .icon {
  background: rgba(46, 176, 176, 0.1);
  border: 1px solid rgba(46, 176, 176, 0.2);
  border-radius: 0.5rem;
  padding: 0.65rem;
  color: var(--primary);
  flex-shrink: 0;
  display: flex;
}
.rest-pain p {
  font-weight: 500;
  padding-top: 0.25rem;
}

/* ---------- Before / After ---------- */
.rest-ba .card {
  position: relative;
}
.rest-ba .bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
}
.rest-ba .bar.bad {
  background: var(--destructive);
}
.rest-ba .bar.good {
  background: var(--success);
}
.rest-ba .ba-img {
  position: relative;
  height: 12rem;
  overflow: hidden;
}
.rest-ba .ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rest-ba .card.good {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}
.rest-ba .ba-body {
  padding: 1.5rem;
}
.rest-ba .ba-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.rest-ba .ba-title.bad {
  color: var(--destructive);
}
.rest-ba .ba-title.good {
  color: var(--success);
}
.rest-ba .ba-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rest-ba .ba-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rest-ba .ba-item.muted {
  color: var(--muted-foreground);
}
.rest-ba .ba-item .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: rgba(239, 68, 68, 0.5);
  flex-shrink: 0;
}
.rest-ba .ba-item.good p {
  font-weight: 500;
}

/* ---------- How it works ---------- */
.rest-step-hero {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin: 0 auto 4rem;
  max-width: 56rem;
}
.rest-step-hero img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}
.rest-step-hero .step-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.6),
    transparent
  );
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
}
.rest-step-hero .big-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(46, 176, 176, 0.4);
  line-height: 1;
}
.rest-step-hero h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.25rem;
}
.rest-step-hero p {
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  max-width: 22rem;
}
.rest-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.rest-step {
  position: relative;
}
.rest-step .ghost-num {
  font-size: 3.75rem;
  font-weight: 900;
  color: rgba(46, 176, 176, 0.1);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  z-index: 0;
}
.rest-step .step-inner {
  position: relative;
  z-index: 1;
}
.rest-step .step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.rest-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.rest-step p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ---------- Restaurant features ---------- */
.rest-feature-sec {
  position: relative;
  overflow: hidden;
}
.rest-feature-sec .feat-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rest-feature-sec .feat-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.rest-feature-sec .feat-bg .veil {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.rest-feature-sec .container {
  position: relative;
  z-index: 1;
}
.rest-feature {
  padding: 1.5rem;
}
.rest-feature h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.rest-feature p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ---------- VAT section ---------- */
.rest-vat .vat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.rest-vat .vat-text p.lead {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}
.rest-vat .disclaimer {
  font-size: 0.875rem;
  color: rgba(148, 163, 184, 0.6);
  font-style: italic;
  border-left: 2px solid rgba(46, 176, 176, 0.3);
  padding: 0.25rem 0 0.25rem 1rem;
}
.rest-vat .vat-card {
  background: var(--background);
}
.rest-vat .vat-card-head {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.05rem;
}
.rest-vat .vat-card-head .ref {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 400;
}
.rest-vat .vat-card-body {
  padding: 1.5rem;
}
.rest-vat .vat-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.rest-vat .vat-line .left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rest-vat .vat-line .left .sub {
  color: var(--muted-foreground);
  font-size: 0.85rem;
}
.rest-vat .vat-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
}
.rest-vat .vat-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.rest-vat .vat-total .label {
  font-weight: 700;
  font-size: 1.125rem;
}
.rest-vat .vat-total .value {
  font-weight: 700;
  font-size: 1.25rem;
}

/* ---------- Security ---------- */
.rest-security {
  text-align: center;
}
.rest-security .container {
  max-width: 48rem;
}
.rest-security .shield {
  display: inline-flex;
  padding: 1rem;
  background: rgba(46, 176, 176, 0.1);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.rest-security p.lead {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
}
.rest-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.rest-badge {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--card);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- Pricing ---------- */
.rest-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
}
.rest-price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
}
.rest-price-card.popular {
  border-color: rgba(46, 176, 176, 0.5);
  box-shadow: 0 0 30px rgba(46, 176, 176, 0.15);
  transform: translateY(-1rem);
}
.rest-price-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  padding: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.rest-price-head {
  text-align: center;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.rest-price-card.popular .rest-price-head {
  padding-top: 2.75rem;
}
.rest-price-head .plan-name {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.rest-price-card.popular .plan-name {
  color: var(--primary);
}
.rest-price-head .price {
  font-size: 2.25rem;
  font-weight: 700;
}
.rest-price-head .price span {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--muted-foreground);
}
.rest-price-head .desc {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}
.rest-price-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rest-price-feat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rest-price-feat.off {
  opacity: 0.5;
}
.rest-price-body .btn {
  margin-top: 1.5rem;
}

/* ---------- FAQ ---------- */
.rest-faq {
  max-width: 56rem;
  margin: 0 auto;
}
.rest-faq-item {
  border-bottom: 1px solid var(--border);
}
.rest-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s ease;
}
.rest-faq-item summary::-webkit-details-marker {
  display: none;
}
.rest-faq-item summary:hover {
  color: var(--primary);
}
.rest-faq-item summary .chev {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: var(--muted-foreground);
}
.rest-faq-item[open] summary .chev {
  transform: rotate(180deg);
}
.rest-faq-item .faq-answer {
  padding: 0 0 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.rest-cta {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}
.rest-cta .cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rest-cta .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rest-cta .cta-bg .veil {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}
.rest-cta .cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  max-width: 100%;
  background: rgba(46, 176, 176, 0.2);
  filter: blur(120px);
  border-radius: 9999px;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.rest-cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.rest-cta h2 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  max-width: 56rem;
  margin: 0 auto 1.5rem;
  line-height: 1.15;
}
.rest-cta p.lead {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}
.rest-cta .cta-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* ---------- Footer ---------- */
.rest-footer {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.rest-footer .foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.rest-footer .foot-logo {
  height: 2rem;
  opacity: 0.8;
}
.rest-footer .foot-links {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  flex-wrap: wrap;
}
.rest-footer .foot-links a {
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.rest-footer .foot-links a:hover {
  color: var(--primary);
}
.rest-footer .foot-bottom {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(148, 163, 184, 0.6);
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

/* ---------- Reveal on scroll ---------- */
.rest .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.rest .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .rest-nav,
  .rest-header .header-actions {
    display: none;
  }
  .rest-menu-toggle {
    display: block;
  }
  .rest-hero .hero-grid,
  .rest-vat .vat-grid {
    grid-template-columns: 1fr;
  }
  .rest-hero .hero-visual {
    display: none;
  }
  .rest-grid-3,
  .rest-grid-4,
  .rest-grid-2,
  .rest-pricing-grid {
    grid-template-columns: 1fr;
  }
  .rest-price-card.popular {
    transform: none;
  }
  .rest-step-hero .step-overlay {
    padding: 0 1.5rem;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .rest-grid-3,
  .rest-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
