/*
Theme Name: Promyk Wieluń
Theme URI: https://promyk.wielun.pl/
Author: OlekCodeTech
Author URI: https://olekcodetech.pl/
Description: Dedykowany motyw WordPress dla firmy Promyk Wieluń (Z.P.H.U. PROMYK K. i G. Czyż S.C.). Ciepła, słoneczna identyfikacja wizualna z naciskiem na czytelność oferty: okna, drzwi, rolety zewnętrzne, pergole, bramy garażowe, markizy, osłony wewnętrzne i zewnętrzne. Klasyczny motyw PHP zoptymalizowany pod prezentację firmy lokalnej z formularzem Contact Form 7.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: promyk-wielun
Tags: business, one-column, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* =========================================================================
   PROMYK WIELUŃ — odświeżona identyfikacja
   Ciepła, słoneczna, przyjazna. Okna · Drzwi · Rolety · Pergole · Bramy
   ========================================================================= */

:root {
  /* --- Palette: warm, sunlit, human --- */
  --cream-0: #FBF7F0;   /* page background */
  --cream-1: #F5EEE2;   /* warm sand surface */
  --cream-2: #EFE5D5;   /* deeper sand */
  --white:   #FFFFFF;

  --ink-0: #241F1A;     /* warm near-black headings */
  --ink-1: #3A332B;     /* body strong */
  --ink-2: #6F6557;     /* body muted */
  --ink-3: #9C9183;     /* captions / faint */

  --sun:        #E69A2E;   /* primary sunbeam amber */
  --sun-bright: #F4B24C;   /* hover / glow */
  --sun-deep:   #C0741A;   /* deep amber for text on cream */
  --sun-soft:   #FBEFD9;   /* amber wash bg */

  --sky:      #5E8FA6;     /* cool "glass" secondary, used sparingly */
  --sky-soft: #E3EDF1;

  --graphite: #221E19;     /* dark sections (footer/contact) */
  --graphite-2: #2D2823;

  --line:      rgba(36,31,26,0.10);
  --line-soft: rgba(36,31,26,0.06);
  --line-dark: rgba(255,255,255,0.12);

  /* --- Type --- */
  --font: "Manrope", system-ui, -apple-system, sans-serif;

  --fs-eyebrow: 0.8125rem;
  --fs-body-sm: 0.95rem;
  --fs-body: 1.0625rem;
  --fs-body-lg: 1.1875rem;
  --fs-h4: 1.3rem;
  --fs-h3: 1.65rem;
  --fs-h2: clamp(2rem, 4vw, 3rem);
  --fs-h1: clamp(2.6rem, 6vw, 4.6rem);

  /* --- Spacing (4px base) --- */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* --- Radii --- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* --- Shadows (soft, warm) --- */
  --shadow-sm: 0 2px 8px rgba(60,40,15,0.06);
  --shadow-md: 0 12px 32px rgba(60,40,15,0.10);
  --shadow-lg: 0 28px 60px rgba(60,40,15,0.16);
  --glow-sun: 0 10px 34px rgba(230,154,46,0.40);

  --container: 1240px;

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-emph: cubic-bezier(0.2, 0.9, 0.2, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
  --dur-slow: 440ms;
}

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

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

body {
  font-family: var(--font);
  background: var(--cream-0);
  color: var(--ink-1);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--ink-0); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }

