/* ==========================================================================
   Imgrafic — Centro de Impresión
   Tokens: yellow (brand), ink teal, warm orange, sky teal — sampled from
   the real shop signage. Display + body: Switzer (self-hosted, free
   Neue Haas Grotesk-style neo-grotesque). Labels/mono: IBM Plex Mono
   (job-ticket / print-spec feel).
   ========================================================================== */

@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #FABF04;
  --yellow-deep: #E0A800;
  --ink: #06363F;
  --ink-deep: #042A31;
  --ink-70: rgba(6, 54, 63, .72);
  --ink-40: rgba(6, 54, 63, .4);
  --paper: #FFF8EC;
  --paper-dim: #F4ECD9;
  --paper-70: rgba(255, 248, 236, .78);
  --orange: #F58150;
  --sky: #1783A6;
  --white: #FFFFFF;

  --font-display: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  --wrap: min(72rem, 92vw);
  --radius: 18px;
  --radius-xl: 12px;
  --radius-2xl: 22.5px;
  --radius-3xl: 36px;

  /* Type scale + spacing rhythm (adapted from a reference system) */
  --text-subheading: 1.125rem;   /* 18px */
  --leading-subheading: 1;
  --text-heading-sm: 1.5rem;     /* 24px */
  --leading-heading-sm: 1.09;
  --text-lead: 1.8125rem;        /* 29px */
  --leading-lead: 1.26;
  --text-heading-lg: 2.5625rem;  /* 41px */
  --leading-heading-lg: .9;

  --sp-8: .5rem;
  --sp-12: .75rem;
  --sp-18: 1.125rem;
  --sp-24: 1.5rem;
  --sp-31: 1.9375rem;
  --sp-41: 2.5625rem;
  --sp-45: 2.8125rem;
  --sp-68: 4.25rem;

  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

p { margin: 0; }

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

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

.wrap {
  width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) {
  .wrap { padding-inline: 0; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow);
  color: var(--ink);
  padding: .75rem 1.25rem;
  font-family: var(--font-mono);
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; border-radius: 8px; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--ink-70);
  margin-bottom: 1rem;
  display: block;
}
.eyebrow-dark { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  white-space: nowrap;
  min-height: 44px;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.96); }

.btn-primary { background: var(--ink); color: var(--yellow); }
.btn-primary:hover { background: var(--ink-deep); }

.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-call {
  background: var(--yellow);
  color: var(--ink);
  padding: .65rem 1.15rem;
  font-size: .9rem;
}
.btn-call:hover { background: var(--yellow-deep); }
/* Narrow phones: the header pill shrinks to just the phone icon */
@media (max-width: 399px) {
  .header-actions .btn-call { padding: .65rem .8rem; }
  .header-actions .btn-call-num { display: none; }
}
.header-actions .btn-call {
  animation: call-pulse 2.6s ease-out infinite;
}
.header-actions .btn-call:hover,
.header-actions .btn-call:focus-visible {
  animation-play-state: paused;
}
@keyframes call-pulse {
  0% { box-shadow: 0 0 0 0 rgba(250,191,4,.55); }
  70% { box-shadow: 0 0 0 10px rgba(250,191,4,0); }
  100% { box-shadow: 0 0 0 0 rgba(250,191,4,0); }
}

.btn-primary-inverse { background: var(--yellow); color: var(--ink); }
.btn-primary-inverse:hover { background: var(--white); }

.btn-ghost-inverse { border-color: var(--paper-70); color: var(--paper); }
.btn-ghost-inverse:hover { background: var(--paper); color: var(--ink); }

