/* Werro Pines — brand page styles (unified with main site) */

:root {
  --bg:        #F1EDE1;
  --bg-2:      #E9E3D3;
  --surface:   #FBF8EE;
  --surface-2: #F5F1E2;
  --surface-3: #E6E0CE;

  --ink:   #1E1B15;
  --ink-2: #3D382C;
  --muted: #78715F;
  --muted-2: #A39C86;

  --brand:      #008B4A;
  --brand-2:    #00A85A;
  --brand-dark: #00612F;
  --brand-glow: rgba(0, 139, 74, 0.22);

  --accent: #C97B3C;

  --line:   rgba(30, 27, 21, 0.08);
  --line-2: rgba(30, 27, 21, 0.14);

  --sh-sm: 0 1px 2px rgba(70,55,25,0.06), 0 2px 4px rgba(70,55,25,0.03);
  --sh-md: 0 2px 4px rgba(70,55,25,0.07), 0 10px 20px rgba(70,55,25,0.05);
  --sh-lg: 0 4px 10px rgba(70,55,25,0.08), 0 24px 48px rgba(70,55,25,0.07);
  --sh-xl: 0 8px 20px rgba(70,55,25,0.10), 0 40px 80px rgba(70,55,25,0.08);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ─── nav ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 237, 225, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; height: 48px; width: 48px; object-fit: contain; flex-shrink: 0; margin-right: 4px; }
