/* ============================================
   TELOS DIGITAL SOLUTIONS — Design System
   Premium Framing · Accra, Ghana
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ─────────────────────────── */
:root {
  --whatsapp:     #25D366;
  --whatsapp-dark:#1DA851;
  --ivory:        #FAFAF8;
  --cream:        #F2EDE6;
  --cream-dark:   #E8E0D5;
  --charcoal:     #1C1C1A;
  --charcoal-soft:#2E2E2B;
  --gold:         #C9A96E;
  --gold-light:   #DFC08A;
  --gold-dark:    #A8855A;
  --brown:        #8B7355;
  --brown-light:  #BEA882;
  --white:        #FFFFFF;
  --text-muted:   #6B6558;

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

  --shadow-sm:  0 2px 8px rgba(28,28,26,0.08);
  --shadow-md:  0 8px 32px rgba(28,28,26,0.12);
  --shadow-lg:  0 20px 60px rgba(28,28,26,0.16);
  --shadow-gold:0 8px 32px rgba(201,169,110,0.25);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);

  --nav-height: 80px;
  --max-width: 1280px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ── Typography ────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 600;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ── Layout Utilities ──────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ── Scroll Animations ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
}
.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  transition: var(--transition);
}
.nav-logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--transition);
}
#navbar.scrolled .nav-logo-name { color: var(--charcoal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--charcoal); }
#navbar.scrolled .nav-links a:hover { color: var(--gold); }

.mobile-whatsapp-link {
  background: var(--whatsapp) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem !important;
  text-align: center;
  font-weight: 600;
  border-bottom: none !important;
}

.nav-cta {
  font-size: 0.8rem !important;
  background: var(--whatsapp);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
}
.nav-cta:hover { background: var(--whatsapp-dark); color: var(--white) !important; }
.nav-cta::after { display: none !important; }

#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
#hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled #hamburger span { background: var(--charcoal); }
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--ivory);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  padding: 1.5rem 2rem 2rem;
  gap: 1.5rem;
  z-index: 999;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--cream-dark);
  padding-bottom: 1rem;
}
#mobile-menu a:last-child { border-bottom: none; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28,28,26,0.72) 0%,
    rgba(28,28,26,0.45) 60%,
    rgba(28,28,26,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: var(--nav-height);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 0.3s forwards;
}
.hero-label::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 700px;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─────────────────────────────────────────────
   MARQUEE STRIP
───────────────────────────────────────────── */
#marquee-strip {
  background: var(--charcoal);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 0 2rem;
}
.marquee-track .sep {
  color: var(--gold);
  padding: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────
   PRODUCTS / GALLERY
───────────────────────────────────────────── */
#products { background: var(--ivory); }

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 0.5rem 1.5rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.filter-tab:hover, .filter-tab.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,28,26,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }

.product-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transform: translateY(12px);
  transition: var(--transition);
  text-decoration: none;
}
.product-card:hover .product-overlay-btn { transform: translateY(0); }
.product-overlay-btn:hover { background: var(--whatsapp-dark); }

/* Card-level WhatsApp CTA */
.btn-card-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--whatsapp-dark);
  margin-top: 0.5rem;
  transition: var(--transition);
  text-decoration: none;
}
.btn-card-wa:hover { color: var(--whatsapp); }
.product-info { padding: 1.25rem; }
.product-name { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 0.25rem; }
.product-material { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.product-price { font-size: 1rem; font-weight: 600; color: var(--gold-dark); margin-bottom: 0.25rem; }

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-code {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.product-variants { align-self:flex-start; color:var(--text-muted); font-size:.72rem; margin:-.1rem 0 .45rem; }
.product-material {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.product-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.product-info .btn-card-wa { margin-top: auto; padding-top: 0.5rem !important; }
.price-on-request { color: var(--text-muted) !important; font-size: 0.86rem; }

.modal-size-field {
  margin-top: 1.25rem;
}

.modal-size-field label {
  color: var(--charcoal);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-size-field select {
  appearance: none;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  cursor: pointer;
  font: inherit;
  padding: 0.85rem 2.5rem 0.85rem 0.9rem;
  width: 100%;
}

.modal-size-field select:focus {
  border-color: var(--gold-dark);
  outline: 3px solid rgba(181, 132, 66, 0.14);
}

.modal-size-field select.invalid {
  border-color: #c44747;
  outline: 3px solid rgba(196, 71, 71, 0.12);
}

#modal-whatsapp-btn.size-required {
  opacity: 0.68;
}
.modal-size-field[hidden] { display:none; }
.brand-logo { border-radius:50%; display:block; height:46px; object-fit:cover; width:46px; }
.footer-brand .brand-logo { height:82px; margin-bottom:1rem; width:82px; }

/* CSS-only product card placeholders for non-image cards */
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.7);
}

/* ─────────────────────────────────────────────
   CUSTOM FRAMING
───────────────────────────────────────────── */
#custom-framing {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
#custom-framing::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}

#custom-framing .section-title { color: var(--white); }
#custom-framing .section-subtitle { color: rgba(255,255,255,0.65); }

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

.custom-content { }
.custom-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.custom-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.custom-feature:hover {
  border-color: var(--gold);
  background: rgba(201,169,110,0.06);
}

.custom-feature-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.custom-feature-text h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--white);
}
.custom-feature-text p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* Steps / Timeline */
.custom-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2.5rem;
}
.step:last-child { padding-bottom: 0; }