/* ---------- Shared helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sun-deep);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--sun); border-radius: 2px;
}
.eyebrow.center::before { display: none; }

.lede { font-size: var(--fs-body-lg); color: var(--ink-2); max-width: 60ch; }

.section { padding: var(--s-9) 0; }
.section-head { max-width: 720px; margin-bottom: var(--s-7); display: flex; flex-direction: column; gap: var(--s-4); }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: inherit; font-size: var(--fs-body-sm); font-weight: 700;
  padding: 14px 26px; border-radius: var(--r-pill); border: none; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base), box-shadow var(--dur-base), color var(--dur-base);
  white-space: nowrap;
}
.btn-primary { background: var(--sun); color: var(--graphite); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--sun-bright); box-shadow: var(--glow-sun); }
.btn-primary:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: var(--ink-0); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--sun); background: var(--sun-soft); }
.btn-ghost:active { transform: scale(0.97); }
.btn-on-dark { background: transparent; color: var(--white); border: 1.5px solid var(--line-dark); }
.btn-on-dark:hover { border-color: var(--sun); background: rgba(230,154,46,0.14); }
.btn .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--sun-deep); font-size: var(--fs-body-sm);
}
.link-arrow .arrow { transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover { color: var(--sun); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--dur-base), box-shadow var(--dur-base), border-color var(--dur-base);
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; gap: var(--s-6); height: 76px; }
.nav.scrolled { background: rgba(251,247,240,0.92); backdrop-filter: blur(12px); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.nav-logo { display: flex; align-items: center; height: 34px; }
.nav-logo img { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; gap: var(--s-6); margin-left: auto; list-style: none; }
.nav-links a {
  font-weight: 600; font-size: var(--fs-body-sm); color: var(--ink-1);
  padding: 6px 0; position: relative; transition: color var(--dur-fast); white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--sun); border-radius: 2px; transition: width var(--dur-base) var(--ease-out);
}
.nav-links a:hover { color: var(--ink-0); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: var(--s-4); margin-left: var(--s-3); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-0); font-size: var(--fs-body-sm); white-space: nowrap; }
.nav-phone svg { color: var(--sun-deep); }

.nav-burger {
  display: none; width: 44px; height: 44px; border: none; background: transparent;
  cursor: pointer; align-items: center; justify-content: center; color: var(--ink-0);
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(20,17,13,0.96);
  backdrop-filter: blur(8px); display: flex; flex-direction: column;
  justify-content: center; padding: var(--s-8) var(--s-5); gap: var(--s-2);
  opacity: 0; pointer-events: none; transition: opacity var(--dur-base);
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { color: var(--white); font-size: 1.8rem; font-weight: 700; padding: var(--s-3) 0; border-bottom: 1px solid var(--line-dark); }
.mobile-menu a:active { color: var(--sun); }
.mobile-menu .mm-foot { margin-top: var(--s-6); color: rgba(255,255,255,0.7); font-weight: 600; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding-top: 150px; padding-bottom: var(--s-9); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -200px; right: -100px; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(244,178,76,0.35), rgba(244,178,76,0) 65%);
  pointer-events: none; z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-8); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: var(--s-5); }
.hero h1 .shout { color: var(--sun-deep); position: relative; white-space: nowrap; }
.hero h1 .shout::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 14px;
  background: var(--sun-soft); z-index: -1; border-radius: 4px;
}
.hero-tagline { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--ink-2); font-weight: 600; font-size: var(--fs-body-sm); }
.hero-tagline span { display: inline-flex; align-items: center; gap: 14px; }
.hero-tagline span::after { content: "•"; color: var(--sun); }
.hero-tagline span:last-child::after { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-2); }

.hero-visual { position: relative; }
.hero-visual .pv-img { width: 100%; height: 540px; box-shadow: var(--shadow-lg); border-radius: 24px; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: -26px; left: -26px; background: var(--white);
  border-radius: var(--r-md); padding: var(--s-4) var(--s-5); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: var(--s-4); border: 1px solid var(--line);
}
.hero-badge .num { font-size: 2.2rem; font-weight: 800; color: var(--sun-deep); line-height: 1; }
.hero-badge .lbl { font-size: var(--fs-body-sm); color: var(--ink-2); font-weight: 600; max-width: 12ch; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); margin-top: var(--s-9); }
.stat { display: flex; flex-direction: column; gap: 4px; padding-left: var(--s-4); border-left: 3px solid var(--sun); }
.stat .num { font-size: 2.6rem; font-weight: 800; color: var(--ink-0); line-height: 1; }
.stat .lbl { color: var(--ink-2); font-weight: 600; font-size: var(--fs-body-sm); }

/* =========================================================================
   O NAS
   ========================================================================= */
.about { background: var(--cream-1); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-8); align-items: center; }
.about-visual { position: relative; }
.about-visual .pv-img { width: 100%; height: 480px; box-shadow: var(--shadow-md); border-radius: 20px; object-fit: cover; }
.about-visual .accent {
  position: absolute; top: -22px; right: -22px; width: 130px; height: 130px;
  background: var(--sun-soft); border-radius: var(--r-md); z-index: -1;
}
.about-copy { display: flex; flex-direction: column; gap: var(--s-5); }
.about-copy p { color: var(--ink-2); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: var(--s-3); }
.value { display: flex; gap: var(--s-3); align-items: flex-start; }
.value .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sun-soft); color: var(--sun-deep); display: flex; align-items: center; justify-content: center; }
.value h4 { margin-bottom: 2px; }
.value p { font-size: var(--fs-body-sm); margin: 0; }

