﻿:root{
  --primary-color:#27374D;
  --secondary-color:#002F5A;
  --accent-color:#38bdf8;
  --text-light:#ffffff;
  --glass: rgba(39, 55, 77, 0.72);
  --glass2: rgba(0, 0, 0, 0.35);
  --border: rgba(255,255,255,0.14);
}

*{box-sizing:border-box;margin:0;padding:0}

html,body{
  height:100%;
  font-family:'Poppins',sans-serif;
  overflow-x:hidden
}

body{
  min-height:100vh;
  color:var(--text-light);
}

/* Video Background */
.background-video{
  position:fixed;
  inset:0;
  z-index:-1;
  overflow:hidden;
}

.background-video video{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* HEADER */
.header{
  position:sticky;
  top:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 5%;
  background: rgba(39, 55, 77, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.home-logo{
  width:120px;
  height:auto;
  transition:transform .25s ease;
}

.home-logo:hover{transform:scale(1.05)}

/* Desktop Menu */
.header-links{
  display:flex;
  align-items:center;
  gap:22px;
}

.lang-switch{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px;
  border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
}

.lang-btn{
  border:none;
  background:transparent;
  color:#fff;
  padding:8px 10px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
}

.lang-btn.active{
  background:rgba(56,189,248,0.22);
}

.mobile-lang{
  width:max-content;
}

.header-links a{
  color:var(--text-light);
  text-decoration:none;
  font-weight:600;
  font-size:16px;
  position:relative;
  transition: all .25s ease;
  opacity:.95;
}

.header-links a:hover{
  color:var(--accent-color);
  opacity:1;
}

.header-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-7px;
  width:0%;
  height:2px;
  background:var(--accent-color);
  transition: width .25s ease;
}

.header-links a:hover::after{width:100%}

.header-links a.active{color:var(--accent-color)}
.header-links a.active::after{width:100%}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
  border:1px solid rgba(255,255,255,0.18);
  text-decoration:none;
  cursor:pointer;
  transition: all .25s ease;
}

.btn-offer{
  background: linear-gradient(90deg, rgba(56,189,248,0.25), rgba(56,189,248,0.08));
  color:#fff !important;
  box-shadow: 0 8px 25px rgba(56,189,248,0.15);
}

.btn-offer:hover{
  transform: translateY(-2px);
  border-color: rgba(56,189,248,0.45);
  box-shadow: 0 14px 35px rgba(56,189,248,0.25);
}

/* Back Button (DME Ana Sayfa) */
.btn-back{
  background: rgba(0,0,0,0.35);
  color:#fff !important;
  border: 1px solid rgba(255,255,255,0.18);
}

.btn-back:hover{
  transform: translateY(-2px);
  border-color: rgba(56,189,248,0.45);
  box-shadow: 0 14px 35px rgba(56,189,248,0.20);
}

/* Hamburger */
.hamburger{
  display:none;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
}

.hamburger span{
  width:22px;
  height:2px;
  background:#fff;
  transition: all .25s ease;
  border-radius:2px;
}

/* Mobile Menu */
.mobile-menu{
  position:fixed;
  top:0;
  left:0;
  width:80%;
  max-width:360px;
  height:100vh;
  z-index:999;
  background: rgba(39, 55, 77, 0.96);
  backdrop-filter: blur(12px);
  border-right: 1px solid rgba(255,255,255,0.12);
  display:flex;
  flex-direction:column;
  padding:90px 24px 24px;
  gap:18px;
  transition:transform .25s ease, visibility .25s ease;
  transform: translateX(-110%);
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:18px;
}

.mobile-menu a:hover{color:var(--accent-color)}
.mobile-menu.active{
  left:0;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 861px) {
  .mobile-menu,
  .mobile-menu.active,
  .marine-mobile-menu,
  .marine-mobile-menu.active {
    display: none !important;
    transform: translateX(-110%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .hamburger,
  .marine-hvac-home .hamburger {
    display: none !important;
  }
}

/* Hamburger active */
.hamburger.active span:nth-child(1){
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================= */
/* HERO (ESKÄ° GENEL AYARLAR)  */
/* ========================= */

/* BU BLOK GENEL KALSIN AMA FLEX/MINHEIGHT VERMESÄ°N (NEWS BOZUYORDU) */
.company-info{
  text-align:center;
  position:relative;
  width:100%;
  padding:0 20px;
  z-index:1;
}

/* Back button position */
.back-to-main{
  position:absolute;
  top:-85px;
  left:50%;
  transform: translateX(-50%);
  z-index:5;
}

/* HERO SLOGAN WRAP */
.hero-slogan-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:22px 18px;
  border-radius:18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.35);
  max-width: 1050px;
  margin: 0 auto;
  position:relative;
  overflow:hidden;
}

/* Scanline effect */
.hero-slogan-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.05) 1px,
    transparent 1px,
    transparent 6px
  );
  opacity:0.35;
  pointer-events:none;
}

/* Moving glow */
.hero-slogan-wrap::after{
  content:"";
  position:absolute;
  top:-60%;
  left:-60%;
  width:220%;
  height:220%;
  background: radial-gradient(circle, rgba(56,189,248,0.18), transparent 60%);
  animation: glowMove 6s linear infinite;
  pointer-events:none;
}

@keyframes glowMove{
  0%{transform: translate(0,0);}
  50%{transform: translate(20%,10%);}
  100%{transform: translate(0,0);}
}

/* Top small title */
.slogan-top{
  font-size:14px;
  letter-spacing:4px;
  font-weight:700;
  opacity:0.85;
  text-transform:uppercase;
  color:#dbeafe;
}

/* Glitch Title */
.glitch-title{
  font-size:2.6rem;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
  position:relative;
  color:#ffffff;
  text-shadow: 0 0 18px rgba(56,189,248,0.25);
  animation: fadeIn 1.2s 0.2s forwards;
  opacity:0;
}

/* Subtitle */
.slogan-sub{
  font-size:15px;
  font-weight:600;
  opacity:0.9;
  color:#e0f2fe;
  letter-spacing:1px;
  text-transform:uppercase;
}

/* Thermometer */
.digital-thermometer{
  position:fixed;
  bottom:30px;
  right:30px;
  background-color: rgba(0,0,0,0.65);
  padding:14px 22px;
  border-radius:12px;
  font-family:'Courier New', monospace;
  font-size:1.4rem;
  box-shadow:0 4px 15px rgba(0,0,0,0.3);
  z-index:999;
  animation: float 3s ease-in-out infinite;
}

/* Animations */
@keyframes fadeIn{
  from{opacity:0; transform: translateY(-10px);}
  to{opacity:1; transform: translateY(0);}
}

@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}

/* =========================== NEWS PAGE (Bizden Haberler) =========================== */
.page{
  min-height:100vh;
  padding: 60px 5% 90px;
}

.page-box{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding: 35px 28px;
  border-radius: 18px;
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.35);
}

.page-box h1{
  font-size:2.2rem;
  margin-bottom: 10px;
}

.page-desc{
  opacity:0.85;
  margin-bottom: 26px;
  line-height:1.7;
}

.news-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}

.news-card{
  background: rgba(39,55,77,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
  transition: all .25s ease;
}

.news-card:hover{
  transform: translateY(-4px);
  border-color: rgba(56,189,248,0.35);
}

.news-card h3{
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.news-date{
  display:inline-block;
  font-size: 13px;
  opacity:0.8;
  margin-bottom: 10px;
}

/* POPUP (eski popup sistemi) */
.popup-overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.75);
  z-index:2000;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
}

.popup-overlay.active{display:flex}

.popup-box{
  width:100%;
  max-width: 720px;
  border-radius: 18px;
  background: rgba(39,55,77,0.95);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 85px rgba(0,0,0,0.55);
  padding: 26px 22px;
  position:relative;
  animation: popupIn .22s ease;
}

@keyframes popupIn{
  from{transform: scale(0.95); opacity:0;}
  to{transform: scale(1); opacity:1;}
}

.popup-box h2{
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.popup-box p{
  opacity:0.9;
  line-height:1.7;
  margin-bottom: 18px;
}

.popup-close{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.30);
  color:#fff;
  cursor:pointer;
  font-size:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: all .2s ease;
}

.popup-close:hover{
  border-color: rgba(56,189,248,0.45);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px){
  .glitch-title{font-size:2.1rem}
  .news-grid{grid-template-columns: 1fr 1fr;}
}

@media (max-width: 860px){
  .header-links{display:none;}
  .hamburger{display:flex;}
}

@media (max-width: 768px){
  .header{padding:14px 16px;}
  .glitch-title{font-size:1.55rem; letter-spacing:1px;}
  .digital-thermometer{
    font-size:1.1rem;
    padding:10px 16px;
    bottom:18px;
    right:18px;
  }
  .news-grid{grid-template-columns: 1fr;}
  .back-to-main{ top:-75px; }
}

