/*
Theme Name: Anodizing.info / Eloksiranje.si Bilingual V4.3
Author: OpenAI / Anodizing.info
Description: Bilingual industrial consulting theme for aluminium anodizing.
Version: 4.3.0
Text Domain: anodizing-info
*/

:root{
  --bg:#f4f8fb;
  --bg-soft:#edf4f8;
  --panel:#ffffff;
  --panel-soft:#f7fbfd;
  --text:#163142;
  --text-2:#2d4758;
  --muted:#6c8594;
  --line:#d8e5ec;
  --accent:#1ab3cf;
  --accent-dark:#0d7f97;
  --accent-soft:#d9f4f9;
  --shadow:0 18px 45px rgba(17,56,73,.10);
  --radius:22px;
  --max:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(26,179,207,.10), transparent 22%),
    radial-gradient(circle at 90% 10%, rgba(26,179,207,.08), transparent 18%),
    linear-gradient(180deg, #f7fbfd 0%, #eff5f9 100%);
  line-height:1.72;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
p{margin:0 0 1rem}
h1,h2,h3,h4{
  margin:0 0 1rem;
  line-height:1.08;
  letter-spacing:-.03em;
  color:var(--text);
}
h1{font-size:clamp(3rem, 6vw, 5.4rem)}
h2{font-size:clamp(2rem, 4vw, 3.35rem)}
h3{font-size:clamp(1.2rem, 2vw, 1.55rem)}

.container{width:min(var(--max), calc(100% - 40px));margin:0 auto}
.section{padding:88px 0}
.section-sm{padding:66px 0}
.lead{
  font-size:clamp(1.04rem, 1.55vw, 1.18rem);
  color:var(--text-2);
  max-width:780px;
}
.muted{color:var(--muted)}
.small{font-size:.92rem;color:var(--muted)}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  margin-bottom:1rem;
  color:var(--accent-dark);
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:.74rem;
}
.eyebrow:before{
  content:"";
  width:28px;
  height:1px;
  background:var(--accent);
}

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

.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
}
.card.soft{
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(10px);
}
.icon{
  width:54px;
  height:54px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:var(--accent-soft);
  border:1px solid #bfe7ef;
  color:var(--accent-dark);
  font-weight:800;
  margin-bottom:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  min-height:50px;
  padding:0 20px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:700;
  transition:.18s ease;
  cursor:pointer;
  font:inherit;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:linear-gradient(135deg, var(--accent), #62d3e8);
  color:#083645;
  box-shadow:0 10px 24px rgba(26,179,207,.22);
}
.btn-primary:hover{filter:brightness(1.03)}
.btn-secondary{
  border-color:#cfe2ea;
  background:#fff;
  color:var(--text);
}
.btn-secondary:hover{
  background:#f6fbfd;
  border-color:#b7d6e2;
}
.btn-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:26px;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(248,251,253,.88);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(22,49,66,.08);
}
.header-inner{
  min-height:80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
}
.brand-mark{
  width:42px;
  height:42px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, #d7f3f8, #76d9ea);
  color:#0f4858;
  font-weight:900;
}
.brand-text strong{
  display:block;
  font-size:1rem;
}
.brand-text small{
  display:block;
  font-size:.68rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
}
.nav{
  display:flex;
  align-items:center;
  gap:20px;
}
.nav a{
  font-size:.95rem;
  color:var(--text-2);
}
.nav a:hover{color:var(--text)}
.mobile-toggle{
  display:none;
  background:none;
  border:0;
  color:var(--text);
  font-size:1.6rem;
}