.step-line-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.step-number {
  width: 52px; height: 52px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
  background: var(--charcoal);
  position: relative;
  z-index: 1;
}
.step-connector {
  width: 1px;
  flex: 1;
  background: rgba(201,169,110,0.25);
  min-height: 40px;
}
.step:last-child .step-connector { display: none; }

.step-body { padding-top: 0.75rem; }
.step-body h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.step-body p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
#about { background: var(--cream); }

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

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.about-img-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-img-badge-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.about-img-badge-text {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.about-content .section-label { margin-bottom: 0.75rem; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-value {
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.about-value h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--charcoal);
}
.about-value p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────── */
#testimonials { background: var(--ivory); }
#testimonials .testimonials-carousel { display: none; }

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-inner {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-dark);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.2rem;
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.testimonial-quote::before { content: '\201C'; color: var(--gold); }
.testimonial-quote::after  { content: '\201D'; color: var(--gold); }

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--charcoal);
  font-weight: 700;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cream-dark);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 10;
}
.carousel-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }

/* ─────────────────────────────────────────────
   BLOG
───────────────────────────────────────────── */
#blog { background: var(--cream); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.blog-img img { height:100%; object-fit:cover; transition:transform .45s ease; width:100%; }
.blog-card:hover .blog-img img,.blog-card-featured:hover .blog-img img,.blog-card-sm:hover .blog-img img { transform:scale(1.035); }

.size-guide-home { background:#fff; padding:96px 0; }
.size-guide-layout { align-items:center; display:grid; gap:clamp(2rem,6vw,5rem); grid-template-columns:1.12fr .88fr; }
.size-guide-visual { border-radius:var(--radius-md); box-shadow:var(--shadow-md); overflow:hidden; }
.size-guide-visual img { aspect-ratio:3/2; display:block; object-fit:cover; width:100%; }
.size-guide-key { display:grid; gap:.65rem; grid-template-columns:repeat(2,1fr); margin:1.5rem 0; }
.size-guide-key div { background:var(--cream); border-left:3px solid var(--gold); border-radius:6px; padding:.8rem .9rem; }
.size-guide-key strong { display:block; font-family:var(--font-serif); }
.size-guide-key span { color:var(--text-muted); font-size:.76rem; }
@media (max-width:760px){.size-guide-layout{grid-template-columns:1fr}.size-guide-home{padding:68px 0}}

.blog-body { padding: 1.75rem; }

.blog-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: var(--charcoal);
  transition: var(--transition);
}
.blog-card:hover h3 { color: var(--gold-dark); }

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--brown-light);
}
.blog-meta-sep { color: var(--cream-dark); }

.article-link-card,
.homepage-article-card {
  cursor: pointer;
}

.article-link-card:focus-visible,
.homepage-article-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* ─────────────────────────────────────────────
   JOURNAL ARTICLE PAGE
───────────────────────────────────────────── */
.article-page {
  background: var(--ivory);
}

#article-main {
  padding: 150px 0 90px;
}