.btn-primary::after,
.btn-primary-inverse::after,
.btn-ghost::after {
  content: "\2192";
  display: inline-block;
  transition: transform .25s ease;
}
.btn-primary:hover::after,
.btn-primary-inverse:hover::after,
.btn-ghost:hover::after {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid rgba(6,54,63,.08);
}
#servicios,
#resenas,
#nosotros,
#faq,
#contacto {
  scroll-margin-top: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .9rem;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.main-nav {
  display: none;
  gap: 2rem;
  font-weight: 500;
  font-size: .95rem;
}
.main-nav a {
  position: relative;
  padding-bottom: 3px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover { color: var(--sky); }
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 12px 24px -8px rgba(6,54,63,.35);
  transition: max-height .3s ease;
}
.mobile-nav.open { max-height: 400px; }
.mobile-nav a {
  color: var(--paper);
  padding: 1rem var(--wrap, 6vw);
  padding-inline: 4vw;
  border-top: 1px solid rgba(255,248,236,.12);
  font-weight: 500;
}
.mobile-nav .btn-call { margin: 1rem 4vw; align-self: flex-start; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  margin: 1rem 1rem 2.5rem;
  border-radius: var(--radius-3xl);
  background: var(--yellow);
  padding-block: clamp(4rem, 12vw, 6.5rem) clamp(2.75rem, 7vw, 4.5rem);
  text-align: center;
  /* Fill the first screen: viewport minus the sticky header and the
     hero's own top margin, mirrored below so the card's edge stays visible */
  min-height: calc(100svh - var(--header-h, 77px) - 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--ink-40);
  z-index: 2;
  pointer-events: none;
}
.hero::before { top: 28px; left: 4vw; border-top: 2px solid; border-left: 2px solid; }
.hero::after { top: 28px; right: 4vw; border-top: 2px solid; border-right: 2px solid; }
.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.blob {
  position: absolute;
  display: block;
}
/* Mobile layout (base) */
.blob-white       { left: -7%; top: 22%; width: 45%; height: 32%; animation: blobFloat 5s ease-in-out infinite; }
.blob-orange      { left: 19%; top: -3%; width: 27%; height: 31%; animation: blobDrift 5s ease-in-out infinite; }
.blob-teal        { right: 0; top: -3%; width: 27%; height: 30%; animation: blobBob 5s ease-in-out infinite; }
.blob-yellowdeep  { left: -5%; bottom: -2%; width: 90%; height: 22%; animation: blobRise 5s ease-in-out infinite; }
.blob-translucent { right: 2%; bottom: -3%; width: 33%; height: 32%; animation: blobDriftFade 5s ease-in-out infinite; }

@media (min-width: 900px) {
  /* Desktop layout, matching the source artwork's wide proportions */
  .blob-white       { left: 0; top: 15%; width: 28%; height: 30%; }
  .blob-orange      { left: 13%; top: -4%; width: 22%; height: 30%; }
  .blob-teal        { right: 0; top: -4%; width: 20%; height: 29%; }
  .blob-yellowdeep  { left: 0; bottom: -4%; width: 48%; height: 28%; }
  .blob-translucent { right: 4%; bottom: -6%; width: 20%; height: 36%; }
}

@keyframes blobFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-13px) rotate(2.6deg); }
}
@keyframes blobDrift {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(18px); }
}
@keyframes blobBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(11px) rotate(-3deg); }
}
@keyframes blobRise {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-8px, -15px); }
}
@keyframes blobDriftFade {
  0%, 100% { transform: translate(0, 0); opacity: .92; }
  50%      { transform: translate(-15px, -20px); opacity: 1; }
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-size: clamp(2rem, 6.5vw, 4.4rem);
  font-weight: 800;
  max-width: 16em;
}
.hero-title-accent {
  position: relative;
  display: inline-block;
  padding: 0 .15em;
}
.hero-title-accent::before {
  content: "";
  position: absolute;
  inset: .18em -0.05em 0.08em;
  background: var(--paper);
  transform: rotate(-1.2deg);
  z-index: -1;
  border-radius: 3px;
}
/* When the highlighted phrase wraps on phones, paint the highlight per line */
@media (max-width: 599px) {
  .hero-title-accent {
    display: inline;
    background: var(--paper);
    border-radius: 3px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  .hero-title-accent::before { display: none; }
}
.hero-sub {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--ink-70);
}
.hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero .hero-ctas { justify-content: center; }
.hero-trust {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-70);
}
@media (min-width: 640px) {
  .hero-trust > * + *::before { content: "·"; margin-right: 1rem; }
}
.hero-trust a { color: var(--ink); font-weight: 600; }
.hero-trust a:hover { text-decoration: underline; }
.hero-trust-star { color: var(--ink); }