.hero{
  padding:86px 0 78px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:46px;
  align-items:center;
}
.hero h1{
  max-width:760px;
}
.hero h1 span{
  display:block;
  color:var(--accent-dark);
}
.hero-copy{
  position:relative;
}
.hero-pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.hero-pill{
  background:rgba(255,255,255,.82);
  border:1px solid #d6e8ef;
  color:var(--text-2);
  padding:8px 12px;
  border-radius:999px;
  font-size:.85rem;
}
.hero-visual{
  position:relative;
  min-height:560px;
  border-radius:30px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:#fff;
}
.hero-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.95) brightness(1.03);
}
.hero-visual:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.25)),
    linear-gradient(0deg, rgba(13,127,151,.10), rgba(13,127,151,0));
}
.hero-badges{
  position:absolute;
  left:20px;
  right:20px;
  bottom:20px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.hero-badge{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(22,49,66,.08);
  border-radius:18px;
  padding:15px 16px;
  box-shadow:0 10px 24px rgba(17,56,73,.10);
}
.hero-badge strong{
  display:block;
  font-size:1.02rem;
  margin-bottom:4px;
}
.hero-badge span{
  font-size:.8rem;
  color:var(--muted);
}

.stats-wrap{
  padding-top:10px;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.stat{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:22px;
  box-shadow:var(--shadow);
}
.stat strong{
  display:block;
  font-size:1.25rem;
  margin-bottom:4px;
}
.stat span{
  color:var(--muted);
  font-size:.88rem;
}

.section-alt{
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.30)),
    var(--bg-soft);
  border-top:1px solid rgba(22,49,66,.06);
  border-bottom:1px solid rgba(22,49,66,.06);
}
.split{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:34px;
  align-items:center;
}
.split.reverse{
  grid-template-columns:.98fr 1.02fr;
}
.image-panel{
  border-radius:28px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:#fff;
}
.image-panel img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.feature-list{
  list-style:none;
  padding:0;
  margin:22px 0 0;
  display:grid;
  gap:12px;
}
.feature-list li{
  position:relative;
  padding-left:30px;
  color:var(--text-2);
}
.feature-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--accent-dark);
  font-weight:900;
}

.problem-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  box-shadow:var(--shadow);
}
.problem-item strong{
  display:block;
  margin-bottom:.35rem;
}
.problem-item span{
  color:var(--muted);
}

.step-card{
  position:relative;
  padding-left:78px;
}
.step-card:before{
  content:attr(data-step);
  position:absolute;
  left:28px;
  top:28px;
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--accent-soft);
  border:1px solid #bfe7ef;
  color:var(--accent-dark);
  font-weight:800;
}

.cta{
  background:
    radial-gradient(circle at 90% 15%, rgba(26,179,207,.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5fbfd 100%);
  border:1px solid var(--line);
  border-radius:30px;
  padding:42px;
  box-shadow:var(--shadow);
}

.page-hero{
  padding:80px 0 52px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.28)),
    transparent;
  border-bottom:1px solid rgba(22,49,66,.06);
}
.page-hero h1{
  font-size:clamp(2.4rem,5vw,4.4rem);
  max-width:940px;
}
.page-content{
  padding:72px 0 96px;
}
.kicker-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:28px;
}
.kicker{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
}
.kicker strong{
  display:block;
  margin-bottom:5px;
}
.kicker span{
  color:var(--muted);
  font-size:.9rem;
}
.list-clean{
  padding-left:1.1rem;
  color:var(--text-2);
}
.contact-wrap{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:28px;
}
.field{
  margin-bottom:14px;
}
.field label{
  display:block;
  margin-bottom:7px;
  font-weight:650;
}
.field input,
.field textarea,
.field select{
  width:100%;
  padding:14px 15px;
  border-radius:14px;
  border:1px solid #d3e3ea;
  background:#fff;
  color:var(--text);
  font:inherit;
}
.field input:focus,
.field textarea:focus,
.field select:focus{
  outline:none;
  border-color:#89cfdd;
  box-shadow:0 0 0 4px rgba(26,179,207,.10);
}
.field textarea{
  min-height:160px;
  resize:vertical;
}
.notice{
  padding:14px 16px;
  border-radius:14px;
  border:1px solid #bfe7ef;
  background:#eefbfd;
  margin-bottom:18px;
}
.notice.error{
  border-color:#f0c2c2;
  background:#fff3f3;
}
.site-footer{
  padding:58px 0 28px;
  background:#f8fbfd;
  border-top:1px solid rgba(22,49,66,.08);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:36px;
}
.footer-links{
  display:grid;
  gap:10px;
}
.footer-links a{
  color:var(--muted);
}
.footer-links a:hover{
  color:var(--text);
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.86rem;
}

@media (max-width: 980px){
  .nav{
    display:none;
    position:absolute;
    top:80px;
    left:0;
    right:0;
    background:rgba(248,251,253,.98);
    padding:22px 20px;
    border-bottom:1px solid var(--line);
    flex-direction:column;
    align-items:flex-start;
  }
  .nav.open{display:flex}
  .mobile-toggle{display:block}
  .hero-grid,.split,.split.reverse,.contact-wrap,.grid-2{
    grid-template-columns:1fr;
  }
  .grid-3,.grid-4,.stats-grid,.kicker-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
  .hero-visual{
    min-height:430px;
  }
}
@media (max-width: 680px){
  .container{width:min(var(--max), calc(100% - 28px))}
  .section{padding:72px 0}
  .hero{padding:66px 0 58px}
  .hero-visual{min-height:320px}
  .hero-badges{grid-template-columns:1fr}
  .grid-3,.grid-4,.stats-grid,.kicker-grid,.footer-grid{
    grid-template-columns:1fr;
  }
  .footer-bottom{flex-direction:column}
  .cta{padding:28px}
}

