/* =====================================================================
   CLASSIC TRADERS — Main stylesheet
   ---------------------------------------------------------------------
    1. Design tokens (colours, fonts, sizes)   ← change the look here
    2. Base & typography
    3. Layout helpers
    4. Buttons
    5. Header & navigation
    6. Hero
    7. Section headings
    8. Products & services
    9. About
   10. Why choose us
   11. Our numbers
   12. Client reviews
   13. Contact & map
   14. Footer
   15. Responsive (tablet & mobile)
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Colours */
  --bg:          #FAF8F4;   /* warm white page background */
  --bg-alt:      #F3F0EA;   /* slightly darker band for alternate sections */
  --surface:     #FFFFFF;   /* cards */
  --text:        #2B2D2B;   /* charcoal body text */
  --text-muted:  #5C605C;   /* secondary text */
  --charcoal:    #262826;   /* headings, dark bands */
  --line:        #E4E0D8;   /* hairline borders */
  --line-strong: #CFCAC0;

  --sage:        #8A9A7B;   /* soft sage accent */
  --sage-dark:   #5E6E52;   /* deeper sage: buttons, links (readable on white) */
  --sage-darker: #4E5D44;   /* button hover */
  --sage-light:  #C9D3BF;
  --sage-pale:   #ECEFE7;

  /* Fonts */
  --font-serif: 'Cormorant Garamond', Garamond, Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Shape & depth */
  --radius:    14px;
  --radius-lg: 20px;
  --shadow:    0 1px 2px rgba(38, 40, 38, .04), 0 10px 30px rgba(38, 40, 38, .07);

  /* Layout */
  --container: 1160px;
  --header-h:  78px;
  --ease:      cubic-bezier(.25, .6, .3, 1);
}


/* ---------------------------------------------------------------------
   2. BASE & TYPOGRAPHY
   --------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }

[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--charcoal);
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

a { color: var(--sage-dark); }

:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--charcoal);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* ---------------------------------------------------------------------
   3. LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.section { padding-block: clamp(80px, 10vw, 128px); }
.section--alt { background: var(--bg-alt); }

/* Keeps section titles visible below the sticky header when jumping via the menu */
section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }


/* ---------------------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--sage-dark);
  color: #fff;
}
.btn-primary:hover {
  background: var(--sage-darker);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(94, 110, 82, .22);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--charcoal);
}
.btn-outline:hover {
  border-color: var(--sage-dark);
  color: var(--sage-dark);
  background: rgba(255, 255, 255, .6);
}

.btn-small {
  padding: .62rem 1.2rem;
  font-size: .875rem;
}


/* ---------------------------------------------------------------------
   5. HEADER & NAVIGATION
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, .9);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--charcoal);
  text-decoration: none;
}
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand-tag {
  margin-top: .38rem;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

/* Links */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a:not(.btn) {
  position: relative;
  padding: .3rem 0;
  font-size: .93rem;
  color: var(--text);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--sage-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--sage-dark); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

/* Menu button (phones only — shown in section 15) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ---------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------- */
.hero {
  padding-block: clamp(36px, 5vw, 64px) clamp(64px, 8vw, 104px);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

/* Small brand line above the slides (this is the page's main heading) */
.hero-brand {
  margin-bottom: 1.8rem;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sage-dark);
}

/* Slide text: all slides sit in the same spot and cross-fade */
.hero-slides-text { display: grid; }
.hero-slide-text {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s linear .7s;
}
.hero-slide-text.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 1s var(--ease) .2s, transform 1s var(--ease) .2s, visibility 0s;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.1rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-num {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--sage-dark);
}
.hero-num::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--sage);
}

.hero-title {
  margin-bottom: .4em;
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.01em;
}

