/* ============================================================
   KLEIDER — COMPONENTS & PAGE STYLES
   ============================================================ */

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-xl) 0 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(201,134,10,0.15);
}

.footer-brand .kleider-logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(247,240,230,0.6);
  max-width: 280px;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201,134,10,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247,240,230,0.6);
  transition: all var(--transition);
  text-decoration: none;
}

.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-10);
  opacity: 1;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-col__title {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(247,240,230,0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--cream);
  opacity: 1;
}

.footer-address {
  font-size: 0.9rem;
  color: rgba(247,240,230,0.65);
  line-height: 1.8;
}

.footer-hours {
  font-size: 0.85rem;
  color: rgba(247,240,230,0.65);
  line-height: 1.8;
  margin-top: 0.75rem;
}

.footer-hours strong {
  color: var(--gold);
  font-weight: 500;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: var(--space-md);
}

.footer-copyright {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: rgba(247,240,230,0.35);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(247,240,230,0.3);
}

@media (max-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 540px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
  .footer-brand { grid-column: span 1; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
}

/* ==================== TEAM CARDS ==================== */
.team-section {
  background: var(--warm-white);
  padding: var(--space-2xl) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  position: relative;
}

.team-card__photo-wrap {
  position: relative;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.team-card__photo-wrap img {
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-md);
  filter: grayscale(15%);
  transition: filter var(--transition);
}

.team-card:hover .team-card__photo-wrap img {
  filter: grayscale(0%);
}

.team-card__dept {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.team-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.team-card__role {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-sm);
}

.team-card__bio {
  font-size: 0.9rem;
  color: rgba(26,16,8,0.65);
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; max-width: 360px; }
}

/* ==================== ABOUT PAGE ==================== */
.about-hero {
  background: var(--ink);
  padding: calc(var(--space-2xl) + 80px) 0 var(--space-2xl);
  text-align: center;
  color: var(--cream);
}

.about-hero h1 {
  max-width: 800px;
  margin: var(--space-sm) auto var(--space-md);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.about-story {
  background: var(--warm-white);
  padding: var(--space-2xl) 0;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.about-story__text {
  padding-right: var(--space-md);
}

.about-story__text p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: rgba(26,16,8,0.8);
}

.about-story__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-story__images img {
  border-radius: var(--radius-md);
  width: 100%;
}

.about-story__images img:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.about-story__images img:not(:first-child) {
  aspect-ratio: 1;
  object-fit: cover;
}

.about-milestone {
  background: var(--ink);
  padding: var(--space-xl) 0;
  text-align: center;
  color: var(--cream);
}

.milestone-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.milestone {
  text-align: center;
}

.milestone__year {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}

.milestone__label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247,240,230,0.55);
  margin-top: 0.4rem;
}

.milestone-divider {
  width: 40px;
  height: 1px;
  background: var(--gold-20);
  flex-shrink: 0;
}

/* About values */
.values-section {
  background: var(--cream);
  padding: var(--space-2xl) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  border-left: 3px solid;
  transition: transform var(--transition);
}

.value-card:hover { transform: translateX(4px); }

.value-card--teal   { border-color: var(--teal); }
.value-card--plum   { border-color: var(--plum); }
.value-card--gold   { border-color: var(--gold); }
.value-card--cobalt { border-color: var(--cobalt); }

.value-card__emoji {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.value-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.value-card__text {
  font-size: 0.95rem;
  color: rgba(26,16,8,0.7);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-story__grid { grid-template-columns: 1fr; }
  .about-story__text { padding-right: 0; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ==================== COLLECTIONS PAGE ==================== */
.collections-hero {
  background: var(--ink);
  padding: calc(var(--space-xl) + 80px) 0 var(--space-xl);
  text-align: center;
  color: var(--cream);
}

.collections-filter {
  background: var(--warm-white);
  position: sticky;
  top: 70px;
  z-index: 100;
  border-bottom: 1px solid rgba(26,16,8,0.08);
  padding: 1rem 0;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(26,16,8,0.15);
  color: rgba(26,16,8,0.6);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.filter-tab.active {
  background: var(--teal);
  border-color: var(--teal);
}

.collections-section {
  padding: var(--space-xl) 0;
  background: var(--warm-white);
}

.category-section {
  margin-bottom: var(--space-2xl);
  scroll-margin-top: 130px;
}

.category-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(26,16,8,0.08);
  gap: var(--space-md);
}

.category-section__title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-section__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.category-section__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--ink);
  line-height: 1;
}

.category-section__desc {
  font-size: 0.9rem;
  color: rgba(26,16,8,0.55);
  font-family: var(--font-body);
  font-style: italic;
  max-width: 300px;
  text-align: right;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(26,16,8,0.06);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(26,16,8,0.1);
}

.product-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__img img {
  transform: scale(1.04);
}

.product-card__body {
  padding: 0.85rem;
}

.product-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.product-card__price {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 500;
}

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

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .category-section__header { flex-direction: column; align-items: flex-start; }
  .category-section__desc { text-align: left; }
}

@media (max-width: 480px) {
  .products-grid { gap: 0.75rem; }
}

/* ==================== VISIT PAGE ==================== */
.visit-hero {
  background: var(--ink);
  padding: calc(var(--space-xl) + 80px) 0 var(--space-xl);
  text-align: center;
  color: var(--cream);
}

.visit-page__map-full {
  width: 100%;
  height: 460px;
  border: none;
  display: block;
  filter: sepia(20%);
}

.visit-page__info {
  background: var(--warm-white);
  padding: var(--space-2xl) 0;
}

.visit-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.visit-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.visit-info-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border-left: 3px solid var(--gold);
}

.visit-info-card__label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.visit-info-card__value {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.7;
}

.visit-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.visit-photos img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.visit-photos img:first-child {
  grid-column: span 2;
  height: 320px;
}

@media (max-width: 768px) {
  .visit-page__grid { grid-template-columns: 1fr; }
  .visit-page__map-full { height: 300px; }
}

/* ==================== WHATSAPP DROP PAGE ==================== */
.whatsapp-hero {
  background: var(--ink);
  padding: calc(var(--space-2xl) + 80px) 0 var(--space-2xl);
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.whatsapp-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,211,102,0.06), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.whatsapp-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  max-width: 800px;
  margin: var(--space-sm) auto var(--space-sm);
}

.whatsapp-hero .lead {
  max-width: 520px;
  margin: 0 auto var(--space-lg);
  color: rgba(247,240,230,0.75);
}

.whatsapp-benefits {
  background: var(--cream);
  padding: var(--space-2xl) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.benefit-card {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
}

.benefit-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.benefit-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.benefit-card__text {
  font-size: 0.9rem;
  color: rgba(26,16,8,0.65);
  line-height: 1.65;
}

.whatsapp-join {
  background: var(--teal);
  padding: var(--space-2xl) 0;
  text-align: center;
  color: var(--cream);
}

.whatsapp-join h2 {
  color: var(--cream);
  margin: var(--space-sm) 0 var(--space-sm);
}

.whatsapp-join .btn-whatsapp {
  padding: 1.1rem 2.5rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.social-proof {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,240,230,0.55);
  margin-top: var(--space-md);
}

@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ==================== PAGE INNER HERO (shared) ==================== */
.page-hero {
  background: var(--ink);
  padding: calc(var(--space-lg) + 80px) 0 var(--space-lg);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-20), transparent);
}

.page-hero .eyebrow { margin-bottom: var(--space-sm); }

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 700px;
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: rgba(247,240,230,0.7);
  font-size: 1.1rem;
  max-width: 500px;
}
