/* ==========================================================================
 Working hours and Contact
 The Contact section uses the .about two-column layout.
 ========================================================================== */

.about {
  display: grid;
  gap: 36px;
}
@media (min-width: 960px) {
  .about {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: start;
  }
}
.about h2 {
  font-size: clamp(42px, 5.6vw, 72px);
  margin-top: 12px;
}
.about .prose {
  display: grid;
  gap: 18px;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 36em;
}

/* Contact */
.contact-lead {
  margin-top: 20px;
}
.contact-address {
  margin-top: 28px;
  font-style: normal;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}
.contact-address strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}
.inline-link {
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: 4px;
  text-decoration: underline;
  text-decoration-color: rgba(163, 38, 31, 0.35);
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}
.inline-link:hover {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}
.inline-link:focus-visible,
.footer-grid a:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}
/* Floats above the warm background: warm cream with a blush of rose in one corner, a fine edge and a soft shadow */
.contact-card {
  min-width: 0; /* lets the card shrink on very small phones rather than widening the page */
  padding: 12px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(90, 160, 230, 0.12), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  box-shadow:
    inset 0 0 0 1px rgba(20, 40, 70, 0.07),
    inset 0 1px 0 #fff,
    var(--shadow-3);
  backdrop-filter: blur(8px);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  transition:
    background-color 0.2s ease,
    transform 0.2s var(--ease-spring);
}
.contact-row:hover {
  background: var(--blue-soft);
  transform: translateX(2px);
}
.contact-row:active {
  background: var(--champagne);
  transform: none;
}
.icon-ring {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--rose-50) 0%, var(--rose-100) 55%, var(--rose-200) 100%);
  color: var(--accent-ink);
  box-shadow:
    inset 0 0 0 1px rgba(163, 38, 31, 0.16),
    0 4px 10px rgba(163, 38, 31, 0.08);
}
/* Each kind of contact in its own soft colour (owner, 2026-11-07: colourful boxes, not all blue): calls in sage
   green, directions in rose, email in warm amber, Instagram in plum. Icons stay dark enough to read (over 4.5:1) */
.icon-ring.icon-ring-phone {
  background: linear-gradient(150deg, var(--sage-50) 0%, var(--sage-100) 55%, var(--sage-200) 100%);
  color: #1f6b3e;
  box-shadow:
    inset 0 0 0 1px rgba(31, 107, 62, 0.18),
    0 4px 10px rgba(31, 107, 62, 0.1);
}
.icon-ring.icon-ring-email {
  background: linear-gradient(150deg, #fdf6ea 0%, #f8e8cc 55%, #f0d6a8 100%);
  color: #8a5410;
  box-shadow:
    inset 0 0 0 1px rgba(138, 84, 16, 0.18),
    0 4px 10px rgba(138, 84, 16, 0.1);
}
.icon-ring.icon-ring-instagram {
  background: linear-gradient(150deg, #fbf0f6 0%, #f4dcea 55%, #e9c3da 100%);
  color: #8e2a62;
  box-shadow:
    inset 0 0 0 1px rgba(142, 42, 98, 0.18),
    0 4px 10px rgba(142, 42, 98, 0.1);
}
.icon-ring.icon-ring-whatsapp {
  background: #e5f5ec;
  color: var(--whatsapp);
  box-shadow: inset 0 0 0 1px rgba(18, 140, 74, 0.18);
}
.icon-ring svg {
  width: 22px;
  height: 22px;
}
.contact-row small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.contact-row > span:last-child {
  min-width: 0;
}
.contact-row strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere; /* the Instagram handle is one long word */
}
/* A contact row holding several links, e.g. both mobile numbers: each number is its own tap target */
.contact-group {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 16px;
}
.contact-group > div {
  min-width: 0;
  padding-top: 2px;
}
.contact-group small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.contact-choice {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 36px;
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere; /* the Instagram handle is one long word; the email breaks after its @ */
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}
.contact-choice:hover {
  color: var(--accent-ink);
  text-decoration-color: currentColor;
}
.contact-choice:active {
  color: var(--link-hover);
}
/* Each mobile number once: a tap opens its Call and WhatsApp buttons (renderNumberChoices in templates/parts.mjs) */
.contact-numbers {
  flex: 1;
}
.number-choice + .number-choice {
  border-top: 1px solid var(--line);
}
.number-choice summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.number-choice summary::-webkit-details-marker {
  display: none;
}
/* A chevron that turns when the number is open */
.number-choice summary::after {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s var(--ease-spring);
}
.number-choice[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.number-choice summary:hover {
  color: var(--accent-ink);
}
.number-choice summary:active {
  color: var(--link-hover);
}
.number-choice summary:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}
.number-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 2px 0 12px;
}
.number-choice[open] .number-actions {
  animation: number-actions-in 0.3s var(--ease-spring);
}
@keyframes number-actions-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.number-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--rose-50);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px rgba(163, 38, 31, 0.18);
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.2s var(--ease-spring),
    box-shadow 0.2s var(--ease-spring);
}
.number-action svg {
  width: 16px;
  height: 16px;
}
.number-action.is-whatsapp {
  background: #e5f5ec;
  color: var(--whatsapp-text);
  box-shadow: inset 0 0 0 1px rgba(18, 140, 74, 0.22);
}
.number-action:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px currentColor,
    0 6px 16px rgba(163, 38, 31, 0.16);
}
.number-action:active {
  transform: scale(0.97);
}
.number-action:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .number-choice[open] .number-actions {
    animation: none;
  }
}
.contact-card .btn {
  width: calc(100% - 8px);
  margin: 8px 4px 4px;
}