.hero-text {
  max-width: 31rem;
  margin-bottom: 2.2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

/* Slide tabs with progress bars */
.hero-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
}
.hero-tab {
  padding: .4rem 0;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  color: var(--text-muted);
  cursor: pointer;
}
.hero-tab-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--sage);
}
.hero-tab-label {
  display: block;
  min-height: 2.6em;
  margin: .1rem 0 .7rem;
  font-size: .8rem;
  line-height: 1.3;
  transition: color .3s var(--ease);
}
.hero-tab:hover .hero-tab-label,
.hero-tab.is-active .hero-tab-label { color: var(--charcoal); }
.hero-tab-bar {
  display: block;
  height: 2px;
  overflow: hidden;
  background: var(--line);
  border-radius: 2px;
}
.hero-tab-bar span {
  display: block;
  height: 100%;
  background: var(--sage-dark);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-tab.is-active .hero-tab-bar span { transform: scaleX(1); }
.hero.is-playing .hero-tab.is-active .hero-tab-bar span {
  animation: hero-progress var(--hero-duration, 6s) linear both;
}
@keyframes hero-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Picture area: images cross-fade with a slow, gentle zoom */
.hero-stage {
  position: relative;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  background: var(--sage-pale);
  border-radius: 28px;
  box-shadow: 0 40px 80px -40px rgba(38, 40, 38, .35), 0 2px 6px rgba(38, 40, 38, .04);
}
.hero-stage::after {             /* soft sage overlay + fine inner edge */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(94, 110, 82, .14), transparent 55%),
    linear-gradient(180deg, transparent 70%, rgba(94, 110, 82, .08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.hero-slides-media { position: absolute; inset: 0; }
.hero-slide-media {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-slide-media.is-active { opacity: 1; z-index: 1; }
.hero-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s ease-out;
}
.hero-slide-media.is-active img { transform: scale(1); }


/* ---------------------------------------------------------------------
   7. SECTION HEADINGS
   --------------------------------------------------------------------- */
.section-head {
  max-width: 640px;
  margin-bottom: clamp(44px, 6vw, 68px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2,
.about-text h2,
.contact-details h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  font-weight: 500;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.1rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--sage);
}
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--sage);
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
}


/* ---------------------------------------------------------------------
   8. PRODUCTS & SERVICES
   --------------------------------------------------------------------- */
.card-tag {
  margin-bottom: .55rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

/* ---- Featured products: large cards (first one extra large) ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-light);
  box-shadow: var(--shadow);
}

/* Image area: photos are cropped to fill it (object-fit: cover) */
.feature-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sage-pale);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.feature-card:hover .feature-media img { transform: scale(1.05); }
/* "tint": white photo backgrounds take on the soft sage colour */
.feature-media.is-tinted { background: #E8ECE2; }
.feature-media.is-tinted img { mix-blend-mode: multiply; }

.feature-body { padding: 1.35rem 1.5rem 1.6rem; }
.feature-body h3 {
  margin-bottom: .4rem;
  font-size: 1.5rem;
}
.feature-body p:last-child {
  margin: 0;
  font-size: .93rem;
  color: var(--text-muted);
}

.feature-card--large {
  grid-column: span 2;
  grid-row: span 2;
}
.feature-card--large .feature-media {
  flex: 1;
  aspect-ratio: auto;
  min-height: 320px;
}
.feature-card--large .feature-body { padding: 1.7rem 2rem 2rem; }
.feature-card--large h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 500; }
.feature-card--large .feature-body p:last-child { font-size: 1rem; }

/* ---- Full product range: compact category cards ---- */
.catalog-wrap { margin-top: clamp(64px, 8vw, 104px); }

.catalog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem 2rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-strong);
}
.catalog-header h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 500;
}
.catalog-header p { margin: 0; font-size: .95rem; color: var(--text-muted); }

/* Cards flow into balanced columns */
.catalog {
  columns: 3 290px;
  column-gap: 20px;
}
.catalog-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  padding: 1.35rem 1.5rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  break-inside: avoid;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.catalog-card:hover { border-color: var(--sage-light); box-shadow: 0 8px 24px -12px rgba(38, 40, 38, .12); }

.catalog-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: .8rem;
}
.catalog-head .icon-circle {
  width: 42px;
  height: 42px;
  margin: 0;
  flex-shrink: 0;
  background: var(--sage-pale);
  border-color: transparent;
}
.catalog-head h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--charcoal);
}
.catalog-count { margin: .1rem 0 0; font-size: .78rem; color: var(--text-muted); }

.catalog-card ul { margin: 0; padding: 0; list-style: none; }
.catalog-card li {
  position: relative;
  padding: .5rem 0 .5rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  line-height: 1.45;
}
.catalog-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

