/* ═══════════════════════════════════════════════════════════════
   КЕРАМИР — Landing Page Stylesheet
   Design: Modern premium tile & sanitary ware showroom
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─────────────────────────────────── */
:root {
  --color-primary:     #1C1C1C;
  --color-accent:      #B8894A;
  --color-accent-light:#D4A96A;
  --color-accent-dark: #8F6333;
  --color-bg:          #F8F6F2;
  --color-bg-alt:      #EFEDE8;
  --color-dark:        #121212;
  --color-dark-alt:    #1E1E1E;
  --color-text:        #2A2A2A;
  --color-text-muted:  #6B6B6B;
  --color-border:      #E0D8CE;
  --color-white:       #FFFFFF;
  --color-success:     #25D366;

  --font-sans:   'Montserrat', system-ui, -apple-system, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.18);

  --radius-sm:   4px;
  --radius-md:   10px;
  --radius-lg:   18px;
  --radius-full: 999px;

  --transition:  .28s cubic-bezier(.4,0,.2,1);

  --container-w: 1240px;
  --section-gap: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

address { font-style: normal; }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ─── Skip Link (accessibility) ─────────────────────────────── */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  background: var(--color-accent);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ─── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Sections ───────────────────────────────────────────────── */
.section {
  padding: var(--section-gap) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header--light { color: var(--color-white); }

.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(184,137,74,.12);
  border: 1px solid rgba(184,137,74,.25);
  border-radius: var(--radius-full);
  padding: .3rem .9rem;
  margin-bottom: 1rem;
}
.section-tag--gold {
  color: var(--color-accent-light);
  background: rgba(184,137,74,.15);
  border-color: rgba(184,137,74,.35);
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: .9rem;
  color: inherit;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.section-header--light p { color: rgba(255,255,255,.7); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(184,137,74,.3);
}
.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,137,74,.4);
}
.btn-primary:active { transform: translateY(0); }

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

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.9);
  transform: translateY(-2px);
}

.btn-lg  { font-size: 1rem; padding: .95rem 2.25rem; }
.btn-sm  { font-size: .8rem; padding: .5rem 1.2rem; }
.btn-full { width: 100%; }

/* ─── ANNOUNCEMENT BAR ───────────────────────────────────────── */
.announce-bar {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: .6rem 1rem;
  font-size: .82rem;
  letter-spacing: .02em;
  position: sticky;
  top: 0;
  z-index: 101;
}
.announce-bar p { opacity: .92; }
.announce-bar strong { color: var(--color-accent-light); }
.announce-bar a { color: var(--color-accent-light); text-decoration: underline; }

/* ─── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: var(--announce-h, 0px);
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.logo:hover { opacity: .8; }
.logo-main {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--color-primary);
}
.logo-sub {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Desktop nav */
.nav-desktop ul {
  display: flex;
  gap: 0;
}
.nav-desktop a {
  display: block;
  padding: .55rem .85rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-accent);
  background: rgba(184,137,74,.08);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition);
}
.btn-phone:hover { color: var(--color-accent); }
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #25D366;
  color: var(--color-white);
  padding: .45rem 1rem;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-wa:hover {
  background: #1da851;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,.35);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: 1.5rem;
}
.nav-mobile .mobile-link {
  display: block;
  padding: .7rem .75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-mobile .mobile-link:hover {
  color: var(--color-accent);
  background: rgba(184,137,74,.08);
}
.mobile-cta {
  display: flex;
  gap: .75rem;
}
.mobile-cta .btn { flex: 1; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 72px - 2.2rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18,18,18,.82) 0%,
    rgba(18,18,18,.65) 50%,
    rgba(18,18,18,.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 5rem;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(184,137,74,.2);
  border: 1px solid rgba(184,137,74,.4);
  border-radius: var(--radius-full);
  padding: .35rem 1rem;
  font-size: .82rem;
  color: var(--color-accent-light);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.star-rating { color: #F5C842; letter-spacing: .05em; }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--color-accent-light);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-location {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: rgba(255,255,255,.65);
  font-size: .86rem;
}
.hero-location svg { flex-shrink: 0; margin-top: 2px; }

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,.5);
  animation: bounce 2s infinite;
  transition: color var(--transition);
}
.scroll-down:hover { color: rgba(255,255,255,.9); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--color-primary);
  padding: 2.5rem 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: 0 1.5rem;
}
.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
}
.stat-label {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

/* ─── CATEGORIES ─────────────────────────────────────────────── */
.categories {
  background: var(--color-bg);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
}
.category-card--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.category-card:hover img { transform: scale(1.06); }

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18,18,18,.88) 0%,
    rgba(18,18,18,.2) 60%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background var(--transition);
}
.category-card:hover .category-card__overlay {
  background: linear-gradient(
    to top,
    rgba(18,18,18,.92) 0%,
    rgba(18,18,18,.4) 60%,
    rgba(18,18,18,.1) 100%
  );
}

.category-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: .4rem;
}
.category-card--large .category-card__body h3 { font-size: 1.8rem; }

.category-card__body p {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 1rem;
  line-height: 1.5;
  max-width: 280px;
}

/* ─── WHY US ─────────────────────────────────────────────────── */
.why-us {
  background: var(--color-primary);
  color: var(--color-white);
}

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

.feature-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
}
.feature-card:hover {
  background: rgba(184,137,74,.12);
  border-color: rgba(184,137,74,.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  color: var(--color-accent-light);
  margin-bottom: 1.25rem;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: .6rem;
}
.feature-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}

/* ─── CONSULTATION CTA ───────────────────────────────────────── */
.consult-cta {
  background: var(--color-bg-alt);
  overflow: hidden;
}

.consult-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.consult-text .section-tag { margin-bottom: 1rem; }