/* =========================================================================
   OFERTA
   ========================================================================= */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.product-card {
  grid-column: span 1; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(230,154,46,0.45); }
.product-card.featured { grid-column: span 2; }
.product-card .pv-img { width: 100%; height: 200px; border-radius: 0; object-fit: cover; display: block; }
.product-card.featured .pv-img { height: 260px; }
.pc-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.pc-body h3 { font-size: var(--fs-h4); }
.pc-body p { color: var(--ink-2); font-size: var(--fs-body-sm); margin: 0; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--s-3); }
.pc-tag { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); background: var(--cream-1); border: 1px solid var(--line-soft); padding: 4px 12px; border-radius: var(--r-pill); }
.pc-foot { margin-top: var(--s-3); }

/* =========================================================================
   DLA INWESTORA
   ========================================================================= */
.investor { background: var(--graphite); color: rgba(255,255,255,0.78); position: relative; overflow: hidden; }
.investor::before {
  content: ""; position: absolute; bottom: -240px; left: -120px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(230,154,46,0.22), transparent 65%); pointer-events: none;
}
.investor-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-8); align-items: center; }
.investor h2 { color: var(--white); }
.investor .eyebrow { color: var(--sun-bright); }
.investor-copy { display: flex; flex-direction: column; gap: var(--s-5); }
.investor-copy p { color: rgba(255,255,255,0.74); }
.investor-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-2); }
.investor-list li { display: flex; gap: var(--s-3); align-items: flex-start; color: rgba(255,255,255,0.86); font-weight: 500; }
.investor-list .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(230,154,46,0.18); color: var(--sun-bright); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.investor-visual .pv-img { width: 100%; height: 460px; box-shadow: var(--shadow-lg); border-radius: 24px; object-fit: cover; }

/* partners */
.partners { background: var(--graphite-2); padding: var(--s-7) 0; border-top: 1px solid var(--line-dark); }
.partners-head { text-align: center; color: rgba(255,255,255,0.5); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: var(--s-5); }
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-4); }
.partner {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: var(--r-sm); padding: 16px 22px;
  height: 76px; min-width: 130px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.partner img { max-height: 42px; max-width: 130px; width: auto; height: auto; object-fit: contain; }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
@media (max-width: 560px) { .partner { height: 64px; min-width: 104px; padding: 12px 16px; } .partner img { max-height: 34px; max-width: 104px; } }

/* =========================================================================
   GALERIA
   ========================================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: var(--s-4); }
.gallery-grid .pv-img { width: 100%; height: 100%; box-shadow: var(--shadow-sm); transition: transform var(--dur-base) var(--ease-out); object-fit: cover; border-radius: 16px; }
.gallery-grid .pv-img:hover { transform: scale(1.015); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* =========================================================================
   KONTAKT
   ========================================================================= */
.contact { background: var(--cream-1); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-8); align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-7); display: flex; flex-direction: column; gap: var(--s-5); }
.contact-info { display: flex; flex-direction: column; gap: var(--s-5); }
.ci-row { display: flex; gap: var(--s-4); align-items: flex-start; }
.ci-row .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--sun-soft); color: var(--sun-deep); display: flex; align-items: center; justify-content: center; }
.ci-row .lbl { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.ci-row .val { font-size: var(--fs-body-lg); font-weight: 700; color: var(--ink-0); }
.ci-row .val a:hover { color: var(--sun-deep); }
.ci-row .sub { color: var(--ink-2); font-size: var(--fs-body-sm); }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.form-field input, .form-field textarea {
  font-family: inherit; font-size: var(--fs-body); color: var(--ink-0);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--cream-0);
  transition: border-color var(--dur-base), background var(--dur-base);
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--sun); background: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.map-wrap { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); height: 280px; margin-top: var(--s-5); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) sepia(0.08); }