/* Mid-page nudges back to the contact block */
.services-cta,
.faq-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  text-align: center;
}
.services-cta p,
.faq-cta p { font-size: 1.1rem; font-weight: 500; max-width: 30rem; }

/* Staggered hero entrance: the observed wrapper stays put and just
   flags .is-visible; each child cascades in on its own delay. */
.reveal.stagger-parent { opacity: 1; transform: none; }
.stagger-parent .stagger-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.stagger-parent.is-visible .stagger-item { opacity: 1; transform: none; }
.stagger-parent.is-visible .stagger-item:nth-child(1) { transition-delay: .05s; }
.stagger-parent.is-visible .stagger-item:nth-child(2) { transition-delay: .18s; }
.stagger-parent.is-visible .stagger-item:nth-child(3) { transition-delay: .31s; }
.stagger-parent.is-visible .stagger-item:nth-child(4) { transition-delay: .44s; }
.stagger-parent.is-visible .stagger-item:nth-child(5) { transition-delay: .57s; }

@media (min-width: 900px) {
  .hero { margin: 1.5rem 1.5rem 2.5rem; padding-block: clamp(5rem, 11vw, 7.5rem) clamp(3.5rem, 6vw, 5rem); min-height: calc(100svh - var(--header-h, 77px) - 3rem); }
}

/* ---------- Marquee band ---------- */
.marquee-band {
  background: var(--ink);
  overflow: hidden;
  padding-block: 1.6rem;
}
.marquee {
  display: flex;
  width: max-content;
  animation: scroll-left 78s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.marquee-track {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0 .5rem 0 0;
  flex-shrink: 0;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee:hover,
.marquee:focus-within { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  padding: .6rem 1.3rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .2s ease;
}
.tag:hover { transform: translateY(-3px) scale(1.05); }
.tag-orange { background: var(--orange); color: var(--ink); }
.tag-cream { background: var(--paper); color: var(--ink); }
.tag-sky { background: var(--sky); color: var(--paper); }
.tag-ink { background: var(--ink-deep); color: var(--paper); border: 1.5px solid rgba(255,248,236,.25); }

/* ---------- Services: card grid ---------- */
.services { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.services-intro { text-align: center; }
.services-heading {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
}
.services-lede {
  margin: 1.25rem auto 0;
  max-width: 38rem;
  color: var(--ink-70);
  font-size: 1.05rem;
}

.services-grid {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(6,54,63,.1);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(6,54,63,.2);
  box-shadow: 0 26px 40px -26px rgba(6,54,63,.45);
}

.service-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-dim);
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.service-card:hover .service-thumb img { transform: scale(1.06); }

.service-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
  padding: 1.4rem 1.4rem 1.65rem;
}
.service-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.18;
}
.service-body p {
  color: var(--ink-70);
  font-size: .95rem;
  line-height: 1.6;
}

.services-grid > .reveal:nth-child(2).is-visible { transition-delay: .07s; }
.services-grid > .reveal:nth-child(3).is-visible { transition-delay: .14s; }
.services-grid > .reveal:nth-child(4).is-visible { transition-delay: .21s; }
.services-grid > .reveal:nth-child(5).is-visible { transition-delay: .28s; }
.services-grid > .reveal:nth-child(6).is-visible { transition-delay: .35s; }
.services-grid > .reveal:nth-child(7).is-visible { transition-delay: .42s; }
.services-grid > .reveal:nth-child(8).is-visible { transition-delay: .49s; }
.services-grid > .reveal:nth-child(9).is-visible { transition-delay: .56s; }