/* V4.1 logo integration */
.brand-logo{
  display:flex;
  align-items:center;
  flex-shrink:0;
}
.brand-logo img{
  display:block;
  width:auto;
  height:58px;
  max-width:330px;
  object-fit:contain;
}
.site-footer .brand-logo img{
  height:62px;
  max-width:350px;
}
@media(max-width:680px){
  .brand-logo img{
    height:48px;
    max-width:250px;
  }
  .site-footer .brand-logo img{
    height:52px;
    max-width:270px;
  }
}


/* V4.2 bilingual language switcher */
.header-actions{
  display:flex;
  align-items:center;
  gap:14px;
}
.lang-switch{
  display:flex;
  align-items:center;
  gap:5px;
  padding:5px;
  border:1px solid #d6e5eb;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  box-shadow:0 6px 18px rgba(12,49,68,.06);
}
.lang-switch a{
  min-width:34px;
  height:30px;
  padding:0 9px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.08em;
  color:#6b818e;
}
.lang-switch a.active{
  background:#0a2232;
  color:#fff;
}
.lang-switch a:hover:not(.active){
  background:#edf7fa;
  color:#0a2232;
}
@media(max-width:1000px){
  .header-actions{gap:10px}
  .header-actions .nav{order:2}
}
@media(max-width:680px){
  .lang-switch{margin-left:auto}
  .brand-logo img{max-width:210px}
}


/* =========================================================
   V4.3 — bilingual polish, stable hero layout & contact data
   ========================================================= */

/* Domain-aware brand lockup: same emblem, correct domain text. */
.brand-lockup{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:max-content;
  line-height:1;
}
.brand-lockup .brand-emblem{
  width:48px;
  height:48px;
  flex:0 0 48px;
  object-fit:contain;
}
.brand-lockup .brand-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
  transform:translateY(1px);
}
.brand-lockup .brand-copy strong{
  display:block;
  white-space:nowrap;
  font-size:1.18rem;
  letter-spacing:-.035em;
  color:#1b3343;
  font-weight:850;
}
.brand-lockup .brand-copy strong span{
  color:#138ba1;
}
.brand-lockup .brand-copy small{
  display:block;
  white-space:nowrap;
  font-size:.54rem;
  line-height:1;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#7c8e99;
  font-weight:750;
}
.footer-brand .brand-emblem{width:56px;height:56px;flex-basis:56px}
.footer-brand .brand-copy strong{font-size:1.3rem}

/* Retire the legacy wide-logo sizing rules on the new lockup. */
.brand-lockup img{max-width:none}