@media (max-width: 480px){
  .glitch-title{font-size:1.15rem;}
  .slogan-sub{font-size:13px;}
}

/* ========================= INDEX SLOGAN EFFECT ========================= */
.slogan-effect {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 10px;
  text-align: center;

  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.2),
    rgba(255,255,255,1),
    rgba(255,255,255,0.2)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sloganShine 3.5s linear infinite;
  text-shadow: 0 0 25px rgba(255,255,255,0.15);
}

@keyframes sloganShine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ========================= RETURN BUTTON ========================= */
.home-return-wrap {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.btn-return {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: 0.25s ease;
}

.btn-return:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

/* ========================= NEWS POPUP (senin script.js bunu kullanÄ±yor) ========================= */
.news-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  padding: 18px;
}

.news-popup.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.news-popup-box {
  width: min(720px, 95vw);
  border-radius: 22px;
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  color: #fff;
  position: relative;
  transform: scale(0.96);
  transition: 0.25s ease;
}

.news-popup.active .news-popup-box {
  transform: scale(1);
}

.news-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease;
}

.news-popup-close:hover {
  transform: rotate(6deg);
  background: rgba(255,255,255,0.12);
}

.popup-date {
  display: inline-block;
  margin-top: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  opacity: 0.8;
}

/* ========================= CONTACT FORM - INDUSTRIAL PANEL ========================= */
.contact-form-section{
  margin-top: 40px;
  padding: 34px;
  border-radius: 14px;
  background: #0b0f14;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 25px 60px rgba(0,0,0,0.55);
}

.section-title{
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}

.section-subtitle{
  opacity: 0.8;
  margin-bottom: 26px;
  font-size: 15px;
  max-width: 720px;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label{
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  opacity: 0.85;
}

.form-group input,
.form-group textarea{
  width: 100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: #121a24;
  color: #fff;
  outline: none;
  font-size: 15px;
  transition: 0.2s ease;
}

.form-group textarea{
  min-height: 170px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder{
  color: rgba(255,255,255,0.35);
}

.form-group input:focus,
.form-group textarea:focus{
  border-color: rgba(80,160,255,0.75);
  box-shadow: 0 0 0 4px rgba(70,140,255,0.12);
}

.form-group.full{ grid-column: 1 / -1; }

.btn-row.center{
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}

/* Contact sayfasÄ±nda buton farklÄ± gÃ¶rÃ¼nmesin diye */
.contact-form-section .btn-offer{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #0f2338;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-form-section .btn-offer:hover{
  transform: translateY(-2px);
  background: #163652;
}

@media(max-width: 850px){
  .form-grid{ grid-template-columns: 1fr; }
  .contact-form-section{ padding: 22px; }
}

/* ============================================================= */
/* HERO - INDUSTRIAL LINE STYLE (1)  (SADECE INDEX / homepage)    */
/* ============================================================= */

.homepage .company-info{
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
}

.homepage .company-info::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 0;
}

.homepage .hero-feature{
  position: relative;
  z-index: 2;
  width: min(1050px, 100%);
  text-align: center;
  padding: 24px 18px;
}

.homepage .hero-kicker{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: clamp(26px, 4.2vw, 30px);
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 14px;
  transform: translateY(-200px)
}

/* HTML'inde hero-lines kullanÄ±lmÄ±ÅŸtÄ±: onu da destekliyoruz */
.homepage .hero-lines{
  display:flex;
  justify-content:center;
  gap:12px;
  margin: 0 0 18px;
}

.homepage .hero-lines .line,
.homepage .hero-line{
  width: 250px;
  height: 2px;
  background: rgba(0, 255, 98, 0.85);
  box-shadow: 0 0 18px rgba(0, 194, 255, 0.25);
  border-radius: 999px;
  transform: translateY(-200px)
}


.homepage .hero-title{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(26px, 4.2vw, 26px);
  line-height: 1.15;
  margin: 0 0 18px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
  transform: translateY(-200px)
}


.homepage .hero-title .dot{
  color: #00c2ff;
  margin: 0 10px;
  text-shadow: 0 0 16px rgba(0, 194, 255, 0.35);
}

.homepage .hero-subtitle{
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* HTML bozuk olsa bile taÅŸmayÄ± azaltÄ±r */
.homepage .hero-subtitle{
  overflow-wrap:anywhere;
}

.homepage .hero-subtitle .sep{
  color: rgba(0, 194, 255, 0.85);
  margin: 0 10px;
}

@media (max-width: 640px){
  .homepage .hero-lines .line,
  .homepage .hero-line{
    width: 110px;
  }
}
/* =========================================================
   DMEMarin - Layout Fix (About + Services) 
   (News & Contact sayfalarÄ±na dokunmaz)
========================================================= */

/* Genel sayfa kutusu */
.page {
  position: relative;
  z-index: 2;
  padding: 120px 16px 50px;
}

.page-box {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 22px;
  background: rgba(20, 26, 34, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

/* BaÅŸlÄ±k ve aÃ§Ä±klama */
.page-box h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}

.page-desc {
  max-width: 820px;
  opacity: 0.88;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Kart tasarÄ±mÄ± (About + Services ortak) */
.card {
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(39, 55, 77, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, border 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Kart baÅŸlÄ±klarÄ± */
.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  display: flex;
  gap: 10px;
  align-items: center;
}

.card h2 {
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.75;
}

/* Grid sistemleri */
.about-grid,
.cards {
  display: grid;
  gap: 18px;
}

.about-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cards {
  grid-template-columns: repeat(2, 1fr);
}

/* Mission Vision */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

/* Values list */
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.values-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0.92;
}

/* CTA kutusu */
.cta-box {
  margin-top: 26px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(39, 55, 77, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Button row */
.btn-row.center {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .mission-vision {
    grid-template-columns: 1fr;
  }
  .values-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    padding-top: 105px;
  }
  .page-box {
    padding: 18px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* PREMIUM MARINE HOMEPAGE   */
/* ========================= */
.homepage {
  font-family: "Manrope", sans-serif;
  background: #eef8f6;
}

.homepage .marine-page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 18%, rgba(103, 210, 229, 0.44), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(43, 138, 207, 0.34), transparent 30%),
    radial-gradient(circle at 76% 84%, rgba(42, 169, 129, 0.24), transparent 34%),
    linear-gradient(145deg, #f8fdff 0%, #e8f8ff 42%, #d7f6f0 100%);
}

.homepage .marine-page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 56, 109, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 56, 109, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 78%);
}

.homepage .background-video {
  display: none;
}

.homepage .background-video::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(120, 204, 255, 0.22), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(146, 220, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(218, 239, 250, 0.2), rgba(9, 31, 55, 0.5));
  z-index: 1;
  pointer-events: none;
}

.homepage .background-video video {
  filter: saturate(0.88) contrast(1.02) brightness(0.92);
}

.homepage .header {
  position: fixed;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 36px));
  padding: 12px 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 22, 43, 0.48);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.homepage .home-logo {
  width: 108px;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.34));
}

.homepage .header-links {
  gap: 18px;
}

.homepage .header-links a {
  font-size: 14px;
}

.homepage .header-links a::after {
  bottom: -10px;
}

.homepage .lang-switch {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.homepage .lang-btn.active {
  background: rgba(255, 255, 255, 0.9);
  color: #08213e;
}

.homepage .company-info {
  min-height: 100vh;
  padding: 138px 22px 72px;
}

.homepage .company-info::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(18, 56, 109, 0.08) 48%, rgba(190, 226, 220, 0.42)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(37, 92, 117, 0.2));
}

.homepage .back-to-main {
  top: 106px;
  left: 50%;
  transform: translateX(-50%);
}

.homepage .hero-feature {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(22px, 3.4vw, 48px);
  padding: clamp(30px, 4.2vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    linear-gradient(115deg, rgba(8, 28, 55, 0.72), rgba(6, 18, 34, 0.3));
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  overflow: hidden;
  text-align: left;
}

.homepage .hero-feature::before,
.homepage .hero-feature::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.homepage .hero-feature::before {
  inset: 1px;
  border-radius: 33px;
  background:
    radial-gradient(circle at 18% 18%, rgba(79, 195, 247, 0.2), transparent 28%),
    radial-gradient(circle at 88% 30%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.13), transparent 38%);
}

.homepage .hero-feature::after {
  right: -8%;
  bottom: -22%;
  width: 52%;
  height: 72%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.16), transparent 68%);
  filter: blur(6px);
}

.homepage .hero-feature > * {
  position: relative;
  z-index: 1;
}

.homepage .marine-hero-copy {
  max-width: 620px;
}

