@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


/* =========================================================
   VARIABLES
========================================================= */

:root {
  --ink: #566970;
  --gold: #b0ad43;
  --gold-dark: #9f9c39;

  --paper: #f8f8f5;
  --white: #ffffff;

  --text-muted: #718086;
  --line: #dfe2df;

  --container: 1240px;
  --side-padding: 32px;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}


/* =========================================================
   GLOBAL CONTAINER

   Det här är det viktiga:
   ALLA sektioner använder samma bredd.
========================================================= */

.container {
  width: min(
    var(--container),
    calc(100% - (var(--side-padding) * 2))
  );

  margin-inline: auto;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
}

.eyebrow {
  margin-bottom: 18px;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.2em;
  text-transform: uppercase;

  color: var(--gold);
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav {
  height: 82px;

  border-bottom: 1px solid var(--line);

  background: rgba(248, 248, 245, 0.96);
}

.nav-inner {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;

  gap: 11px;

  font-size: 15px;
  font-weight: 700;

  letter-spacing: 0.08em;
}

.brand img {
  width: 34px;
  height: 34px;

  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;

  gap: 36px;

  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-contact {
  font-weight: 700;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: calc(100vh - 82px);

  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  align-items: center;

  gap: clamp(60px, 7vw, 120px);

  padding-top: 80px;
  padding-bottom: 100px;
}


.hero-copy {
  min-width: 0;
}


.hero h1 {
  margin-bottom: 32px;

  font-size: clamp(70px, 7.2vw, 116px);

  line-height: 0.88;

  letter-spacing: -0.065em;

  font-weight: 700;
}

.hero h1 span {
  color: var(--gold);
}


.lead {
  max-width: 570px;

  margin-bottom: 0;

  font-size: clamp(18px, 1.4vw, 21px);

  line-height: 1.65;

  color: #65757b;
}


/* =========================================================
   HERO LOGO
========================================================= */

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
}

.hero-logo img {
  width: min(100%, 560px);

  height: auto;

  mix-blend-mode: multiply;
}


/* =========================================================
   BUTTONS
========================================================= */

.actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 38px;
}

.button {
  min-height: 52px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 0 24px;

  border-radius: 4px;

  font-size: 14px;
  font-weight: 600;

  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
}


.primary {
  background: var(--gold);
  color: white;

  border: 1px solid var(--gold);
}

.primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}


.secondary {
  border: 1px solid var(--line);
}

.secondary:hover {
  border-color: var(--gold);
}


/* =========================================================
   SERVICES
========================================================= */

