/* ============================================================
   GRAND STORES — YAUCO PLAZA
   Tokens
   ============================================================ */
:root{
  --red: #f80824;
  --red-dark: #c40015;
  --red-ink: #7a000f;
  --gold: #ffb100;
  --ink: #17181c;
  --ink-soft: #4a4b52;
  --paper: #ffffff;
  --cloud: #f5f4f2;
  --line: #e7e5e1;

  --display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius: 14px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------------- Buttons ---------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:focus-visible{ outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-primary{ background: var(--red); color: #fff; }
.btn-primary:hover{ background: var(--red-dark); transform: translateY(-1px); }
.btn-outline{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover{ border-color: var(--red); color: var(--red); }
.btn-ghost-white{ background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost-white:hover{ border-color: #fff; }

/* ---------------- Top bar ---------------- */
.topbar{
  background: var(--ink);
  color: #ddd;
  font-size: 0.8rem;
}
.topbar .wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a{ color: #fff; }
.topbar .divider{ opacity: 0.4; margin: 0 8px; }

/* ---------------- Header / nav ---------------- */
header.site{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand .word{
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand .word span{ color: var(--red); }
.brand .tag{
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.navlinks{
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  font-weight: 600;
  font-size: 0.94rem;
}
.navlinks a{ position: relative; padding: 4px 2px; }
.navlinks a::after{
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.navlinks a:hover::after, .navlinks a.active::after{ transform: scaleX(1); }
.navlinks a.active{ color: var(--red); }
.navcta{ display: flex; align-items: center; gap: 10px; }
.navcta .phone{
  font-weight: 700; font-size: 0.92rem; display: flex; align-items:center; gap:6px;
}
.burger{ display: none; }

@media (max-width: 860px){
  .navlinks{ display: none; }
  .navcta .btn{ padding: 10px 16px; font-size: 0.85rem; }
}

/* ---------------- Ribbon signature ---------------- */
.ribbon{
  position: absolute;
  top: 18px; right: -46px;
  background: var(--ink);
  color: #fff;
  font-family: var(--body);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 52px;
  transform: rotate(40deg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.ribbon.gold{ background: var(--gold); color: var(--ink); }

/* ---------------- Hero ---------------- */
.hero{
  padding: 64px 0 56px;
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(248,8,36,0.07), transparent 60%),
    var(--paper);
}
.hero .grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1{
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  margin-top: 10px;
}
.hero h1 em{
  font-style: normal;
  color: var(--red);
}
.hero p.lead{
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 18px 0 28px;
}
.hero .cta-row{ display: flex; gap: 14px; flex-wrap: wrap; }
.hero .stats{
  display: flex;
  gap: 26px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero .stats .stat b{
  display: block; font-family: var(--display); font-size: 1.5rem; color: var(--ink);
}
.hero .stats .stat span{ font-size: 0.78rem; color: var(--ink-soft); }

.hero-collage{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-collage img{
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(23,24,28,0.35);
}
.hero-collage .tall{ grid-row: span 2; height: 100%; }
.hero-collage .card-badge{
  position: absolute;
  bottom: -16px; left: -16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.25);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
}
.hero-collage .card-badge .dot{
  width: 10px; height: 10px; border-radius: 50%; background: #17c964; flex: none;
}

@media (max-width: 860px){
  .hero .grid{ grid-template-columns: 1fr; }
  .hero-collage{ order: -1; }
}

/* ---------------- Section shells ---------------- */
section{ padding: 64px 0; }
.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head h2{ font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin-top: 8px; }
.section-head p{ color: var(--ink-soft); max-width: 52ch; margin-top: 8px; }
.cloud{ background: var(--cloud); }

/* ---------------- Departments ---------------- */
.dept-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dept-card{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--ink);
  isolation: isolate;
}
.dept-card img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.dept-card:hover img{ transform: scale(1.06); }
.dept-card::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.05) 55%);
  z-index: 1;
}
.dept-card .label{
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  color: #fff;
}
.dept-card .label .kicker{ font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; opacity: 0.85; }
.dept-card .label h3{ font-size: 1.3rem; margin-top: 4px; }
.dept-card .label .arrow{ margin-top: 10px; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }

@media (max-width: 980px){ .dept-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .dept-grid{ grid-template-columns: 1fr; } }

/* ---------------- Product cards ---------------- */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover{ box-shadow: 0 16px 34px -20px rgba(23,24,28,0.35); transform: translateY(-3px); }
.product-card .thumb{
  position: relative;
  aspect-ratio: 1/1;
  background: var(--cloud);
  overflow: hidden;
}
.product-card .thumb img{ width: 100%; height: 100%; object-fit: cover; }
.product-card .tag-sale{
  position: absolute; top: 10px; left: 10px;
  background: var(--red); color: #fff; font-size: 0.68rem; font-weight: 800;
  padding: 4px 8px; border-radius: 6px; letter-spacing: 0.03em;
}
.product-card .info{ padding: 14px 16px 18px; }
.product-card .info .cat{ font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 700; }
.product-card .info h4{ font-size: 0.98rem; margin-top: 6px; font-weight: 700; }
.product-card .price{ margin-top: 8px; font-weight: 800; font-family: var(--display); }
.product-card .price .old{ font-weight: 500; color: var(--ink-soft); text-decoration: line-through; margin-left: 8px; font-size: 0.85rem; font-family: var(--body); }

@media (max-width: 980px){ .product-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .product-grid{ grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ---------------- Filter tabs ---------------- */
.tabs{
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.tab{
  border: 2px solid var(--line);
  background: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.tab.is-active, .tab:hover{ border-color: var(--red); color: var(--red); }

/* ---------------- Trust strip ---------------- */
.trust-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
}
.trust-item .ico{
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; margin-bottom: 14px;
}
.trust-item h3{ font-size: 1.05rem; }
.trust-item p{ color: var(--ink-soft); font-size: 0.92rem; margin-top: 8px; }

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

/* ---------------- Location band ---------------- */
.locate{
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.locate .eyebrow{ color: var(--gold); }
.locate h2{ color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 8px; }
.locate .addr{ margin-top: 18px; font-size: 1.02rem; line-height: 1.6; color: #e7e7ea; }
.hours-table{ width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 0.92rem; }
.hours-table td{ padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.12); color: #e7e7ea; }
.hours-table td:last-child{ text-align: right; font-weight: 700; color: #fff; }
.locate .map-wrap{ border-radius: 16px; overflow: hidden; min-height: 280px; }
.locate .map-wrap iframe{ width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

@media (max-width: 860px){
  .locate{ grid-template-columns: 1fr; padding: 28px; border-radius: 16px; }
}

/* ---------------- Newsletter / CTA band ---------------- */
.cta-band{
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2{ color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta-band p{ color: rgba(255,255,255,0.9); margin-top: 8px; }

/* ---------------- Footer ---------------- */
footer.site{
  background: var(--ink);
  color: #c9c9cd;
  padding: 56px 0 24px;
  margin-top: 40px;
}
.foot-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.foot-grid h4{ color: #fff; font-size: 0.92rem; margin-bottom: 14px; }
.foot-grid ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.foot-grid p{ font-size: 0.9rem; line-height: 1.6; color: #b6b6bc; margin-top: 10px; }
.foot-bottom{
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: #8b8b91; flex-wrap: wrap; gap: 10px;
}
.social-row{ display: flex; gap: 12px; }
.social-row a{
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}
.social-row a:hover{ border-color: var(--red); color: var(--red); }

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

/* ---------------- Page header (interior pages) ---------------- */
.pagehead{
  background: var(--cloud);
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}
.pagehead .eyebrow{ margin-bottom: 8px; }
.pagehead h1{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.pagehead p{ color: var(--ink-soft); margin-top: 10px; max-width: 60ch; }
.crumb{ font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 10px; }
.crumb a:hover{ color: var(--red); }

/* ---------------- About page bits ---------------- */
.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid img{ border-radius: var(--radius); }
.timeline{ margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.timeline .row{ display: flex; gap: 16px; }
.timeline .yr{ font-family: var(--display); font-weight: 800; color: var(--red); min-width: 64px; }
.timeline .tx{ color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 860px){ .about-grid{ grid-template-columns: 1fr; } }

/* ---------------- Contact page ---------------- */
.contact-pagehead{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 28%, rgba(248,8,36,0.12) 0 84px, transparent 85px),
    linear-gradient(135deg, #f7f5f1 0%, #fff 72%);
}
.contact-pagehead::after{
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -72px;
  bottom: -150px;
  border: 34px solid var(--red);
  border-radius: 50%;
  opacity: 0.08;
}
.contact-actions{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.contact-section{ padding: 72px 0 36px; }
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.contact-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--paper);
}
.contact-card + .contact-card{ margin-top: 18px; }
.contact-card h3{ font-size: 1rem; }
.contact-card p, .contact-card a{ color: var(--ink-soft); font-size: 0.94rem; margin-top: 6px; display: block; }
.contact-info-card{ display: flex; gap: 18px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.contact-info-card:hover{ transform: translateY(-2px); box-shadow: 0 18px 34px -28px rgba(23,24,28,0.55); }
.contact-icon{
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--cloud);
  font-size: 1.15rem;
}
.contact-info-body{ width: 100%; }
.contact-card .text-link{ color: var(--red); font-weight: 700; margin-top: 14px; }
.contact-card .contact-phone{ color: var(--ink); font-family: var(--display); font-size: 1.18rem; font-weight: 800; margin-top: 10px; }
.contact-socials{ display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.contact-card .contact-socials a{ display: inline-flex; margin: 0; padding: 8px 12px; border-radius: 999px; background: var(--cloud); font-size: 0.8rem; font-weight: 700; }
.contact-card .contact-socials a:hover{ background: var(--ink); color: #fff; }
.contact-hours{ color: var(--ink); margin-top: 12px; }
.contact-hours td{ border-color: var(--line); color: var(--ink-soft); }
.contact-hours td:last-child{ color: var(--ink); }
.contact-main{ display: grid; gap: 18px; }
.contact-form-card{ position: relative; overflow: hidden; padding: 36px; box-shadow: 0 24px 60px -42px rgba(23,24,28,0.48); }
.contact-form-card::before{ content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--red); }
.contact-form-card h2{ margin-top: 8px; font-size: clamp(1.45rem, 3vw, 2rem); }
.form-intro{ max-width: 52ch; line-height: 1.6; margin: 10px 0 24px !important; }
.hidden-field{ position: absolute; left: -9999px; }
.form-field{ margin-bottom: 16px; }
.form-field label{ display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.form-field input, .form-field textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fbfaf8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field textarea{ resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field textarea:focus{ outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(248,8,36,0.08); }
.form-submit{ width: 100%; justify-content: center; }
.form-note{ font-size: 0.8rem; color: var(--ink-soft); margin-top: 10px; }
.contact-map{ overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); }
.contact-map iframe{ display: block; width: 100%; height: 300px; border: 0; filter: saturate(0.8) contrast(1.05); }
.map-caption{ display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; color: #fff; }
.map-caption strong, .map-caption span{ display: block; }
.map-caption strong{ font-family: var(--display); font-size: 0.9rem; }
.map-caption span{ color: #b6b6bc; font-size: 0.8rem; margin-top: 3px; }
.map-caption a{ color: var(--gold); font-size: 0.84rem; font-weight: 800; white-space: nowrap; }

@media (max-width: 860px){
  .contact-section{ padding-top: 48px; }
  .contact-grid{ grid-template-columns: 1fr; gap: 28px; }
  .contact-form-card{ padding: 28px; }
}
@media (max-width: 560px){
  .contact-actions .btn{ width: 100%; justify-content: center; }
  .contact-section{ padding-top: 36px; }
  .contact-info-card{ padding: 22px; }
  .contact-form-card{ padding: 26px 22px; }
  .map-caption{ align-items: flex-start; flex-direction: column; }
}

/* ---------------- Contact confirmation ---------------- */
.thanks-page{ min-height: 100vh; background: linear-gradient(145deg, #f3f1ed, #fff 65%); }
.thanks-shell{ min-height: 100vh; display: grid; align-content: center; justify-items: center; gap: 28px; padding: 32px 24px; }
.thanks-card{ width: min(620px, 100%); padding: 52px; border: 1px solid var(--line); border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 32px 80px -54px rgba(23,24,28,0.7); }
.thanks-mark{ display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-size: 2rem; font-weight: 800; }
.thanks-card h1{ margin-top: 10px; font-size: clamp(2rem, 5vw, 3rem); }
.thanks-card p{ max-width: 52ch; margin: 18px auto 0; color: var(--ink-soft); line-height: 1.7; }
.thanks-actions{ display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 560px){
  .thanks-card{ padding: 38px 22px; }
  .thanks-actions .btn{ width: 100%; justify-content: center; }
}
