/* =========================================================
   RABBORA LIVING — DESIGN TOKENS
   ========================================================= */
:root {
  --color-forest: #1b3a2f;
  --color-forest-dark: #12281f;
  --color-ivory: #f1ebde;
  --color-ivory-soft: #f8f4eb;
  --color-brass: #a47b4c;
  --color-brass-light: #c7a06b;
  --color-ink: #232320;
  --color-clay: #c89482;
  --color-sage: #dce3d4;
  --color-white: #ffffff;
  --color-border: rgba(35, 35, 32, 0.1);

  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 10px rgba(27, 58, 47, 0.08);
  --shadow-md: 0 10px 30px rgba(27, 58, 47, 0.12);
  --shadow-lg: 0 20px 60px rgba(27, 58, 47, 0.18);

  --container: 1240px;
  --header-h: 112px;
  --announce-h: 38px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.5s;
  --dur-slow: 0.9s;
}




/* =========================================================
   RESET
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}







/* =========================================================
   UTILITIES
   ========================================================= */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}



















/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  background-color: transparent;
}











/* Search bar (desktop) */
.search-bar {
  display: none;
  position: relative;
  flex: 1;
  align-items: center;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-ivory-soft);
  max-width: 680px;
  margin-inline: auto;
  transition: border-color var(--dur-fast) var(--ease);
}







@media (min-width: 860px) {
  .search-bar {
    display: flex;
  }
}

/* Mobile search: the same search-bar form is repositioned into a
   full-width overlay panel beneath the header when the mobile search
   toggle button is pressed, instead of duplicating the search markup. */
@media (max-width: 859px) {
  .search-bar.is-mobile-active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: none;
    margin: 0;
    height: 56px;
    padding-inline: 1rem;
    border-radius: 0;
    border-inline: none;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    z-index: 300;
  }
}







/* ---- Category dropdown menu (real clickable links, styled with the
   exact same font as the main site navigation) ---- */
.search-category-menu {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  border-right: 1px solid var(--color-border);
}



/* Explicit, redundant enforcement: whatever a stray script or cached DOM
   state does to the class, an explicit data-state="closed" always wins
   and forces the dropdown shut. This is a second, independent source of
   truth on top of the class toggle above. */
.search-category-menu__list[data-state="closed"] {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-6px) !important;
}



/* Search suggestions dropdown */
.search-suggestions {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow-y: auto;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  padding: 0.5rem;
}



/* Header icons */
/* =========================================================
   MOBILE NAVIGATION DRAWER + TRUST BAR
   (restored — these were missing from the initial extraction)
   ========================================================= */





.mobile-nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}



/* Compact header for very small phones: four icon buttons plus the
   hamburger and logo don't fit at their normal size below ~400px, so
   trim padding/gaps rather than letting them overflow the viewport. */












/* Desktop nav */
.main-nav {
  display: none;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-white);
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
    position: sticky;
    top: 113px;
    z-index: 490;
    box-shadow: var(--shadow-md);
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    transition: transform 300ms var(--ease), opacity 300ms var(--ease);
  }

  .main-nav.is-nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }
}







/* Mega dropdown (desktop) */
.mega-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 580px;
  padding-top: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast) var(--ease);
  z-index: 100;
}















/* Respect reduced-motion preference: skip the crossfade transition and
   the slow zoom/drift, and simply show the active slide instantly and
   statically instead. */












































































































/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: var(--color-forest-dark);
  color: var(--color-ivory-soft);
}























/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(18, 40, 31, 0.35);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}























































































































































/* ---- Desktop: filter bar always visible, inline ---- */




/* ---- Tablet & mobile: slide-in drawer ---- */








































































/* ---- Rapid delivery banner on the detail view ---- */
.rd-detail__rapid-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(164, 123, 76, 0.14);
  color: var(--color-brass);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}















































































































































































































































































/* =========================================================
   CONTACT PAGE — PAGE-SPECIFIC STYLES
   ========================================================= */

/* ---- Hero ---- */
.contact-hero,
.contact-hero *,
.contact-hero *::before,
.contact-hero *::after {
  box-sizing: border-box;
}

.contact-hero {
  width: 100%;
  padding-block: 4.5rem 3.5rem;
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-dark) 100%);
}

.contact-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 900px) {
  .contact-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
    text-align: left;
  }
}

.contact-hero__text {
  width: 100%;
}

@media (min-width: 900px) {
  .contact-hero__text {
    flex: 1 1 0;
    min-width: 0;
  }
}

