/* AkreinFresh — modern su arıtma sitesi */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #0e2429;
  --ink-soft: #3a555c;
  --paper: #f4fafb;
  --mist: #e4f1f3;
  --teal: #1b7a88;
  --teal-deep: #0d4a54;
  --aqua: #4eb3c1;
  --foam: #ffffff;
  --line: rgba(14, 36, 41, 0.12);
  --shadow: 0 18px 50px rgba(13, 74, 84, 0.12);
  --radius: 4px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-wide {
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Typography ——— */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38ch;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

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

.btn-primary {
  background: var(--teal-deep);
  color: var(--foam);
}

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

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.btn-light {
  background: var(--foam);
  color: var(--teal-deep);
}

.btn-light:hover {
  background: var(--mist);
}

/* ——— Landing split ——— */
.landing {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--ink);
  color: var(--foam);
  position: relative;
}

.landing-brand {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  pointer-events: none;
}

.landing-brand .logo {
  pointer-events: auto;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.landing-brand .tag {
  pointer-events: auto;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.landing-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
}

.split-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.5rem 2.5rem;
  min-height: 50dvh;
  text-decoration: none;
  color: var(--foam);
  isolation: isolate;
  transition: flex 0.7s var(--ease);
}

.split-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 34, 0.15) 0%, rgba(8, 28, 34, 0.72) 100%),
    var(--panel-img) center / cover no-repeat;
  z-index: -2;
  transition: transform 1s var(--ease), filter 0.7s var(--ease);
}

.split-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(78, 179, 193, 0.18));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.split-panel:hover::before {
  transform: scale(1.06);
}

.split-panel:hover::after {
  opacity: 1;
}

.split-panel.industrial {
  --panel-img: url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1600&q=80');
}

.split-panel.domestic {
  --panel-img: url('https://images.unsplash.com/photo-1548839140-29a749e1cf4d?auto=format&fit=crop&w=1600&q=80');
}

.split-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.75rem;
  transform: translateY(12px);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.2s forwards;
}

.split-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.75rem;
  transform: translateY(18px);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.35s forwards;
}

.split-desc {
  max-width: 28ch;
  font-size: 1rem;
  margin-bottom: 1.75rem;
  transform: translateY(18px);
  opacity: 0;
  animation: riseSoft 0.9s var(--ease) 0.5s forwards;
}

.split-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 0.35rem;
  width: fit-content;
  transform: translateY(18px);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.65s forwards;
  transition: gap 0.35s var(--ease), border-color 0.35s;
}

.split-panel:hover .split-cta {
  gap: 1rem;
  border-color: var(--foam);
}

.split-cta svg {
  width: 18px;
  height: 18px;
}

.landing-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  text-align: center;
  pointer-events: none;
  width: min(90vw, 420px);
}

.landing-center .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  animation: fadeSoft 1.1s var(--ease) both;
}

.landing-center p {
  font-size: 0.95rem;
  opacity: 0.88;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  animation: fadeSoft 1.1s var(--ease) 0.15s both;
}

@keyframes rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes riseSoft {
  to {
    transform: translateY(0);
    opacity: 0.85;
  }
}