.article-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.article-back {
  display: inline-flex;
  margin-bottom: 2.5rem;
  color: var(--brown-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.article-back:hover {
  color: var(--gold-dark);
}

.article-header {
  max-width: 800px;
  margin-bottom: 2.5rem;
}

.article-header h1 {
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  line-height: 1.08;
  margin: 0.55rem 0 1.3rem;
}

.article-intro {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
  max-width: 760px;
}

.article-meta {
  color: var(--brown-light);
  font-size: 0.84rem;
  margin-top: 1.25rem;
}

.article-hero,
.article-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.article-hero {
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

.article-hero img,
.article-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
}

.article-section {
  margin-bottom: 3.5rem;
}

.article-section h2 {
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.article-section p {
  color: var(--charcoal-soft);
  font-size: 1.03rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.article-table-wrap {
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  margin-top: 1.75rem;
  overflow-x: auto;
}

.article-size-table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.article-size-table th,
.article-size-table td {
  border-bottom: 1px solid var(--cream-dark);
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.article-size-table th {
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-size-table td {
  background: var(--white);
  color: var(--charcoal-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.article-size-table tr:last-child td { border-bottom: 0; }

.article-figure {
  aspect-ratio: 4 / 3;
  margin-top: 2rem;
}

.article-figure figcaption {
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 0.85rem 1rem;
}

.article-figure:has(figcaption) {
  aspect-ratio: auto;
}

.article-figure:has(figcaption) img {
  aspect-ratio: 4 / 3;
}

.article-cta {
  align-items: center;
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 5rem;
  padding: 2.5rem;
}

.article-cta h2 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0.4rem 0 0.7rem;
}

.article-cta p {
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 560px;
}

.article-cta .btn {
  flex: 0 0 auto;
}

@media (max-width: 700px) {
  #article-main { padding: 120px 0 65px; }
  .article-shell { width: min(100% - 28px, 920px); }
  .article-hero { aspect-ratio: 4 / 3; margin-bottom: 3rem; }
  .article-cta { align-items: flex-start; flex-direction: column; padding: 2rem; }
  .article-cta .btn { width: 100%; text-align: center; }
}

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
#faq { background: var(--ivory); }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--gold); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--charcoal);
  text-align: left;
  gap: 1rem;
  transition: var(--transition);
}
.faq-item.open .faq-question { color: var(--gold-dark); }

.faq-icon {
  width: 28px; height: 28px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--cream-dark);
  padding-top: 1.25rem;
  margin-top: 0;
}

/* ─────────────────────────────────────────────
   CONTACT / QUOTE
───────────────────────────────────────────── */
/* ─────────────────────────────────────────────
   WHATSAPP CTA OPTIONS (replaces contact form)
───────────────────────────────────────────── */
.wa-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.wa-option-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}
.wa-option-card:hover {
  border-color: var(--whatsapp);
  background: rgba(37,211,102,0.06);
}
.wa-option-icon {
  font-size: 2rem;
  line-height: 1;
}
.wa-option-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.3;
}
.wa-option-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  flex: 1;
}
.wa-hours {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.5rem;
}

/* ─────────────────────────────────────────────
   WHATSAPP CTA BLOCK (FAQ section)
───────────────────────────────────────────── */
.whatsapp-cta-block {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.wa-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.wa-cta-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.wa-cta-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   FOOTER WA STRIP
───────────────────────────────────────────── */
.footer-wa-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}
.footer-wa-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.footer-wa-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ─────────────────────────────────────────────
   FLOATING WHATSAPP FAB
───────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 100px;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-fab:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}
.whatsapp-fab-label { white-space: nowrap; }

#contact { background: var(--charcoal); color: var(--white); }
#contact .section-title { color: var(--white); }
#contact .section-subtitle { color: rgba(255,255,255,0.65); }

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

.contact-info { }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info-item:last-child { border-bottom: none; }

.contact-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(201,169,110,0.35);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-info-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.contact-info-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* Form */
.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.form-subtitle {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.form-group.full { grid-column: span 2; }

label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

input, select, textarea {
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.3); }
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
select option { background: var(--charcoal-soft); color: var(--white); }
textarea { resize: vertical; min-height: 110px; }

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

#form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--gold);
}
#form-success .success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
#form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
#form-success p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
#footer {
  background: #141412;
  color: rgba(255,255,255,0.55);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand .nav-logo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
}
.footer-brand .nav-logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.social-btn {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer-bottom a:hover { color: var(--gold); }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .custom-inner { grid-template-columns: 1fr; gap: 4rem; }
  .about-inner  { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-badge { right: 1rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 1024px) {
  .wa-options { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  #hamburger { display: flex; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .carousel-arrow { display: none; }
  .footer-wa-strip { flex-direction: column; text-align: center; }
  .wa-cta-inner { flex-direction: column; text-align: center; }
  .whatsapp-fab-label { display: none; }
  .whatsapp-fab { padding: 1rem; border-radius: 50%; }
}

@media (max-width: 480px) {
  :root { --nav-height: 68px; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; }
}

/* ─────────────────────────────────────────────
   MODALS (Product Pricing & Blog)
───────────────────────────────────────────── */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0;
  z-index: 1000;
}
.modal::backdrop {
  background: rgba(28, 28, 26, 0.7);
  backdrop-filter: blur(4px);
}
.modal-content {
  padding: 2.5rem 2rem;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--charcoal);
  cursor: pointer;
  line-height: 1;
}
#modal-frame-name, #blog-modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}
.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.95rem;
}
.pricing-row.header {
  font-weight: 600;
  color: var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
}
.pricing-row:not(.header) div:last-child {
  font-weight: 500;
}

#blog-modal { max-width: 700px; }
#blog-modal-body { font-size: 1rem; line-height: 1.8; color: var(--charcoal-soft); }
#blog-modal-body p { margin-bottom: 1.25rem; }

.clickable-blog {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.clickable-blog:hover, .clickable-blog:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  outline: none;
}