/* CF7 styling overrides */
.contact-card .wpcf7 form { display: flex; flex-direction: column; gap: var(--s-5); }
.contact-card .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.85rem; margin-top: 4px; }
.contact-card .wpcf7-response-output { border: 1.5px solid var(--line); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); font-size: 0.95rem; margin: 0; }
.contact-card .wpcf7 form.sent .wpcf7-response-output { border-color: var(--sun); background: var(--sun-soft); color: var(--sun-deep); }
.contact-card .wpcf7-spinner { margin-left: var(--s-3); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--graphite); color: rgba(255,255,255,0.6); padding: var(--s-9) 0 var(--s-6); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-7); padding-bottom: var(--s-7); }
.footer-logo img { height: 30px; filter: brightness(0) invert(1); opacity: 0.92; margin-bottom: var(--s-4); }
.footer-col h5 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--s-4); font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a { font-size: var(--fs-body-sm); color: rgba(255,255,255,0.6); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--sun-bright); }
.footer-col p { font-size: var(--fs-body-sm); }
.footer-social { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all var(--dur-base); }
.footer-social a:hover { border-color: var(--sun); color: var(--sun-bright); background: rgba(230,154,46,0.12); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); padding-top: var(--s-6); border-top: 1px solid var(--line-dark); font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--sun-bright); }

/* scroll-to-top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; z-index: 90;
  border-radius: 50%; background: var(--sun); color: var(--graphite); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--glow-sun);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity var(--dur-base), transform var(--dur-base), background var(--dur-base);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--sun-bright); }

/* =========================================================================
   NAV DROPDOWN (Oferta)
   ========================================================================= */
.nav-links li.has-dd, .nav-links li.menu-item-has-children { position: relative; }
.nav-links .dd-toggle, .nav-links li.menu-item-has-children > a { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-links li.menu-item-has-children > a::after { content: ""; width: 10px; height: 10px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23241F1A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: contain; margin-left: 4px; transition: transform var(--dur-base); }
.nav-links li.menu-item-has-children:hover > a::after { transform: rotate(180deg); }
.nav-links .dd-toggle svg { transition: transform var(--dur-base); }
.nav-links li.has-dd:hover .dd-toggle svg { transform: rotate(180deg); }
.dropdown, .nav-links li.menu-item-has-children .sub-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 260px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: var(--s-3);
  display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity var(--dur-base), transform var(--dur-base);
}
.nav-links li.has-dd:hover .dropdown,
.nav-links li.menu-item-has-children:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.dropdown::before, .nav-links li.menu-item-has-children .sub-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown a, .nav-links .sub-menu a {
  padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: var(--fs-body-sm);
  color: var(--ink-1); transition: background var(--dur-fast), color var(--dur-fast);
}
.dropdown a::after, .nav-links .sub-menu a::after { display: none; }
.dropdown a:hover, .nav-links .sub-menu a:hover { background: var(--sun-soft); color: var(--sun-deep); }

.nav-links a.active, .nav-links .current-menu-item > a { color: var(--sun-deep); }
.nav-links a.active::after, .nav-links .current-menu-item > a::after { width: 100%; }

.mobile-menu .mm-sub { display: flex; flex-direction: column; }
.mobile-menu .mm-sub > span { color: var(--sun-bright); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: var(--s-3) 0 var(--s-1); }
.mobile-menu .mm-sub a { font-size: 1.15rem; padding: 8px 0; border: none; color: rgba(255,255,255,0.82); }

/* =========================================================================
   PAGE BANNER (subpages)
   ========================================================================= */
.page-banner { position: relative; padding: 150px 0 var(--s-8); background: var(--cream-1); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-banner::before {
  content: ""; position: absolute; top: -260px; right: -120px; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(244,178,76,0.30), rgba(244,178,76,0) 65%); pointer-events: none;
}
.page-banner .inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--s-4); max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-body-sm); color: var(--ink-3); font-weight: 600; }
.breadcrumb a { color: var(--ink-2); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--sun-deep); }
.breadcrumb .sep { color: var(--ink-3); }
.breadcrumb .current { color: var(--sun-deep); }
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-banner p { color: var(--ink-2); font-size: var(--fs-body-lg); max-width: 62ch; }

/* =========================================================================
   SUBCATEGORY ROWS (category pages)
   ========================================================================= */
.subcat { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; padding: var(--s-7) 0; border-bottom: 1px solid var(--line-soft); }
.subcat:last-child { border-bottom: none; }
.subcat .sc-visual .pv-img { width: 100%; height: 400px; box-shadow: var(--shadow-md); border-radius: 18px; object-fit: cover; }
.subcat.reverse .sc-visual { order: 2; }
.subcat .sc-copy { display: flex; flex-direction: column; gap: var(--s-4); }
.subcat .sc-copy h3 { font-size: 1.9rem; }
.subcat .sc-copy p { color: var(--ink-2); }
.subcat .sc-num { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sun-deep); }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-1); }
.feat-list li { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--ink-1); font-weight: 500; font-size: var(--fs-body-sm); }
.feat-list .ic { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--sun-soft); color: var(--sun-deep); display: flex; align-items: center; justify-content: center; margin-top: 2px; }