.consult-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.consult-text > p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.consult-benefits {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 2rem;
}
.consult-benefits li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--color-text);
}
.consult-benefits svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.consult-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 5/4;
  background: var(--color-border);
}
.consult-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── GALLERY ────────────────────────────────────────────────── */
.gallery {
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  background: var(--color-bg-alt);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-footer {
  text-align: center;
}

/* ─── PRODUCTS ───────────────────────────────────────────────── */
.products {
  background: var(--color-bg-alt);
}

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

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: #E53E3E;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: var(--radius-full);
}

.product-info {
  padding: 1.25rem;
}
.product-brand {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: .25rem;
}
.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: .3rem;
}
.product-spec {
  font-size: .78rem;
  color: var(--color-text-muted);
  margin-bottom: .85rem;
  line-height: 1.5;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .85rem;
}
.price-new {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
}
.price-old {
  font-size: .85rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.products-footer, .categories-footer {
  text-align: center;
  margin-top: 2.5rem;
}
.products-footer p, .categories-footer p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

/* ─── REVIEWS ────────────────────────────────────────────────── */
.reviews {
  background: var(--color-dark);
  color: var(--color-white);
}

.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 1rem;
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}
.big-stars {
  font-size: 1.4rem;
  color: #F5C842;
  letter-spacing: .06em;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.review-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
}
.review-card:hover {
  background: rgba(184,137,74,.12);
  border-color: rgba(184,137,74,.3);
}

.review-stars {
  font-size: 1rem;
  color: #F5C842;
  letter-spacing: .06em;
}

.review-card blockquote p {
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  font-style: italic;
}

.review-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.reviewer-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-white);
}
.review-source {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}

.reviews-footer { text-align: center; }

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact {
  background: var(--color-bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info .section-tag { margin-bottom: .75rem; }
.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}
.contact-list strong {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  margin-bottom: .2rem;
}
.contact-list span, .contact-list a {
  font-size: .95rem;
  color: var(--color-text);
  line-height: 1.5;
}
.contact-list a:hover { color: var(--color-accent); }

.contact-ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: opacity var(--transition);
}
.map-link:hover { opacity: .75; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.map-iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}
.map-static {
  display: none;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.map-static img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.map-static__btn {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: .65rem 1.75rem;
  border-radius: 2rem;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
@media (max-width: 767px) {
  .map-iframe { display: none; }
  .map-static { display: block; }
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.75);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 1.5rem 3rem;
}

.logo--footer .logo-main { color: var(--color-white); }

.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.social-links {
  display: flex;
  gap: .75rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.footer-nav h3, .footer-contact h3 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-accent-light); }

.footer-contact address {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-contact p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
}
.footer-contact strong {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .2rem;
}
.footer-contact a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--color-accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a {
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--color-accent-light); }

/* ─── FLOATING WHATSAPP ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: all var(--transition);
}
.wa-float:hover {
  background: #1da851;
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
}
.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: scale(1);
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + .75rem);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: .78rem;
  font-weight: 600;
  padding: .4rem .8rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: scale(.9);
  transition: all var(--transition);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -.4rem;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--color-primary);
}

/* ─── IMAGE PLACEHOLDER FALLBACK ─────────────────────────────── */
img[src="assets/images/hero-bg.jpg"],
img[src^="assets/images/category-"],
img[src^="assets/images/gallery-"],
img[src="assets/images/design-project.jpg"] {
  background: var(--color-bg-alt);
  min-height: 200px;
}

/* ─── SCROLL ANIMATION ───────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE — TABLET ────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-gap: 72px; }

  .nav-desktop, .header-cta { display: none; }
  .burger { display: flex; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid  { grid-template-columns: repeat(2, 1fr); }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: span 2; }

  .consult-inner { gap: 3rem; }
  .contact-inner { gap: 3rem; }
}

@media (max-width: 900px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-card--large {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

  .stats-grid { flex-wrap: wrap; }
  .stat-item  { flex: 0 0 50%; }
  .stat-divider { display: none; }
}

/* ─── RESPONSIVE — MOBILE ────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --section-gap: 56px; }

  .announce-bar { padding: .45rem .75rem; }
  .announce-bar p { font-size: .72rem; letter-spacing: 0; }

  .hero { min-height: 90svh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .stats-grid { flex-direction: column; gap: 1.5rem; }
  .stat-item  { flex: unset; width: 100%; }

  .categories-grid {
    grid-template-columns: 1fr;
  }
  .category-card--large {
    grid-column: unset;
    grid-row: unset;
    aspect-ratio: 4/3;
  }

  .features-grid  { grid-template-columns: 1fr; }
  .gallery-grid   { grid-template-columns: repeat(2, 1fr); }
  .products-grid  { grid-template-columns: 1fr; }
  .reviews-grid   { grid-template-columns: 1fr; }

  .consult-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .consult-image { display: none; }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .map-wrap { aspect-ratio: 4/3; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem 2rem;
  }
  .footer-brand { grid-column: unset; }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .wa-float { bottom: 1.25rem; right: 1.25rem; }
}

@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-ctas { flex-direction: column; }
  .contact-ctas .btn { width: 100%; }
}

/* ─── Focus Visible (accessibility) ─────────────────────────── */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ─── Selection ──────────────────────────────────────────────── */
::selection {
  background: rgba(184,137,74,.25);
  color: var(--color-primary);
}

/* ─── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

/* ─── Print ──────────────────────────────────────────────────── */
@media print {
  .announce-bar, .site-header, .wa-float, .scroll-down,
  .hero-actions, .gallery-footer, .reviews-footer { display: none; }
  .hero { min-height: auto; }
  .hero-bg { display: none; }
  .hero-content { color: #000; }
}
