/* Sealion Service — design system shared with sealion.dk (Sealion Consult) */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --purple: #4d366b;
  --purple-dark: #3a2850;
  --bronze: #a9784b;
  --navy: #3e4757;
  --navy-dark: #2c333f;
  --white: #ffffff;
  --gray-50: #f7f6f4;
  --gray-100: #ede9e3;
  --gray-300: #cfc9c0;
  --gray-500: #8b8378;
  --gray-700: #574f45;
  --shadow: 0 20px 45px rgba(61, 45, 82, 0.14);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--navy-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.9em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

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

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(77, 54, 107, 0.35);
}

.btn-primary:hover {
  background: var(--purple-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--purple);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 46px;
  width: auto;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  white-space: nowrap;
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.desktop-nav li {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.83rem;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

a.nav-link:hover,
.nav-link:hover,
li:hover > .nav-link,
li:focus-within > .nav-link {
  background: var(--gray-50);
  color: var(--purple);
}

.nav-cta {
  background: var(--purple);
  color: var(--white) !important;
  padding-left: 18px;
  padding-right: 18px;
}

.nav-cta:hover {
  background: var(--purple-dark) !important;
  color: var(--white) !important;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  border-top: 3px solid var(--bronze);
}

li:hover > .dropdown,
li:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown p {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: var(--gray-700);
}

.dropdown p:first-child {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.menu-button-wrap {
  display: flex;
}

.menu-button {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--navy);
}

.menu-button svg {
  width: 28px;
  height: 28px;
}

.icon-close {
  display: none;
}

.menu-button.is-active .icon-open {
  display: none;
}

.menu-button.is-active .icon-close {
  display: block;
}

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  transition: max-height 0.25s ease;
}

.mobile-nav.is-open {
  max-height: 900px;
}

.mobile-nav-list {
  padding: 8px 24px 20px;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
}

.chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.mobile-nav-item.is-open .chevron {
  transform: rotate(180deg);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  padding-left: 6px;
}

.mobile-nav-item.is-open .mobile-submenu {
  max-height: 300px;
  padding-bottom: 10px;
}

.mobile-submenu li span {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.mobile-submenu li:first-child span {
  font-weight: 700;
  color: var(--navy);
}

@media (min-width: 1180px) {
  .desktop-nav {
    display: block;
  }
  .menu-button-wrap {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(169, 120, 75, 0.35), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 24px 88px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.35em;
}

.hero-copy .eyebrow {
  color: var(--bronze);
}

.hero-lede {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
  margin-bottom: 1.8em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 2.2em;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.95rem;
}

.hero-contact div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-contact span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-contact a {
  font-weight: 600;
  color: var(--white);
}

.hero-contact a:hover {
  color: var(--bronze);
}

.hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  aspect-ratio: 4 / 3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ---------- Ticker ---------- */

.ticker {
  background: var(--bronze);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  animation: ticker 22s linear infinite;
}

.ticker-track span {
  margin: 0 28px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section basics ---------- */

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.section-head p {
  color: var(--gray-700);
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--purple);
  box-shadow: var(--shadow);
  padding: 32px 28px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

.service-card .tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--bronze);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.service-card ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bronze);
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Work examples / gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(46, 33, 26, 0.75), transparent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}

@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-item:first-child img {
    height: 100%;
    min-height: 584px;
  }
}

/* ---------- Pull quote / why different ---------- */

.pull-band {
  position: relative;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: var(--white);
  padding: 72px 0;
}

.pull-band .container {
  max-width: 900px;
  text-align: center;
}

.pull-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.7em;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
  text-align: left;
}

.why-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.why-item h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}

.why-item p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  margin: 0;
}

@media (min-width: 720px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- About page ---------- */

.about-hero {
  padding: 70px 0 20px;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  margin: 0 auto 12px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  text-align: center;
}

.about-text > p {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.4em;
  color: var(--gray-700);
}

.about-lists {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.about-list-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  border-top: 4px solid var(--bronze);
  padding: 28px 26px;
}

.about-list-card h3 {
  font-size: 1.2rem;
}

.about-list-card ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-list-card li {
  position: relative;
  padding-left: 22px;
  color: var(--gray-700);
  font-size: 0.96rem;
}

.about-list-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple);
  font-weight: 700;
}

@media (min-width: 900px) {
  .about-lists {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 28px;
}

.footer-head {
  text-align: center;
  margin-bottom: 40px;
}

.footer-head h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.footer-head p {
  color: rgba(255, 255, 255, 0.65);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 36px 0;
}

.footer-columns h4 {
  color: var(--bronze);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9em;
}

.footer-columns p,
.footer-columns a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.footer-columns a:hover {
  color: var(--white);
}

.footer-links li {
  margin-bottom: 8px;
}

.spacer {
  margin-top: 14px !important;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 720px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}
