/*
Theme Name: Minn Bíll
Theme URI: https://minnbill.is
Author: Minn Bíll ehf.
Description: One-page theme for Minn Bíll bifreiðaverkstæði — mechanical repair, body & paint, oil service. Icelandic / English / Polish.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: minnbill
*/

:root{
  --red:#E4032E; --red-dark:#C00227; --ink:#141414; --blue:#1B5FAA; --blue-dark:#14497F;
  --bg:#F4F6F9; --paper:#fff; --line:#E4E7EC; --muted:#5B6270;
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
 color:var(--ink);background:var(--paper);line-height:1.6;-webkit-font-smoothing:antialiased}
img,svg{max-width:100%}
.wrap{max-width:1140px;margin:0 auto;padding:0 22px}
h1,h2,h3{line-height:1.15;letter-spacing:-.01em}
.kicker{display:inline-block;color:var(--red);font-weight:700;font-size:13px;
 letter-spacing:.16em;text-transform:uppercase;margin-bottom:10px}
.btn{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:16px;
 padding:14px 26px;border-radius:8px;text-decoration:none;transition:background .15s,color .15s}
.btn svg{width:18px;height:18px}
.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:var(--red-dark)}
.btn-ghost{border:2px solid rgba(255,255,255,.55);color:#fff}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.btn-white{background:#fff;color:var(--red)}.btn-white:hover{background:#f3f3f3}

/* header */
.site-head{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.site-head .wrap{display:flex;align-items:center;gap:26px;height:78px}
.brand{display:flex;align-items:center;text-decoration:none}
.brand svg{height:52px;width:auto;display:block}
.brand img{height:56px;width:auto;display:block}
nav.main{margin-left:auto;display:flex;gap:26px}
nav.main a{color:var(--ink);text-decoration:none;font-weight:600;font-size:15.5px}
nav.main a:hover{color:var(--blue)}
.head-phone{display:inline-flex;align-items:center;gap:8px;background:var(--red);color:#fff;
 font-weight:700;font-size:15px;padding:10px 18px;border-radius:999px;text-decoration:none}
.head-phone:hover{background:var(--red-dark)}
.head-phone svg{width:16px;height:16px}
.lang{display:flex;border:1.5px solid var(--line);border-radius:999px;overflow:hidden;flex:none}
.lang button{border:0;background:#fff;font-weight:700;font-size:12.5px;padding:8px 13px;
 cursor:pointer;color:var(--muted)}
.lang button:hover{color:var(--blue)}
.lang button.active{background:var(--blue);color:#fff}

/* hero */
.hero{background:var(--ink);color:#fff;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;
 padding-top:72px;padding-bottom:72px}
.hero h1{font-size:clamp(32px,4.6vw,52px);margin:4px 0 18px;color:#fff}
.hero p{color:#C7CBD3;font-size:18px;max-width:54ch;margin-bottom:30px}
.hero .cta{display:flex;gap:14px;flex-wrap:wrap}
.hero-art svg{width:100%;height:auto;display:block}
.hero-art img{width:100%;max-width:440px;height:auto;display:block;margin:0 auto}

/* trust strip */
.trust{background:var(--blue);color:#fff}
.trust .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:20px 22px}
.trust div{display:flex;align-items:center;gap:12px;font-weight:600;font-size:15px}
.trust svg{width:20px;height:20px;flex:none;color:#fff}

/* services */
.services{background:var(--bg);padding:84px 0}
.sec-head{text-align:center;max-width:60ch;margin:0 auto 44px}
.sec-head h2{font-size:clamp(26px,3.4vw,38px)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:34px 30px}
.card .ico{width:64px;height:64px;border-radius:14px;background:rgba(27,95,170,.1);
 color:var(--blue);display:grid;place-items:center;margin-bottom:20px}
.card .ico svg{width:34px;height:34px}
.card h3{font-size:21px;margin-bottom:10px}
.card p{color:var(--muted);font-size:15.5px}

/* red band */
.band{background:var(--red);color:#fff;text-align:center;padding:56px 0}
.band h2{font-size:clamp(24px,3vw,34px);margin-bottom:8px}
.band p{color:#FFD9E0;font-size:17px;margin-bottom:26px}

/* about */
.about{padding:84px 0}
.about .wrap{display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:center}
.about-art{background:var(--bg);border-radius:16px;padding:44px;display:grid;place-items:center}
.about-art svg{max-width:280px;height:auto}
.about-art img{max-width:320px;height:auto}
.about h2{font-size:clamp(26px,3.4vw,38px);margin-bottom:16px}
.about p{color:var(--muted);margin-bottom:22px}
.checks{list-style:none;padding:0;display:grid;gap:12px}
.checks li{display:flex;gap:12px;align-items:center;font-weight:600}
.checks svg{width:20px;height:20px;color:var(--blue);flex:none}

/* contact */
.contact{background:var(--bg);padding:84px 0}
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.tile{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px;text-align:center}
.tile .ico{width:48px;height:48px;margin:0 auto 14px;border-radius:12px;
 background:rgba(228,3,46,.08);color:var(--red);display:grid;place-items:center}
.tile .ico svg{width:24px;height:24px}
.tile b{display:block;font-size:14px;letter-spacing:.08em;text-transform:uppercase;
 color:var(--muted);margin-bottom:6px}
.tile a{color:var(--ink);text-decoration:none;font-weight:700;font-size:17px}
.tile a:hover{color:var(--blue)}
.tile span{font-weight:700;font-size:17px}

/* footer */
.site-foot{background:var(--ink);color:#9AA0AB;padding:48px 0 40px}
.site-foot .wrap{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.site-foot svg{height:44px;width:auto}
.site-foot img.foot-logo{height:74px;width:auto}
.site-foot p{font-size:14px}
.site-foot .copy{margin-left:auto;font-size:13px}

@media(max-width:920px){
  nav.main{display:none}
  .hero .wrap{grid-template-columns:1fr;padding-top:52px;padding-bottom:52px}
  .hero-art{max-width:420px}
  .trust .wrap{grid-template-columns:1fr;gap:10px;padding:18px 22px}
  .cards{grid-template-columns:1fr}
  .about .wrap{grid-template-columns:1fr;gap:32px}
  .tiles{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){.tiles{grid-template-columns:1fr}.head-phone span{display:none}
 .head-phone{padding:10px 12px}
 .site-head .wrap{gap:10px;height:66px}.brand svg{height:40px}.brand img{height:44px}
 .lang button{padding:7px 9px;font-size:11.5px}}

/* WordPress admin bar offset for the sticky header */
.admin-bar .site-head{top:32px}
@media (max-width:782px){.admin-bar .site-head{top:46px}}