@keyframes fadeSoft {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .landing-split {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .landing-center {
    top: auto;
    bottom: 48%;
    width: min(90vw, 320px);
  }

  .landing-brand .tag {
    display: none;
  }

  .split-panel {
    padding: 2.5rem 1.5rem;
  }
}

/* ——— Site chrome (inner pages) ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(244, 250, 251, 0.92);
  border-bottom: 1px solid var(--line);
}

.site-header.theme-industrial {
  background: rgba(14, 36, 41, 0.94);
  color: var(--foam);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  gap: 1.25rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo span {
  color: var(--aqua);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav > a,
.nav-item > .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0;
  white-space: nowrap;
}

.theme-industrial .nav > a,
.theme-industrial .nav-item > .nav-link {
  color: rgba(255, 255, 255, 0.72);
}

.nav > a:hover,
.nav > a.active,
.nav-item:hover > .nav-link,
.nav-item > .nav-link.active {
  color: var(--teal-deep);
}

.theme-industrial .nav > a:hover,
.theme-industrial .nav > a.active,
.theme-industrial .nav-item:hover > .nav-link,
.theme-industrial .nav-item > .nav-link.active {
  color: var(--foam);
}

.nav-item {
  position: relative;
}

.nav-item .chev {
  width: 10px;
  height: 10px;
  opacity: 0.55;
  transition: transform 0.25s var(--ease);
}

.nav-item:hover .chev,
.nav-item.open .chev {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  padding: 0.65rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 120;
}

.dropdown.mega {
  min-width: min(640px, 88vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1rem;
  padding: 1rem;
}

.nav-item:hover > .dropdown,
.nav-item.open > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink) !important;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  white-space: normal;
  line-height: 1.35;
}

.dropdown a:hover {
  background: var(--mist);
  color: var(--teal-deep) !important;
}

.dropdown .drop-label {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.35rem 0.85rem 0.15rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-deep);
  white-space: nowrap;
}

.theme-industrial .nav-phone {
  color: var(--aqua);
}

.nav-switch {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--teal-deep);
  transition: background 0.25s, border-color 0.25s;
}

.theme-industrial .nav-switch {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--foam);
}

.nav-switch:hover {
  background: var(--mist);
  border-color: var(--teal);
}

.theme-industrial .nav-switch:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.theme-industrial .nav-toggle {
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 1100px) {
  .nav-phone { display: none; }
  .dropdown.mega {
    min-width: 320px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.25rem;
    background: var(--foam);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }

  .site-header.theme-industrial .nav {
    background: var(--ink);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .theme-industrial .nav-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .nav > a,
  .nav-item > .nav-link,
  .nav-switch {
    padding: 0.95rem 0.35rem;
    width: 100%;
    justify-content: space-between;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.75rem;
    gap: 0.5rem;
  }

  .nav-phone {
    display: block;
    padding: 0.5rem 0.35rem;
  }

  .dropdown,
  .dropdown.mega {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0.5rem 0.75rem;
    display: none;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-item.open > .dropdown {
    display: grid;
  }

  .theme-industrial .dropdown a {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .theme-industrial .dropdown a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--foam) !important;
  }
}

/* ——— Hero ——— */
.page-hero {
  position: relative;
  min-height: min(78dvh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--foam);
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 34, 0.2) 0%, rgba(8, 28, 34, 0.78) 100%),
    var(--hero-img) center / cover no-repeat;
  z-index: -1;
  animation: heroZoom 12s var(--ease) both;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.page-hero .content {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 4rem;
  animation: fadeSoft 0.9s var(--ease) 0.15s both;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 600;
  max-width: 14ch;
  margin: 0.75rem 0 1rem;
  line-height: 1.08;
}

.page-hero p {
  max-width: 40ch;
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.75rem;
}

.page-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Theme accents */
body.theme-evsel {
  --teal: #1b7a88;
  --teal-deep: #0d4a54;
  --aqua: #4eb3c1;
}

body.theme-endustriyel {
  --paper: #f2f5f6;
  --mist: #e6ecee;
  --teal: #2a8a96;
  --teal-deep: #123940;
  --aqua: #5ec4d0;
}

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0;
}

.section-head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
  max-width: 40rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section.alt {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(78, 179, 193, 0.14), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(13, 74, 84, 0.08), transparent 45%),
    var(--mist);
}

.section.dark {
  background:
    linear-gradient(145deg, #0d4a54 0%, #0e2429 55%, #14363d 100%);
  color: var(--foam);
}

.section.dark .lead,
.section.dark .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.section.dark .eyebrow {
  color: var(--aqua);
}

/* ——— About strip ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-grid .visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
}

.about-grid .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about-grid .copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  margin: 0.6rem 0 1rem;
  line-height: 1.15;
}

.feature-list {
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
}

.feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  flex-shrink: 0;
  background: var(--aqua);
  border-radius: 1px;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-grid .visual {
    min-height: 280px;
    order: -1;
  }
}

/* ——— Product / category links ——— */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cat-link {
  display: block;
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--foam);
  isolation: isolate;
}

.cat-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}

.cat-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 28, 34, 0.85));
  z-index: -1;
}

.cat-link:hover img {
  transform: scale(1.07);
}

.cat-link .body {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
}

.cat-link h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.cat-link p {
  font-size: 0.9rem;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Product listing ——— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.4s var(--ease);
}

.product-item:hover {
  transform: translateY(-4px);
}

.product-item .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}

.product-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

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

.product-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
}