.homepage .hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid rgba(79, 195, 247, 0.28);
  border-radius: 999px;
  background: rgba(79, 195, 247, 0.1);
  transform: none;
  color: #1b7fbe;
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.homepage .hero-lines {
  display: none;
}

.homepage .hero-lines .line,
.homepage .hero-line {
  width: min(180px, 24vw);
  height: 1px;
  transform: none;
  background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.9), transparent);
  box-shadow: 0 0 22px rgba(79, 195, 247, 0.28);
}

.homepage .hero-title {
  margin: 0;
  transform: none;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3.75vw, 4.15rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
}

.homepage .hero-subtitle {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(236, 248, 255, 0.86);
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.78rem, 1.02vw, 0.94rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.homepage .home-mini-desc {
  max-width: 600px;
  margin: 16px 0 0;
  color: rgba(236, 248, 255, 0.74);
  font-size: 0.94rem;
  line-height: 1.75;
}

.homepage .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 24px;
}

.homepage .marine-hero-system {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.homepage .system-ring {
  position: relative;
  width: min(320px, 76vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 35%),
    radial-gradient(circle, rgba(79, 195, 247, 0.12), transparent 64%);
}

.homepage .system-ring > span {
  position: absolute;
  inset: var(--inset, 0);
  border-radius: 50%;
  border: 1px solid rgba(191, 235, 255, 0.18);
  box-shadow: inset 0 0 32px rgba(79, 195, 247, 0.08);
}

.homepage .system-ring > span:nth-child(1) {
  --inset: 0;
}

.homepage .system-ring > span:nth-child(2) {
  --inset: 34px;
  border-style: dashed;
  animation: ringSpin 18s linear infinite;
}

.homepage .system-ring > span:nth-child(3) {
  --inset: 70px;
  border-color: rgba(255, 255, 255, 0.22);
}

.homepage .system-core {
  width: min(158px, 36vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(218, 239, 250, 0.82));
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.28),
    0 0 46px rgba(79, 195, 247, 0.18);
}

.homepage .system-core img {
  width: 72%;
  filter: drop-shadow(0 12px 18px rgba(8, 28, 55, 0.16));
}

.homepage .system-chip {
  position: absolute;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 22, 43, 0.58);
  color: rgba(236, 248, 255, 0.88);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.homepage .chip-hvac {
  top: 24px;
  left: 26px;
}

.homepage .chip-commission {
  top: 88px;
  right: 0;
}

.homepage .chip-supply {
  bottom: 74px;
  left: 0;
}

.homepage .chip-project {
  right: 30px;
  bottom: 24px;
}

@keyframes ringSpin {
  to {
    transform: rotate(360deg);
  }
}

.homepage .btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
}

.homepage .btn-offer {
  background: linear-gradient(135deg, #12386d, #1b7fbe 58%, #2aa981);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 44px rgba(27, 127, 190, 0.24);
}

.homepage .btn-return,
.homepage .btn-back {
  background: rgba(255, 255, 255, 0.72);
  color: #12386d !important;
  border-color: rgba(18, 56, 109, 0.12);
  backdrop-filter: blur(10px);
}

.homepage .digital-thermometer {
  right: 30px;
  bottom: 28px;
  display: grid;
  grid-template-columns: auto;
  gap: 3px;
  min-width: 132px;
  padding: 12px 16px;
  border: 1px solid rgba(79, 195, 247, 0.24);
  border-radius: 18px;
  background: rgba(7, 22, 43, 0.58);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
  text-align: left;
  animation: none;
}

.homepage .digital-thermometer::before {
  content: "HVAC LIVE";
  color: rgba(217, 243, 255, 0.72);
  font-family: "Manrope", sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

@media (max-width: 860px) {
  .homepage .header {
    top: 14px;
    width: calc(100% - 28px);
    border-radius: 24px;
  }

  .homepage .company-info {
    padding-top: 128px;
  }

  .homepage .back-to-main {
    top: 94px;
  }

  .homepage .hero-feature {
    grid-template-columns: 1fr;
    border-radius: 26px;
    text-align: center;
  }

  .homepage .marine-hero-copy {
    max-width: none;
  }

  .homepage .hero-kicker,
  .homepage .hero-subtitle,
  .homepage .home-mini-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .homepage .hero-buttons {
    justify-content: center;
  }

  .homepage .marine-hero-system {
    min-height: 330px;
  }

  .homepage .system-ring {
    width: min(320px, 78vw);
  }
}

@media (max-width: 640px) {
  .homepage .company-info {
    padding: 124px 14px 86px;
  }

  .homepage .back-to-main {
    display: none;
  }

  .homepage .hero-feature {
    padding: 30px 20px;
  }

  .homepage .marine-hero-system {
    min-height: 260px;
  }

  .homepage .system-ring {
    width: min(245px, 74vw);
  }

  .homepage .system-chip {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.66rem;
  }

  .homepage .chip-hvac {
    top: 10px;
    left: 4px;
  }

  .homepage .chip-commission {
    top: 54px;
    right: 0;
  }

  .homepage .chip-supply {
    bottom: 50px;
    left: 0;
  }

  .homepage .chip-project {
    right: 12px;
    bottom: 8px;
  }

  .homepage .hero-lines .line,
  .homepage .hero-line {
    width: 94px;
  }

  .homepage .digital-thermometer {
    right: 14px;
    bottom: 14px;
    min-width: 112px;
    padding: 10px 12px;
    font-size: 1rem;
  }
}

/* ========================= */
/* MARINE OEM-STYLE HOMEPAGE */
/* ========================= */
.homepage main {
  position: relative;
  z-index: 2;
}

.homepage .marine-home-hero {
  padding-bottom: 42px;
}

.homepage .marine-premium-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 3vw, 44px);
  padding: clamp(30px, 4vw, 54px);
  align-items: stretch;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.92) 0%, rgba(224, 247, 255, 0.8) 45%, rgba(165, 223, 236, 0.5) 100%),
    radial-gradient(circle at 86% 18%, rgba(42, 169, 129, 0.2), transparent 30%),
    rgba(255, 255, 255, 0.78);
}

.homepage .marine-hero-copy {
  align-self: center;
}

.homepage .hero-title {
  max-width: 720px;
  font-size: clamp(1.55rem, 2.35vw, 2.55rem);
  line-height: 1.14;
  color: #12386d;
  background: linear-gradient(115deg, #12386d 0%, #1b7fbe 46%, #2aa981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.homepage .marine-video-panel {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(27, 127, 190, 0.16);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(12, 41, 70, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 28px 62px rgba(18, 56, 109, 0.18);
}

.homepage .marine-video-panel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02) brightness(1.02);
}

.homepage .video-panel-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 34, 0.12), rgba(6, 18, 34, 0.56)),
    radial-gradient(circle at 22% 18%, rgba(142, 232, 255, 0.18), transparent 32%);
}

.homepage .video-message-loop {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  bottom: auto;
  min-height: 132px;
}

.homepage .video-message {
  position: absolute;
  left: 0;
  top: 0;
  bottom: auto;
  width: min(360px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  opacity: 0;
  transform: translateY(16px);
  animation: videoMessageCycle 16s ease-in-out infinite;
  text-shadow: 0 14px 34px rgba(5, 24, 42, 0.34);
}

.homepage .message-two {
  animation-delay: 4s;
}

.homepage .message-three {
  animation-delay: 8s;
}

.homepage .message-four {
  animation-delay: 12s;
}

.homepage .video-message span {
  color: #9ff1d3;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.homepage .video-message strong {
  display: block;
  margin-top: 8px;
  color: #a8e7d4;
  font-family: "Sora", sans-serif;
  font-size: 1.12rem;
}

.homepage .video-message p {
  margin: 8px 0 0;
  color: rgba(202, 241, 232, 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
}

@keyframes videoMessageCycle {
  0%,
  18% {
    opacity: 0;
    transform: translateY(16px);
  }

  25%,
  43% {
    opacity: 1;
    transform: translateY(0);
  }

  50%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.homepage .hero-subtitle {
  max-width: 680px;
  letter-spacing: 0.05em;
  color: rgba(18, 56, 109, 0.72);
}

.homepage .home-mini-desc {
  color: rgba(18, 56, 109, 0.68);
}

.homepage .hero-inline-video {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 16 / 9;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(18, 56, 109, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(18, 56, 109, 0.12);
}

.homepage .hero-inline-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02) brightness(1.04);
}

.homepage .hero-inline-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(7, 22, 43, 0.56));
}