.services {
  padding: 120px 0 130px;

  background: var(--white);

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.section-heading {
  max-width: 760px;
}


.section-heading h2 {
  margin-bottom: 26px;

  font-size: clamp(48px, 5vw, 72px);

  line-height: 1;

  letter-spacing: -0.05em;
}


.section-description {
  max-width: 620px;

  margin-bottom: 0;

  font-size: 18px;

  line-height: 1.7;

  color: var(--text-muted);
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.cards {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  margin-top: 70px;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.cards article {
  min-width: 0;
  min-height: 290px;

  display: flex;
  flex-direction: column;

  padding: 36px 40px 40px;
}


.cards article + article {
  border-left: 1px solid var(--line);
}


.card-number {
  display: block;

  font-size: 14px;
  font-weight: 700;

  color: var(--gold);
}


.card-content {
  margin-top: auto;
}


.cards h3 {
  margin-bottom: 12px;

  font-size: 21px;

  line-height: 1.3;

  letter-spacing: -0.02em;
}


.cards p {
  max-width: 340px;

  margin-bottom: 0;

  font-size: 15px;

  line-height: 1.75;

  color: var(--text-muted);
}


/* =========================================================
   ABOUT
========================================================= */

.about {
  padding: 150px 0;
}


.about-inner {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(300px, 0.85fr);

  gap: clamp(80px, 10vw, 160px);

  align-items: start;
}


.about-heading h2 {
  margin-bottom: 0;

  font-size: clamp(48px, 5.4vw, 78px);

  line-height: 1.02;

  letter-spacing: -0.055em;
}


.about-heading h2 span {
  color: var(--gold);
}


.about-copy {
  padding-top: 34px;
}


.about-copy p {
  margin-bottom: 22px;

  font-size: 17px;

  line-height: 1.8;

  color: var(--text-muted);
}


.about-copy .about-lead {
  font-size: 20px;

  color: var(--ink);
}


.about-copy strong {
  color: var(--ink);
}


/* =========================================================
   CTA
========================================================= */

.cta {
  background: var(--ink);

  color: white;
}


.cta-inner {
  min-height: 430px;

  display: grid;

  grid-template-columns: 160px 1fr;

  gap: 70px;

  align-items: center;

  padding-top: 90px;
  padding-bottom: 90px;
}


.cta-icon {
  display: flex;

  align-items: center;
  justify-content: center;
}


.cta-icon img {
  width: 120px;
  height: 120px;

  object-fit: contain;
}


.cta h2 {
  margin-bottom: 20px;

  font-size: clamp(50px, 6vw, 82px);

  line-height: 0.95;

  letter-spacing: -0.055em;

  color: white;
}


.cta-copy > p:not(.eyebrow) {
  max-width: 550px;

  margin-bottom: 30px;

  font-size: 18px;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  background: var(--paper);

  border-top: 1px solid var(--line);
}


.footer-inner {
  min-height: 100px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


.footer-brand {
  display: flex;

  align-items: center;

  gap: 10px;

  font-size: 13px;

  letter-spacing: 0.08em;
}


.footer-brand img {
  width: 28px;
  height: 28px;

  object-fit: contain;
}


.footer-info {
  display: flex;

  gap: 30px;

  font-size: 13px;

  color: #849096;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  :root {
    --side-padding: 28px;
  }


  .hero-inner {
    grid-template-columns: 1fr 0.8fr;

    gap: 40px;
  }


  .hero h1 {
    font-size: clamp(62px, 9vw, 90px);
  }


  .cards article {
    padding: 30px;
  }


  .about-inner {
    gap: 60px;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

  :root {
    --side-padding: 22px;
  }


  /* NAV */

  .nav {
    height: 72px;
  }


  .nav-links {
    gap: 18px;
  }


  .nav-links a:not(.nav-contact) {
    display: none;
  }


  /* HERO */

  .hero {
    min-height: auto;
  }


  .hero-inner {
    grid-template-columns: 1fr;

    gap: 50px;

    padding-top: 65px;
    padding-bottom: 80px;
  }


  .hero h1 {
    font-size: clamp(58px, 17vw, 86px);
  }


  .hero-logo {
    order: -1;

    justify-content: flex-start;
  }


  .hero-logo img {
    width: 180px;
  }


  .lead {
    font-size: 18px;
  }


  /* SERVICES */

  .services {
    padding: 85px 0;
  }


  .section-heading h2 {
    font-size: 48px;
  }


  .cards {
    grid-template-columns: 1fr;

    margin-top: 50px;
  }


  .cards article {
    min-height: 240px;

    padding: 30px 0;
  }


  .cards article + article {
    border-left: 0;

    border-top: 1px solid var(--line);
  }


  /* ABOUT */

  .about {
    padding: 90px 0;
  }


  .about-inner {
    grid-template-columns: 1fr;

    gap: 45px;
  }


  .about-heading h2 {
    font-size: 48px;
  }


  .about-copy {
    padding-top: 0;
  }


  /* CTA */

  .cta-inner {
    min-height: auto;

    grid-template-columns: 1fr;

    gap: 35px;

    padding-top: 80px;
    padding-bottom: 80px;
  }


  .cta-icon {
    justify-content: flex-start;
  }


  .cta-icon img {
    width: 80px;
    height: 80px;
  }


  .cta h2 {
    font-size: 54px;
  }


  /* FOOTER */

  .footer-inner {
    padding-top: 28px;
    padding-bottom: 28px;

    flex-direction: column;

    align-items: flex-start;
  }


  .footer-info {
    flex-direction: column;

    gap: 8px;
  }
}