/* ---------- Reviews carousel ---------- */
.reviews {
  position: relative;
  overflow: hidden;
  margin: 1rem 1rem 2.5rem;
  border-radius: var(--radius-3xl);
  background: var(--ink);
  color: var(--paper-70);
  padding-block: clamp(3rem, 7vw, 4.75rem);
}
.reviews::before,
.reviews::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 22px;
  height: 22px;
  border-color: rgba(255,248,236,.32);
  z-index: 2;
  pointer-events: none;
}
.reviews::before { left: 4vw; border-top: 2px solid; border-left: 2px solid; }
.reviews::after { right: 4vw; border-top: 2px solid; border-right: 2px solid; }
@media (min-width: 900px) {
  .reviews { margin: 1.5rem 1.5rem 2.5rem; }
}

.reviews-head { text-align: center; }
.reviews-heading {
  color: var(--paper);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}
.reviews-lede {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  color: var(--paper-70);
  font-size: 1.05rem;
}
.reviews-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.5rem;
}
.reviews-google { width: 18px; height: 18px; flex-shrink: 0; }
.reviews-score-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--paper);
}
.reviews-score-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper-70);
}

.stars { display: inline-flex; gap: 2px; }
.star {
  width: 1rem;
  height: 1rem;
  fill: var(--yellow);
  flex-shrink: 0;
}
.star.is-empty { fill: rgba(255,248,236,.22); }

.reviews-carousel { margin-top: clamp(2.25rem, 5vw, 3rem); }
.reviews-viewport { overflow: hidden; }
.reviews-track {
  --reviews-gap: 1.25rem;
  --reviews-visible: 1;
  display: flex;
  gap: var(--reviews-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc((100% - (var(--reviews-visible) - 1) * var(--reviews-gap)) / var(--reviews-visible));
  display: flex;
  flex-direction: column;
  background: var(--ink-deep);
  border: 1px solid rgba(255,248,236,.14);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
}
.review-quote {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: .62;
  color: var(--yellow);
  opacity: .5;
}
.review-text {
  margin-top: 1.15rem;
  flex-grow: 1;
  color: var(--paper);
  line-height: 1.62;
}
.review-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.6rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255,248,236,.14);
}
.review-avatar {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .82rem;
}
.review-avatar.is-yellow { background: var(--yellow); color: var(--ink); }
.review-avatar.is-sky { background: var(--sky); color: var(--paper); }
.review-avatar.is-orange { background: var(--orange); color: var(--ink); }
.review-meta { min-width: 0; }
.review-name {
  color: var(--paper);
  font-weight: 600;
  font-size: .92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review-rating {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .15rem;
}
.review-source {
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper-70);
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.85rem;
}
.reviews-arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.reviews-arrow svg { width: 20px; height: 20px; }
.reviews-arrow:hover { background: var(--paper); transform: scale(1.08); }
.reviews-arrow:active { transform: scale(.94); }

.reviews-dots { display: flex; align-items: center; gap: .45rem; }
.reviews-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255,248,236,.3);
  cursor: pointer;
  transition: background .3s ease, width .3s ease;
}
.reviews-dot:hover { background: rgba(255,248,236,.55); }
.reviews-dot.is-active { background: var(--yellow); width: 22px; }

.reviews-link-row { text-align: center; margin-top: 1.65rem; }
.reviews-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper-70);
  transition: color .2s ease, border-color .2s ease;
}
.reviews-link svg { width: 15px; height: 15px; }
.reviews-link:hover { color: var(--paper); border-bottom-color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  .reviews-track { transition: none; }
}

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(3rem, 7vw, 4.5rem); }
.faq-intro { text-align: center; }
.faq-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}
.faq-list {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  max-width: 46rem;
}
.faq-item { border-bottom: 1px solid rgba(6,54,63,.14); }
.faq-item:first-child { border-top: 1px solid rgba(6,54,63,.14); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.3rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--sky); }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-answer { padding-bottom: 1.4rem; }
.faq-answer p {
  color: var(--ink-70);
  line-height: 1.65;
}