.homepage .hero-inline-video span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homepage .marine-scope-panel {
  position: relative;
  min-height: 390px;
  padding: 24px;
  border: 1px solid rgba(142, 232, 255, 0.2);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(142, 232, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 232, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, rgba(79, 195, 247, 0.18), transparent 26%),
    linear-gradient(150deg, rgba(9, 33, 60, 0.92), rgba(5, 16, 31, 0.68));
  background-size: 38px 38px, 38px 38px, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 28px 62px rgba(0, 0, 0, 0.28);
}

.homepage .marine-scope-panel::before {
  content: "";
  position: absolute;
  top: 70px;
  bottom: 42px;
  left: 43px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(142, 232, 255, 0.62), transparent);
}

.homepage .scope-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.homepage .scope-panel-top span {
  color: rgba(236, 248, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.homepage .scope-panel-top strong {
  color: #8ee8ff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homepage .scope-route {
  position: relative;
  display: grid;
  gap: 12px;
}

.homepage .scope-node {
  position: relative;
  min-height: 72px;
  padding: 12px 14px 12px 48px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
}

.homepage .scope-node span {
  position: absolute;
  left: 13px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(142, 232, 255, 0.38);
  border-radius: 50%;
  background: rgba(6, 18, 34, 0.9);
  color: #8ee8ff;
  font-size: 0.68rem;
  font-weight: 900;
}

.homepage .scope-node strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
}

.homepage .scope-node p {
  margin: 5px 0 0;
  color: rgba(236, 248, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.48;
}

.homepage .marine-market-grid article {
  min-height: 168px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(7, 22, 43, 0.58);
}

.homepage .marine-climate-panel {
  position: relative;
  min-height: 390px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  border: 1px solid rgba(191, 235, 255, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 28% 18%, rgba(79, 195, 247, 0.2), transparent 30%),
    linear-gradient(155deg, rgba(6, 24, 47, 0.84), rgba(7, 22, 43, 0.52));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 28px 62px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.homepage .marine-climate-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  pointer-events: none;
}

.homepage .climate-panel-head,
.homepage .climate-metrics {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.homepage .climate-panel-head span,
.homepage .climate-metrics span,
.homepage .climate-label,
.homepage .climate-note {
  color: rgba(236, 248, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.homepage .climate-panel-head strong {
  color: #8ee8ff;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.homepage .climate-temperature {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.homepage .climate-temperature strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(4.2rem, 8vw, 6.2rem);
  line-height: 0.92;
  color: #ffffff;
  text-shadow: 0 18px 44px rgba(79, 195, 247, 0.16);
}

.homepage .climate-metrics div {
  flex: 1;
  min-width: 0;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.homepage .climate-metrics strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  font-size: 0.96rem;
}

.homepage .climate-flow {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 104px;
  display: grid;
  gap: 8px;
  opacity: 0.72;
}

.homepage .climate-flow span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.82), transparent);
}

.marine-home-section {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto 34px;
  color: #12386d;
}

.marine-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  text-align: left;
}

.marine-section-head span,
.capability-copy span {
  color: #2aa981;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.marine-section-head h2,
.capability-copy h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.7rem);
  line-height: 1.12;
}

.marine-section-head p {
  max-width: 390px;
  margin: 0;
  color: rgba(18, 56, 109, 0.68);
  line-height: 1.65;
}

.marine-market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(18, 56, 109, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(218, 248, 255, 0.78)),
    rgba(255, 255, 255, 0.66);
  box-shadow: 0 26px 64px rgba(27, 127, 190, 0.14);
  backdrop-filter: blur(14px);
}

.marine-market-grid article {
  position: relative;
  min-height: 132px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 22px 22px 58px;
  border: 1px solid rgba(18, 56, 109, 0.09);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 18%, rgba(42, 169, 129, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(226, 248, 255, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 12px 28px rgba(27, 127, 190, 0.08);
  overflow: hidden;
}

.marine-market-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1b7fbe, #2aa981);
}

.market-index {
  position: absolute;
  left: 18px;
  top: 18px;
  color: rgba(18, 56, 109, 0.32);
  font-family: "Sora", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.market-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #12386d, #1b7fbe 58%, #2aa981);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(27, 127, 190, 0.22);
}

.market-icon i {
  font-size: 1.3rem;
}

.marine-market-grid h3 {
  margin: 0 0 7px;
  font-size: 1.02rem;
  color: #12386d;
}

.marine-market-grid p {
  margin: 0;
  color: rgba(18, 56, 109, 0.68);
  line-height: 1.65;
  font-size: 0.92rem;
}

.marine-capabilities {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(218, 248, 255, 0.74)),
    radial-gradient(circle at 90% 12%, rgba(42, 169, 129, 0.14), transparent 28%);
  box-shadow: 0 24px 58px rgba(27, 127, 190, 0.12);
  backdrop-filter: blur(14px);
}

.capability-copy p {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(18, 56, 109, 0.68);
  line-height: 1.75;
}

.capability-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.capability-steps div {
  min-height: 120px;
  display: grid;
  align-content: space-between;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(226, 248, 255, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.capability-steps span {
  color: rgba(27, 127, 190, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
}

.capability-steps strong {
  font-size: 0.92rem;
  color: #12386d;
}

@media (max-width: 980px) {
  .homepage .marine-premium-hero,
  .marine-capabilities {
    grid-template-columns: 1fr;
  }

  .marine-market-grid,
  .capability-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marine-section-head {
    display: block;
  }

  .marine-section-head p {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .marine-home-section {
    width: calc(100% - 28px);
  }

  .homepage .marine-video-panel {
    min-height: 330px;
  }

  .homepage .video-message-loop {
    left: 16px;
    right: 16px;
    top: 16px;
    bottom: auto;
    min-height: 128px;
  }

  .homepage .video-message {
    padding: 16px;
  }

  .homepage .marine-scope-panel {
    min-height: auto;
    padding: 20px;
  }

  .homepage .marine-scope-panel::before {
    display: none;
  }

  .homepage .scope-panel-top {
    display: grid;
  }

  .homepage .scope-node {
    padding-left: 56px;
  }

  .homepage .marine-climate-panel {
    min-height: 320px;
    padding: 20px;
  }

  .homepage .climate-temperature strong {
    font-size: 4rem;
  }

  .homepage .climate-metrics {
    flex-direction: column;
  }

  .marine-section-head {
    display: block;
  }

  .marine-market-grid,
  .capability-steps {
    grid-template-columns: 1fr;
  }

  .marine-market-grid {
    padding: 10px;
  }

  .marine-market-grid article {
    grid-template-columns: 48px 1fr;
    padding: 18px 18px 18px 50px;
  }

  .marine-capabilities {
    padding: 22px;
  }
}

/* =========================================================
   Premium Marine HVAC Homepage 2026
========================================================= */
.marine-hvac-home {
  --mh-navy: #001326;
  --mh-navy-2: #031d38;
  --mh-blue: #0a8fff;
  --mh-blue-2: #38bdf8;
  --mh-white: #ffffff;
  --mh-muted: rgba(234, 246, 255, 0.74);
  --mh-line: rgba(255, 255, 255, 0.16);
  background: #001326;
  color: var(--mh-white);
  font-family: "Manrope", Arial, sans-serif;
}

.marine-hvac-home .marine-page-bg,
.marine-hvac-home .digital-thermometer {
  display: none;
}

.marine-hvac-home .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 30px);
  padding: 14px clamp(18px, 3.8vw, 58px);
  border-radius: 0;
  background: rgba(0, 15, 31, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.marine-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  flex: 0 0 clamp(210px, 20vw, 285px);
  min-width: 0;
}

.marine-brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.08);
}

.marine-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.marine-brand strong {
  display: block;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.62rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.marine-brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marine-hvac-home .header-links {
  gap: clamp(16px, 2vw, 34px);
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.marine-hvac-home .header-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marine-hvac-home .header-links a::after {
  bottom: -13px;
  height: 2px;
  background: var(--mh-blue);
}

.marine-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex: 0 0 clamp(230px, 22vw, 330px);
  min-width: 0;
}

.marine-quote-btn,
.marine-language,
.mh-btn,
.mh-dark-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.marine-quote-btn {
  padding: 0 18px;
  background: linear-gradient(135deg, #0565c7, #1398ff);
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(10, 143, 255, 0.28);
}

.marine-language {
  min-height: 38px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.marine-hvac-home .lang-btn {
  min-width: 36px;
  min-height: 30px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  border-radius: 999px;
}

.marine-hvac-home .lang-btn.active {
  background: #0a8fff;
  color: #ffffff;
}

.marine-quote-btn:hover,
.mh-btn:hover,
.mh-dark-link:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 22px 46px rgba(10, 143, 255, 0.32);
}

.marine-hvac-home main {
  position: relative;
  z-index: 1;
  background: #f5f9fd;
}

.mh-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-content: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 34%, rgba(56, 189, 248, 0.24), transparent 34%),
    linear-gradient(135deg, #001326, #05335b);
}

.mh-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.92) contrast(1.08) brightness(0.74);
  transform: scale(1.02);
}

