/* ============================================
   TIKOA — Inspired by Costa Rica
   ============================================ */

:root {
  --green: #456e3f;
  --green-deep: #34532f;
  --green-soft: #6b8a5f;
  --orange: #e07526;
  --yellow: #ffbf30;
  --sky: #4f9bc4;
  --navy: #2f3e5a;
  --cream: #f6efdf;
  --cream-2: #efe5cc;
  --ink: #1d241a;
  --paper: #fbf7ec;

  /* Primary display font: Josefin Sans. Montserrat for subheads, Helvetica for body. */
  --font-display: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
  --font-sub: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

/* ---------- Typography utilities ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 0.98;
}

.sub {
  font-family: var(--font-sub);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.body {
  font-family: var(--font-body);
}

/* ---------- Layout ---------- */
.wrap {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(29, 36, 26, 0.08);
  transform: translateY(-105%);
  transition: transform 0.45s cubic-bezier(.2, .7, .3, 1);
  pointer-events: none;
}

.nav.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  color: var(--green);
}

.nav-logo .logo-img {
  height: 38px;
  width: auto;
  display: block;
}

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

.nav-link {
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--orange);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: all 0.25s;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--green);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--orange);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
  }

  .nav-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ink);
  }

  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 24px;
    gap: 18px;
    border-top: 1px solid rgba(29, 36, 26, 0.08);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--green) url("assets/hero-bg.png") center/cover no-repeat;
  color: var(--cream);
  min-height: 100vh;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-bg-shape {
  position: absolute;
  pointer-events: none;
}

.hero-bg-shape.s1 {
  top: 12%;
  left: -8%;
  width: 340px;
  opacity: 0.18;
  animation: float 18s ease-in-out infinite;
}

.hero-bg-shape.s2 {
  bottom: 22%;
  right: -6%;
  width: 420px;
  opacity: 0.22;
  animation: float 22s ease-in-out infinite reverse;
}

.hero-bg-shape.s3 {
  top: 40%;
  left: 12%;
  width: 180px;
  opacity: 0.14;
  animation: float 26s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(8deg);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  text-align: center;
  padding: 40px 0 60px;
  flex: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 28px;
  padding: 8px 18px;
  border: 1px solid rgba(246, 239, 223, 0.35);
  border-radius: 999px;
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero-logo-img {
  display: block;
  width: min(1100px, 92vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.18));
  animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-tagline {
  font-family: var(--font-sub);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-top: 24px;
  color: var(--cream);
  opacity: 0.95;
}

.hero-tagline .accent {
  color: var(--yellow);
}

.hero-scroll {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px 0 50px;
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  opacity: 0.8;
}

.hero-scroll {
  flex-direction: column;
  gap: 12px;
}

.hero-scroll-arrow {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

.hero-scroll-arrow svg {
  display: block;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* Wavy decoration bottom of hero */
.wave-divider {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider.flip {
  transform: scaleY(-1);
}

/* ============================================
   WHAT IS TIKOA
   ============================================ */
.about {
  background: var(--paper);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about-text h2 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  color: var(--green);
  margin-bottom: 28px;
}

.about-text h2 .ital {
  font-style: italic;
  color: var(--orange);
}

.about-text p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 52ch;
}

.about-text .lead {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 24px;
  line-height: 1.6;
}

.about-mark {
  position: relative;
  aspect-ratio: 1;
  background: var(--green);
  border-radius: 50% 50% 48% 52% / 52% 48% 52% 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(29, 36, 26, 0.4);
}

.about-mark-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(29, 36, 26, 0.12);
}

.about-stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--green);
  line-height: 1;
}

.about-stat .label {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  opacity: 0.7;
  margin-top: 8px;
}

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   HOW WE WORK
   ============================================ */
.how {
  background: var(--orange);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.how-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
}

.how-deco.d1 {
  top: 60px;
  right: -40px;
  width: 280px;
}

.how-deco.d2 {
  bottom: 80px;
  left: -60px;
  width: 240px;
}

.how-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.how-header .sub {
  color: var(--yellow);
  margin-bottom: 16px;
  display: block;
}

.how-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  color: var(--cream);
  max-width: 18ch;
  margin: 0 auto;
}

.how-header h2 .underline {
  position: relative;
  display: inline-block;
}

.how-header h2 .underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M0,7 Q25,0 50,7 T100,7 T150,7 T200,7' stroke='%23ffbf30' stroke-width='3' fill='none'/></svg>") no-repeat center/100% 100%;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.step {
  position: relative;
  padding-top: 24px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--yellow);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}

