/*
Theme Name: Azərbayraq
Theme URI: https://azerbayraq.az
Author: Azərbayraq MMC
Description: Bilingual (AZ/EN) corporate theme for Azərbayraq MMC — flags, flagpoles and related products. Works with Polylang for languages and Contact Form 7 / WP Mail SMTP for enquiries.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: azerbayraq
*/

/* ---------- Tokens ---------- */
:root {
  --ink: #2B2416;
  --text: #3A3326;
  --muted: #6E6553;
  --gold-1: #E8C35A;
  --gold-2: #C9A034;
  --gold-3: #B07F1A;
  --gold-text: #8C6A12;
  --gold-soft: #F6E7B8;
  --cream: #FBF7EC;
  --cream-2: #F6EFDC;
  --line: #ECE3CC;
  --white: #FFFFFF;
  --footer: #1C170E;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(43, 36, 22, .08);
  --shadow-lg: 0 24px 60px rgba(43, 36, 22, .12);
  --container: 1200px;
  --gold-grad: linear-gradient(135deg, #EBC75E 0%, #C9A034 55%, #B07F1A 100%);
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Noto Sans", "Segoe UI", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--gold-text); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }
.section { position: relative; padding: clamp(64px, 8vw, 110px) 0; }
.section--cream { background: var(--cream); }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; line-height: 1.2; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 8px 22px rgba(176, 127, 26, .28); }
.btn--gold:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(176, 127, 26, .36); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }

/* ---------- Waves ---------- */
.waves { position: absolute; pointer-events: none; z-index: 0; }
.waves svg { display: block; width: 100%; height: 100%; }
.waves--hero { top: -60px; right: -8%; width: min(1100px, 95vw); height: 640px; }
.waves--hero-bottom { bottom: -120px; left: -12%; width: min(900px, 90vw); height: 420px; transform: scaleY(-1) rotate(4deg); opacity: .75; }
.waves--page { top: -90px; right: -10%; width: min(950px, 110vw); height: 460px; opacity: .9; }
.waves--cta { inset: -40px -5% auto auto; width: 900px; height: 420px; opacity: .35; }
.waves--footer { top: -1px; left: 0; width: 100%; height: 90px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #E9DFC6; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #E9DFC6; }
.topbar a:hover { color: var(--gold-1); }
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--gold-1); flex: none; }
.topbar__slogan { font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; color: var(--gold-1); font-size: 12.5px; text-transform: uppercase; }
@media (max-width: 860px) { .topbar__slogan, .topbar__email { display: none !important; } }
@media (max-width: 560px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(43,36,22,.08); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg { width: 210px; height: auto; }
@media (max-width: 480px) { .brand svg { width: 172px; } .site-header .container { min-height: 70px; } }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.nav a {
  position: relative; display: block; padding: 10px 14px; font-family: var(--font-head);
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-switch a {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .04em;
  padding: 6px 11px; border-radius: 999px; color: var(--muted);
}
.lang-switch a.is-current { background: var(--ink); color: #fff; }
.lang-switch a:not(.is-current):hover { color: var(--ink); background: var(--cream); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav__cta-mobile { display: none; }

@media (max-width: 1060px) {
  .header-actions .btn { display: none; }
}
@media (max-width: 980px) {
  /* backdrop-filter would trap the fixed drawer inside the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-open .site-header { z-index: 130; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; z-index: 120;
    padding: 96px 28px 32px; transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    box-shadow: -20px 0 60px rgba(0,0,0,.12); overflow-y: auto; margin: 0;
  }
  .nav-open .nav { visibility: visible; transition: transform .3s ease, visibility 0s; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { padding: 16px 4px; font-size: 17px; }
  .nav a::after { left: 4px; right: auto; width: 40px; bottom: 8px; }
  .nav-open .nav { transform: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(28,23,14,.45); z-index: 110; opacity: 0; visibility: hidden; transition: opacity .3s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-open .nav-toggle { position: relative; z-index: 130; }
  .nav__cta-mobile { display: grid; gap: 12px; margin-top: 28px; }
  .nav .nav__cta-mobile .btn { display: flex; width: 100%; padding: 14px 22px; font-size: 15px; }
  .nav .nav__cta-mobile .btn::after { display: none; }
  .nav-open .wa-float { display: none; }
}
@media (min-width: 981px) { .nav-backdrop { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero__slogan {
  font-family: var(--font-head); font-style: italic; font-weight: 600; color: var(--gold-text);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin-bottom: 18px;
}
.hero h1 span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 30px; }
.hero__visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 520px; }
.hero__visual::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; left: 11%; bottom: 6%;
  background: radial-gradient(circle at 50% 45%, #FFF6D8 0%, #FBEBB6 45%, rgba(251,235,182,0) 70%);
}
.hero__pole { position: relative; height: 540px; width: auto; filter: drop-shadow(0 30px 30px rgba(43,36,22,.18)); }
.hero__badge {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-family: var(--font-head);
}
.hero__badge strong { display: block; font-size: 1.6rem; color: var(--ink); line-height: 1; }
.hero__badge small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; margin-top: 4px; max-width: 150px; line-height: 1.3; }
.hero__badge--1 { left: 0; top: 18%; }
.hero__badge--2 { right: 0; bottom: 16%; }
.hero__badge i { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-grad); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); flex: none; }
.hero__badge i svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__visual { min-height: 400px; }
  .hero__pole { height: 400px; }
}
@media (max-width: 480px) {
  .hero__badge { padding: 10px 12px; }
  .hero__badge strong { font-size: 1.25rem; }
  .hero__badge small { max-width: 110px; font-size: 11.5px; }
  .hero__badge i { display: none; }
}

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 2; margin-top: -40px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); line-height: 1.1; }
.stat strong em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 820px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.service__icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--cream); border: 1px solid var(--gold-soft);
  display: flex; align-items: center; justify-content: center; color: var(--gold-3); margin-bottom: 20px;
}
.service__icon svg { width: 28px; height: 28px; }
.service p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- Category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: inherit; }
.cat__media {
  position: relative; height: 250px; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  display: flex; align-items: flex-end; justify-content: center; padding: 22px 22px 0; overflow: hidden;
}
.cat__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transition: transform .3s ease; }
.cat:hover .cat__media::after { transform: scaleX(1); }
.cat__media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .4s ease; }
.cat:hover .cat__media img { transform: scale(1.04); }
.cat__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.cat__body p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.cat__more { margin-top: auto; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--gold-text); display: inline-flex; align-items: center; gap: 8px; }
.cat__more svg { width: 18px; height: 18px; transition: transform .2s; }
.cat:hover .cat__more svg { transform: translateX(4px); }
@media (max-width: 980px) { .cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cats { grid-template-columns: 1fr; } }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; display: grid; gap: 14px; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--gold-grad) center / 14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B2416' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E"), var(--gold-grad);
}
.about-visual { position: relative; border-radius: var(--radius-lg); background: var(--cream); padding: 40px; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; justify-content: center; }
.about-visual img { position: relative; z-index: 1; max-height: 440px; width: auto; }
.quote-card {
  position: absolute; z-index: 2; left: 22px; top: 22px; max-width: 260px; background: #fff; border-radius: 14px;
  padding: 16px 18px; box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink);
  border-left: 4px solid var(--gold-2);
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 2.2rem; line-height: 1; margin-bottom: 14px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Partners ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
}
.logo-tile {
  flex: none; width: 190px; height: 112px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; padding: 16px 20px;
}
.logo-tile img { max-height: 76px; max-width: 100%; width: auto; object-fit: contain; }

.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.partner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.partner__logo { height: 96px; width: 100%; display: flex; align-items: center; justify-content: center; }
.partner__logo img { max-height: 96px; max-width: 100%; width: auto; object-fit: contain; }
.partner__text { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; text-align: center; line-height: 1.3; }
.logo-tile .partner__text { font-size: 13px; }
.partner__name { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--ink); line-height: 1.35; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; }
.partners-group + .partners-group { margin-top: 56px; }
.partners-group h2 { font-size: 1.35rem; margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.partners-group h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 480px) { .partners-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .partner__logo { height: 72px; } .partner__logo img { max-height: 72px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #EFE6CF; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); }
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { color: #D9CFB6; max-width: 620px; font-size: 1.08rem; }
.cta-band .btn-row { margin-top: 28px; position: relative; z-index: 1; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .waves { z-index: 0; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--cream); padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 14px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-hidden] { color: var(--gold-2); }

/* ---------- Products ---------- */
.subnav { position: sticky; top: 84px; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
@media (max-width: 480px) { .subnav { top: 70px; } }
.subnav ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); background: #fff;
}
.subnav a:hover { border-color: var(--gold-2); }
.subnav a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.product { scroll-margin-top: 150px; }
.product + .product { border-top: 1px solid var(--line); }
.product__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.product--alt .product__media { order: -1; }
@media (max-width: 900px) { .product__grid { grid-template-columns: 1fr; } .product--alt .product__media { order: 0; } }
.product__num { font-family: var(--font-head); font-weight: 800; color: var(--gold-soft); font-size: 4.2rem; line-height: 1; margin-bottom: -6px; }
.product__desc { color: var(--muted); font-size: 1.05rem; }
.specs { display: grid; gap: 0; margin: 26px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.spec { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.spec:last-child { border-bottom: 0; }
.spec dt { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink); }
.spec dd { margin: 0; color: var(--text); font-size: 15px; }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; gap: 2px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--gold-soft); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.product__media { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--cream) 0%, #fff 70%); border: 1px solid var(--line); padding: 32px; min-height: 420px; display: flex; align-items: flex-end; justify-content: center; gap: 18px; overflow: hidden; }
.product__media img { max-height: 460px; width: auto; object-fit: contain; position: relative; z-index: 1; }
.product__media--row img { height: clamp(180px, 28vw, 360px); max-height: none; width: auto; min-width: 0; flex: 0 1 auto; object-fit: contain; object-position: bottom; }
@media (max-width: 520px) { .product__media { padding: 20px; min-height: 0; gap: 8px; } }
.product__media .waves { opacity: .5; }
.gallery-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }

.components { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.component { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.component img { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: contain; margin: 0 auto 12px; border-radius: 10px; mix-blend-mode: multiply; }
.component code { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .04em; color: var(--gold-text); background: var(--cream); padding: 3px 10px; border-radius: 6px; margin-bottom: 8px; }
.component h4 { font-size: 14.5px; margin: 0 0 6px; }
.component p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }
@media (max-width: 1000px) { .components { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .components { grid-template-columns: 1fr 1fr; } }

.fabrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fabric { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fabric__swatch { height: 120px; position: relative; }
.fabric__swatch span { position: absolute; left: 16px; bottom: 12px; font-family: var(--font-head); font-weight: 800; color: var(--ink); background: rgba(255,255,255,.88); padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.fabric__body { padding: 20px 20px 22px; }
.fabric__body p { color: var(--muted); font-size: 14.5px; margin: 0; }
.swatch--rashel { background: repeating-linear-gradient(60deg, #F3D57A 0 3px, #E9C45A 3px 6px), #EDC963; background-blend-mode: multiply; }
.swatch--satin { background: linear-gradient(115deg, #C9962A 0%, #F6E1A0 28%, #D9AE45 46%, #FFF1C6 62%, #C9962A 100%); }
.swatch--tela { background: repeating-linear-gradient(0deg, rgba(43,36,22,.10) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(43,36,22,.10) 0 1px, transparent 1px 4px), #E6C468; }
.swatch--parachute { background: repeating-linear-gradient(0deg, rgba(255,255,255,.55) 0 2px, transparent 2px 16px), repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 2px, transparent 2px 16px), linear-gradient(135deg, #D7A93A, #EFCF74); }
@media (max-width: 1000px) { .fabrics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fabrics { grid-template-columns: 1fr; } }

.attr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-top: 26px; }
.attr {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center;
}
.attr__img { height: 130px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 12px; }
.attr__img img { max-height: 130px; width: auto; object-fit: contain; }
.attr__ph { width: 100%; height: 100%; border-radius: 10px; background: var(--cream); display: flex; align-items: center; justify-content: center; color: var(--gold-3); }
.attr__ph svg { width: 48px; height: 48px; }
.attr h4 { margin: 0; font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; color: inherit;
}
a.contact-card:hover { border-color: var(--gold-2); box-shadow: var(--shadow); color: inherit; }
.contact-card__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--cream); border: 1px solid var(--gold-soft); display: flex; align-items: center; justify-content: center; color: var(--gold-3); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card--wa .contact-card__icon { background: #E8F9EF; border-color: #BFEFD1; color: var(--wa-dark); }
.contact-card small { display: block; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-card strong, .contact-card address { display: block; font-style: normal; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); line-height: 1.5; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .wpcf7 label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #FFFDF8; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; margin-top: 6px;
}
.field input, .field select, .field textarea { margin-top: 0; }
.field textarea, .wpcf7 textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus,
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(201,160,52,.18); }
.wpcf7 p { margin: 0 0 16px; }
.wpcf7 .form-grid { margin-bottom: 18px; }
.wpcf7 .form-grid p { margin: 0; }
.wpcf7 .form-grid br { display: none; }
.wpcf7 input[type="submit"] { width: auto; border: 0; cursor: pointer; background: var(--gold-grad); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 15px; padding: 14px 30px; border-radius: 999px; }
.wpcf7 .wpcf7-not-valid-tip { font-size: 13.5px; color: #B3261E; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { border-radius: 12px; margin: 16px 0 0; padding: 12px 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.notice { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.notice--ok { background: #EAF7EE; color: #1E6B37; border: 1px solid #BFE5CB; }
.notice--err { background: #FCEDEC; color: #8C1D18; border: 1px solid #F3C7C3; }
.map { margin-top: clamp(40px, 6vw, 64px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 440px; border: 0; }
@media (max-width: 600px) { .map iframe { height: 320px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--footer); color: #CFC4A8; padding: 110px 0 0; margin-top: 0; font-size: 15px; }
.site-footer .waves--footer svg path { fill: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h3 { color: #fff; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #CFC4A8; }
.site-footer a:hover { color: var(--gold-1); }
.footer-brand svg { width: 240px; margin-bottom: 16px; }
.footer-brand p { max-width: 340px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-contact { list-style: none; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-1); flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(232,195,90,.35); display: inline-flex; align-items: center; justify-content: center; color: var(--gold-1); }
.socials a:hover { background: var(--gold-1); color: var(--ink); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 26px; font-size: 14px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-right: 100px; }
@media (max-width: 600px) { .footer-bottom .container { padding-right: 84px; } }
.footer-bottom em { font-family: var(--font-head); font-weight: 600; color: var(--gold-1); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .2s ease, background .2s;
}
.wa-float:hover { transform: scale(1.07); background: var(--wa-dark); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; display: none; } }
.wa-float__label {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: #fff; color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; } .wa-float__label { display: none; } }

/* ---------- Generic content ---------- */
.entry { max-width: 820px; }
.entry img { border-radius: var(--radius); }
.entry h2 { margin-top: 1.6em; }
.not-found { text-align: center; padding: 120px 0; }
.not-found .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