.mh-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 14, 31, 0.96) 0%, rgba(0, 22, 44, 0.78) 38%, rgba(0, 28, 55, 0.24) 70%, rgba(0, 17, 34, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 15, 31, 0.42) 0%, rgba(0, 15, 31, 0.2) 42%, rgba(0, 15, 31, 0.92) 100%);
}

.mh-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  align-items: center;
  gap: 30px;
  padding: 112px clamp(22px, 3.8vw, 70px) 132px;
}

.mh-hero-copy {
  max-width: 930px;
  animation: mhRise 0.8s ease both;
}

.mh-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--mh-blue);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mh-kicker span {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, var(--mh-blue));
}

.mh-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: clamp(3rem, 6.4vw, 6.85rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.mh-hero h1 strong {
  display: block;
  color: #ffffff;
}

.mh-hero h1 strong::after {
  content: " HVAC";
  color: var(--mh-blue);
}

.mh-hero h1 em {
  display: block;
  font-style: normal;
}

.mh-lead {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  line-height: 1.62;
}

.mh-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.mh-btn {
  min-width: 174px;
  padding: 0 22px;
  color: #ffffff;
}

.mh-btn-primary {
  background: linear-gradient(135deg, #0573d8, #159cff);
}

.mh-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.mh-stat-rail {
  align-self: stretch;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 15, 31, 0.3);
  backdrop-filter: blur(10px);
}

.mh-stat-rail div {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 118px;
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mh-stat-rail i {
  color: #ffffff;
  font-size: 1.9rem;
}

.mh-stat-rail strong {
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.55rem);
  line-height: 1;
  text-wrap: balance;
}

.mh-stat-rail span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.mh-trust-band {
  position: absolute;
  left: clamp(22px, 3.8vw, 70px);
  right: clamp(22px, 3.8vw, 70px);
  bottom: 26px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(90deg, rgba(0, 21, 43, 0.42), rgba(0, 21, 43, 0.18));
  backdrop-filter: blur(8px);
}

.mh-trust-band article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 18px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.mh-trust-band i {
  color: #dff6ff;
  font-size: 2.35rem;
}

.mh-trust-band h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mh-trust-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.5;
}

.mh-home-services,
.mh-home-projects,
.mh-project-works,
.mh-home-company,
.mh-grid-section {
  scroll-margin-top: 96px;
}

.mh-home-services {
  padding: clamp(58px, 7vw, 104px) clamp(20px, 5vw, 78px);
  background: #f5f9fd;
  color: #001b36;
}

.mh-section-headline {
  max-width: 930px;
  margin: 0 auto 34px;
  text-align: center;
}

.mh-section-headline .mh-section-label::after {
  margin-left: auto;
  margin-right: auto;
}

.mh-section-headline h2,
.mh-project-copy h2,
.mh-home-company h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.mh-section-headline p:last-child,
.mh-project-copy p:last-child,
.mh-home-company > div > p:last-child {
  margin: 18px 0 0;
  color: rgba(0, 27, 54, 0.7);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
}

.mh-service-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.mh-service-cards article {
  display: grid;
  gap: 18px;
  min-height: 250px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(0, 27, 54, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 34, 68, 0.08);
}

.mh-service-cards i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #ffffff;
  background: linear-gradient(135deg, #0a8fff, #05c3ff);
  border-radius: 14px;
  font-size: 1.45rem;
}

.mh-service-cards h3,
.mh-project-grid h3 {
  margin: 0;
  color: #001b36;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.mh-service-cards p,
.mh-project-grid p {
  margin: 0;
  color: rgba(0, 27, 54, 0.68);
  line-height: 1.65;
}

.mh-section-link {
  justify-content: center;
  width: max-content;
  margin: 34px auto 0;
  padding: 0 22px;
}

.mh-home-projects {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 78px);
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(0, 13, 28, 0.96), rgba(0, 43, 82, 0.88) 48%, rgba(0, 13, 28, 0.82)),
    url("assets/marine-about-engineering-hero.png") center / cover;
}

.mh-home-projects .mh-section-label,
.mh-home-company .mh-section-label {
  color: #ffffff;
}

.mh-project-copy {
  max-width: 560px;
}

.mh-project-copy p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

.mh-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mh-project-grid article {
  display: grid;
  align-content: end;
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 20, 39, 0.86)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.mh-project-grid h3 {
  color: #ffffff;
}

.mh-project-grid p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.mh-project-works {
  padding: clamp(62px, 7vw, 104px) clamp(20px, 5vw, 78px);
  background: #f5f9fd;
  color: #001b36;
}

.project-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
}

.project-work-card {
  overflow: hidden;
  border: 1px solid rgba(0, 27, 54, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 34, 68, 0.08);
}

.project-work-photo {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 19, 38, 0.08), rgba(0, 19, 38, 0.38)),
    url("assets/marine-hvac-hero-ship.png") center / cover;
}

.project-work-card:nth-child(2n) .project-work-photo,
.project-work-card:nth-child(5) .project-work-photo {
  background:
    linear-gradient(180deg, rgba(0, 19, 38, 0.08), rgba(0, 19, 38, 0.42)),
    url("assets/marine-about-engineering-hero.png") center / cover;
}

.project-work-card:nth-child(3n) .project-work-photo {
  background:
    linear-gradient(180deg, rgba(0, 19, 38, 0.08), rgba(0, 19, 38, 0.42)),
    url("contact-hero.jpg") center / cover;
}

.project-work-card.project-nb1091 .project-work-photo {
  background:
    linear-gradient(180deg, rgba(0, 19, 38, 0.08), rgba(0, 19, 38, 0.42)),
    url("assets/project-images/project-nb1091-hinnoy.jpg") center / cover;
}

.project-work-card.project-nb1094 .project-work-photo {
  background:
    linear-gradient(180deg, rgba(0, 19, 38, 0.08), rgba(0, 19, 38, 0.42)),
    url("assets/project-images/project-nb1094-esvagt.jpg") center / cover;
}

.project-work-card.project-nb1090 .project-work-photo {
  background:
    linear-gradient(180deg, rgba(0, 19, 38, 0.08), rgba(0, 19, 38, 0.42)),
    url("assets/project-images/project-nb1090-futura.jpg") center / cover;
}

.project-work-card.project-hydra .project-work-photo {
  background:
    linear-gradient(180deg, rgba(0, 19, 38, 0.08), rgba(0, 19, 38, 0.42)),
    url("assets/project-images/project-hydra.jpg") center / cover;
}

.project-work-card.project-botas .project-work-photo {
  background:
    linear-gradient(180deg, rgba(0, 19, 38, 0.08), rgba(0, 19, 38, 0.42)),
    url("assets/project-images/project-botas-tug.jpg") center / cover;
}

.project-work-card.project-des .project-work-photo {
  background:
    linear-gradient(180deg, rgba(0, 19, 38, 0.08), rgba(0, 19, 38, 0.44)),
    url("assets/project-images/project-des-water-cooled-drive.jpg") center / cover;
}

.project-work-card.project-behram .project-work-photo,
.project-work-card.project-uzmanlar .project-work-photo {
  background:
    linear-gradient(180deg, rgba(0, 19, 38, 0.08), rgba(0, 19, 38, 0.44)),
    url("assets/marine-about-engineering-hero.png") center / cover;
}

.project-work-photo::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: inherit;
  filter: blur(5px) saturate(0.95);
  transform: scale(1.04);
}

.project-work-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 19, 38, 0.42), rgba(10, 143, 255, 0.08)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 52px);
}

.project-work-body {
  padding: 26px;
}

.project-work-meta {
  display: block;
  color: #0a75d8;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-work-body h3 {
  margin: 12px 0 0;
  color: #001b36;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  line-height: 1.28;
  text-transform: uppercase;
}

.project-work-body p {
  margin: 14px 0 0;
  color: rgba(0, 27, 54, 0.68);
  line-height: 1.65;
}

.project-work-body strong {
  display: block;
  margin-top: 18px;
  color: #001b36;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.45;
  text-transform: uppercase;
}

.mh-ongoing-projects {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 104px) clamp(20px, 5vw, 78px);
  color: #ffffff;
  background:
    linear-gradient(115deg, rgba(0, 19, 38, 0.94), rgba(0, 47, 88, 0.78)),
    url("assets/project-images/project-tersan-ferry.jpg") center / cover;
}

.mh-ongoing-projects .mh-section-headline {
  color: #ffffff;
}

.mh-ongoing-projects .mh-section-label,
.mh-ongoing-projects h2 {
  color: #ffffff;
}