.product-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.product-item .meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Product detail ——— */
.detail-hero {
  padding: 3.5rem 0 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 4rem;
}

.detail-media {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 1 / 1;
}

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

.detail-copy .eyebrow {
  margin-bottom: 0.75rem;
}

.detail-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.detail-copy .lead {
  margin-bottom: 1.75rem;
}

.spec-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.75rem 0 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.spec-list span:first-child {
  color: var(--ink-soft);
}

.spec-list span:last-child {
  font-weight: 600;
  text-align: right;
}

@media (max-width: 860px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-media {
    position: static;
    aspect-ratio: 4 / 3;
  }
}

/* ——— Blog ——— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.blog-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}

.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.blog-card:hover .thumb img {
  transform: scale(1.05);
}

.blog-card time {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
}

.blog-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0.75rem 0 1.25rem;
}

.article .meta {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.article-cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  background: var(--mist);
}

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

.article-body {
  font-size: 1.0625rem;
  color: var(--ink);
}

.article-body p + p {
  margin-top: 1.25rem;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 2.25rem 0 0.85rem;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.6rem 0 1rem;
  line-height: 1.12;
}

.contact-meta {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.contact-meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.contact-meta dd {
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(228, 241, 243, 0.75));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--foam);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Page intro (non-hero pages) ——— */
.page-intro {
  padding: 3.5rem 0 1rem;
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  margin: 0.5rem 0 0.85rem;
}

/* ——— CTA band ——— */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 18ch;
  line-height: 1.2;
}

/* ——— Footer ——— */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .logo {
  color: var(--foam);
  margin-bottom: 0.75rem;
}

.site-footer p {
  max-width: 28ch;
  font-size: 0.95rem;
}

.site-footer h4 {
  color: var(--foam);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer a {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
  transition: color 0.25s;
}

.site-footer a:hover {
  color: var(--aqua);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Breadcrumb ——— */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.breadcrumb a:hover {
  color: var(--teal);
}

/* ——— Visual / mosaic layouts ——— */
.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 0.85rem;
}

.mosaic a {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--foam);
  isolation: isolate;
  min-height: 180px;
}

.mosaic a:first-child {
  grid-row: 1 / 3;
}

.mosaic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}

.mosaic a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 28, 34, 0.88));
  z-index: -1;
}

.mosaic a:hover img {
  transform: scale(1.06);
}

.mosaic .cap {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
}

.mosaic h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.mosaic p {
  font-size: 0.88rem;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .mosaic a:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic a:first-child {
    grid-column: auto;
  }
}

.visual-band {
  position: relative;
  min-height: min(62dvh, 560px);
  display: grid;
  align-items: end;
  color: var(--foam);
  overflow: hidden;
  isolation: isolate;
}

.visual-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 34, 0.82) 0%, rgba(8, 28, 34, 0.25) 70%),
    var(--band-img) center / cover no-repeat;
  z-index: -1;
}

.visual-band .inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 3.5rem;
}

.visual-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 16ch;
  line-height: 1.12;
  margin: 0.5rem 0 1rem;
}

.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(70dvh, 640px);
}

.story-split .media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.story-split .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-split .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(78, 179, 193, 0.16), transparent 55%),
    var(--paper);
}

.story-split .text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}

.story-split.reverse .media {
  order: 2;
}

@media (max-width: 860px) {
  .story-split,
  .story-split.reverse {
    grid-template-columns: 1fr;
  }

  .story-split.reverse .media {
    order: 0;
  }
}

.img-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.img-rail a,
.img-rail .tile {
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--foam);
  isolation: isolate;
}

.img-rail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s var(--ease);
}

.img-rail a:hover img {
  transform: scale(1.05);
}

.img-rail .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(8, 28, 34, 0.9));
}

.img-rail h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.quote-panel {
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    linear-gradient(145deg, #0d4a54, #0e2429 60%);
  color: var(--foam);
  border-radius: var(--radius);
}

.quote-panel blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  max-width: 28ch;
  margin-bottom: 1.25rem;
}

.quote-panel cite {
  font-style: normal;
  opacity: 0.75;
  font-size: 0.9rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cert-card {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  color: var(--foam);
}

.cert-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.cert-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 28, 34, 0.85));
  z-index: -1;
}

.cert-card span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

@media (max-width: 700px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

.page-hero.compact {
  min-height: min(48dvh, 420px);
}
