/* ============================
   CANASAS — Shared Stylesheet
   Tela y Ropa al Mayoreo
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,400&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ---- Custom Properties ---- */
:root {
  /* Brand Colors from Logo */
  --primary:        #373431;
  --primary-light:  #4C4847;
  --primary-dark:   #1F1D1B;
  --accent:         #C9C758;
  --accent-hover:   #B5B344;
  --accent-light:   #F5F4DA;

  /* Neutrals */
  --black:     #1A1816;
  --white:     #FFFFFF;
  --gray-50:   #F8F7F4;
  --gray-100:  #EFEDE8;
  --gray-200:  #DDD9D1;
  --gray-400:  #9E9890;
  --gray-600:  #5C5853;

  /* Spacing Scale (8px) */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* Typography */
  --font-display: 'Fraunces', serif;
  --font-body:    'Source Sans 3', sans-serif;

  /* Borders */
  --border: 1px solid var(--gray-200);
  --radius: 6px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--black);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-hover);
  font-weight: 700;
  display: block;
  margin-bottom: var(--sp-2);
}

/* ---- Layout Helpers ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.section {
  padding: var(--sp-12) 0;
}

.section--gray {
  background: var(--gray-50);
}

.section--dark {
  background: var(--primary-dark);
}

.section--primary {
  background: var(--primary);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 14px var(--sp-4);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  border: none;
  transition: background .25s, color .25s, box-shadow .25s, transform .2s;
}

.btn--accent {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn--accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 24px rgba(201,199,88,.35);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(55,52,49,.3);
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 9px 0;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}

.top-bar__contact {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
}

.top-bar__contact a {
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.top-bar__contact a:hover { color: var(--accent); }

.top-bar__note {
  color: rgba(255,255,255,.45);
  font-size: .78rem;
}

/* ---- Header / Nav ---- */
.header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) 0;
  height: 72px;
}

.header__logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav__link {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__link:hover,
.nav__link--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all .3s;
  border-radius: 2px;
}

/* Mobile menu overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color .2s;
}
.mobile-nav__link:hover { color: var(--accent); }

.mobile-nav__close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: var(--sp-1);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,24,21,.72);
}

/* Decorative pattern for hero fallback */
.hero--flat {
  background: var(--primary-dark);
}
.hero--flat::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(201,199,88,.04) 40px,
    rgba(201,199,88,.04) 41px
  );
}
.hero--flat .hero__overlay {
  background: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--sp-3);
}

.hero__eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: var(--sp-3);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: var(--sp-3);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin: 0 auto var(--sp-5);
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Stats Strip ---- */
.stats {
  background: var(--primary);
  padding: var(--sp-8) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
}

.stat-card {
  background: var(--primary);
  text-align: center;
  padding: var(--sp-5) var(--sp-3);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

/* ---- Section Headings ---- */
.section-header {
  margin-bottom: var(--sp-8);
}

.section-header--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-top: var(--sp-1);
  margin-bottom: var(--sp-2);
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.service-card {
  padding: var(--sp-4);
  background: var(--white);
  border-radius: var(--radius);
  border: var(--border);
  border-top: 4px solid transparent;
  transition: border-top-color .3s, box-shadow .3s, transform .3s;
}

.service-card:hover {
  border-top-color: var(--accent);
  box-shadow: 0 12px 36px rgba(0,0,0,.09);
  transform: translateY(-6px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  color: var(--accent-hover);
  transition: background .3s;
}
.service-card:hover .service-card__icon {
  background: var(--accent);
  color: var(--primary-dark);
}

.service-card h3 {
  margin-bottom: var(--sp-1);
  font-size: 1.1rem;
}

.service-card p {
  font-size: .95rem;
  line-height: 1.6;
}

/* ---- Clients We Serve ---- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.serve-card {
  text-align: center;
  padding: var(--sp-4) var(--sp-2);
  border-radius: var(--radius);
  background: var(--white);
  border: var(--border);
  transition: box-shadow .3s, transform .3s;
}
.serve-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-4px);
}

.serve-card__icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-2);
  color: var(--accent);
}

.serve-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.serve-card p {
  font-size: .88rem;
  color: var(--gray-400);
}

/* ---- Product Lines ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.product-card {
  border-radius: 8px;
  overflow: hidden;
  border: var(--border);
  transition: box-shadow .3s, transform .3s;
}
.product-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
  transform: translateY(-6px);
}

.product-card__img {
  height: 240px;
  overflow: hidden;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.product-card:hover .product-card__img img {
  transform: scale(1.05);
}

.product-card__body {
  padding: var(--sp-3) var(--sp-4);
  background: var(--white);
}

.product-card__body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.product-card__body p {
  font-size: .95rem;
  margin-bottom: var(--sp-2);
}

.product-card__tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---- Split Layout (Services header) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.split__img::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--accent);
  border-radius: 12px;
  transform: translate(12px, 12px);
  z-index: 0;
  pointer-events: none;
}

.split__img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.split__content h2 {
  margin-bottom: var(--sp-3);
}

.split__content p {
  margin-bottom: var(--sp-3);
  font-size: 1.05rem;
}

/* Feature list */
.feature-list {
  margin: var(--sp-3) 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: var(--border);
  font-size: .95rem;
}
.feature-list li:last-child { border-bottom: none; }

.feature-list__icon {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-dark);
}

/* ---- CTA Banner ---- */
.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-dark);
  padding: var(--sp-16) 0;
}