/* ---------- About: statement + shop-photo carousel ---------- */
.eyebrow-invert { color: var(--paper-70); }

.about {
  position: relative;
  overflow: hidden;
  margin: 1rem 1rem 2.5rem;
  border-radius: var(--radius-3xl);
  background: var(--paper-dim);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.about::before,
.about::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--ink-40);
  z-index: 2;
  pointer-events: none;
}
.about::before { top: 28px; left: 4vw; border-top: 2px solid; border-left: 2px solid; }
.about::after { top: 28px; right: 4vw; border-top: 2px solid; border-right: 2px solid; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.about-text {
  max-width: 34rem;
}
.about-body {
  margin-top: 1.5rem;
  color: var(--ink-70);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 34rem;
}
.about-text .about-body { margin-top: 0; }
.about-body + .about-body { margin-top: 1.1rem; }
.about-lead {
  font-size: 1.12rem;
  color: var(--ink);
}
.about-features {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.about-features li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: start;
}
.about-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.about-icon svg { width: 24px; height: 24px; }
.about-features h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}
.about-features p {
  margin-top: .35rem;
  color: var(--ink-70);
  font-size: .97rem;
  line-height: 1.55;
}

.about-carousel {
  position: relative;
  min-width: 0;
}
.about-carousel-viewport {
  overflow: hidden;
  height: clamp(24rem, 62vh, 42rem);
}
.about-carousel-track {
  display: flex;
  height: 100%;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}
.about-carousel-track li {
  flex: 0 0 auto;
  height: 100%;
  width: auto;
  aspect-ratio: 3 / 4;
}
.about-carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

@media (min-width: 900px) {
  .about { margin: 1.5rem 1.5rem 2.5rem; }
}

@media (max-width: 899px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-text {
    max-width: none;
  }
  .about-carousel {
    margin-top: clamp(2.5rem, 6vw, 4rem);
  }
  .about-carousel-viewport {
    height: clamp(200px, 46vh, 320px);
  }
}

@media (max-width: 640px) {
  .about-carousel-track li { aspect-ratio: 4 / 5; }
}

/* ---------- Projects / latest work ---------- */
.projects { padding-block: 5.5rem; background: var(--paper-dim); }
.projects-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.projects-header h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.projects-sub { margin-top: .5rem; color: var(--ink-70); }
.projects-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-24);
}
.project-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-2xl);
  padding: var(--sp-24);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 34px -22px rgba(6,54,63,.28);
}
.project-thumb {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--sp-18);
  aspect-ratio: 16 / 10;
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-desc { font-size: 1.05rem; }
.project-footer {
  margin-top: var(--sp-18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.project-meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: var(--paper-dim);
  color: var(--ink-70);
  border: 1px solid rgba(6,54,63,.12);
}
.project-badge {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sky);
}
@media (min-width: 700px) {
  .projects-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Footer (CTA merged into its top zone) ---------- */
.site-footer { padding: 1rem; }
.footer-card {
  position: relative;
  background: var(--ink-deep);
  color: var(--paper-70);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  padding-block: 0 2.5rem;
}
@media (min-width: 900px) {
  .site-footer { padding: 1.5rem; }
}

.footer-cta {
  position: relative;
  background: var(--yellow);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem);
}
.footer-cta::before,
.footer-cta::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 20px;
  height: 20px;
  border-color: var(--ink-40);
  z-index: 2;
  pointer-events: none;
}
.footer-cta::before { left: 4vw; border-top: 2px solid; border-left: 2px solid; }
.footer-cta::after { right: 4vw; border-top: 2px solid; border-right: 2px solid; }
.cta-inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  text-align: left;
}
.cta-inner h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  max-width: 24rem;
}
.cta-sub {
  margin: 1.25rem 0 2rem;
  max-width: 24rem;
  color: var(--ink-70);
  font-size: 1.05rem;
}
@media (min-width: 800px) {
  .cta-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

/* Email card, styled like the shop's job ticket */
.cta-mail {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-2xl);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  box-shadow: 0 18px 40px -24px rgba(6,54,63,.45);
}
.cta-mail-title {
  justify-self: stretch;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-70);
  padding-bottom: .9rem;
  border-bottom: 1.5px dashed rgba(6,54,63,.25);
}
.cta-mail-text { color: var(--ink-70); font-size: 1.05rem; }
.cta-mail-address {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3.5vw, 1.5rem);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.cta-mail-address:hover { color: var(--sky); }
.cta-mail-note {
  font-family: var(--font-mono);
  font-size: .8rem;
  line-height: 1.5;
  color: var(--ink-70);
}