.step-num small {
  font-size: 1rem;
  font-family: var(--font-sub);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cream);
  opacity: 0.6;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--cream);
}

.step p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.92;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

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

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  background: var(--cream);
  position: relative;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}

.products-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  color: var(--green);
  max-width: 12ch;
}

.products-header h2 .ital {
  font-style: italic;
  color: var(--orange);
}

.products-header .meta {
  text-align: right;
  max-width: 320px;
}

.products-header .meta .sub {
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
}

.products-header .meta p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.chip {
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  transition: all 0.2s;
}

.chip:hover {
  background: var(--green);
  color: var(--cream);
}

.chip.active {
  background: var(--green);
  color: var(--cream);
}

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

.product-card {
  position: relative;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(.2, .7, .3, 1), box-shadow 0.4s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -25px rgba(29, 36, 26, 0.3);
}

.product-card .img {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card .meta {
  padding: 18px 20px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-card .name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.product-card .cat {
  font-family: var(--font-sub);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
  font-weight: 600;
}

.product-card .price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--orange);
  white-space: nowrap;
}

.product-card .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}

.product-card .quick {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
  z-index: 2;
}

.product-card:hover .quick {
  opacity: 1;
  transform: translateY(0);
}

/* uniform grid — all cards same size */
.product-grid .product-card {
  grid-column: span 1;
}

.product-grid .product-card .img {
  aspect-ratio: 4 / 5;
}

@media (max-width: 820px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid .product-card {
    grid-column: span 1 !important;
  }
}

/* ============================================
   ARTISTS — hall of fame
   ============================================ */
.artists {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.artists-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.1;
}

.artists-deco.a1 {
  top: 80px;
  right: -30px;
  width: 220px;
  transform: rotate(20deg);
}

.artists-deco.a2 {
  bottom: 100px;
  left: -40px;
  width: 280px;
  transform: rotate(-15deg);
}

.artists-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.artists-header .sub {
  color: var(--yellow);
  display: block;
  margin-bottom: 16px;
}

.artists-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  color: var(--cream);
}

.artists-header p {
  margin-top: 18px;
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* Hall-of-fame grid */
.hall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.hall-card {
  position: relative;
  background: rgba(246, 239, 223, 0.06);
  border: 1px solid rgba(246, 239, 223, 0.14);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(.2, .7, .3, 1), box-shadow 0.4s, border-color 0.3s;
}

.hall-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.5);
}

.hall-portrait {
  aspect-ratio: 5/4;
  position: relative;
  overflow: hidden;
}

.hall-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 62, 90, 0) 40%, rgba(47, 62, 90, 0.85) 100%);
  pointer-events: none;
}

.hall-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
}

.hall-body {
  padding: 28px 30px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hall-name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  color: var(--cream);
  margin-bottom: 4px;
  line-height: 1.05;
}

.hall-role {
  font-family: var(--font-sub);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--yellow);
}

.hall-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: rgba(246, 239, 223, 0.7);
  transition: color 0.2s, gap 0.2s;
}

.hall-card:hover .hall-cta {
  color: var(--yellow);
  gap: 14px;
}

.hall-arrow {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.2s;
}

.hall-card:hover .hall-arrow {
  transform: rotate(-45deg);
  background: var(--cream);
}

@media (max-width: 820px) {
  .hall {
    grid-template-columns: 1fr;
  }
}

/* Artist modal */
.artist-modal {
  background: var(--paper);
  border-radius: 26px;
  max-width: 1040px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  position: relative;
  animation: pop 0.4s cubic-bezier(.2, .7, .3, 1);
}

.artist-modal-img {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.artist-modal-body {
  padding: 56px 50px 50px;
  overflow-y: auto;
  position: relative;
}

.artist-modal-body .role-tag {
  display: inline-block;
  font-family: var(--font-sub);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--orange);
  background: rgba(224, 117, 38, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.artist-modal-body h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--green);
  margin-bottom: 8px;
  line-height: 1.05;
}

.artist-modal-body .location {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink);
  opacity: 0.6;
  margin-bottom: 28px;
}

.artist-modal-body p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--ink);
}

.artist-modal-body .quote {
  margin-top: 26px;
  padding: 22px 24px;
  background: var(--cream);
  border-radius: 14px;
  border-left: 4px solid var(--orange);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--green);
}

.artist-modal-body .works {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(29, 36, 26, 0.12);
}

