/* ============================================================
   RAMLO TRANSPORT – DESIGNPROFIL
   Rediger farger og avstander her. Ingen minifisering.
   ============================================================ */

:root {
    --navy: #142b49;
    --blue: #2525d8;
    --mid-blue: #659ff0;
    --light-blue: #a5d0f0;
    --ice: #f2f6fa;
    --ink: #253444;
    --muted: #5d6b7a;
    --border: #dce4ec;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 12px 35px rgba(18, 43, 73, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: #2020b4; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--mid-blue); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 80px 0; }
.section-soft { background: var(--ice); }
.section-heading { max-width: 700px; margin-bottom: 32px; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 740px; }
.muted { color: var(--muted); }

/* Toppmeny */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: min(300px, 46vw); flex-shrink: 0; }
.brand img { width: 100%; }
.primary-nav { display: flex; align-items: center; gap: 23px; }
.primary-nav a { color: var(--navy); font-weight: 650; text-decoration: none; }
.primary-nav a:hover { color: var(--blue); }
.primary-nav .nav-contact { background: var(--navy); color: var(--white); padding: 11px 18px; border-radius: 8px; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--border); padding: 8px 12px; border-radius: 8px; }
.skip-link { position: absolute; left: 12px; top: -80px; background: var(--white); z-index: 99; padding: 8px; }
.skip-link:focus { top: 12px; }

/* Forside og sidehoder */
.hero { background: linear-gradient(115deg, rgba(12, 32, 59, .98), rgba(24, 67, 105, .90)), radial-gradient(circle at 80% 30%, #659ff0, #142b49); color: var(--white); padding: 105px 0; }
.hero h1, .hero .eyebrow { color: var(--white); }
.hero p { max-width: 700px; color: #e5eff9; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-block; border: 2px solid transparent; background: var(--blue); color: var(--white); border-radius: 9px; padding: 12px 20px; font-weight: 750; text-decoration: none; }
.button:hover { background: #1717a5; color: var(--white); }
.button-outline { border-color: #d8eaff; background: transparent; color: var(--white); }
.button-outline:hover { background: rgba(255,255,255,.13); }
.page-hero { background: var(--ice); padding: 65px 0; border-bottom: 1px solid var(--border); }
.page-hero p { max-width: 760px; }

/* Kort, innhold og produktkatalog */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--muted); }
.card a.more { font-weight: 750; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ice); color: var(--blue); font-size: 1.5rem; border-radius: 12px; margin-bottom: 18px; }
.product-meta { display: inline-block; background: var(--ice); color: var(--navy); padding: 4px 10px; border-radius: 6px; font-size: .85rem; margin-bottom: 12px; }
.content-width { max-width: 800px; }
.content-width p { margin-bottom: 20px; }
.cta { background: var(--navy); color: var(--white); padding: 50px; border-radius: var(--radius); }
.cta h2, .cta p { color: var(--white); }
.cta p { color: #d7e8f6; }

/* Skjema */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #aebecd; border-radius: 8px; padding: 12px 14px; background: var(--white); color: var(--ink); }
.form-field textarea { min-height: 140px; resize: vertical; }
.notice { padding: 14px 18px; border-radius: 8px; background: var(--ice); border-left: 4px solid var(--blue); margin-bottom: 20px; }
.notice-error { border-left-color: #bb2525; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--navy); color: #d8e5f1; padding: 55px 0 22px; }
.site-footer h2 { color: var(--white); font-size: 1.1rem; }
.site-footer a { color: #d8e5f1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-bottom { border-top: 1px solid #46617e; margin-top: 30px; padding-top: 20px; font-size: .85rem; }

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .menu-toggle { display: inline-flex; align-items: center; gap: 10px; }
    .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 22px; flex-direction: column; align-items: stretch; }
    .primary-nav.is-open { display: flex; }
}

@media (max-width: 620px) {
    .container { width: min(100% - 28px, 1160px); }
    .header-inner { min-height: 76px; }
    .section { padding: 54px 0; }
    .hero { padding: 70px 0; }
    .grid-3, .grid-2, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .cta { padding: 30px 24px; }
}