.brand:hover .brand-logo { animation: logo-rock 0.6s var(--spring); }
@keyframes logo-rock {
  0%   { transform: rotate(0deg) scale(1); }
  25%  { transform: rotate(-6deg) scale(1.06); }
  55%  { transform: rotate(4deg) scale(1.04); }
  80%  { transform: rotate(-2deg) scale(1.02); }
  100% { transform: rotate(0deg) scale(1); }
}
.brand-logo-footer { height: 44px; width: 44px; }
.brand-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.brand-tag { font-size: 10px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 1px; }
.nav-menu { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-menu a { transition: color 0.2s ease; }
.nav-menu a:hover { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.nav-phone:hover { color: var(--brand); }

.lang-switch { display: inline-flex; padding: 3px; background: var(--surface-3); border-radius: 999px; box-shadow: inset 0 1px 2px rgba(70,55,25,0.08); }
.lang-switch button { padding: 5px 11px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: var(--muted); border-radius: 999px; transition: all 0.35s var(--spring); }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { background: var(--surface); color: var(--brand); box-shadow: 0 1px 2px rgba(70,55,25,0.08), 0 2px 6px rgba(70,55,25,0.06); }

/* ─── buttons ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: var(--r-md); font-size: 14px; font-weight: 500; user-select: none; transition: transform 0.45s var(--spring), box-shadow 0.45s var(--smooth), background 0.25s ease; white-space: nowrap; }
.btn svg { transition: transform 0.4s var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: linear-gradient(180deg, var(--brand-2) 0%, var(--brand) 100%); color: white; box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 1px 2px rgba(0,139,74,0.35), 0 6px 18px var(--brand-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 2px 4px rgba(0,139,74,0.4), 0 14px 32px rgba(0,139,74,0.28); }
.btn-primary:active { transform: translateY(0) scale(0.97); transition: transform 0.12s ease, box-shadow 0.12s ease; box-shadow: inset 0 2px 6px rgba(0,0,0,0.18), 0 1px 2px rgba(0,139,74,0.25); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 2px rgba(70,55,25,0.06), 0 4px 12px rgba(70,55,25,0.04); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 2px 4px rgba(70,55,25,0.08), 0 12px 26px rgba(70,55,25,0.08); }
.btn-ghost:active { transform: translateY(0) scale(0.97); transition: transform 0.12s ease, box-shadow 0.12s ease; box-shadow: inset 0 2px 5px rgba(0,0,0,0.08); }

.nav-cta { padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; min-width: 130px; text-align: center; justify-content: center; background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: white; transition: all 0.4s var(--spring); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 2px 4px rgba(0,139,74,0.25), 0 8px 18px rgba(0,139,74,0.18); display: inline-flex; align-items: center; gap: 8px; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 3px 6px rgba(0,139,74,0.3), 0 14px 28px rgba(0,139,74,0.25); }
.nav-cta:active { transform: translateY(0) scale(0.96); }

/* ─── breadcrumbs ─────────────────────────── */
.breadcrumbs-bar { padding: 20px 0 0; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.breadcrumbs a { transition: color 0.2s ease; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs span { opacity: 0.5; }
.breadcrumbs [aria-current] { color: var(--ink-2); font-weight: 500; opacity: 1; }

/* ─── brand hero ──────────────────────────── */
.brand-hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.brand-hero::before { content: ''; position: absolute; top: -280px; right: -240px; width: 780px; height: 780px; background: radial-gradient(circle, rgba(0,139,74,0.10) 0%, rgba(0,139,74,0.03) 40%, transparent 70%); pointer-events: none; z-index: 0; }
.brand-hero::after { content: ''; position: absolute; bottom: -200px; left: -180px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(201,123,60,0.08) 0%, transparent 65%); pointer-events: none; z-index: 0; }
.brand-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-block; font-size: 11px; color: var(--brand); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; padding: 6px 14px; background: rgba(0, 139, 74, 0.08); border-radius: 999px; }
.brand-hero h1 { font-size: 56px; line-height: 1.06; font-weight: 600; letter-spacing: -0.025em; margin: 0 0 20px; }
.brand-tagline { font-size: 17px; color: var(--muted); line-height: 1.65; max-width: 560px; margin: 0 0 24px; }
.brand-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); }
.badge-stock { color: var(--brand-dark); background: rgba(0,139,74,0.08); border-color: rgba(0,139,74,0.2); }
.badge-stock::before { background: var(--brand); }
.badge-order { color: #854F0B; background: rgba(201,123,60,0.1); border-color: rgba(201,123,60,0.25); }
.badge-order::before { background: var(--accent); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.brand-hero-card { background: var(--surface); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--sh-md); border: 1px solid var(--line); }
.brand-hero-mark { display: flex; align-items: center; justify-content: center; min-height: 140px; padding: 36px 24px; background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); border-radius: var(--r-lg); margin-bottom: 24px; border: 1px solid var(--line); }
.brand-hero-logo { max-width: 80%; max-height: 100px; width: auto; height: auto; object-fit: contain; }
.brand-hero-wordmark { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; text-align: center; color: var(--ink); }
.brand-hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brand-hero-meta > div { padding: 14px 16px; background: var(--surface-2); border-radius: var(--r-md); border: 1px solid var(--line); }
.meta-k { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.meta-v { display: block; font-size: 16px; font-weight: 600; color: var(--brand); line-height: 1.2; }

/* ─── section shell ───────────────────────── */
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { font-size: 11px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.section h2 { font-size: 36px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 14px; max-width: 720px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 720px; margin: 0 0 48px; line-height: 1.65; }

/* ─── brand description ───────────────────── */
.brand-desc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: none; }
.brand-desc-body p { margin: 0 0 14px; color: var(--ink-2); font-size: 16px; line-height: 1.75; }

/* ─── why grid (industry-card look) ──────── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-card { position: relative; background: var(--surface); padding: 24px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform 0.5s var(--spring), box-shadow 0.5s var(--smooth); overflow: hidden; }
.why-card::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); border-radius: 2px; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.why-ic { font-size: 22px; margin-bottom: 10px; padding-left: 10px; }
.why-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; padding-left: 10px; }
.why-card p { font-size: 13px; color: var(--muted); margin: 0; padding-left: 10px; line-height: 1.55; }

/* ─── pricelist ───────────────────────────── */
.brand-pricelist-section { background: var(--bg-2); }
.pricelist-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
#pl-search { flex: 1; min-width: 260px; padding: 12px 18px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); font: inherit; color: var(--ink); outline: 0; transition: all 0.3s var(--smooth); box-shadow: inset 0 1px 2px rgba(70,55,25,0.04); }
#pl-search:focus { border-color: var(--brand); background: var(--surface); box-shadow: inset 0 1px 2px rgba(70,55,25,0.04), 0 0 0 4px rgba(0,139,74,0.12); }
.pl-count { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }
.pricelist-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; overflow-x: auto; box-shadow: var(--sh-sm); }
table.pricelist { width: 100%; border-collapse: collapse; font-size: 14px; }
table.pricelist thead { background: var(--surface-2); }
table.pricelist th { text-align: left; padding: 14px 18px; font-weight: 600; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.pricelist th.price-col, table.pricelist th.term-col { text-align: right; }
table.pricelist td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
table.pricelist tbody tr:last-child td { border-bottom: 0; }
table.pricelist tbody tr:hover { background: var(--surface-2); }
table.pricelist td.pn { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 12.5px; color: var(--ink); white-space: nowrap; }
table.pricelist td.price { font-weight: 600; color: var(--brand-dark); white-space: nowrap; text-align: right; }
table.pricelist td.term { text-align: right; white-space: nowrap; color: var(--muted); font-size: 13px; }
.pricelist-note { font-size: 13px; color: var(--ink-2); margin-top: 20px; padding: 16px 18px; background: var(--surface); border-left: 3px solid var(--brand); border-radius: var(--r-sm); line-height: 1.6; box-shadow: var(--sh-sm); }

/* ─── partners / contact CTA (inverted green) ── */
.partners { background: linear-gradient(160deg, #008B4A 0%, #00612F 100%); color: white; position: relative; overflow: hidden; }
.partners::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%); pointer-events: none; }
.partners-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.partners h2 { color: white; }
.partners .section-head { color: #9FC1E8; }
.partners .section-sub { color: #B6CFE8; }
.contact-direct { display: grid; gap: 10px; margin-top: 20px; }
.contact-link { color: #E8E3D4; font-size: 14px; padding: 12px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-md); transition: background 0.25s ease; }
.contact-link:hover { background: rgba(255,255,255,0.1); }
.contact-link strong { color: white; font-weight: 600; margin-right: 8px; }

.partners-form { background: var(--surface); color: var(--ink); border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sh-xl); }
.partners-form label { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 7px; font-weight: 600; }
.partners-form input, .partners-form textarea { width: 100%; font-size: 14px; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg); color: var(--ink); transition: all 0.3s var(--smooth); box-shadow: inset 0 1px 2px rgba(70,55,25,0.04); }
.partners-form input:focus, .partners-form textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: inset 0 1px 2px rgba(70,55,25,0.04), 0 0 0 4px rgba(0,139,74,0.12); }
.partners-form textarea { resize: vertical; min-height: 72px; font-family: inherit; }
.partners-form .btn { margin-top: 6px; justify-content: center; }
.partners-form .btn:disabled { opacity: 0.6; cursor: wait; pointer-events: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.gdpr-row { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.5; }
.gdpr-row input[type=checkbox] { width: 18px; height: 18px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--brand); }
.gdpr-row a { color: var(--brand); text-decoration: underline; }
.form-status { font-size: 13px; font-weight: 500; padding: 0 14px; border-radius: var(--r-md); max-height: 0; overflow: hidden; opacity: 0; transition: all 0.45s var(--spring); }
.form-status:not(:empty) { max-height: 80px; padding: 11px 14px; opacity: 1; margin-top: 2px; }
.form-status.sending { background: var(--surface-3); color: var(--muted); }
.form-status.ok { background: #DDEAC9; color: #3B6D11; }
.form-status.err { background: #F5D6D6; color: #A32D2D; }

/* ─── footer (dark, like main) ─────────────── */
footer { background: #1A1813; color: #A6A090; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { font-size: 10px; color: #6B6657; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { font-size: 13px; line-height: 2; }
footer li a { transition: color 0.2s ease; }
footer li a:hover { color: white; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand-name { color: white; font-weight: 600; font-size: 15px; }
.footer-legal { font-size: 12px; line-height: 1.85; color: #6B6657; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #2E2A22; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 11px; color: #6B6657; }
footer .lang-switch { background: #26231B; box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); }
footer .lang-switch button { color: #6B6657; }
footer .lang-switch button:hover { color: #C9C3B1; }
footer .lang-switch button.active { background: #3A352A; color: #F1EDE1; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }

/* ─── reveal ──────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--smooth), transform 0.55s var(--spring); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ─── responsive ──────────────────────────── */
@media (max-width: 960px) {
  .brand-hero { padding: 40px 0 48px; }
  .brand-hero h1 { font-size: 42px; }
  .brand-hero-grid, .partners-grid, .brand-desc-body { grid-template-columns: 1fr; gap: 36px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-menu, .nav-phone { display: none; }
  .section { padding: 64px 0; }
  .section h2 { font-size: 28px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-grid, .brand-hero-meta { grid-template-columns: 1fr; }
  .brand-hero h1 { font-size: 32px; }
  .section h2 { font-size: 24px; }
  .nav-cta { padding: 8px 14px; font-size: 12px; min-width: auto; }
  .brand-tag { display: none; }
}