.mh-ongoing-projects .mh-section-headline p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.ongoing-project-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1220px;
  margin: 36px auto 0;
}

.ongoing-project-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(0, 19, 38, 0.58);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.ongoing-project-card span {
  display: inline-grid;
  min-height: 34px;
  align-items: center;
  padding: 7px 10px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(10, 143, 255, 0.28);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
}

.ongoing-project-card h3 {
  margin: 18px 0 0;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.ongoing-project-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.62;
}

.mh-home-company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(62px, 8vw, 110px) clamp(20px, 5vw, 78px);
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 22%, rgba(10, 143, 255, 0.22), transparent 28%),
    linear-gradient(145deg, #001326, #052d52);
}

.mh-home-company > div > p:last-child,
.mh-home-company > div > p[data-i18n="home.companySectionText"] {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
}

.mh-home-company .mh-experience-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid #0a8fff;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  line-height: 1.7;
}

.mh-company-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mh-company-metrics article {
  min-height: 152px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.mh-company-metrics strong {
  display: block;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3vw, 3.15rem);
  line-height: 1;
  text-wrap: balance;
}

.mh-company-metrics article:nth-child(n + 2) strong {
  font-size: clamp(1.25rem, 1.8vw, 2rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.mh-company-metrics span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.marine-service-page main {
  background: #f5f9fd;
}

.service-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: 138px clamp(20px, 5vw, 78px) 72px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(105deg, rgba(0, 13, 28, 0.96), rgba(0, 34, 64, 0.88) 46%, rgba(0, 13, 28, 0.58)),
    url("assets/marine-hvac-hero-ship.png") center / cover;
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(0, 19, 38, 0.62));
  pointer-events: none;
}

.service-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 940px;
}

.service-hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.02;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.service-hero p:not(.mh-kicker) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.75;
}

.service-focus-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #001326;
  color: #ffffff;
}

.service-focus-strip article {
  min-height: 132px;
  padding: 28px clamp(18px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.service-focus-strip strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 2.55rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.service-focus-strip span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.service-page-section {
  padding: clamp(62px, 7vw, 104px) clamp(20px, 5vw, 78px);
  color: #001b36;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
}

.service-detail-grid article {
  display: grid;
  gap: 18px;
  min-height: 290px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid rgba(0, 27, 54, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 34, 68, 0.08);
}

.service-detail-grid i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #ffffff;
  background: linear-gradient(135deg, #0a8fff, #05c3ff);
  border-radius: 14px;
  font-size: 1.45rem;
}

.service-detail-grid h3 {
  margin: 0;
  color: #001b36;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  line-height: 1.32;
  text-transform: uppercase;
}

.service-detail-grid p {
  margin: 0;
  color: rgba(0, 27, 54, 0.68);
  line-height: 1.68;
}

.mh-grid-section {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: stretch;
  padding: clamp(34px, 4.5vw, 62px) clamp(20px, 5vw, 78px);
  color: #001b36;
  background: #f5f9fd;
  scroll-margin-top: 92px;
}

.mh-feature-panel,
.mh-systems-panel,
.mh-why-panel,
.mh-global-panel {
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 27, 54, 0.1);
}

.mh-feature-panel {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: 330px;
  padding: 34px;
  color: #ffffff;
  background: #031d38;
}

.mh-feature-panel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.72);
}

.mh-feature-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 15, 31, 0.88));
}

.mh-feature-panel div {
  position: relative;
  z-index: 1;
}

.mh-feature-panel h2,
.mh-systems-panel h2,
.mh-why-panel h2,
.mh-global-panel h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.mh-feature-panel p,
.mh-global-panel p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.mh-feature-panel a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  color: var(--mh-blue-2);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.mh-systems-panel {
  grid-column: 1;
  grid-row: 1;
  padding: clamp(28px, 3.2vw, 52px);
  background:
    radial-gradient(circle at 85% 12%, rgba(56, 189, 248, 0.1), transparent 26%),
    #f8fbff;
}

.mh-section-label {
  margin: 0 0 16px;
  color: #001b36;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mh-section-label::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 12px;
  background: var(--mh-blue);
}

.mh-systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.mh-systems-grid article {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 152px;
  padding: 18px 14px;
  text-align: center;
  background: rgba(0, 95, 176, 0.045);
  border: 1px solid rgba(0, 95, 176, 0.08);
  border-radius: 8px;
}

.mh-systems-grid i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #055fb0;
  font-size: 2rem;
}

.mh-systems-grid h3 {
  margin: 10px 0 8px;
  color: #001b36;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mh-systems-grid p {
  margin: 0;
  color: rgba(0, 27, 54, 0.68);
  font-size: 0.82rem;
  line-height: 1.55;
}

.mh-dark-link {
  width: max-content;
  margin-top: 34px;
  padding: 0 18px;
  background: #001b36;
  color: #ffffff;
}

.mh-why-panel {
  grid-column: 2;
  grid-row: 1;
  padding: clamp(28px, 3.2vw, 52px) 34px;
  background:
    linear-gradient(150deg, rgba(0, 37, 72, 0.98), rgba(0, 14, 31, 0.98)),
    #001326;
  color: #ffffff;
}

.mh-why-panel .mh-section-label,
.mh-why-panel h2 {
  color: #ffffff;
}

.mh-why-panel ul {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.mh-why-panel li {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mh-why-panel i {
  color: var(--mh-blue-2);
}

.mh-global-panel {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-rows: minmax(160px, 0.8fr) minmax(220px, 1fr);
  background: #ffffff;
}

.mh-global-photo {
  background:
    linear-gradient(180deg, rgba(0, 19, 38, 0.04), rgba(0, 19, 38, 0.16)),
    url("contact-hero.jpg") center / cover;
}

.mh-global-copy {
  padding: 30px 34px 28px;
}

.mh-global-panel p {
  color: rgba(0, 27, 54, 0.7);
}

.mh-world-map {
  position: relative;
  height: 155px;
  margin-top: 26px;
  opacity: 0.95;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(0, 27, 54, 0.16) 1.4px, transparent 1.9px) 0 0 / 9px 9px;
  clip-path: polygon(7% 33%, 21% 19%, 31% 27%, 43% 17%, 57% 27%, 70% 19%, 86% 31%, 95% 46%, 84% 67%, 66% 59%, 52% 76%, 38% 62%, 22% 75%, 8% 58%);
}

.mh-world-map .pin {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mh-blue);
  box-shadow: 0 0 0 6px rgba(10, 143, 255, 0.14), 0 0 22px rgba(10, 143, 255, 0.8);
  animation: mhPulse 2.6s ease-in-out infinite;
}

.pin-1 { left: 19%; top: 44%; }
.pin-2 { left: 33%; top: 62%; animation-delay: 0.25s; }
.pin-3 { left: 48%; top: 37%; animation-delay: 0.5s; }
.pin-4 { left: 58%; top: 58%; animation-delay: 0.75s; }
.pin-5 { left: 71%; top: 35%; animation-delay: 1s; }
.pin-6 { left: 82%; top: 64%; animation-delay: 1.25s; }
.pin-7 { left: 90%; top: 45%; animation-delay: 1.5s; }

.mh-class-logos {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 28px;
  min-height: 118px;
  padding: 22px clamp(22px, 3.8vw, 70px);
  border-top: 1px solid rgba(0, 27, 54, 0.08);
  background: #ffffff;
  color: #001b36;
}

.mh-class-copy span {
  display: block;
  color: rgba(0, 27, 54, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.45;
  text-transform: uppercase;
}

.mh-class-copy p {
  margin: 8px 0 0;
  color: rgba(0, 27, 54, 0.62);
  font-size: 0.9rem;
  line-height: 1.55;
}

.mh-class-badges {
  display: grid;
  grid-template-columns: repeat(8, minmax(72px, 1fr));
  gap: 12px;
}

.mh-class-badges strong {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 10px 8px;
  overflow: hidden;
  color: #064c91;
  border: 1px solid rgba(0, 27, 54, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(10, 143, 255, 0.07), rgba(0, 27, 54, 0.02)),
    #ffffff;
  box-shadow: 0 12px 28px rgba(0, 34, 68, 0.06);
  text-align: center;
}

.mh-class-badges strong::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--class-logo) center / 72px 72px no-repeat;
  opacity: 0.46;
  filter: grayscale(0.15) saturate(0.95);
}

.mh-class-badges strong::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.68));
}

.class-abs { --class-logo: url("assets/class-logos/abs.png"); }
.class-dnv { --class-logo: url("assets/class-logos/dnv.png"); }
.class-lr { --class-logo: url("assets/class-logos/lr.png"); }
.class-nk { --class-logo: url("assets/class-logos/nk.png"); }
.class-rina { --class-logo: url("assets/class-logos/rina.png"); }
.class-bv { --class-logo: url("assets/class-logos/bv.png"); }
.class-tl { --class-logo: url("assets/class-logos/tl.png"); }
.class-ccs { --class-logo: url("assets/class-logos/ccs.png"); }