.artist-modal-body .works h4 {
  font-family: var(--font-sub);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 14px;
  grid-column: 1 / -1;
}

.artist-modal-body .work-thumb {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
}

@media (max-width: 820px) {
  .artist-modal {
    grid-template-columns: 1fr;
    max-height: 95vh;
    overflow-y: auto;
  }

  .artist-modal-img {
    min-height: 280px;
    aspect-ratio: 4/3;
  }

  .artist-modal-body {
    padding: 36px 28px 30px;
  }
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
  background: var(--paper);
}

.partners-header {
  text-align: center;
  margin-bottom: 60px;
}

.partners-header .sub {
  color: var(--orange);
  display: block;
  margin-bottom: 14px;
}

.partners-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--green);
}

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

.partner {
  padding: 60px 32px 44px;
  background: var(--cream);
  border-radius: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.partner:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -25px rgba(29, 36, 26, 0.25);
}

.partner-logo {
  height: 130px;
  max-width: 80%;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.partner-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.75;
  max-width: 32ch;
}

@media (max-width: 820px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--sky);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.contact-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.14;
}

.contact-deco.c1 {
  top: 40px;
  left: -60px;
  width: 320px;
}

.contact-deco.c2 {
  bottom: -40px;
  right: -60px;
  width: 380px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-inner .sub {
  color: var(--yellow);
  display: block;
  margin-bottom: 18px;
}

.contact-inner h2 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  margin-bottom: 28px;
}

.contact-inner h2 .ital {
  font-style: italic;
  color: var(--yellow);
}

.contact-inner p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 44ch;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(246, 239, 223, 0.08);
  border: 1px solid rgba(246, 239, 223, 0.18);
  border-radius: 14px;
  transition: all 0.25s;
}

.contact-item:hover {
  background: rgba(246, 239, 223, 0.14);
  transform: translateX(4px);
}

.contact-item .ico {
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .label {
  font-family: var(--font-sub);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 4px;
}

.contact-item .val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}

@media (max-width: 820px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PURA VIDA / FOOTER
   ============================================ */
.puravida {
  background: var(--yellow);
  color: var(--green-deep);
  padding: clamp(60px, 8vw, 120px) 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.puravida-big {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 14rem);
  line-height: 0.9;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}

.puravida-big .ital {
  font-style: italic;
  color: var(--orange);
}

.puravida-sub {
  font-family: var(--font-sub);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.9rem;
  margin-top: 30px;
  color: var(--green-deep);
}

.puravida-marquee {
  margin-top: 60px;
  white-space: nowrap;
  overflow: hidden;
  border-top: 2px solid var(--green-deep);
  border-bottom: 2px solid var(--green-deep);
  padding: 18px 0;
}

.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-deep);
}

.marquee-track span {
  display: inline-block;
  padding: 0 24px;
}

.marquee-track .dot {
  color: var(--orange);
  padding: 0 12px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.footer {
  background: var(--green-deep);
  color: var(--cream);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-logo {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
  align-self: flex-start;
  display: block;
  margin-bottom: 4px;
}

.footer-brand p {
  font-family: var(--font-sub);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.7;
  max-width: 28ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li a {
  font-size: 0.92rem;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col li a:hover {
  color: var(--yellow);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(246, 239, 223, 0.15);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   MODAL
   ============================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(29, 36, 26, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal {
  background: var(--paper);
  border-radius: 22px;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  animation: pop 0.35s cubic-bezier(.2, .7, .3, 1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.modal-img {
  aspect-ratio: auto;
  position: relative;
}

.modal-body {
  padding: 50px 40px;
  overflow-y: auto;
}

.modal-body .cat {
  font-family: var(--font-sub);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 14px;
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--green);
  margin-bottom: 18px;
  line-height: 1.1;
}

.modal-body p {
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.modal-body .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--orange);
  margin: 24px 0;
}

.modal-body .specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(29, 36, 26, 0.12);
}

.modal-body .specs li {
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}

.modal-body .specs li span:first-child {
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--green);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 720px) {
  .modal {
    grid-template-columns: 1fr;
    max-height: 95vh;
    overflow-y: auto;
  }

  .modal-img {
    aspect-ratio: 1;
  }

  .modal-body {
    padding: 30px 24px;
  }
}

/* ============================================
   SECTION TRANSITIONS (wavy borders)
   ============================================ */
.section-transition {
  display: block;
  line-height: 0;
}

.section-transition svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .7, .3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}