.cta-banner--flat {
  background: var(--primary-dark);
}
.cta-banner--flat::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(201,199,88,.04) 60px,
    rgba(201,199,88,.04) 61px
  );
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,18,16,.82);
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.cta-banner__text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: var(--sp-2);
  max-width: 560px;
}

.cta-banner__text p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 480px;
}

.cta-banner__actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: flex-end;
}

/* ---- Sectors Grid ---- */
.sectors {
  background: var(--primary-dark);
  padding: var(--sp-12) 0;
}

.sectors__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
}

.sector-card {
  text-align: center;
}

.sector-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--sp-2);
  border: 3px solid rgba(201,199,88,.3);
  transition: border-color .4s;
}
.sector-card:hover .sector-img { border-color: var(--accent); }

.sector-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%);
  transition: filter .4s, transform .4s;
}
.sector-card:hover .sector-img img {
  filter: grayscale(0);
  transform: scale(1.1);
}

.sector-card h3 {
  font-size: .9rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: .03em;
}

.sector-card p {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.testimonial-card {
  background: var(--white);
  border: var(--border);
  border-radius: 8px;
  padding: var(--sp-4);
  transition: box-shadow .3s, transform .3s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.08);
  transform: translateY(-4px);
}

.testimonial-card--featured {
  background: var(--primary);
  border-color: var(--primary);
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: var(--sp-3);
  font-style: italic;
}
.testimonial-card--featured .testimonial-card__quote { color: var(--white); }

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  border-top: var(--border);
  padding-top: var(--sp-2);
}
.testimonial-card--featured .testimonial-card__author { border-top-color: rgba(255,255,255,.15); }

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: .92rem;
  color: var(--black);
  display: block;
}
.testimonial-card--featured .testimonial-card__name { color: var(--white); }

.testimonial-card__role {
  font-size: .8rem;
  color: var(--gray-400);
}
.testimonial-card--featured .testimonial-card__role { color: rgba(255,255,255,.6); }

/* ---- About Values ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.value-card {
  padding: var(--sp-5) var(--sp-4);
  background: var(--gray-50);
  border-radius: var(--radius);
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background .3s, box-shadow .3s, transform .3s, border-top-color .3s;
}
.value-card:hover {
  background: var(--white);
  box-shadow: 0 15px 40px rgba(0,0,0,.09);
  transform: translateY(-8px);
  border-top-color: var(--accent);
}

.value-card__number {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(0,0,0,.04);
  position: absolute;
  top: -10px;
  right: var(--sp-2);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.04em;
}

.value-card__icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
  margin-bottom: var(--sp-3);
  transition: background .3s, color .3s;
}
.value-card:hover .value-card__icon {
  background: var(--accent);
  color: var(--primary-dark);
}

.value-card h3 { margin-bottom: 8px; }
.value-card p { font-size: .95rem; }

/* ---- Team / About ---- */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.story-section__text h2 { margin-bottom: var(--sp-3); }
.story-section__text p { margin-bottom: var(--sp-3); font-size: 1.05rem; }