/* Location strip */
.footer-locate {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 248, 236, .14);
}
@media (min-width: 800px) {
  .footer-locate { grid-template-columns: .85fr 1.15fr; gap: 3rem; }
}
.locate-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.04;
  color: var(--paper);
  margin: .75rem 0 1.25rem;
}
.locate-address { line-height: 1.55; margin-bottom: 1.75rem; }

.locate-map {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  border: 1px solid rgba(255, 248, 236, .16);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.locate-map-svg { width: 100%; height: 100%; display: block; }
.map-road { fill: none; stroke: rgba(255, 248, 236, .16); stroke-width: 2; }
.map-road-hi {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 5 7;
  animation: map-route 14s linear infinite;
}
@keyframes map-route { to { stroke-dashoffset: -240; } }
.map-pin-pulse {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  transform-origin: 84px 58px;
  animation: map-pulse 2.4s ease-out infinite;
}
@keyframes map-pulse {
  0% { r: 6; stroke-opacity: .9; }
  100% { r: 34; stroke-opacity: 0; }
}
.map-pin { fill: var(--orange); }
.map-pin-dot { fill: var(--ink); }
.locate-coords {
  position: absolute;
  right: 1rem;
  bottom: .75rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper-70);
}
@media (prefers-reduced-motion: reduce) {
  .map-road-hi { animation: none; }
  .map-pin-pulse { animation: none; }
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}
.footer-brand p { margin-top: .9rem; color: var(--paper-70); line-height: 1.5; }
.footer-brand .brand-word,
.footer-brand .brand-badge { color: var(--paper); }
.footer-brand .brand-badge { background: var(--yellow); color: var(--ink); }
.footer-heading {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .9rem;
}
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
  position: relative;
  width: fit-content;
}
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.footer-col a:hover { color: var(--paper); }
.footer-col a:hover::after,
.footer-col a:focus-visible::after { transform: scaleX(1); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,248,236,.12);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--paper-70);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
}
.footer-credit { color: var(--paper-70); }
.footer-credit a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255,248,236,.35); transition: color .2s ease, text-decoration-color .2s ease; }
.footer-credit a:hover,
.footer-credit a:focus-visible { color: var(--paper); text-decoration-color: currentColor; }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-grid > .reveal:nth-child(2).is-visible { transition-delay: .1s; }
.footer-grid > .reveal:nth-child(3).is-visible { transition-delay: .2s; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
/* Entrance variants, so consecutive sections don't all fade up identically.
   These set the resting (pre-reveal) transform only; .is-visible below must
   come AFTER them in source order so its `transform: none` reset always
   wins the cascade once an element is revealed (equal specificity otherwise
   leaves the modifier's offset permanently stuck). */
.reveal.from-left { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.pop { transform: translateY(22px) scale(.94); }

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