/* Hero: keep both languages aligned and keep fact text separated. */
.hero{padding:82px 0 76px}
.hero-grid{
  grid-template-columns:minmax(0,1.03fr) minmax(480px,.97fr);
  gap:58px;
  align-items:start;
}
.hero-grid > div:first-child{padding-top:54px}
.hero h1{
  font-size:clamp(3.15rem,5.55vw,5.25rem);
  max-width:690px;
  text-wrap:balance;
}
html[lang="sl"] .hero h1{
  font-size:clamp(2.9rem,5.0vw,4.75rem);
  max-width:720px;
}
.hero .lead{max-width:710px}
.hero-media{
  display:flex;
  flex-direction:column;
  gap:16px;
  min-width:0;
}
.hero-main{
  position:relative;
  overflow:hidden;
  min-height:0;
  aspect-ratio:1.42/1;
  border-radius:26px;
  border:1px solid var(--line);
  background:#dceaf0;
  box-shadow:0 22px 52px rgba(17,56,73,.14);
}
.hero-main:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(10,62,81,.05));
}
.hero-main img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.hero-facts{
  display:grid;
  grid-template-columns:1fr;
  gap:9px;
  padding:13px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.78);
  box-shadow:0 14px 34px rgba(17,56,73,.08);
  backdrop-filter:blur(8px);
}
.hero-fact{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:10px 12px;
  border-radius:14px;
}
.hero-fact + .hero-fact{border-top:1px solid #e5eef2;border-radius:0;padding-top:14px}
.float-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:linear-gradient(135deg,#e4f7fb,#c9edf4);
  border:1px solid #bee3ec;
  color:#0d7186;
  font-size:.82rem;
  font-weight:850;
}
.hero-fact strong,
.hero-fact span{
  display:block;
}
.hero-fact strong{
  color:var(--text);
  font-size:.93rem;
  line-height:1.25;
  margin-bottom:3px;
}
.hero-fact span{
  color:var(--muted);
  font-size:.83rem;
  line-height:1.4;
}

/* V4 template aliases that need explicit styling. */
.stat-ribbon{padding:0 0 26px}
.stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.section-soft{
  background:linear-gradient(180deg,rgba(255,255,255,.54),rgba(237,244,248,.82));
  border-top:1px solid rgba(22,49,66,.06);
  border-bottom:1px solid rgba(22,49,66,.06);
}
.section-dark{
  background:#102c3d;
  color:#eaf5f9;
}
.section-dark h2,.section-dark h3,.section-dark strong{color:#fff}
.section-dark .eyebrow{color:#77d6e7}
.section-dark .muted{color:#b8ccd6}
.service-card,.problem-card,.step{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px;
  box-shadow:var(--shadow);
}
.problem-card{
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.12);
  box-shadow:none;
}
.problem-card strong,.problem-card span{display:block}
.problem-card strong{margin-bottom:7px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.step-no{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  background:var(--accent-soft);color:var(--accent-dark);font-weight:850;margin-bottom:18px;
}
.color-showcase{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
.swatch-wall{background:#fff;border:1px solid var(--line);border-radius:26px;padding:22px;box-shadow:var(--shadow)}
.swatches{display:grid;grid-template-columns:repeat(5,1fr);height:260px;overflow:hidden;border-radius:18px}
.swatch:nth-child(1){background:linear-gradient(180deg,#e9d5a0,#a98c51)}
.swatch:nth-child(2){background:linear-gradient(180deg,#bd815d,#684533)}
.swatch:nth-child(3){background:linear-gradient(180deg,#aab5ba,#4c5c64)}
.swatch:nth-child(4){background:linear-gradient(160deg,#9373ba,#289ab2 48%,#caa562)}
.swatch:nth-child(5){background:linear-gradient(180deg,#e2bd69,#927233)}
.swatch-labels{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-top:10px;font-size:.7rem;color:var(--muted);text-align:center}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.chip{padding:7px 11px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:.82rem;color:var(--text-2)}
.btn-dark{background:#102c3d;color:#fff}
.btn-light{background:#fff;border-color:#d5e4eb;color:var(--text)}
.experience-band{display:grid;grid-template-columns:240px 1fr;gap:42px;align-items:center}
.big-number{font-size:clamp(7rem,15vw,12rem);line-height:.8;font-weight:900;letter-spacing:-.08em;color:#0e849d;opacity:.94}

/* Direct contact details. */
.direct-contact-list{
  display:grid;
  gap:12px;
  margin-top:22px;
}
.direct-contact-list a{
  display:block;
  padding:15px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#f8fbfd;
  transition:.18s ease;
}
.direct-contact-list a:hover{
  transform:translateY(-1px);
  border-color:#b8dce5;
  background:#f1fafc;
}
.contact-label{
  display:block;
  margin-bottom:3px;
  color:var(--muted);
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:750;
}
.direct-contact-list strong{display:block;color:#138ba1;font-size:1rem}

@media(max-width:1120px){
  .hero-grid{grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);gap:38px}
  .nav{gap:14px}.nav a{font-size:.9rem}
  .brand-lockup .brand-copy strong{font-size:1.05rem}
}
@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .hero-grid > div:first-child{padding-top:0}
  .hero-media{max-width:760px}
  .stats{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:1fr}
  .color-showcase{grid-template-columns:1fr}
  .experience-band{grid-template-columns:170px 1fr}
}
@media(max-width:680px){
  .header-inner{min-height:72px}
  .brand-lockup{gap:7px}
  .brand-lockup .brand-emblem{width:39px;height:39px;flex-basis:39px}
  .brand-lockup .brand-copy strong{font-size:.94rem}
  .brand-lockup .brand-copy small{font-size:.43rem;letter-spacing:.13em}
  .hero{padding:56px 0 52px}
  .hero h1,html[lang="sl"] .hero h1{font-size:clamp(2.55rem,13vw,3.85rem)}
  .hero-main{aspect-ratio:1.2/1;border-radius:20px}
  .hero-facts{padding:9px}
  .stats{grid-template-columns:1fr}
  .experience-band{grid-template-columns:1fr;gap:24px}
  .big-number{font-size:7rem}
  .swatches{height:180px}
  .swatch-labels{display:none}
}