/* ---- "Can't find what you need?" box ---- */
.request-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  color: #E7E4DD;
}
.request-box > div:first-child { flex: 1 1 380px; max-width: 640px; }
.request-box h3 {
  margin-bottom: .4rem;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  line-height: 1.2;
  font-weight: 500;
  color: #fff;
}
.request-box p { margin: 0; color: #BDBAB2; }
.request-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.request-box .btn-primary { background: var(--sage-light); color: var(--charcoal); }
.request-box .btn-primary:hover { background: #fff; }
.request-box .btn-outline { border-color: rgba(255, 255, 255, .25); color: #fff; }
.request-box .btn-outline:hover { border-color: var(--sage-light); color: var(--sage-light); background: transparent; }

/* Services note */
.services {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(28px, 5vw, 52px);
  background: var(--sage-pale);
  border-radius: var(--radius-lg);
}
.services-intro h3 { font-size: 2rem; font-weight: 500; }
.services-intro p { margin: 0; color: var(--text-muted); }

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.services-list h4 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
}
.services-list p {
  margin: 0;
  font-size: .93rem;
  color: var(--text-muted);
}

/* Round icon holder, used in several sections */
.icon-circle {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--sage-light);
  border-radius: 50%;
  color: var(--sage-dark);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.icon-circle svg { width: 22px; height: 22px; }


/* ---------------------------------------------------------------------
   9. ABOUT
   --------------------------------------------------------------------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

/* Image area: photos are cropped to fit this shape automatically */
.about-media {
  margin: 0;
  aspect-ratio: 13 / 10;
  background: var(--sage-pale);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p { color: var(--text-muted); }

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 1rem 2.5rem;
  margin: 2.2rem 0 0;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.about-facts dt {
  margin-bottom: .3rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.about-facts dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
}


/* ---------------------------------------------------------------------
   10. WHY CHOOSE US
   --------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.why-item {
  padding-top: 1.9rem;
  border-top: 1px solid var(--sage-light);
}
.why-item .icon-circle {
  background: var(--surface);
}
.why-item:hover .icon-circle {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fff;
}
.why-item h3 {
  margin-bottom: .45rem;
  font-size: 1.5rem;
}
.why-item p {
  margin: 0;
  font-size: .95rem;
  color: var(--text-muted);
}


/* ---------------------------------------------------------------------
   11. OUR NUMBERS
   --------------------------------------------------------------------- */
.stats {
  padding-block: clamp(56px, 8vw, 88px);
  background: var(--charcoal);
  color: #EDEBE6;
}

.stats-grid {
  display: grid;
  grid-auto-flow: column;              /* any number of stats share the row */
  grid-auto-columns: minmax(0, 1fr);
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}
.stats-grid li { padding: .5rem 1rem; }
/* Use standard (lining) figures so "2010" doesn't read as "2OIO" */
.stat-number,
.about-facts dd { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.stats-grid li + li { border-left: 1px solid rgba(255, 255, 255, .12); }

.stat-number {
  display: block;
  margin-bottom: .7rem;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  color: var(--sage-light);
}
.stat-label {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #BDBAB2;
}


/* ---------------------------------------------------------------------
   12. CLIENT REVIEWS
   --------------------------------------------------------------------- */
.slider {
  max-width: 780px;
  margin-inline: auto;
}
.slider-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.slider-track {
  display: flex;
  transition: transform .7s var(--ease);
}
.slide {
  flex: 0 0 100%;
  margin: 0;
  padding: 4px;               /* room for the card shadow */
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.5rem, 5vw, 3.5rem) clamp(1.8rem, 4vw, 2.6rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.stars { display: flex; gap: 4px; margin-bottom: 1.4rem; }
.star svg { width: 18px; height: 18px; fill: var(--line-strong); }
.star.is-on svg { fill: var(--sage); }

.review-card blockquote { margin: 0 0 1.9rem; }
.review-card blockquote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--charcoal);
}

.review-card figcaption {
  display: flex;
  align-items: center;
  gap: .9rem;
  text-align: left;
}
/* Initials (or a quote mark until a real name is added) */
.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--sage-pale);
  border: 1px solid var(--sage-light);
  border-radius: 50%;
  color: var(--sage-dark);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.avatar svg { width: 18px; height: 14px; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.8rem;
}
.slider-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}
.slider-arrow:hover { border-color: var(--sage-dark); color: var(--sage-dark); background: var(--surface); }
.slider-arrow svg { width: 18px; height: 18px; }

.slider-dots { display: flex; gap: 2px; }
.dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.dot::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: width .3s var(--ease), margin .3s var(--ease), background-color .3s var(--ease);
}
.dot:hover::before { background: var(--sage); }
.dot.is-active::before { width: 20px; margin-left: -10px; background: var(--sage-dark); }

.reviewer-name {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--charcoal);
}
.reviewer-company {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
}