@media (max-width: 860px) {
  .subcat { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-6) 0; }
  .subcat.reverse .sc-visual { order: -1; }
  .subcat .sc-visual { order: -1; }
  .subcat .sc-visual .pv-img { height: 300px; }
}

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band { background: var(--graphite); color: var(--white); border-radius: var(--r-lg); padding: var(--s-8); display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); position: relative; overflow: hidden; flex-wrap: wrap; }
.cta-band::before { content: ""; position: absolute; top: -160px; right: -80px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(230,154,46,0.28), transparent 65%); pointer-events: none; }
.cta-band .ctab-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--s-2); max-width: 60ch; }
.cta-band h3 { color: var(--white); font-size: var(--fs-h3); }
.cta-band p { color: rgba(255,255,255,0.72); margin: 0; }
.cta-band .ctab-actions { position: relative; z-index: 1; display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* related categories */
.related-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
.related-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: var(--fs-body-sm); color: var(--ink-1); transition: all var(--dur-base); }
.related-chip:hover { border-color: var(--sun); background: var(--sun-soft); color: var(--sun-deep); }

/* home teaser sections */
.teaser-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.teaser-split .pv-img { width: 100%; height: 420px; box-shadow: var(--shadow-md); border-radius: 20px; object-fit: cover; }
.teaser-copy { display: flex; flex-direction: column; gap: var(--s-4); }
.teaser-copy p { color: var(--ink-2); }
@media (max-width: 860px) { .teaser-split { grid-template-columns: 1fr; } .teaser-split.rev .pv-img { order: -1; } }

/* =========================================================================
   Scroll reveal
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.featured { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 860px) {
  .hero-grid, .about-grid, .investor-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-visual { order: -1; }
  .hero-visual .pv-img { height: 360px; }
  .about-visual { order: -1; }
  .stats { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-5); }
  .investor-visual { order: -1; }
  .section { padding: var(--s-8) 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
}
@media (max-width: 560px) {
  .offer-grid { grid-template-columns: 1fr; }
  .product-card.featured { grid-column: span 1; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  .values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-badge { left: 0; }
  .contact-card { padding: var(--s-5); }
  .nav-cta { display: none; }
  .nav-burger { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   INVESTOR EXTRAS — benefits / process / audience / faq
   ========================================================================= */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.benefit-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base); }
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(230,154,46,0.45); }
.benefit-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--sun-soft); color: var(--sun-deep); display: flex; align-items: center; justify-content: center; }
.benefit-card h4 { font-size: var(--fs-h4); }
.benefit-card p { color: var(--ink-2); font-size: var(--fs-body-sm); margin: 0; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-5); position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 9%; right: 9%; height: 2px; background: var(--line); z-index: 0; }
.step { display: flex; flex-direction: column; gap: var(--s-3); position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--sun); color: var(--graphite); font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); border: 4px solid var(--cream-1); }
.step h4 { font-size: var(--fs-h4); }
.step p { color: var(--ink-2); font-size: var(--fs-body-sm); margin: 0; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.audience-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.audience-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--sun-soft); color: var(--sun-deep); display: flex; align-items: center; justify-content: center; }
.audience-card h4 { font-size: var(--fs-h4); }
.audience-card .a-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.audience-card .a-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: var(--fs-body-sm); }
.audience-card .a-list .ck { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--sun-soft); color: var(--sun-deep); display: flex; align-items: center; justify-content: center; margin-top: 2px; }

.faq { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--s-3); }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--dur-base); }
.faq-item[open] { border-color: rgba(230,154,46,0.45); }
.faq-item summary { cursor: pointer; padding: var(--s-5); font-weight: 700; color: var(--ink-0); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); font-size: var(--fs-body-lg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 26px; height: 26px; color: var(--sun-deep); transition: transform var(--dur-base) var(--ease-out); }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 var(--s-5) var(--s-5); color: var(--ink-2); }
.faq-item .faq-body p { margin: 0; }