.mh-class-badges b {
  position: relative;
  z-index: 1;
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(0.96rem, 1.2vw, 1.22rem);
  line-height: 1.15;
}

.mh-class-badges small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 4px;
  color: rgba(0, 27, 54, 0.56);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

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

@keyframes mhPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.16);
    opacity: 1;
  }
}

@media (max-width: 1240px) {
  .marine-hvac-home .header-links {
    gap: 10px;
  }

  .marine-hvac-home .header-links a {
    font-size: 0.66rem;
  }

  .marine-brand {
    flex-basis: 205px;
    gap: 9px;
  }

  .marine-brand-mark {
    width: 42px;
    height: 42px;
  }

  .marine-brand strong {
    font-size: 1.04rem;
  }

  .marine-brand small {
    font-size: 0.5rem;
  }

  .marine-header-actions {
    flex-basis: 246px;
    gap: 8px;
  }

  .marine-quote-btn {
    padding: 0 12px;
    font-size: 0.7rem;
  }

  .mh-grid-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mh-service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mh-project-grid {
    grid-template-columns: 1fr;
  }

  .mh-project-grid article {
    min-height: 210px;
  }

  .project-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ongoing-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .marine-hvac-home .header-links,
  .marine-header-actions {
    display: none;
  }

  .marine-hvac-home .header {
    justify-content: space-between;
  }

  .marine-hvac-home .hamburger {
    display: flex;
  }

  .mh-hero-content {
    grid-template-columns: 1fr;
    padding-bottom: 260px;
  }

  .mh-stat-rail {
    align-self: auto;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

  .mh-trust-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mh-home-projects,
  .mh-home-company {
    grid-template-columns: 1fr;
  }

  .mh-project-copy {
    max-width: 780px;
  }

  .service-focus-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mh-class-logos {
    grid-template-columns: 1fr;
  }

  .mh-class-badges {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .marine-hvac-home .header {
    top: 0;
    width: 100%;
    border-radius: 0;
  }

  .marine-hvac-home .hamburger {
    display: flex;
  }

  .marine-mobile-menu {
    background: rgba(0, 15, 31, 0.98);
  }

  .marine-mobile-menu .mobile-language {
    display: inline-flex;
    width: max-content;
    margin: 4px 0 8px;
  }

  .marine-mobile-menu .marine-quote-btn {
    width: max-content;
    padding: 0 18px;
    color: #ffffff;
  }
}

@media (max-width: 760px) {
  .mh-hero {
    min-height: auto;
  }

  .mh-hero-content {
    min-height: 100vh;
    padding: 106px 18px 360px;
  }

  .mh-hero-media {
    object-position: 66% center;
  }

  .mh-hero h1 {
    font-size: clamp(2.55rem, 14vw, 4.6rem);
  }

  html[lang="tr"] .mh-hero h1 {
    font-size: clamp(2.25rem, 10.8vw, 3.35rem);
    line-height: 1.03;
  }

  .mh-stat-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .mh-stat-rail div {
    min-height: 104px;
  }

  .mh-trust-band {
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr;
    max-height: 318px;
    overflow: auto;
  }

  .mh-trust-band article {
    min-height: 82px;
    padding: 14px 18px;
  }

  .mh-home-services,
  .mh-home-projects,
  .mh-project-works,
  .mh-ongoing-projects,
  .mh-home-company {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mh-section-headline {
    text-align: left;
  }

  .mh-section-headline .mh-section-label::after {
    margin-left: 0;
    margin-right: 0;
  }

  .mh-service-cards,
  .mh-company-metrics,
  .project-work-grid,
  .ongoing-project-grid,
  .service-detail-grid,
  .service-focus-strip {
    grid-template-columns: 1fr;
  }

  .mh-service-cards article,
  .mh-project-grid article,
  .mh-company-metrics article,
  .service-detail-grid article {
    min-height: auto;
  }

  .service-hero {
    min-height: 74vh;
    padding: 118px 18px 64px;
  }

  .service-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.08;
  }

  .mh-section-link {
    width: 100%;
  }

  .mh-grid-section {
    grid-template-columns: 1fr;
  }

  .mh-feature-panel,
  .mh-systems-panel,
  .mh-why-panel,
  .mh-global-panel {
    grid-column: 1;
    min-height: auto;
  }

  .mh-systems-panel {
    grid-row: 1;
  }

  .mh-why-panel {
    grid-row: 2;
  }

  .mh-feature-panel {
    grid-row: 3;
    min-height: 420px;
  }

  .mh-global-panel {
    grid-row: 4;
  }

  .mh-systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mh-class-logos {
    gap: 18px;
  }

  .mh-class-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .marine-brand-mark {
    width: 38px;
    height: 38px;
  }

  .marine-brand strong {
    font-size: 1rem;
  }

  .marine-brand small {
    font-size: 0.56rem;
  }

  .mh-hero-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mh-hero-buttons,
  .mh-btn {
    width: 100%;
  }

  .mh-systems-grid {
    grid-template-columns: 1fr;
  }

  .mh-service-cards article,
  .mh-project-grid article,
  .mh-company-metrics article,
  .service-detail-grid article {
    padding: 22px;
  }

  .mh-global-copy,
  .mh-systems-panel,
  .mh-why-panel,
  .mh-feature-panel {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* Final header alignment fix: full DMEMarin logo + true centered nav */
.marine-hvac-home .marine-hvac-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 12px clamp(18px, 3.2vw, 52px);
  border-radius: 0 !important;
}

.marine-hvac-home .marine-brand {
  position: relative;
  z-index: 2;
  flex: 0 0 190px;
  gap: 0;
}

.marine-hvac-home .marine-brand > span:not(.marine-brand-mark) {
  display: none;
}

.marine-hvac-home .marine-brand-mark {
  width: 170px;
  height: 50px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.marine-hvac-home .marine-brand-mark img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: left center;
}

.marine-hvac-home .marine-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100vw - 560px);
  justify-content: center;
  gap: clamp(14px, 1.5vw, 26px);
}

.marine-hvac-home .marine-nav a {
  font-size: clamp(0.66rem, 0.74vw, 0.78rem);
}

.marine-hvac-home .marine-header-actions {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-left: auto;
}

@media (max-width: 1180px) {
  .marine-hvac-home .marine-nav,
  .marine-hvac-home .marine-header-actions {
    display: none;
  }

  .marine-hvac-home .marine-brand {
    flex-basis: 180px;
  }

  .marine-hvac-home .marine-brand-mark {
    width: 158px;
    height: 46px;
  }

  .marine-hvac-home .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .marine-hvac-home .marine-hvac-header {
    min-height: 68px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .marine-hvac-home .marine-brand {
    flex-basis: 148px;
  }

  .marine-hvac-home .marine-brand-mark {
    width: 138px;
    height: 42px;
  }
}

/* Header visual correction after browser check */
.marine-hvac-home .marine-hvac-header {
  height: 82px !important;
  min-height: 82px !important;
  overflow: visible;
}

.marine-hvac-home .marine-brand {
  position: absolute !important;
  left: clamp(28px, 4.2vw, 78px) !important;
  top: 50% !important;
  width: 188px !important;
  height: 64px !important;
  transform: translateY(-50%) !important;
  flex: none !important;
  animation: dme-logo-float 4.2s ease-in-out infinite;
  will-change: transform;
}

.marine-hvac-home .marine-brand-mark {
  width: 188px !important;
  height: 64px !important;
  display: block !important;
}

.marine-hvac-home .marine-brand-mark img {
  display: block !important;
  width: 188px !important;
  height: 64px !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: scale(1.38);
  transform-origin: center;
  pointer-events: none;
}

@keyframes dme-logo-float {
  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 4px));
  }
}

.marine-hvac-home .marine-nav {
  top: 50% !important;
}

.marine-hvac-home .marine-header-actions {
  position: absolute !important;
  right: clamp(28px, 2.4vw, 46px) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.marine-hvac-home .mh-hero-content {
  padding-top: 118px;
}

@media (max-width: 1180px) {
  .marine-hvac-home .marine-brand {
    left: 76px !important;
    width: 156px !important;
    height: 54px !important;
  }

  .marine-hvac-home .marine-brand-mark,
  .marine-hvac-home .marine-brand-mark img {
    width: 156px !important;
    height: 54px !important;
  }
}

@media (max-width: 480px) {
  .marine-hvac-home .marine-hvac-header {
    height: 72px !important;
    min-height: 72px !important;
  }

  .marine-hvac-home .marine-brand {
    left: 64px !important;
    width: 138px !important;
    height: 48px !important;
  }

  .marine-hvac-home .marine-brand-mark,
  .marine-hvac-home .marine-brand-mark img {
    width: 138px !important;
    height: 48px !important;
  }
}

/* =========================================================
   Premium About Us Page
========================================================= */
.marine-about-page {
  background: #f5f9fd;
  color: #001b36;
}

.marine-about-page main {
  background: #f5f9fd;
}

.ma-hero {
  position: relative;
  min-height: 66vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #001326;
  color: #ffffff;
}

.ma-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(0.92) contrast(1.08) brightness(0.72);
}