/* Working hours: sits straight above Contact. The cards and the times come from SITE.openingHours in content/site.mjs */
/* A dark band between the light Services and Contact sections: carbon with a sapphire light from the top corner, a
   faint red glow from the other and fine grain, the same family as the footer */
.hours {
  color: #fff;
  background:
    var(--grain-dark), radial-gradient(60% 80% at 100% 0%, rgba(179, 48, 42, 0.32), transparent 64%),
    radial-gradient(45% 60% at 0% 100%, rgba(200, 50, 43, 0.09), transparent 62%),
    linear-gradient(180deg, var(--carbon-2) 0%, var(--carbon) 100%);
}
.hours .kicker {
  color: var(--red-light);
}
.hours .kicker::before {
  background: var(--accent-line-dark);
}
.hours-head h2 {
  margin-top: 16px;
  font-size: clamp(42px, 5.6vw, 72px);
  color: #fff;
}
.hours-head .lead {
  margin-top: 16px;
  color: rgba(226, 234, 244, 0.78);
}
.hours-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}
@media (min-width: 960px) {
  .hours-grid {
    grid-template-columns: 8fr 5fr;
    gap: 24px;
    margin-top: 48px;
  }
}
.hours-card {
  --hours-rule: rgba(255, 255, 255, 0.16);
  --hours-soft: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-direction: column;
  min-width: 0; /* lets the long times wrap on very small phones rather than widening the page */
  padding: 24px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(232, 120, 104, 0.3), transparent 60%),
    linear-gradient(150deg, #c8443a 0%, var(--crimson) 38%, var(--wine) 72%, #4a1013 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 24px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(163, 38, 31, 0.25);
}
/* Friday's different times: smoked glass with a chrome edge, beside the blue card */
.hours-card-accent {
  --hours-rule: rgba(255, 255, 255, 0.12);
  --hours-soft: rgba(226, 234, 244, 0.72);
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 24px 60px -24px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .hours-card {
    padding: 32px;
  }
}
.hours-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 32px; /* the Friday tag is taller than a heading alone, and the cards' divider lines should still meet */
}
.hours-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.hours-tag {
  padding: 4px 12px;
  border-radius: 999px;
  color: #ffc9c3;
  background: rgba(200, 50, 43, 0.2);
  box-shadow: inset 0 0 0 1px rgba(240, 122, 112, 0.38);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hours-shifts {
  display: grid;
  flex: 1;
  gap: 20px;
  align-content: start;
  margin: 20px 0 24px;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--hours-rule);
}
@media (min-width: 640px) {
  .hours-shifts {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 32px;
  }
}
.hours-shifts small {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hours-soft);
}
.hours-shifts strong {
  display: block;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.1;
}

/* The Google map of the shop (renderMapEmbed in templates/parts.mjs): homepage Contact and the About Us page */
.shop-map {
  margin: 28px 0 0;
}
.shop-map-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--champagne);
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-2);
}
@media (min-width: 960px) {
  .shop-map-frame {
    aspect-ratio: 16 / 10;
  }
}
.shop-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.shop-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  border-radius: 6px;
  color: var(--accent-ink);
  font-weight: 700;
  transition: color 0.2s ease;
}
.shop-map-link svg {
  width: 18px;
  height: 18px;
}
.shop-map-link:hover {
  color: var(--link-hover);
}
.shop-map-link:active {
  color: var(--ink);
}
.shop-map-link:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}

/* ==========================================================================
 Homepage "Get in touch": soft blue light rays fall from the top of the section behind the words, map and contact card
 (js/light-rays.js, owner 2026-11-07). The canvas sits under everything and never takes clicks
 ========================================================================== */
.has-light-rays {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.has-light-rays > .wrap {
  position: relative;
  z-index: 1;
}
.light-rays {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.light-rays__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  animation: effect-fade-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes effect-fade-in {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .light-rays__canvas {
    animation: none;
  }
}
/* Phones: the section is tall and narrow, so the rays cover more of it; they are kept lighter there */
@media (max-width: 767px) {
  .light-rays {
    opacity: 0.5;
  }
}
