﻿:root {
  --primary: #e0262a;
  --gold: #f5b400;
  --dark: #1b1c20;
  --muted: #5d6168;
  --bg: #ffffff;
  --surface: #f5f6f8;
  --ice: #fbfbfc;
  --orange: #ffb347;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-md: 0 18px 40px rgba(16, 20, 30, 0.12);
  --shadow-sm: 0 10px 24px rgba(16, 20, 30, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

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

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

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

section {
  padding: 90px 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
  background: var(--primary);
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff4b4f);
  color: #fff;
  box-shadow: 0 16px 30px rgba(224, 38, 42, 0.3);
}

.btn-danger {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 24px rgba(224, 38, 42, 0.3);
}

.btn-rect {
  border-radius: 12px;
  padding: 12px 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-md);
}

.btn-hero {
  padding: 18px 34px;
  font-size: 1rem;
}

.btn-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%,
  70% {
    transform: translateX(-120%);
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--primary);
}

.logo img {
  width: 150px;
  height: 48px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
  font-weight: 600;
  color: var(--muted);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(82vw, 360px);
  height: 100vh;
  background: #fff;
  transform: translateX(110%);
  transition: transform 0.3s ease;
  z-index: 1100;
  padding: 28px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  font-weight: 700;
}

.menu-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--primary);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-weight: 600;
  color: var(--dark);
}

body.menu-open {
  overflow: hidden;
}

main {
  padding-top: 120px;
}

.hero {
  background: radial-gradient(circle at top left, rgba(224, 38, 42, 0.12), transparent 55%),
    linear-gradient(120deg, rgba(245, 180, 0, 0.12), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(224, 38, 42, 0.1);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  color: var(--primary);
}

.hero p {
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-note {
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-title h2 {
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--muted);
}

.benefits {
  background: var(--surface);
}

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.banner-slider {
  margin-bottom: 40px;
}

.banner-swiper {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.banner-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.banner-swiper img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.banner-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.8);
  opacity: 1;
}

.banner-swiper .swiper-pagination-bullet-active {
  background: var(--gold);
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: var(--dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.benefit-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-md);
}

.benefit-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.benefit-text strong {
  font-weight: 800;
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(224, 38, 42, 0.12);
  color: var(--primary);
  font-size: 1.1rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.card,
.category-card,
.testimonial-card,
.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.card:hover,
.category-card:hover,
.testimonial-card:hover,
.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(245, 180, 0, 0.18);
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.category-card {
  background: #f0f2f5;
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 24px 32px;
  position: relative;
  overflow: hidden;
}

.category-content {
  grid-column: 1;
  grid-row: 1;
}

.category-btn {
  grid-column: 1;
  grid-row: 2;
  width: fit-content;
}

.category-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.category-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.category-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

.category-visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  justify-content: flex-end;
  position: relative;
  min-height: 180px;
}

.category-visual::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 58% 42% 62% 38%;
  background: var(--orange);
}

.category-visual img {
  position: relative;
  width: 210px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-copy p {
  margin: 16px 0;
  color: var(--muted);
}

.testimonials {
  background: var(--surface);
}

.testimonials .swiper {
  padding: 10px 0 40px;
}

.testimonial-card {
  height: 100%;
}

.testimonial-card p {
  color: var(--muted);
  margin: 16px 0;
}

.stars {
  color: var(--gold);
}

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

.map iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.footer {
  padding: 40px 0;
  background: #1a1a1a;
  color: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease;
  will-change: transform;
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.floating-btn.whatsapp {
  background: #25d366;
  animation: pulse 2s infinite;
}

.floating-btn.instagram {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf, #4f5bd5);
}

.floating-btn.ifood {
  background: #ea1d2c;
}

.floating-btn.ifood .ifood-logo {
  width: 34px;
  height: auto;
  filter: brightness(0) invert(1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

#preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #b50022 0%, #e0262a 45%, #ff3b30 100%);
  display: grid;
  place-items: center;
  z-index: 2000;
  overflow: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-panels {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 1;
}

.preloader-panel {
  flex: 0 0 50%;
  width: 50%;
  background: linear-gradient(135deg, #b50022 0%, #e0262a 45%, #ff3b30 100%);
  transition: transform 0.6s ease;
}

.preloader-panel.right {
  background: linear-gradient(225deg, #b50022 0%, #e0262a 45%, #ff3b30 100%);
}

#preloader.open .preloader-panel.left {
  transform: translateX(-100%);
}

#preloader.open .preloader-panel.right {
  transform: translateX(100%);
}

.preloader-content {
  text-align: center;
  color: #fff;
  z-index: 2;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#preloader.open .preloader-content {
  opacity: 0;
  transform: scale(0.98);
}

.preloader-logo {
  width: 220px;
  margin: 0 auto 16px;
}

.preloader-name {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    justify-content: space-between;
    gap: 16px;
  }

  .nav {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .benefit-cards {
    grid-template-columns: 1fr;
  }

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

  .category-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .category-content {
    order: 1;
    grid-column: auto;
    grid-row: auto;
  }

  .category-visual {
    order: 2;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    grid-column: auto;
    grid-row: auto;
  }

  .category-btn {
    order: 3;
    width: 100%;
    grid-column: auto;
    grid-row: auto;
    margin-top: auto;
  }

  .category-btn.btn {
    width: 100%;
  }

  .category-visual::before {
    right: 50%;
    transform: translate(50%, -50%);
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .hero-actions {
    align-items: stretch;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
