@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #F7F5F1;
  --color-surface: #FFFFFF;
  --color-text: #1F1E1B;
  --color-muted: #6D6962;
  --color-accent: #9A6B3F;
  --color-accent-dark: #76502F;
  --color-accent-soft: #EEE4D9;
  --color-line: #DED8D0;
  --color-footer: #1B1A18;
  --color-whatsapp: #1F9D61;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Manrope', Arial, sans-serif;
  --shadow-sm: 0 10px 30px rgba(31, 30, 27, 0.06);
  --shadow-md: 0 22px 60px rgba(31, 30, 27, 0.10);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--color-accent-soft);
  color: var(--color-text);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.container {
  width: min(1240px, calc(100% - 64px)) !important;
  margin-inline: auto !important;
}

.section {
  padding: 112px 0;
}

body > .section:first-of-type {
  padding-top: 152px !important;
}

.section-title {
  width: min(720px, 100%);
  margin: 0 auto 54px;
  text-align: center;
}

.section-title span,
.flipbook-heading span {
  display: block;
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title h1,
.section-title h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.7vw, 4.5rem);
}

/* Navigation */

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  width: 100%;
  background: rgba(247, 245, 241, 0.88);
  border-bottom: 1px solid rgba(31, 30, 27, 0.08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
  background: rgba(247, 245, 241, 0.97);
  box-shadow: 0 8px 30px rgba(31, 30, 27, 0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.logo-dot {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

.logo-dot::after {
  position: absolute;
  inset: 3px;
  content: '';
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.navbar-menu a {
  position: relative;
  padding: 29px 0 27px;
  color: #403E39;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  transition: color 0.2s ease;
}

.navbar-menu a::after {
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 1px;
  content: '';
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--color-accent-dark);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.hamburger span {
  width: 19px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* Buttons */

.btn,
.btn-primary,
.btn-secondary,
.whatsapp-order-btn,
.btn-back,
.flipbook-open-link {
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.2;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
}

.btn:hover,
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: 0 12px 28px rgba(118, 80, 47, 0.18);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-text);
  border: 1px solid #BEB7AE;
}

.btn-secondary:hover {
  background: var(--color-surface);
  border-color: var(--color-text);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 10px 17px;
  font-size: 0.74rem;
}

/* Hero */

.hero {
  position: relative;
  min-height: min(880px, 100svh);
  padding: 146px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(154, 107, 63, 0.12), transparent 26%),
    linear-gradient(180deg, #FAF9F6 0%, var(--color-bg) 100%);
}

.hero::before {
  position: absolute;
  top: 82px;
  bottom: 0;
  left: 50%;
  width: 1px;
  content: '';
  background: linear-gradient(180deg, transparent, rgba(154, 107, 63, 0.16), transparent);
}

.hero-container {
  position: relative;
  display: grid;
  width: min(1320px, calc(100% - 64px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  gap: clamp(56px, 7vw, 108px);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 13px;
  background: transparent;
  color: var(--color-accent-dark);
  border: 1px solid rgba(154, 107, 63, 0.34);
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-badge::before {
  width: 6px;
  height: 6px;
  content: '';
  background: var(--color-accent);
  border-radius: 50%;
}

.hero-title,
.hero h1 {
  max-width: 640px;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6.35rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero-title span,
.highlight {
  color: var(--color-accent);
}

.hero-text,
.hero-desc {
  max-width: 540px;
  margin-bottom: 31px;
  color: var(--color-muted);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.85;
}

.hero-buttons,
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-image {
  position: relative;
  min-width: 0;
  padding: 18px 18px 46px 0;
}

..hero-image::before {
  position: absolute;
  inset: 0 0 28px 18px;
  content: '';
  border: 1px solid rgba(154, 107, 63, 0.32);
  border-radius: var(--radius-lg);
}

.hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(520px, 60vw, 680px);
  object-fit: cover;
  object-position: center 34%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  filter: saturate(0.8) contrast(1.03);
}

.hero-overlay {
  position: absolute;
  z-index: 2;
  inset: 18px 18px 46px 0;
  pointer-events: none;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, transparent 52%, rgba(31, 30, 27, 0.18));
}

/* Text-only homepage hero */

.hero--text-only {
  display: grid;
  min-height: min(780px, 100svh);
  padding: 154px 0 92px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(154, 107, 63, 0.13), transparent 35%),
    linear-gradient(180deg, #FAF9F6 0%, var(--color-bg) 100%);
}

.hero--text-only::before {
  top: 50%;
  bottom: auto;
  left: 50%;
  width: min(760px, 72vw);
  height: min(760px, 72vw);
  background: transparent;
  border: 1px solid rgba(154, 107, 63, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero--text-only .hero-container {
  display: block;
  width: min(1100px, calc(100% - 64px));
}

.hero--text-only .hero-content {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.hero--text-only .hero-badge {
  margin: 0 auto 28px;
}

.hero--text-only .hero-title {
  max-width: 980px;
  margin: 0 auto 28px;
  font-size: clamp(4rem, 7.2vw, 7rem);
  line-height: 0.94;
}

.hero--text-only .hero-text {
  max-width: 690px;
  margin: 0 auto 36px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.hero--text-only .hero-buttons {
  justify-content: center;
}

/* Portfolio cards */

.products-grid,
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}

.product-link,
.cat-card,
.product-card {
  min-width: 0;
}

.product-card,
.cat-card {
  position: relative;
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid rgba(31, 30, 27, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-link:hover .product-card,
.product-card:hover,
.cat-card:hover {
  border-color: rgba(154, 107, 63, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.product-img,
.cat-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #E9E5DF;
  aspect-ratio: 4 / 3;
}

.product-img img,
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.65, 0.3, 1), filter 0.4s ease;
}

.product-card:hover .product-img img,
.cat-card:hover .cat-img img {
  transform: scale(1.035);
  filter: saturate(0.9);
}

.modern-grid {
  display: grid;
  height: 330px;
  grid-template-columns: 1.75fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  aspect-ratio: auto;
}

.modern-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.modern-grid .main-img {
  grid-row: span 2;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.badge {
  display: inline-flex;
  padding: 7px 11px;
  background: rgba(247, 245, 241, 0.9);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-coral,
.badge-mint,
.badge-sky {
  background: rgba(247, 245, 241, 0.9);
  color: var(--color-accent-dark);
}

.product-body {
  display: flex;
  min-height: 178px;
  padding: 24px 24px 25px;
  flex: 1;
  flex-direction: column;
}

.product-name {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.product-desc {
  margin: 0 0 21px;
  color: var(--color-muted);
  font-size: 0.89rem;
  line-height: 1.7;
}

.product-footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-size: 0;
}

.product-price::after,
.products-grid > a.product-card > .product-body::after {
  display: inline-flex;
  width: fit-content;
  content: 'Shiko më shumë';
  color: var(--color-accent-dark);
  font-family: var(--font-body);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.products-grid > a.product-card > .product-body::after {
  margin-top: auto;
  padding-top: 2px;
}

.cat-card h4 {
  padding: 22px 20px 24px;
  font-size: 1.45rem;
  text-align: center;
}

.cat-card-home .icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  place-items: center;
  background: var(--color-accent-soft) !important;
  color: var(--color-accent-dark);
  border-radius: 50%;
  font-size: 1.5rem;
}

.section-center {
  margin-top: 48px;
  text-align: center;
}

/* Content and service cards */

.why-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-card,
.process-card,
.stat-box,
.team-card {
  background: var(--color-surface);
  border: 1px solid rgba(31, 30, 27, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.why-card {
  display: flex;
  min-width: 0;
  padding: 27px 24px;
  gap: 17px;
  align-items: flex-start;
}

.why-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  background: var(--color-accent-soft) !important;
  color: var(--color-accent-dark);
  border-radius: 50%;
  font-size: 1.05rem;
}

.why-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.why-card h4 {
  margin: 2px 0 8px;
  font-size: 1.18rem;
}

.why-card p {
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.process-card {
  padding: 34px 25px;
  text-align: center;
}

.process-number {
  display: grid;
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  place-items: center;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
}

/* About */

.page-content {
  padding-top: 82px;
}

.page-header {
  padding: 108px 0 94px;
  text-align: center;
  background:
    linear-gradient(rgba(31, 30, 27, 0.74), rgba(31, 30, 27, 0.74)),
    url('logo.jpeg') center 38% / cover no-repeat;
}

.page-header h1 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.page-header p {
  max-width: 620px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.76);
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}

.about-text h2 {
  margin-bottom: 23px;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.about-text h3 {
  margin: 35px 0 13px;
  font-size: 1.8rem;
}

.about-text p {
  margin-bottom: 18px;
  color: var(--color-muted);
  line-height: 1.9;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-box {
  display: flex;
  min-height: 160px;
  padding: 24px;
  flex-direction: column;
  justify-content: flex-end;
}

.stat-box strong {
  display: block;
  margin-bottom: 7px;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 2.55rem;
  font-weight: 400;
  line-height: 1;
}

.stat-box span {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  padding: 25px;
  text-align: center;
}

.team-photo {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 19px;
  place-items: center;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.team-card h4 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.team-card p,
.team-card span {
  display: block;
  color: var(--color-muted);
  font-size: 0.78rem;
}

/* CTA */

.cta-banner {
  position: relative;
  padding: 112px 0;
  overflow: hidden;
  background: var(--color-accent-dark);
  color: #fff;
  text-align: center;
}

.cta-banner::before,
.cta-banner::after {
  position: absolute;
  width: 340px;
  height: 340px;
  content: '';
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.cta-banner::before {
  top: -220px;
  left: -80px;
}

.cta-banner::after {
  right: -90px;
  bottom: -240px;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.cta-banner p {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.cta-banner .btn {
  margin-top: 31px;
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}

.cta-banner .btn:hover {
  color: var(--color-accent-dark);
}

/* Flipbook */

.flipbook-showcase {
  margin: -24px auto 64px;
  padding: 25px;
  background: var(--color-surface);
  border: 1px solid rgba(31, 30, 27, 0.09);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.flipbook-heading {
  margin-bottom: 21px;
  text-align: center;
}

.flipbook-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.flipbook-showcase .fp-iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 48vw, 600px) !important;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.flipbook-open-link {
  display: none;
}

/* Product detail gallery */

.product-gallery {
  padding: 144px 0 108px !important;
}

.product-gallery .container:first-child {
  padding-top: 0 !important;
}

.product-gallery h1 {
  width: min(900px, 100%);
  margin: 12px 0 42px;
  font-family: var(--font-display) !important;
  font-size: clamp(2.6rem, 5vw, 5rem) !important;
  font-weight: 400 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em;
  color: var(--color-text) !important;
}

.btn-back {
  display: inline-flex;
  min-height: 43px;
  margin-bottom: 18px;
  padding: 10px 16px;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-line) !important;
  box-shadow: none !important;
}

.btn-back:hover {
  background: var(--color-accent) !important;
  color: #fff !important;
  border-color: var(--color-accent) !important;
  transform: translateX(-3px);
}

.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.gallery-grid img {
  width: 100% !important;
  height: clamp(320px, 36vw, 480px) !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  cursor: zoom-in !important;
  box-shadow: none !important;
  transition: transform 0.35s ease, filter 0.35s ease !important;
}

.gallery-grid img:first-child:nth-last-child(n+3) {
  height: clamp(460px, 50vw, 650px) !important;
  grid-column: 1 / -1;
}

.gallery-grid img:only-child {
  grid-column: 1 / -1;
}

.gallery-grid img:hover {
  filter: saturate(0.9);
  transform: scale(0.992) !important;
  box-shadow: none !important;
}

.video-box {
  margin-top: 15px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

.video-box iframe {
  display: block !important;
  width: 100% !important;
  height: clamp(300px, 50vw, 620px) !important;
  border: 0;
  border-radius: 16px !important;
}

.product-specifications {
  margin-top: 28px;
  padding: 28px 34px;
  background: var(--color-surface);
  border: 1px solid rgba(154, 107, 63, 0.2);
  border-radius: var(--radius-md);
}

.product-specifications h2 {
  margin: 0 0 16px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}

.product-specifications ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding-left: 20px;
  color: var(--color-muted);
}

.product-specifications li::marker {
  color: var(--color-accent);
}

.order-section {
  position: relative;
  margin-top: 28px !important;
  padding: 44px 34px !important;
  overflow: hidden;
  background: var(--color-surface) !important;
  border: 1px solid rgba(154, 107, 63, 0.2);
  border-radius: var(--radius-md) !important;
  text-align: left !important;
}

.order-section::after {
  position: absolute;
  top: -55px;
  right: -55px;
  width: 150px;
  height: 150px;
  content: '';
  border: 1px solid var(--color-accent-soft);
  border-radius: 50%;
}

.order-section::before {
  display: inline-flex;
  margin-bottom: 13px;
  content: 'PUNUAR SIPAS POROSISË';
  color: var(--color-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.order-section h3 {
  margin: 0 0 9px !important;
  color: var(--color-text) !important;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem) !important;
  font-weight: 400;
}

.order-section p {
  margin: 0 0 23px !important;
  color: var(--color-muted) !important;
}

.whatsapp-order-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  background: var(--color-whatsapp) !important;
  color: #fff !important;
  border: 1px solid var(--color-whatsapp);
}

.whatsapp-order-btn:hover {
  background: #18824F !important;
  border-color: #18824F;
  box-shadow: 0 12px 28px rgba(31, 157, 97, 0.2);
  transform: translateY(-2px) !important;
}

/* Lightbox */

.lightbox {
  position: fixed !important;
  z-index: 9999 !important;
  inset: 0 !important;
  display: none !important;
  padding: 30px !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(20, 19, 17, 0.96) !important;
  backdrop-filter: blur(12px);
}

.lightbox.active {
  display: flex !important;
}

.lightbox img {
  width: auto !important;
  max-width: min(1200px, 92vw) !important;
  height: auto !important;
  max-height: 88vh !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5) !important;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed !important;
  z-index: 10000 !important;
  display: flex !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 1.3rem !important;
  transition: background-color 0.2s ease !important;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}

.lightbox-close {
  top: 22px !important;
  right: 22px !important;
}

.lightbox-prev {
  top: 50% !important;
  left: 22px !important;
  transform: translateY(-50%) !important;
}

.lightbox-next {
  top: 50% !important;
  right: 22px !important;
  transform: translateY(-50%) !important;
}

/* Footer */

footer {
  padding-top: 88px;
  background: var(--color-footer);
  color: #fff;
}

footer .navbar-logo {
  color: #fff;
}

.footer-grid {
  display: grid;
  padding-bottom: 62px;
  grid-template-columns: 1.8fr 0.8fr 1fr 1.25fr;
  gap: clamp(30px, 5vw, 72px);
}

.footer-grid-catalog {
  grid-template-columns: 1.65fr 0.72fr 0.9fr 0.9fr 1.15fr;
  gap: clamp(24px, 3.5vw, 54px);
}

.footer-brand p {
  max-width: 330px;
  margin: 23px 0 26px;
  color: #AAA7A0;
  font-size: 0.87rem;
  line-height: 1.85;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-col h5 {
  margin-bottom: 22px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 11px;
}

.footer-col li a,
.footer-contact-item {
  color: #AAA7A0;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.footer-col li a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  margin-bottom: 14px;
  gap: 11px;
  align-items: flex-start;
}

.footer-contact-item .ic {
  color: var(--color-accent);
}

.location-map-link {
  color: inherit;
  text-decoration: none;
}

.location-map-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-bottom {
  padding: 22px 0;
  color: #77746E;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.035em;
  text-align: center;
}

/* Fixed WhatsApp contact */

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  background: var(--color-whatsapp);
  color: #fff;
  border: 3px solid var(--color-bg);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(25, 91, 61, 0.28);
  font-size: 1.45rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-fab:hover {
  background: #18824F;
  transform: translateY(-3px);
}

/* Cookie and privacy controls */

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10001;
  display: flex;
  width: min(700px, calc(100% - 44px));
  padding: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-footer);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.cookie-banner-text {
  display: grid;
  gap: 3px;
  line-height: 1.5;
}

.cookie-banner-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

.cookie-banner-text span {
  color: #BBB8B1;
  font-size: 0.76rem;
}

.cookie-banner-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.cookie-btn {
  padding: 10px 13px;
  cursor: pointer;
  background: #2B2926;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font: 700 0.7rem var(--font-body);
}

.cookie-btn-accept {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.cookie-btn:hover {
  background: var(--color-accent-dark);
}

.privacy-notice {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10002;
  width: min(760px, calc(100% - 36px));
  max-height: min(78vh, 680px);
  padding: 30px;
  overflow-y: auto;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.privacy-notice h3 {
  margin: 0 42px 16px 0;
  font-size: 1.8rem;
}

.privacy-notice p {
  margin-bottom: 12px;
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.privacy-notice a {
  color: var(--color-accent-dark);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.privacy-notice-close {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 36px;
  height: 36px;
  cursor: pointer;
  place-items: center;
  background: var(--color-accent-soft);
  color: var(--color-text);
  border: 0;
  border-radius: 50%;
  font-size: 1.35rem;
}

/* Existing inline wrappers on the all-products page */

body > main:not(.page-content) {
  padding: 148px 0 112px !important;
  background: var(--color-bg) !important;
}

body > main:not(.page-content) > div {
  width: min(1240px, calc(100% - 64px)) !important;
}

body > main:not(.page-content) > div > h2 {
  margin-bottom: 50px !important;
  font-family: var(--font-display) !important;
  font-size: clamp(2.5rem, 4.7vw, 4.5rem) !important;
  font-weight: 400 !important;
}

/* Subtle entrance motion for existing reveal hooks */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal-in 0.65s ease both;
  }

  @keyframes reveal-in {
    from {
      opacity: 0;
      transform: translateY(14px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Tablet */

@media (max-width: 1060px) {
  .container,
  .hero-container,
  body > main:not(.page-content) > div {
    width: min(100% - 44px, 920px) !important;
  }

  .navbar-menu {
    gap: 23px;
  }

  .hero {
    min-height: 0;
  }

  .hero--text-only {
    min-height: min(720px, 100svh);
  }

  .hero::before {
    display: none;
  }

  .hero--text-only::before {
    display: block;
  }

  .hero-container {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
    gap: 42px;
  }

  .hero-title,
  .hero h1 {
    font-size: clamp(3.3rem, 6.5vw, 4.7rem);
  }

  .hero-image img {
    height: 560px;
  }

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

  .why-grid,
  .process-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-stats {
    max-width: 700px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .footer-grid-catalog > :last-child {
    grid-column: span 2;
  }
}

/* Mobile navigation and layout */

@media (max-width: 820px) {
  .navbar-inner {
    min-height: 74px;
  }

  .navbar-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    position: absolute;
    top: 74px;
    right: 14px;
    left: 14px;
    display: flex;
    max-height: calc(100svh - 90px);
    padding: 15px;
    overflow-y: auto;
    flex-direction: column;
    gap: 2px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-line);
    border-radius: 0 0 18px 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu > a:not(.btn) {
    padding: 12px 13px;
    color: var(--color-text);
    border-bottom: 1px solid #EEEAE4;
    font-size: 0.88rem;
    font-weight: 600;
  }

  .mobile-menu > a.active:not(.btn) {
    color: var(--color-accent-dark);
  }

  .mobile-menu .btn {
    width: 100%;
    margin-top: 11px;
  }

  .page-content {
    padding-top: 74px;
  }

  .hero {
    padding: 122px 0 72px;
  }

  .hero--text-only {
    min-height: 680px;
    padding: 126px 0 76px;
  }

  .hero--text-only::before {
    width: min(700px, 95vw);
    height: min(700px, 95vw);
  }

  .hero--text-only .hero-title {
    font-size: clamp(3.65rem, 11vw, 5.7rem);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-content {
    max-width: 690px;
  }

  .hero-image {
    padding: 14px 14px 35px 0;
  }

  .hero-image::before {
    inset: 0 0 21px 14px;
  }

  .hero-image::after {
    width: 154px;
    height: 96px;
  }

  .hero-image img {
    height: min(70vw, 540px);
    min-height: 390px;
  }

  .hero-overlay {
    inset: 14px 14px 35px 0;
  }

  body > .section:first-of-type,
  body > main:not(.page-content) {
    padding-top: 126px !important;
  }

  .section {
    padding: 86px 0;
  }

  .product-gallery {
    padding: 120px 0 82px !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :last-child {
    grid-column: auto;
  }

  .footer-grid-catalog > :last-child {
    grid-column: 1 / -1;
  }

  .cookie-banner {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

@media (max-width: 600px) {
  .container,
  .hero-container,
  body > main:not(.page-content) > div {
    width: calc(100% - 32px) !important;
  }

  body {
    font-size: 15px;
  }

  .navbar-logo {
    gap: 9px;
    font-size: 1.15rem;
  }

  .logo-dot {
    width: 11px;
    height: 11px;
    flex-basis: 11px;
  }

  .hero {
    padding-top: 111px;
  }

  .hero--text-only {
    min-height: 650px;
    padding: 124px 0 68px;
  }

  .hero--text-only::before {
    width: min(520px, 135vw);
    height: min(520px, 135vw);
  }

  .hero-badge {
    max-width: 100%;
    white-space: normal;
  }

  .hero-title,
  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(3.2rem, 16vw, 4.7rem);
  }

  .hero--text-only .hero-title {
    margin-bottom: 22px;
    font-size: clamp(3.15rem, 15vw, 4.25rem);
    line-height: 0.98;
  }

  .hero--text-only .hero-text {
    margin-bottom: 30px;
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .hero-buttons,
  .hero-btns {
    flex-direction: column;
  }

  .hero-buttons > *,
  .hero-btns > * {
    width: 100%;
  }

  .hero-image img {
    height: 108vw;
    min-height: 410px;
    max-height: 540px;
  }

  .hero-image::after {
    width: 134px;
    height: 84px;
    font-size: 0.61rem;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .section-title h1,
  .section-title h2 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .products-grid,
  .categories-grid,
  .why-grid,
  .process-grid,
  .team-grid,
  .about-stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid-catalog {
    grid-template-columns: 1fr;
  }

  .footer-grid-catalog > :last-child {
    grid-column: auto;
  }

  .products-grid,
  .categories-grid {
    gap: 20px;
  }

  .product-card,
  .cat-card {
    border-radius: 17px;
  }

  .modern-grid {
    height: 300px;
  }

  .product-body {
    min-height: 164px;
    padding: 21px;
  }

  .product-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-footer .btn {
    width: 100%;
  }

  .why-card {
    padding: 23px 21px;
  }

  .page-header {
    padding: 86px 0 76px;
  }

  .page-header h1 {
    font-size: 3.4rem;
  }

  .about-content {
    gap: 44px;
  }

  .stat-box {
    min-height: 130px;
  }

  .cta-banner {
    padding: 86px 0;
  }

  .flipbook-showcase {
    margin-bottom: 42px;
    padding: 18px 11px 11px;
  }

  .flipbook-showcase .fp-iframe {
    height: 267px !important;
  }

  .flipbook-open-link {
    display: flex;
    width: fit-content;
    margin: 15px auto 4px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-accent);
    color: #fff;
  }

  .product-gallery h1 {
    margin-bottom: 30px;
    font-size: clamp(2.55rem, 13vw, 3.7rem) !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .gallery-grid img,
  .gallery-grid img:first-child:nth-last-child(n+3) {
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    grid-column: auto !important;
    border-radius: 12px !important;
  }

  .video-box iframe {
    height: 280px !important;
  }

  .product-specifications {
    padding: 25px 22px;
  }

  .product-specifications ul {
    grid-template-columns: 1fr;
  }

  .order-section {
    padding: 29px 22px !important;
  }

  .whatsapp-order-btn {
    width: 100%;
    justify-content: center;
  }

  footer {
    padding-top: 66px;
  }

  .footer-grid {
    padding-bottom: 42px;
    gap: 32px;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .cookie-banner-actions {
    flex-wrap: wrap;
  }

  .cookie-btn-privacy {
    flex-basis: 100%;
  }

  .lightbox {
    padding: 18px !important;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 42px !important;
    height: 42px !important;
  }

  .lightbox-close {
    top: 14px !important;
    right: 14px !important;
  }

  .lightbox-prev {
    left: 8px !important;
  }

  .lightbox-next {
    right: 8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