.ma-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 14, 31, 0.96) 0%, rgba(0, 22, 44, 0.76) 43%, rgba(0, 15, 31, 0.32) 100%),
    linear-gradient(180deg, rgba(0, 15, 31, 0.18), rgba(0, 15, 31, 0.92));
}

.ma-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 150px 0 76px;
}

.ma-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--mh-blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ma-kicker span {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, var(--mh-blue));
}

.ma-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.7rem, 5.5vw, 6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ma-hero p:not(.ma-kicker) {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.75;
}

.ma-intro,
.ma-capabilities,
.ma-mission,
.ma-values,
.ma-cta {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.ma-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.75fr);
  gap: 34px;
  align-items: stretch;
  padding: 62px 0 34px;
}

.ma-intro-copy {
  padding: clamp(30px, 4vw, 48px);
  background: #ffffff;
  border: 1px solid rgba(0, 27, 54, 0.08);
  box-shadow: 0 26px 64px rgba(0, 27, 54, 0.08);
}

.ma-intro-copy h2,
.ma-values h2,
.ma-cta h2 {
  margin: 0;
  color: #001b36;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.25rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.ma-intro-copy > p:last-child {
  margin: 18px 0 0;
  color: rgba(0, 27, 54, 0.72);
  font-size: 1rem;
  line-height: 1.78;
}

.ma-experience-note {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(10, 143, 255, 0.18);
  border-left: 4px solid #0a8fff;
  background: #f4f9fe;
}

.ma-experience-note strong {
  display: block;
  color: #001b36;
  font-family: "Sora", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.ma-experience-note p {
  margin: 10px 0 0;
  color: rgba(0, 27, 54, 0.72);
  line-height: 1.72;
}

.ma-stat-grid {
  display: grid;
  gap: 14px;
}

.ma-stat-grid article {
  display: grid;
  align-content: center;
  min-height: 132px;
  padding: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.18), transparent 32%),
    linear-gradient(145deg, #00284f, #001326);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ma-stat-grid strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.ma-stat-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ma-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: rgba(0, 27, 54, 0.1);
  border: 1px solid rgba(0, 27, 54, 0.1);
}

.ma-capabilities article {
  min-height: 285px;
  padding: clamp(26px, 3vw, 42px);
  background: #ffffff;
}

.ma-capabilities i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #0a8fff;
  font-size: 2rem;
  border: 1px solid rgba(10, 143, 255, 0.18);
  background: rgba(10, 143, 255, 0.06);
}

.ma-capabilities h2,
.ma-mv-grid h2 {
  margin: 24px 0 12px;
  color: #001b36;
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
  text-transform: uppercase;
}

.ma-capabilities p,
.ma-mv-grid p,
.ma-cta p {
  margin: 0;
  color: rgba(0, 27, 54, 0.7);
  line-height: 1.75;
}

.ma-mission {
  padding-top: 34px;
}

.ma-dark-panel {
  padding: clamp(30px, 4vw, 52px);
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 16%, rgba(56, 189, 248, 0.18), transparent 30%),
    linear-gradient(145deg, #00284f, #001326);
}

.ma-dark-panel .mh-section-label,
.ma-dark-panel .mh-section-label::after,
.ma-dark-panel h2 {
  color: #ffffff;
}

.ma-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.ma-mv-grid article {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ma-mv-grid span {
  color: var(--mh-blue-2);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ma-mv-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.ma-values {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: 34px;
  align-items: start;
  padding: 54px 0;
}

.ma-values ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ma-values li {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 27, 54, 0.08);
  color: #001b36;
  font-weight: 800;
}

.ma-values li i {
  color: #0a8fff;
}

.ma-cta {
  margin-bottom: 54px;
  padding: clamp(30px, 4vw, 54px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(0, 19, 38, 0.94), rgba(0, 40, 79, 0.84)),
    url("assets/marine-about-engineering-hero.png") center / cover;
}

.ma-cta h2 {
  max-width: 760px;
  color: #ffffff;
}

.ma-cta p {
  max-width: 620px;
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.78);
}

.marine-contact-page main {
  background: #f4f8fc;
}

.mc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  min-height: 70vh;
  padding: 150px clamp(20px, 5vw, 78px) 72px;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(0, 13, 28, 0.98), rgba(0, 38, 72, 0.9) 56%, rgba(0, 13, 28, 0.68)),
    url("contact-hero.jpg") center / cover;
}

.mc-hero-copy {
  max-width: 900px;
}

.mc-hero .mh-section-label,
.mc-hero h1 {
  color: #ffffff;
}

.mc-hero h1 {
  margin: 12px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.mc-hero-copy > p:last-child {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.7;
}

.mc-hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(0, 19, 38, 0.66);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.mc-hero-panel span {
  color: #0a8fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mc-hero-panel strong {
  display: block;
  margin-top: 14px;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
  line-height: 1.35;
}

.mc-hero-panel p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.mc-contact-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 78px);
}

.mc-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.mc-info-grid article,
.mc-form-card {
  border: 1px solid rgba(0, 27, 54, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(0, 34, 68, 0.08);
}

.mc-info-grid article {
  min-height: 178px;
  padding: 24px;
}

.mc-info-grid .mc-wide {
  grid-column: 1 / -1;
}

.mc-info-grid i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  border-radius: 12px;
  background: #0a8fff;
}

.mc-info-grid span {
  display: block;
  margin-top: 18px;
  color: #0a75d8;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mc-info-grid a,
.mc-info-grid p {
  display: block;
  margin: 10px 0 0;
  color: #001b36;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mc-info-grid p {
  font-weight: 700;
}

.mc-form-card {
  padding: clamp(26px, 4vw, 44px);
}

.mc-form-card h2 {
  margin: 8px 0 0;
  color: #001b36;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  line-height: 1.16;
  text-transform: uppercase;
}

.mc-form-card > p:not(.mh-section-label) {
  margin: 16px 0 0;
  color: rgba(0, 27, 54, 0.68);
  line-height: 1.7;
}

.mc-form-card .contact-form {
  margin-top: 26px;
}

.mc-form-card .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mc-form-card .form-group.full {
  grid-column: 1 / -1;
}

.mc-form-card label {
  display: block;
  margin-bottom: 8px;
  color: #001b36;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mc-form-card input,
.mc-form-card textarea {
  width: 100%;
  border: 1px solid rgba(0, 27, 54, 0.12);
  border-radius: 12px;
  background: #f8fbfe;
  color: #001b36;
  font: inherit;
  line-height: 1.45;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mc-form-card input {
  min-height: 54px;
  padding: 0 16px;
}

.mc-form-card textarea {
  min-height: 156px;
  padding: 16px;
  resize: vertical;
}

.mc-form-card input:focus,
.mc-form-card textarea:focus {
  border-color: rgba(10, 143, 255, 0.58);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(10, 143, 255, 0.12);
}

.mc-submit {
  width: fit-content;
  margin-top: 22px;
  color: #ffffff;
  border: 0;
  cursor: pointer;
}

@media (max-width: 980px) {
  .mc-hero,
  .mc-contact-shell {
    grid-template-columns: 1fr;
  }

  .mc-hero {
    min-height: auto;
    padding-top: 128px;
  }

  .ma-intro,
  .ma-values {
    grid-template-columns: 1fr;
  }

  .ma-capabilities,
  .ma-mv-grid {
    grid-template-columns: 1fr;
  }

  .ma-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mc-hero {
    padding: 118px 18px 54px;
  }

  .mc-contact-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mc-info-grid,
  .mc-form-card .form-grid {
    grid-template-columns: 1fr;
  }

  .mc-info-grid .mc-wide,
  .mc-form-card .form-group.full {
    grid-column: auto;
  }

  .ma-hero {
    min-height: 620px;
  }

  .ma-hero-inner {
    width: calc(100% - 28px);
    padding-bottom: 52px;
  }

  .ma-intro,
  .ma-capabilities,
  .ma-mission,
  .ma-values,
  .ma-cta {
    width: calc(100% - 28px);
  }

  .ma-stat-grid {
    grid-template-columns: 1fr;
  }
}