/* ---------------------------------------------------------------------
   13. CONTACT & MAP
   --------------------------------------------------------------------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}

.contact-list {
  margin: 2rem 0 2.25rem;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list .icon-circle {
  width: 44px;
  height: 44px;
  margin: 0;
  flex-shrink: 0;
}
.contact-list .icon-circle svg { width: 20px; height: 20px; }

.contact-label {
  display: block;
  margin-bottom: .1rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.contact-value {
  font-size: 1.02rem;
  color: var(--charcoal);
  line-height: 1.55;
}
a.contact-value {
  text-decoration: none;
  background-image: linear-gradient(var(--sage), var(--sage));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s var(--ease), color .25s var(--ease);
}
a.contact-value:hover {
  color: var(--sage-dark);
  background-size: 100% 1px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.contact-inner--no-map { grid-template-columns: 1fr; max-width: 720px; }

/* Map box */
.map {
  position: relative;
  align-self: start;
  min-height: 420px;
  height: 100%;
  max-height: 560px;
  background: var(--sage-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* "Get directions" button floating over the bottom of the map */
.map-directions {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 1;
  transform: translateX(-50%);
  box-shadow: 0 10px 24px rgba(38, 40, 38, .25);
}
.map-directions:hover { transform: translateX(-50%) translateY(-1px); }


/* ---------------------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  padding-block: 72px 32px;
  background: var(--charcoal);
  color: #B9B6AE;
  font-size: .93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.brand--light { color: #F3F0EA; }
.brand--light .brand-tag { color: var(--sage-light); }
.footer-brand p { max-width: 22rem; margin: 1.3rem 0 0; }

.footer-heading {
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-light);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  color: #DEDBD4;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
  color: #8F8C85;
}
.footer-bottom p { margin: 0; }
.footer-since::before { content: "·"; margin: 0 .5em; }


/* ---------------------------------------------------------------------
   FLOATING WHATSAPP BUTTON
   --------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: .6rem;
  height: 56px;
  padding: 0 16px;
  background: var(--sage-dark);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(38, 40, 38, .22);
  color: #fff;
  text-decoration: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.wa-float-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 500;
  transition: max-width .4s var(--ease);
}
.wa-float:hover,
.wa-float:focus-visible {
  background: var(--sage-darker);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(38, 40, 38, .26);
}
.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label { max-width: 160px; }

.noscript {
  margin: 0;
  padding: 1rem;
  background: var(--charcoal);
  color: #fff;
  text-align: center;
}


/* ---------------------------------------------------------------------
   15. RESPONSIVE
   --------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1080px) {
  .why-grid     { grid-template-columns: repeat(2, 1fr); }
  .services     { grid-template-columns: 1fr; }

  /* Featured: 2 columns, large card becomes a wide banner card */
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large { grid-row: auto; }
  .feature-card--large .feature-media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
}

/* Small tablet & phone */
@media (max-width: 900px) {
  :root { --header-h: 70px; }

  /* Mobile menu (needs js/main.js; without JS the links simply wrap) */
  .js .nav-toggle { display: flex; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(38, 40, 38, .06);
  }
  .js .nav-open .site-nav { display: block; }
  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem clamp(16px, 4vw, 32px) 1.5rem;
  }
  .js .site-nav li { border-bottom: 1px solid var(--line); }
  .js .site-nav li:last-child { border-bottom: 0; padding-top: 1.2rem; }
  .js .site-nav a:not(.btn) { display: block; padding: .95rem 0; font-size: 1rem; }
  .js .site-nav a:not(.btn)::after { display: none; }
  .js .site-nav .btn { width: 100%; padding-block: .85rem; }

  .no-js .header-inner { flex-wrap: wrap; height: auto; padding-block: 1rem; }
  .no-js .site-nav ul { flex-wrap: wrap; gap: .8rem 1.4rem; }

  /* Hero: picture on top, text below */
  .hero { padding-top: 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-stage { order: -1; aspect-ratio: 5 / 4; border-radius: 22px; }
  .hero-brand { margin-bottom: 1.2rem; }

  .about-inner,
  .contact-inner { grid-template-columns: 1fr; }


  .map { min-height: 340px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 600px) {
  body { font-size: 1rem; }

  .brand-name { font-size: 1.2rem; letter-spacing: .06em; }
  .brand-tag { font-size: .56rem; letter-spacing: .26em; }
  .brand-mark { width: 40px; height: 40px; }

  .hero-actions .btn { flex: 1 1 auto; }

  .why-grid,
  .services-list { grid-template-columns: 1fr; }

  .hero-brand { font-size: .64rem; letter-spacing: .14em; }
  .hero-brand::before { display: none; }
  .hero-title { font-size: 2.45rem; }
  .hero-text { font-size: 1rem; margin-bottom: 1.8rem; }
  .hero-tabs { gap: .8rem; }
  .hero-tab-label { font-size: .72rem; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: auto; }
  .feature-card--large .feature-media { aspect-ratio: 6 / 5; }
  .feature-card--large .feature-body { padding: 1.4rem 1.5rem 1.6rem; }

  .catalog-card { padding: 1.2rem 1.2rem 1rem; }

  .request-actions,
  .request-actions .btn { width: 100%; }

  .wa-float { height: 52px; padding: 0 14px; }

  .services-list { gap: 26px; }

  .about-facts { grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; }

  .stat-number { font-size: 2rem; }
  .stat-label { font-size: .7rem; letter-spacing: .12em; }
  /* Stats stack vertically on phones */
  .stats-grid { grid-auto-flow: row; grid-template-columns: 1fr; }
  .stats-grid li { padding: 1.4rem .5rem; }
  .stats-grid li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .stat-number { font-size: 2.4rem; }

  .review-card { padding: 1.9rem 1.5rem 1.6rem; }

  .contact-actions .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