/* =========================================================================
   GALLERY — filterable
   ========================================================================= */
.gallery-toolbar { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-bottom: var(--s-7); }
.filter-chip { padding: 10px 22px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--white); font-family: inherit; font-weight: 600; font-size: var(--fs-body-sm); color: var(--ink-1); cursor: pointer; transition: background var(--dur-base), border-color var(--dur-base), color var(--dur-base), transform var(--dur-fast); }
.filter-chip:hover { border-color: var(--sun); }
.filter-chip:active { transform: scale(0.97); }
.filter-chip.active { background: var(--sun); border-color: var(--sun); color: var(--graphite); }
.gallery-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.gallery-cats .g-tile { width: 100%; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); transition: transform var(--dur-base) var(--ease-out); border-radius: 16px; object-fit: cover; display: block; }
.gallery-cats .g-tile:hover { transform: scale(1.015); }
.gallery-cats .g-tile.hide { display: none !important; }

@media (max-width: 1080px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(5, 1fr); gap: var(--s-4); }
  .gallery-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .audience-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .gallery-cats { grid-template-columns: 1fr 1fr; }
}

/* category highlight strip */
.atuty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.atut { display: flex; gap: var(--s-4); align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5); transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.atut:hover { border-color: rgba(230,154,46,0.45); box-shadow: var(--shadow-sm); }
.atut .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--sun-soft); color: var(--sun-deep); display: flex; align-items: center; justify-content: center; }
.atut p { margin: 0; font-weight: 600; color: var(--ink-1); }
.related-row.center { justify-content: center; }
@media (max-width: 860px) { .atuty-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   ANIMATIONS — gentle motion
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: glowFloat 11s ease-in-out infinite; }
  .page-banner::before { animation: glowFloat 13s ease-in-out infinite; }
}
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50% { transform: translate(-22px, 16px) scale(1.08); opacity: 0.82; }
}

/* =========================================================================
   FLOATING QUICK-CONTACT (FAB)
   ========================================================================= */
.fab-wrap { position: fixed; right: 24px; bottom: 24px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none; transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.fab-wrap.open .fab-menu { opacity: 1; transform: none; pointer-events: auto; }
.fab-item { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink-0); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 18px 8px 8px; font-weight: 700; font-size: var(--fs-body-sm); box-shadow: var(--shadow-md); transition: transform var(--dur-fast) var(--ease-out), color var(--dur-base); white-space: nowrap; }
.fab-item:hover { transform: translateX(-4px); color: var(--sun-deep); }
.fab-item .fi-ic { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.fab-item .fi-ic.call { background: var(--sun-deep); }
.fab-item .fi-ic.sms { background: #1f8a5b; }
.fab-item .fi-ic.fb { background: #1877F2; }
.fab-item .fi-ic.mail { background: var(--graphite); }
.fab-main { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--sun); color: var(--graphite); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--glow-sun); transition: transform var(--dur-base) var(--ease-out), background var(--dur-base); }
.fab-main:hover { background: var(--sun-bright); transform: scale(1.05); }
.fab-main:active { transform: scale(0.95); }
.fab-main .ic-close { display: none; }
.fab-wrap.open .fab-main .ic-chat { display: none; }
.fab-wrap.open .fab-main .ic-close { display: block; }
.fab-main::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .fab-main::after { animation: fabPulse 2.6s ease-out infinite; }
}
@keyframes fabPulse {
  0% { box-shadow: 0 0 0 0 rgba(230,154,46,0.5); }
  70% { box-shadow: 0 0 0 18px rgba(230,154,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,154,46,0); }
}

/* lift to-top above the FAB */
.to-top { bottom: 100px; }

/* =========================================================================
   MOBILE REFINEMENTS
   ========================================================================= */
@media (max-width: 560px) {
  .hero h1 .shout { white-space: normal; }
  .hero h1 .shout::after { bottom: 2px; height: 10px; }
  .page-banner { padding-top: 116px; }
  .fab-wrap { right: 16px; bottom: 16px; }
  .fab-main { width: 56px; height: 56px; }
  .to-top { right: 16px; bottom: 88px; width: 46px; height: 46px; }
  .section-head { margin-bottom: var(--s-6); }
  .cta-band { padding: var(--s-6); }
  .hero-badge { padding: var(--s-3) var(--s-4); }
  .hero-badge .num { font-size: 1.8rem; }
}

/* admin bar offset */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