.contact-hero__heading {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1.05;
  color: var(--color-ivory-soft);
}

@media (min-width: 768px) {
  .contact-hero__heading {
    font-size: 3.75rem;
  }
}

.contact-hero .eyebrow {
  color: var(--color-brass-light);
}

.contact-hero__body {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(248, 244, 235, 0.88);
  max-width: 30rem;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .contact-hero__body {
    margin-inline: 0;
  }
}

.contact-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0.9rem 1.75rem;
  background-color: var(--color-brass);
  color: var(--color-ivory-soft);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-hero__cta:hover,
.contact-hero__cta:focus-visible {
  background-color: var(--color-brass-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(164, 123, 76, 0.35);
}

.contact-hero__cta svg {
  transition: transform 0.25s var(--ease);
}

.contact-hero__cta:hover svg {
  transform: translateX(3px);
}

/* ---- Hero image ---- */
.contact-hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: 34rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 8 / 5;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.8s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (min-width: 900px) {
  .contact-hero__image-wrap {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
}

.contact-hero__image-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(18, 40, 31, 0.32);
}

.contact-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s var(--ease);
}

.contact-hero__image-wrap:hover .contact-hero__image {
  transform: scale(1.03);
}

/* Distinct, slightly slower/delayed entrance for the image side */
.reveal--image {
  transition-duration: 0.8s;
  transition-delay: 0.1s;
}

/* ---- Breadcrumb ---- */
.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 1.1rem;
  font-size: 0.8rem;
  color: rgba(35, 35, 32, 0.55);
}

.contact-breadcrumb a {
  color: var(--color-forest);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.contact-breadcrumb a:hover {
  color: var(--color-brass);
}

/* ---- Info cards ---- */
.contact-info {
  padding-block: 3rem;
}

.contact-info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .contact-info__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-info__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.75rem 1.5rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  /* Explicit, complete list so this doesn't get silently clobbered by
     .reveal's own (later, equal-specificity) transition shorthand —
     opacity/transform match .reveal's entrance timing, box-shadow and
     border-color are the card's own hover-response timing. */
  transition: opacity 0.6s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

/* Stagger the reveal entrance across the 4 cards (0.00s / 0.10s / 0.20s / 0.30s) */
.contact-info__grid .contact-card:nth-child(1) { transition-delay: 0s; }
.contact-info__grid .contact-card:nth-child(2) { transition-delay: 0.1s; }
.contact-info__grid .contact-card:nth-child(3) { transition-delay: 0.2s; }
.contact-info__grid .contact-card:nth-child(4) { transition-delay: 0.3s; }

a.contact-card:hover,
a.contact-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brass-light);
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background-color: var(--color-ivory-soft);
  color: var(--color-forest);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

a.contact-card:hover .contact-card__icon {
  background-color: var(--color-forest);
  color: var(--color-ivory-soft);
  transform: scale(1.08);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-forest-dark);
}

.contact-card p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(35, 35, 32, 0.68);
  word-break: break-word;
}

/* ---- Form section ---- */
.contact-form-section {
  padding-block: 1rem 4rem;
}

.contact-form__wrap {
  max-width: 42rem;
  margin-inline: auto;
}

.contact-form__wrap .section-head {
  text-align: center;
}

.contact-form__intro {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(35, 35, 32, 0.68);
}

.contact-form {
  margin-top: 2rem;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .contact-form__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(35, 35, 32, 0.6);
}

.contact-form__field input,
.contact-form__field textarea {
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-ink);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form__field input:hover,
.contact-form__field textarea:hover {
  border-color: var(--color-brass-light);
}

.contact-form__field input:focus-visible,
.contact-form__field textarea:focus-visible {
  outline: none;
  border-color: var(--color-brass);
  box-shadow: 0 0 0 3px rgba(164, 123, 76, 0.18);
}

.contact-form__field input[aria-invalid="true"],
.contact-form__field textarea[aria-invalid="true"] {
  border-color: var(--color-clay);
}

.contact-form__error {
  display: block;
  min-height: 1.1em;
  font-size: 0.78rem;
  color: var(--color-clay);
}

.contact-form__submit {
  margin-top: 1.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .contact-form__submit {
    width: auto;
    min-width: 12rem;
  }
}

.contact-form__message {
  margin-top: 1rem;
  font-size: 0.875rem;
  min-height: 1.2em;
  color: var(--color-forest);
}

.contact-form__message.is-error {
  color: var(--color-clay);
}

.contact-form__message.is-success {
  color: var(--color-forest);
  font-weight: 600;
}