:root {
  --radius: 0.625rem;
  --background: #fffbf4;
  --foreground: #20090a;
  --card: #fff;
  --primary: #db0003;
  --primary-foreground: #fffced;
  --primary-foreground-60: rgba(255, 252, 237, .6);
  --primary-foreground-80: rgba(255, 252, 237, .8);
  --primary-foreground-90: rgba(255, 252, 237, .9);
  --secondary: #fdd506;
  --secondary-foreground: #290c08;
  --muted-foreground: #6e4b45;
  --border: rgba(219, 0, 3, .1);
  --hero-glow: rgba(253, 213, 6, .3);
  --image-glow: rgba(219, 0, 3, .2);
}

@supports (color: oklch(0.55 0.24 27)) {
  :root {
    --background: oklch(0.99 0.01 80);
    --foreground: oklch(0.18 0.04 20);
    --card: oklch(1 0 0);
    --primary: oklch(0.55 0.24 27);
    --primary-foreground: oklch(0.99 0.02 95);
    --primary-foreground-60: oklch(0.99 0.02 95 / 60%);
    --primary-foreground-80: oklch(0.99 0.02 95 / 80%);
    --primary-foreground-90: oklch(0.99 0.02 95 / 90%);
    --secondary: oklch(0.88 0.18 95);
    --secondary-foreground: oklch(0.2 0.05 30);
    --muted-foreground: oklch(0.45 0.05 30);
    --border: oklch(0.55 0.24 27 / 10%);
    --hero-glow: oklch(0.88 0.18 95 / 30%);
    --image-glow: oklch(0.55 0.24 27 / 20%);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.center {
  text-align: center;
}

.muted-light {
  margin-top: .5rem;
  color: var(--primary-foreground-80);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.logo {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.logo span {
  color: var(--secondary);
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 25%));
}

.nav {
  display: none;
  gap: 1.5rem;
  font-size: .875rem;
  font-weight: 600;
}

.nav a {
  transition: color .2s ease;
}

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

@media (min-width: 640px) {
  .logo {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: .5rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn-pill:hover {
  transform: scale(1.05);
}

.btn-pill:focus-visible,
.nav a:focus-visible,
.logo:focus-visible,
.float-wpp:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
}

.btn-outline {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: .65rem 1.4rem;
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-pill.big {
  margin-top: 1.5rem;
  padding: .75rem 2rem;
  font-size: 1rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .btn-pill {
    font-size: .875rem;
  }
}

/* Chips */
.chip {
  display: inline-block;
  border-radius: 9999px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 700;
}

.chip-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.chip-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Hero */
.hero {
  overflow: hidden;
  background: var(--primary);
  color: var(--primary-foreground);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-title {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.05;
}

.hero-title span {
  color: var(--secondary);
}

.hero-text {
  max-width: 28rem;
  margin-top: 1rem;
  color: var(--primary-foreground-90);
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.hero-img-wrap {
  position: relative;
}

.hero-img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 35%);
  transform: rotate(1deg);
  transition: transform .5s ease;
}

.hero-img-wrap img:hover,
.tacas-grid .hero-img-wrap img:hover {
  transform: rotate(0);
}

.hero-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 1.5rem;
  background: var(--hero-glow);
  filter: blur(64px);
}

.hero-glow.alt {
  background: var(--image-glow);
}

.tacas-grid .hero-img-wrap img {
  transform: rotate(-1deg);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-text {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero-title {
    font-size: 3.75rem;
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.section-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  margin-top: .75rem;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.15;
}

.title-primary {
  color: var(--primary);
}

@media (min-width: 640px) {
  .section-head h2 {
    font-size: 2.25rem;
  }
}

/* Grids */
.grid {
  display: grid;
  gap: 1rem;
}

.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tacas-grid {
  display: grid;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .tacas-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  color: var(--foreground);
  padding: 1.25rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-.25rem);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 8px 10px -6px rgb(0 0 0 / 10%);
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}

.card h3 {
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
}

.card .size {
  color: var(--muted-foreground);
  font-size: .75rem;
  font-weight: 600;
}

.card .price {
  flex-shrink: 0;
  border-radius: .5rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: .25rem .75rem;
  font-size: .875rem;
  font-weight: 800;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 10%), 0 1px 2px -1px rgb(0 0 0 / 10%);
}

.card .desc {
  margin-top: .75rem;
  color: var(--muted-foreground);
  font-size: .875rem;
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0;
}

.footer h2 {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.15;
}

.copyright {
  margin-top: 2rem;
  color: var(--primary-foreground-60);
  font-size: .75rem;
}

/* Floating WhatsApp */
.float-wpp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 35%);
  transition: transform .2s ease;
}

.float-wpp:hover {
  transform: scale(1.1);
}