.story-section__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.mini-stat {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding: var(--sp-3);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.mini-stat__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 4px;
}

.mini-stat__label {
  font-size: .82rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.contact-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  transition: box-shadow .3s, transform .3s;
}
.contact-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.09);
  transform: translateY(-4px);
}

.contact-card__icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-3);
  color: var(--accent);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: var(--sp-1);
  color: var(--black);
}

.contact-card p {
  font-size: .95rem;
  line-height: 1.6;
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
  transition: color .2s;
}
.contact-card a:hover { color: var(--accent-hover); }

/* Contact Form */
.contact-form {
  background: var(--white);
  border: var(--border);
  border-radius: 8px;
  padding: var(--sp-6);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px var(--sp-2);
  border: var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--black);
  background: var(--gray-50);
  outline: none;
  transition: border-color .2s, background .2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}

.form-field textarea { resize: vertical; min-height: 120px; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--primary);
  padding: var(--sp-10) 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  background: var(--accent);
  opacity: .04;
  border-radius: 50%;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-3);
}
.breadcrumb a {
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--accent); }

/* ---- Footer ---- */
.footer {
  background: var(--primary-dark);
  padding: var(--sp-12) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand-logo {
  height: 44px;
  width: auto;
  margin-bottom: var(--sp-3);
}

.footer__tagline {
  color: rgba(255,255,255,.55);
  font-size: .92rem;
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: .92rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__links a:hover { color: var(--white); }

.footer__address {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

.footer__address strong {
  color: rgba(255,255,255,.75);
  display: block;
  margin-bottom: 4px;
}

.footer__bottom {
  padding: var(--sp-3) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

/* ---- Scroll Animation ---- */
/* Elements are always fully visible; JS adds a subtle entrance keyframe */
.js-reveal {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: .4; transform: translateY(20px); }
  to   { opacity: 1;  transform: translateY(0); }
}

/* ---- Image Fallback Panels ---- */
.img-panel {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-2);
  background: var(--primary);
  border-radius: var(--radius);
}

.img-panel--dark { background: var(--primary-dark); }
.img-panel--accent { background: var(--accent-light); }

.img-panel__label {
  font-family: var(--font-display);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.4);
  font-weight: 600;
}

/* Fabric texture SVG pattern panel */
.fabric-panel {
  background: var(--primary);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 8px,
    rgba(201,199,88,.08) 8px,
    rgba(201,199,88,.08) 9px
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent 8px,
    rgba(201,199,88,.08) 8px,
    rgba(201,199,88,.08) 9px
  );
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fabric-panel--light {
  background-color: var(--accent-light);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 10px,
    rgba(55,52,49,.06) 10px,
    rgba(55,52,49,.06) 11px
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent 10px,
    rgba(55,52,49,.06) 10px,
    rgba(55,52,49,.06) 11px
  );
}

/* ---- Utility ---- */
.text-accent { color: var(--accent); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); }
.mb-0 { margin-bottom: 0; }
.fw-600 { font-weight: 600; }

/* ---- Milestones Grid ---- */
.milestones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
  .sectors__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: var(--sp-8) 0; }

  /* Top bar hidden on mobile */
  .top-bar { display: none; }

  /* Nav becomes hamburger */
  .nav, .header__cta .btn:not(.btn--icon) { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero h1 { font-size: 2.4rem; }

  /* Grids */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sectors__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-4); }

  .split { grid-template-columns: 1fr; gap: var(--sp-4); }
  .split--reverse { direction: ltr; }
  .story-section { grid-template-columns: 1fr; }
  .milestones-grid { grid-template-columns: 1fr; }

  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { align-items: center; }

  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }

  .footer__bottom { flex-direction: column; gap: var(--sp-2); text-align: center; }
}

@media (max-width: 480px) {
  .serve-grid { grid-template-columns: 1fr; }
  .story-section__stats { grid-template-columns: 1fr; }
  .sectors__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__cta { flex-direction: column; align-items: center; }
}
