/*
Theme Name: 3MAJ v2.0 Navy
Theme URI: https://www.3maj.hr
Author: 3.MAJ Rijeka 1905
Description: 3.MAJ Rijeka 1905 v2.0 — Navy palette, Iskra-inspired layout
Version: 1.4.5
License: GNU General Public License v2 or later
Text Domain: 3maj
Tags: business, industrial, shipyard, dark, professional
*/

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
  --navy:        #081f3a;
  --navy-mid:    #0d2a4f;
  --navy-light:  #123870;
  --steel:       #0d3460;
  --accent:      #1fb6aa;
  --accent-light:#3dd6ca;
  --white:       #ffffff;
  --off-white:   #f4f6f8;
  --grey-light:  #e2e8f0;
  --grey:        #94a3b8;
  --grey-dark:   #4a5568;
  --text:        #1a202c;
  --text-light:  #718096;

  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-head:    'Montserrat', 'Helvetica Neue', sans-serif;
  --font-body:    'Source Sans 3', 'Georgia', serif;

  --radius:    4px;
  --radius-md: 8px;
  --shadow:    0 4px 24px rgba(0,0,0,.18);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.30);
  --transition: all .28s cubic-bezier(.4,0,.2,1);

  --container: 1280px;
  --nav-h:     150px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

/* prevent heading color from cascading into buttons/links inside headings */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }

.display-title {
  font-family: var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease;
}

#site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}

/* Shrunk state — compact nav on scroll */
#site-header.shrunk {
  height: 64px;
  transition: height .35s ease, background .4s ease, box-shadow .4s ease;
}

#site-header.shrunk .nav-inner {
  padding-top: 0;
  padding-bottom: 0;
}

#site-header.shrunk .site-logo img,
#site-header.shrunk .site-logo .site-logo-img {
  height: 44px;
  transition: height .35s ease;
}

/* Expanded state transition */
#site-header:not(.shrunk) {
  transition: height .35s ease, background .4s ease, box-shadow .4s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem,4vw,2rem);
  padding-top: 0;
  padding-bottom: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  overflow: visible;
}

.site-logo img,
.site-logo .site-logo-img {
  height: 122px;
  width: auto;
  position: relative;
  z-index: 1;
}

.site-logo .site-logo-text {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 0; }

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  display: block;
  white-space: nowrap;
  padding: .5rem 1.1rem;
  color: rgba(255,255,255,.9);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: var(--transition);
}

.main-nav > li > a:hover,
.main-nav > li.current-menu-item > a {
  color: var(--accent);
}

.main-nav > li > a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s ease;
  margin-top: 2px;
}

.main-nav > li > a:hover::after { transform: scaleX(1); }

/* Items with a dropdown: the submenu's teal top border is the hover line,
   so hide the link's own underline to avoid a double line */
.main-nav > li.menu-item-has-children > a::after,
.main-nav > li.page_item_has_children > a::after { display: none; }

/* Dropdown */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--navy);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity .25s ease;
  z-index: 100;
}

/* transparent bridge prevents hover gap between nav item and dropdown */
.main-nav > li {
  position: relative;
}
.main-nav > li > a::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
  z-index: 99;
}

.main-nav li:hover > .sub-menu {
  opacity: 1;
  pointer-events: all;
}

.main-nav .sub-menu li a {
  display: block;
  padding: .7rem 1.2rem;
  color: rgba(255,255,255,.8);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}

.main-nav .sub-menu li:last-child a { border-bottom: none; }

.main-nav .sub-menu li a:hover {
  color: var(--accent);
  background: rgba(255,255,255,.04);
  padding-left: 1.6rem;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* CTA Button in Nav */
.nav-cta {
  margin-left: 1rem;
  padding: .5rem 1.4rem !important;
  background: var(--accent) !important;
  color: var(--navy) !important;
  border-radius: var(--radius);
  font-weight: 700 !important;
}

.nav-cta:hover { background: var(--accent-light) !important; }

/* =====================================================
   HERO – HOMEPAGE
   ===================================================== */
.hero {
  position: relative;
  height: calc(100vh - 110px);
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-slide.active img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,31,58,.80) 0%,
    rgba(8,31,58,.45) 60%,
    rgba(8,31,58,.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 24px) 2rem 2rem 2rem;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vh, 5rem);
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: .8rem;
}

.hero-title span { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(.85rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.8);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31,182,170,.35);
}

/* Override WP heading color inheritance on buttons */
a.btn, a.btn:visited {
  text-decoration: none;
}

a.btn-primary, a.btn-primary:visited {
  color: var(--navy) !important;
}

a.btn-outline, a.btn-outline:visited,
.hero-actions a.btn-outline {
  color: var(--white) !important;
  background: transparent !important;
  border-color: rgba(255,255,255,.6) !important;
  text-decoration: none !important;
}

a.btn-outline:hover,
.hero-actions a.btn-outline:hover {
  background: rgba(255,255,255,.15) !important;
  border-color: var(--white) !important;
  color: var(--white) !important;
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 3;
  background: rgba(8,31,58,.95);
  border-top: 1px solid rgba(31,182,170,.3);
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.stat-item {
  padding: 1.4rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: .04em;
}

.stat-label {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: .3rem;
}

/* =====================================================
   SECTION COMMON
   ===================================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.section-title--white { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

/* =====================================================
   SERVICES GRID
   ===================================================== */
.services-section {
  padding: 6rem 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 3rem;
  background: var(--grey-light);
  border: 1.5px solid var(--grey-light);
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height .35s ease;
}

.service-card:hover::before { height: 100%; }

.service-card:hover {
  background: var(--navy);
}

.service-card:hover .service-icon,
.service-card:hover .service-name,
.service-card:hover .service-desc { color: var(--white); }

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
  color: var(--accent);
}

.service-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .7rem;
  transition: var(--transition);
}

.service-desc {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.65;
  transition: var(--transition);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.2rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-card:hover .service-link { color: var(--accent-light); }

/* =====================================================
   ABOUT / SPLIT SECTION
   ===================================================== */
.about-section {
  padding: 6rem 0;
  background: var(--white);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }

.split-image {
  position: relative;
}

.split-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.split-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 4px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}

.split-content { }

.split-content ul {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.split-content ul li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-size: .95rem;
  color: var(--text);
}

.split-content ul li::before {
  content: '▸';
  color: var(--accent);
  font-size: .8rem;
  margin-top: .25rem;
  flex-shrink: 0;
}

/* =====================================================
   PROJECTS SECTION
   ===================================================== */
.projects-section {
  padding: 6rem 0;
  background: var(--navy);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--navy-mid);
}

.project-card.featured {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform .6s ease;
}

.project-card.featured img { height: 480px; }

.project-card:hover img { transform: scale(1.04); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,31,58,.95) 0%, rgba(8,31,58,.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.project-tag {
  display: inline-block;
  padding: .25rem .8rem;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: .8rem;
  width: fit-content;
}

.project-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}

.project-card.featured .project-name { font-size: 1.8rem; }

.project-meta {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}

/* =====================================================
   DARK CALLOUT BANNER
   ===================================================== */
.callout-banner {
  padding: 5rem 0;
  background: var(--steel);
  position: relative;
  overflow: hidden;
}

.callout-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border: 60px solid rgba(31,182,170,.08);
  border-radius: 50%;
}

.callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.callout-text .section-title { color: var(--white); }
.callout-text p { color: rgba(255,255,255,.75); max-width: 500px; }

/* =====================================================
   CAPABILITIES / FACILITIES
   ===================================================== */
.capabilities-section {
  padding: 6rem 0;
  background: var(--off-white);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.capability-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: var(--transition);
}

.capability-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.capability-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.capability-body h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.capability-body p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* =====================================================
   NEWS / BLOG
   ===================================================== */
.news-section {
  padding: 6rem 0;
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--grey-light);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body { padding: 1.5rem; }

.news-date {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.news-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
  line-height: 1.35;
}

.news-card-body p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-hero {
  padding: 9rem 0 5rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  padding: 5rem 0;
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-detail-text h4 {
  font-size: .85rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .2rem;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: .95rem;
  color: var(--text-light);
}

/* Contact Form */
.contact-form { }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: .4rem; }

.form-group label {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: .85rem 1rem;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,42,79,.1);
}

.form-group textarea { min-height: 160px; resize: vertical; }

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  padding: 9rem 0 4rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1,
.contact-hero h1,
.page-hero-content h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white) !important;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
}

.page-hero .breadcrumb a { color: rgba(255,255,255,.55); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb .sep { color: var(--accent); }
.page-hero .breadcrumb .current { color: var(--accent); }

/* =====================================================
   CONTENT AREAS
   ===================================================== */
.content-section {
  padding: 5rem 0;
}

.content-section p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.4rem;
  max-width: 800px;
}

.content-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}

.content-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 .8rem;
}

.content-section h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.5rem 0 .6rem;
}

.content-section ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.content-section ul li {
  padding: .4rem 0 .4rem 1.5rem;
  position: relative;
  font-size: .97rem;
  color: var(--text);
  line-height: 1.6;
}

.content-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .8rem;
  top: .55rem;
}

/* Document download card */
.doc-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.doc-card:hover {
  border-color: var(--accent);
  background: rgba(31,182,170,.04);
  transform: translateX(4px);
}

.doc-icon {
  font-size: 1.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

.doc-info h4 {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .2rem;
}

.doc-info p {
  font-size: .8rem;
  color: var(--text-light);
  margin: 0 !important;
}

/* =====================================================
   REFERENCES / PORTFOLIO
   ===================================================== */
.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.reference-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--grey-light);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: var(--transition);
}

.reference-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.reference-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.reference-card-body { padding: 1.5rem; }

.reference-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.reference-card-body .ref-type {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =====================================================
   CAREERS PAGE
   ===================================================== */
.careers-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.job-listing {
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.job-listing:hover {
  border-color: var(--accent);
  background: rgba(31,182,170,.03);
}

.job-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .3rem;
}

.job-meta {
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: var(--text-light);
  font-family: var(--font-head);
}

.job-tag {
  padding: .2rem .8rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  font-family: var(--font-head);
}

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .footer-logo img {
  height: 132px;
  width: auto;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: .8rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }

.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.footer-col ul li a:hover { color: var(--accent); padding-left: .3rem; }

.footer-contact-item {
  display: flex;
  gap: .8rem;
  margin-bottom: .9rem;
  align-items: flex-start;
}

.footer-contact-item .icon {
  color: var(--accent);
  font-size: .9rem;
  margin-top: .15rem;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255,255,255,.65);
}

.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--accent); }

/* =====================================================
   TIMELINE (History page)
   ===================================================== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--navy-light));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(even) .timeline-content { order: 2; }
.timeline-item:nth-child(even) .timeline-year-col { order: 1; text-align: right; }

.timeline-year-col { padding-top: .5rem; }

.timeline-year {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  letter-spacing: .05em;
  line-height: 1;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1rem;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 3px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px var(--accent);
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}

.timeline-content p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 !important;
}

/* =====================================================
   MANAGEMENT SYSTEMS / CERTIFICATES
   ===================================================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.cert-card {
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.cert-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cert-card .cert-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.cert-card h4 {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.cert-card p {
  font-size: .8rem;
  color: var(--text-light);
  margin: 0 !important;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }

  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 0 2rem;
    gap: 0;
    overflow-y: auto;
    max-height: calc(100vh - var(--nav-h));
  }

  .main-nav.open .sub-menu {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    border-top: none;
    box-shadow: none;
    background: rgba(255,255,255,.04);
    padding: .3rem 0;
    display: none;
  }

  .main-nav.open .sub-menu.open { display: block; }

  .split-grid { grid-template-columns: 1fr; gap: 3rem; }
  .split-grid.reverse { direction: ltr; }
  .split-image::after { display: none; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }

  .references-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: 1fr; }

  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }
  .careers-intro { grid-template-columns: 1fr; }

  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 1fr; gap: 1rem; }
  .timeline-dot { left: 24px; }
  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(even) .timeline-year-col { order: unset; text-align: left; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .references-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .callout-inner { flex-direction: column; }
}

/* =====================================================
   UTILITY
   ===================================================== */
.text-accent { color: var(--accent); }
.bg-navy { background: var(--navy); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Loading overlay */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease;
}

#page-loader.hidden { opacity: 0; pointer-events: none; }

.loader-inner {
  text-align: center;
}

.loader-logo { height: 170px; margin-bottom: 1.5rem; display: block; margin-left: auto; margin-right: auto; }

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--accent);
  animation: loadBar 1.2s ease forwards;
}

@keyframes loadBar {
  from { width: 0; }
  to { width: 100%; }
}

/* =====================================================
   LANGUAGE SWITCHER (Polylang)
   ===================================================== */


/* ═══════════════════════════════════════════════════════════
   VERSION 2.0 COMPONENTS
   ═══════════════════════════════════════════════════════════ */

/* ── MOBILE BURGER + DRAWER ──────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 2px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-menu.open {
  max-height: 80vh;
  overflow-y: auto;
}
.mobile-menu .sub-menu {
  display: none;
  list-style: none;
  padding: .3rem 0 .3rem 1rem;
  margin: 0;
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.05);
}
.mobile-menu .sub-menu.open { display: block; }
.mobile-menu .sub-menu li a {
  font-size: .82rem;
  padding: .6rem 1.5rem;
  color: rgba(255,255,255,.65);
}

.mobile-nav {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav li a {
  display: block;
  padding: .8rem 1.5rem;
  color: rgba(255,255,255,.85);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.mobile-nav li a:hover,
.mobile-nav li.current-menu-item > a { color: var(--accent); background: rgba(31,182,170,.06); }
.mobile-nav .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0,0,0,.2);
}
.mobile-nav .sub-menu a { padding-left: 2.5rem; font-size: .83rem; color: rgba(255,255,255,.65); }

/* ── V2 CONTAINER ────────────────────────────────────────── */
.v2-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.v2-section { padding: 5rem 0; }
.v2-section-head { text-align: center; margin-bottom: 3rem; }

.v2-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .7rem;
}
.v2-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.v2-section-head .v2-label::before { display: none; }

.v2-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ── V2 HERO ─────────────────────────────────────────────── */
.v2-hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
.v2-hero-slider { position: absolute; inset: 0; z-index: 0; }
.v2-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.v2-hero-slide.active { opacity: 1; }
.v2-hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,31,58,.85) 0%, rgba(8,31,58,.45) 55%, rgba(8,31,58,.1) 100%);
}
.v2-hero-content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--nav-h) + 28px); }
.v2-hero-inner { max-width: 680px; padding: 0 2rem; margin-left: max(4rem, calc((100vw - 1280px) / 2 + 2rem)); }

.v2-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: .7rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem;
}
.v2-eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--accent); }

.v2-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vh, 5.5rem);
  color: var(--white); line-height: 1.05;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1.2rem;
}
.v2-hero-title span { color: var(--accent); }
.v2-hero-sub {
  font-size: clamp(.88rem, 1.4vw, 1.05rem); color: rgba(255,255,255,.75);
  line-height: 1.7; margin-bottom: 2rem; max-width: 500px;
}
.v2-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.v2-btn-primary {
  display: inline-flex; align-items: center;
  padding: .9rem 2rem; border-radius: var(--radius);
  font-family: var(--font-head); font-size: .83rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  background: var(--accent); color: var(--navy) !important; border: 2px solid var(--accent);
  transition: all .25s;
}
.v2-btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); }
.v2-btn-outline {
  display: inline-flex; align-items: center;
  padding: .9rem 2rem; border-radius: var(--radius);
  font-family: var(--font-head); font-size: .83rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  background: transparent; color: var(--white) !important; border: 2px solid rgba(255,255,255,.55);
  transition: all .25s;
}
.v2-btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.v2-btn-outline-dark {
  display: inline-flex; align-items: center;
  padding: .85rem 2rem; border-radius: var(--radius);
  font-family: var(--font-head); font-size: .83rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  background: transparent; color: var(--navy); border: 2px solid var(--navy);
  transition: all .25s;
}
.v2-btn-outline-dark:hover { background: var(--navy); color: var(--white) !important; }
.v2-link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.5rem; font-family: var(--font-head); font-size: .82rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); text-decoration: none; transition: gap .2s;
}
.v2-link-arrow:hover { gap: .8rem; }

.v2-hero-dots { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 3; }
.v2-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3);
  cursor: pointer; transition: all .3s; border: none; padding: 0;
}
.v2-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ── V2 STATS BAR ────────────────────────────────────────── */
.v2-stats-bar { background: var(--navy); border-top: 3px solid var(--accent); }
.v2-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.v2-stat { padding: 1.6rem 1rem; text-align: center; border-right: 1px solid rgba(255,255,255,.07); }
.v2-stat:last-child { border-right: none; }
.v2-stat-num { font-family: var(--font-display); font-size: 2.3rem; color: var(--accent); letter-spacing: .04em; line-height: 1; margin-bottom: .3rem; }
.v2-stat-label { font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }

/* ── V2 SPLIT LAYOUT ─────────────────────────────────────── */
.v2-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.v2-split-reverse { direction: rtl; }
.v2-split-reverse > * { direction: ltr; }
.v2-split-img { position: relative; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4/3; }
.v2-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-split-img::after { content: ''; position: absolute; bottom: 0; left: 0; width: 55%; height: 4px; background: var(--accent); }

.v2-check-list { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .5rem; }
.v2-check-list li { font-size: .87rem; color: var(--text); padding-left: 1.3rem; position: relative; line-height: 1.4; }
.v2-check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── V2 SECTIONS ─────────────────────────────────────────── */
.v2-about { background: var(--white); }
.v2-services { background: var(--off-white); }
.v2-market { background: var(--white); }
.v2-projects { background: var(--off-white); }

/* ── V2 SERVICE CARDS ────────────────────────────────────── */
.v2-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.v2-service-card { text-decoration: none; display: block; background: var(--white); border-radius: var(--radius-md); overflow: hidden; transition: transform .3s, box-shadow .3s; border: 1.5px solid var(--grey-light); }
.v2-service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.v2-service-card:hover .v2-service-img img { transform: scale(1.08); }
.v2-service-img { position: relative; height: 175px; overflow: hidden; }
.v2-service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.v2-service-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,31,58,.65) 0%, transparent 60%); }
.v2-service-body { padding: 1.2rem; }
.v2-service-icon { font-size: 1.4rem; margin-bottom: .5rem; }
.v2-service-body h3 { font-family: var(--font-head); font-size: .98rem; font-weight: 800; color: var(--navy); margin-bottom: .4rem; }
.v2-service-body p { font-size: .82rem; color: var(--text-light); line-height: 1.6; margin-bottom: .7rem; }
.v2-service-link { font-family: var(--font-head); font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* ── V2 PROJECT CARDS ────────────────────────────────────── */
.v2-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.v2-project-card { border-radius: var(--radius-md); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: transform .3s; }
.v2-project-card:hover { transform: translateY(-5px); }
.v2-project-card:hover .v2-project-img img { transform: scale(1.06); }
.v2-project-img { position: relative; height: 210px; overflow: hidden; }
.v2-project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.v2-project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,31,58,.55) 0%, transparent 60%); }
.v2-project-tag { position: absolute; top: .8rem; left: .8rem; background: var(--accent); color: var(--navy); font-family: var(--font-head); font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 3px; }
.v2-project-body { padding: 1.1rem; }
.v2-project-body h3 { font-family: var(--font-head); font-size: .97rem; font-weight: 800; color: var(--navy); margin-bottom: .25rem; }
.v2-project-body p { font-size: .81rem; color: var(--text-light); }

/* ── V2 CTA ──────────────────────────────────────────────── */
.v2-cta { background: var(--navy); padding: 3.5rem 0; border-top: 4px solid var(--accent); }
.v2-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.v2-cta-title { font-family: var(--font-head); font-size: clamp(1.3rem, 2.3vw, 1.9rem); font-weight: 800; color: var(--white); margin-bottom: .4rem; }
.v2-cta-sub { color: rgba(255,255,255,.55); font-size: .9rem; }

/* ── FOOTER v2 ───────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.2rem,5vw,2rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand {}
.footer-logo { height: 90px; width: auto; display: block; margin-bottom: 1rem; }
.footer-tagline { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.6; }
.footer-heading { font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .85rem; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { display: flex; gap: .7rem; margin-bottom: .7rem; align-items: flex-start; font-size: .84rem; color: rgba(255,255,255,.6); }
.fc-icon { flex-shrink: 0; font-size: .9rem; margin-top: .1rem; }
.footer-contact-list a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer-contact-list a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 0; gap: 1rem; flex-wrap: wrap; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: .78rem; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .v2-services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .main-nav-wrap { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: block; }
  .v2-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .v2-split-reverse { direction: ltr; }
  .v2-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .v2-hero-inner { margin-left: 0; }
  .v2-check-list { grid-template-columns: 1fr; }
  .v2-cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .v2-services-grid { grid-template-columns: 1fr 1fr; }
  .v2-projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 400px) {
  .v2-services-grid { grid-template-columns: 1fr; }
}

/* ── LOGO TEXT FALLBACK (when no custom logo uploaded) ── */
.site-logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-logo-text {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 800;
  color: rgba(255,255,255,.7);
  letter-spacing: .05em;
  display: block;
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   V2 INNER PAGE COMPONENTS
   ═══════════════════════════════════════════════════════════ */

/* ── PAGE HERO ───────────────────────────────────────────── */
.v2-page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 3rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--accent);
}
.v2-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 120px; height: 4px;
  background: var(--accent-light);
}
.v2-page-hero-inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.2rem,5vw,2rem); }
.v2-page-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: .3rem;
}

/* ── INNER WRAPPER ───────────────────────────────────────── */
.v2-inner { padding: 5rem 0; }
.v2-inner--alt { background: var(--off-white); }
.v2-inner--dark { background: var(--navy); }

/* ── INTRO SPLIT ─────────────────────────────────────────── */
.v2-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.v2-intro-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: var(--radius-md); }
.v2-intro-grid p { font-size: .93rem; color: var(--text-light); line-height: 1.75; margin-bottom: .9rem; }

/* ── CAPABILITY LIST ─────────────────────────────────────── */
.v2-cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 3rem; }
.v2-cap-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem 1.5rem 1.2rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.v2-cap-item:nth-child(odd) { padding-right: 2rem; }
.v2-cap-item:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--grey-light); }
.v2-cap-n { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); flex-shrink: 0; line-height: 1.4; }
.v2-cap-t { font-size: .87rem; color: var(--text); line-height: 1.5; }

/* ── ACCORDION ───────────────────────────────────────────── */
.v2-acc { margin-top: 3rem; border-top: 2px solid var(--navy); }
.v2-acc-item { border-bottom: 1px solid var(--grey-light); }
.v2-acc-trigger {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 0; background: none; border: none; cursor: pointer; text-align: left;
}
.v2-acc-trigger:hover .v2-acc-name { color: var(--accent); }
.v2-acc-tag { font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: rgba(31,182,170,.1); padding: .2rem .6rem; border-radius: var(--radius); flex-shrink: 0; }
.v2-acc-name { font-family: var(--font-head); font-size: .98rem; font-weight: 800; color: var(--navy); flex: 1; transition: color .2s; }
.v2-acc-sub { font-size: .78rem; color: var(--text-light); }
.v2-acc-icon { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; transition: transform .3s; }
.v2-acc-item.open .v2-acc-icon { transform: rotate(45deg); }
.v2-acc-body { display: none; padding: 0 0 1.8rem; }
.v2-acc-item.open .v2-acc-body { display: block; }
.v2-acc-body p { font-size: .88rem; color: var(--text-light); line-height: 1.75; margin-bottom: .8rem; max-width: 700px; }
.v2-acc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .7rem; margin-top: 1rem; }
.v2-acc-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: var(--radius); }

/* ── TIMELINE ────────────────────────────────────────────── */
.v2-timeline { position: relative; padding-left: 3rem; }
.v2-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grey-light); }
.v2-tl-item { position: relative; padding: 0 0 2.5rem 2rem; }
.v2-tl-item::before { content: ''; position: absolute; left: -2.3rem; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--accent); box-shadow: 0 0 0 3px rgba(31,182,170,.15); }
.v2-tl-year { font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1; margin-bottom: .3rem; }
.v2-tl-title { font-family: var(--font-head); font-size: .95rem; font-weight: 800; color: var(--navy); margin-bottom: .4rem; }
.v2-tl-body { font-size: .86rem; color: var(--text-light); line-height: 1.7; max-width: 560px; }

/* ── MANAGEMENT ──────────────────────────────────────────── */
.v2-mgmt-block { margin-bottom: 2.5rem; }
.v2-mgmt-block h3 { font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--grey-light); }
.v2-mgmt-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 2rem; }
.v2-mgmt-person { padding: .9rem 0; border-bottom: 1px solid var(--grey-light); }
.v2-mgmt-person:last-child { border-bottom: none; }
.v2-mgmt-name { font-family: var(--font-head); font-size: .93rem; font-weight: 700; color: var(--navy); }
.v2-mgmt-role { font-size: .8rem; color: var(--text-light); margin-top: .2rem; }

/* ── ISO CERTS ───────────────────────────────────────────── */
.v2-cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.v2-cert-card { background: var(--white); border: 1.5px solid var(--grey-light); border-radius: var(--radius-md); padding: 1.8rem; border-top: 3px solid var(--accent); }
.v2-cert-code { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); margin-bottom: .4rem; line-height: 1; }
.v2-cert-name { font-family: var(--font-head); font-size: .84rem; font-weight: 700; color: var(--navy); margin-bottom: .9rem; line-height: 1.4; }
.v2-cert-links { display: flex; gap: .8rem; flex-wrap: wrap; }
.v2-cert-link { font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); text-decoration: none; padding: .3rem .8rem; border: 1px solid var(--accent); border-radius: var(--radius); transition: all .2s; }
.v2-cert-link:hover { background: var(--accent); color: var(--white); }

/* ── MISIJA/VIZIJA ───────────────────────────────────────── */
.v2-mv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.v2-mv-card { background: var(--navy); border-radius: var(--radius-md); padding: 2.5rem 2rem; }
.v2-mv-num { font-family: var(--font-display); font-size: 3rem; color: rgba(31,182,170,.2); line-height: 1; margin-bottom: .4rem; }
.v2-mv-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--accent); margin-bottom: 1rem; }
.v2-mv-body { font-size: .86rem; color: rgba(255,255,255,.6); line-height: 1.75; }

/* ── PDF DOWNLOADS ───────────────────────────────────────── */
.v2-downloads { display: flex; flex-direction: column; gap: .6rem; margin-top: 2rem; }
.v2-dl { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; background: var(--white); border: 1.5px solid var(--grey-light); border-radius: var(--radius-md); border-left: 3px solid var(--accent); text-decoration: none; transition: background .2s; gap: 1rem; }
.v2-dl:hover { background: var(--off-white); }
.v2-dl-name { font-family: var(--font-head); font-size: .86rem; font-weight: 700; color: var(--navy); }
.v2-dl-sub { font-size: .76rem; color: var(--text-light); margin-top: .1rem; }
.v2-dl-arrow { color: var(--accent); font-size: 1rem; flex-shrink: 0; }

/* ── CONTACT ─────────────────────────────────────────────── */
.v2-contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.v2-contact-list { display: flex; flex-direction: column; gap: 0; margin-top: 1.5rem; }
.v2-ce { padding: 1.2rem 0; border-bottom: 1px solid var(--grey-light); }
.v2-ce-label { font-family: var(--font-head); font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; }
.v2-ce-val { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); text-decoration: none; transition: color .2s; display: block; }
.v2-ce-val:hover { color: var(--accent); }
.v2-ce-sub { font-size: .8rem; color: var(--text-light); margin-top: .2rem; line-height: 1.5; }
.v2-map-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 0; }
.v2-map-tab { padding: .45rem 1rem; font-family: var(--font-head); font-size: .73rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border: 1.5px solid var(--grey-light); background: var(--white); color: var(--navy); cursor: pointer; border-radius: var(--radius) var(--radius) 0 0; transition: all .2s; }
.v2-map-tab.active, .v2-map-tab:hover { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.v2-map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); }

/* ── DJELATNOSTI ─────────────────────────────────────────── */
.v2-djel-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 3rem; }
.v2-djel-card { text-decoration: none; display: block; border-radius: var(--radius-md); overflow: hidden; position: relative; aspect-ratio: 16/9; }
.v2-djel-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s; }
.v2-djel-card:hover img { transform: scale(1.06); }
.v2-djel-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,31,58,.8) 0%, rgba(8,31,58,.2) 60%); transition: background .3s; }
.v2-djel-card:hover .v2-djel-overlay { background: linear-gradient(to top, rgba(8,31,58,.9) 0%, rgba(8,31,58,.4) 60%); }
.v2-djel-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; }
.v2-djel-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--white); display: block; margin-bottom: .3rem; }
.v2-djel-link { font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* ── STATS ROW ───────────────────────────────────────────── */
.v2-stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin: 3rem 0; background: var(--navy); border-radius: var(--radius-md); overflow: hidden; }
.v2-stat-cell { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,.07); }
.v2-stat-cell:last-child { border-right: none; }
.v2-stat-cell-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: .3rem; }
.v2-stat-cell-label { font-family: var(--font-head); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* ── CAREER ──────────────────────────────────────────────── */
.v2-career-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.v2-career-split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: var(--radius-md); }
.v2-career-cta { margin-top: 2rem; padding: 2rem; background: var(--navy); border-radius: var(--radius-md); }
.v2-career-cta h3 { font-family: var(--font-head); font-size: .98rem; font-weight: 800; color: var(--white); margin-bottom: .4rem; }
.v2-career-cta p { font-size: .83rem; color: rgba(255,255,255,.5); margin-bottom: 1.2rem; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media(max-width:900px){
  .v2-intro-grid,.v2-contact-grid,.v2-career-split { grid-template-columns: 1fr; gap: 2rem; }
  .v2-cap-grid { grid-template-columns: 1fr; }
  .v2-cap-item:nth-child(even) { padding-left: 0; border-left: none; }
  .v2-mv-grid { grid-template-columns: 1fr; }
  .v2-djel-grid { grid-template-columns: 1fr; }
  .v2-mgmt-row { grid-template-columns: 1fr; }
  .v2-stats-row { grid-template-columns: repeat(2,1fr); }
}

/* ═══════════════════════════════════════════════════════════
   NAVY — UNIQUE FRONT PAGE DESIGN
   Maritime / Architectural / Bold
   ═══════════════════════════════════════════════════════════ */

/* Loader text fallback */
.loader-logo-text { font-family:var(--font-head);font-size:1.2rem;font-weight:800;color:var(--white);letter-spacing:.1em;text-transform:uppercase;display:block;margin-bottom:1.5rem; }

.nv-wrap { max-width:var(--container);margin:0 auto;padding:0 clamp(1.2rem,5vw,2.5rem); }
.nv-kicker { font-family:var(--font-head);font-size:.7rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--accent);margin-bottom:.6rem;display:block; }
.nv-title { font-family:var(--font-head);font-size:clamp(1.8rem,3vw,2.8rem);font-weight:800;color:var(--navy);line-height:1.15;margin-bottom:1.2rem; }
.nv-link { font-family:var(--font-head);font-size:.8rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);text-decoration:none;display:inline-flex;align-items:center;gap:.4rem;margin-top:1.5rem;transition:gap .2s; }
.nv-link:hover { gap:.8rem; }
.nv-section { padding:6rem 0; }
.nv-sect-head { text-align:center;margin-bottom:3.5rem; }

/* Buttons */
.nv-btn { display:inline-flex;align-items:center;padding:.85rem 2rem;font-family:var(--font-head);font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;border-radius:var(--radius);transition:all .25s;border:2px solid var(--accent); }
.nv-btn--solid { background:var(--accent);color:var(--navy)!important; }
.nv-btn--solid:hover { background:var(--accent-light);border-color:var(--accent-light); }
.nv-btn--outline { background:transparent;color:var(--white)!important;border-color:rgba(255,255,255,.5); }
.nv-btn--outline:hover { border-color:var(--white);background:rgba(255,255,255,.1); }

/* ── HERO ─────────────────────────────────────────────────── */
.nv-hero { position:relative;height:100vh;min-height:600px;overflow:hidden;background:var(--navy); }
.nv-hero-slides { position:absolute;inset:0;z-index:0; }
.nv-slide { position:absolute;inset:0;opacity:0;transition:opacity 1.3s ease; }
.nv-slide.on { opacity:1; }
.nv-slide img { width:100%;height:100%;object-fit:cover;display:block; }
.nv-veil { position:absolute;inset:0;background:linear-gradient(110deg,rgba(8,31,58,.9) 0%,rgba(8,31,58,.55) 50%,rgba(8,31,58,.15) 100%); }

/* wave cut */
.nv-wave { position:absolute;bottom:-1px;left:0;right:0;z-index:2;line-height:0; }
.nv-wave svg { width:100%;height:90px;display:block; }

.nv-hero-content { position:relative;z-index:3;height:100%;display:flex;flex-direction:column;justify-content:center; }
.nv-hero-inner { max-width:var(--container);margin:0 auto;padding:0 2.5rem;padding-top:calc(var(--nav-h)+20px);max-width:720px;margin-left:max(2.5rem,calc((100vw - 1280px)/2 + 2.5rem)); }

.nv-eyebrow { display:flex;align-items:center;gap:.8rem;margin-bottom:1.2rem; }
.nv-eyebrow-line { display:block;width:40px;height:2px;background:var(--accent);flex-shrink:0; }
.nv-eyebrow span:last-child { font-family:var(--font-head);font-size:.68rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.5); }

.nv-headline { margin-bottom:1.5rem; }
.nv-h1 { display:block;font-family:var(--font-head);font-size:clamp(1.5rem,3vw,2.2rem);font-weight:400;color:rgba(255,255,255,.7);letter-spacing:.05em;text-transform:uppercase; }
.nv-h2 { display:block;font-family:var(--font-display);font-size:clamp(4rem,9vw,9rem);color:var(--accent);text-transform:uppercase;line-height:.9;letter-spacing:-.01em;margin:-.2rem 0; }
.nv-h3 { display:block;font-family:var(--font-head);font-size:clamp(1.2rem,2.5vw,2rem);font-weight:800;color:var(--white);text-transform:uppercase;letter-spacing:.04em;margin-top:.5rem; }
.nv-sub { font-size:clamp(.88rem,1.4vw,1rem);color:rgba(255,255,255,.6);line-height:1.7;margin-bottom:2rem;max-width:520px; }
.nv-btns { display:flex;gap:1rem;flex-wrap:wrap; }
.nv-dots { display:flex;gap:.5rem;justify-content:center;padding:2rem 0 3rem;position:absolute;bottom:4rem;left:50%;transform:translateX(-50%);z-index:4; }
.nv-dot { width:28px;height:3px;border-radius:2px;background:rgba(255,255,255,.25);border:none;cursor:pointer;padding:0;transition:all .3s; }
.nv-dot.on { background:var(--accent);width:44px; }

/* ── STATS ────────────────────────────────────────────────── */
.nv-stats { background:var(--off-white);padding:0; }
.nv-stats-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:0; }
.nv-stat { padding:2.2rem 1.5rem;text-align:center;border-right:1px solid var(--grey-light);position:relative; }
.nv-stat::after { content:'';position:absolute;bottom:0;left:25%;right:25%;height:3px;background:transparent;transition:background .3s; }
.nv-stat:hover::after { background:var(--accent); }
.nv-stat:last-child { border-right:none; }
.nv-stat-n { display:block;font-family:var(--font-display);font-size:2.8rem;color:var(--navy);line-height:1;margin-bottom:.3rem; }
.nv-stat-l { font-family:var(--font-head);font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--text-light); }

/* ── ABOUT ────────────────────────────────────────────────── */
.nv-about { background:var(--white); }
.nv-about-grid { display:grid;grid-template-columns:1fr 1fr;gap:0;min-height:500px;overflow:hidden;border-radius:var(--radius-md);box-shadow:var(--shadow-lg); }
.nv-about-img { position:relative;overflow:hidden; }
.nv-about-img img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s; }
.nv-about-grid:hover .nv-about-img img { transform:scale(1.04); }
.nv-about-text { padding:4rem;background:var(--navy);display:flex;flex-direction:column;justify-content:center; }
.nv-about-text .nv-title { color:var(--white); }
.nv-about-text p { font-size:.92rem;color:rgba(255,255,255,.6);line-height:1.75; }

/* ── SERVICES ─────────────────────────────────────────────── */
.nv-svc-sect { background:var(--off-white); }
.nv-svc-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem; }
.nv-svc-card { display:block;text-decoration:none;background:var(--white);border-radius:var(--radius-md);overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.08);transition:transform .3s,box-shadow .3s;border:1.5px solid var(--grey-light); }
.nv-svc-card:hover { transform:translateY(-6px);box-shadow:var(--shadow-lg); }
.nv-svc-card:hover .nv-svc-img-wrap img { transform:scale(1.08); }
.nv-svc-img-wrap { position:relative;height:180px;overflow:hidden; }
.nv-svc-img-wrap img { width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .5s; }
.nv-svc-img-overlay { position:absolute;inset:0;background:linear-gradient(to top,rgba(8,31,58,.7) 0%,transparent 60%); }
.nv-svc-icon { position:absolute;bottom:.8rem;left:1rem;font-size:1.4rem;z-index:2; }
.nv-svc-body { padding:1.2rem; }
.nv-svc-body h3 { font-family:var(--font-head);font-size:.97rem;font-weight:800;color:var(--navy);margin-bottom:.5rem; }
.nv-svc-body p { font-size:.81rem;color:var(--text-light);line-height:1.6;margin-bottom:.7rem; }
.nv-svc-arrow { font-family:var(--font-head);font-size:.72rem;font-weight:700;letter-spacing:.08em;color:var(--accent); }

/* ── FEATURED PROJECT ─────────────────────────────────────── */
.nv-feature { background:var(--white); }
.nv-feat-card { display:grid;grid-template-columns:1.3fr 1fr;min-height:480px;overflow:hidden;border-radius:var(--radius-md);box-shadow:var(--shadow-lg); }
.nv-feat-img { position:relative;overflow:hidden; }
.nv-feat-img img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s; }
.nv-feat-card:hover .nv-feat-img img { transform:scale(1.04); }
.nv-feat-overlay { position:absolute;inset:0;background:linear-gradient(to right,transparent 50%,rgba(8,31,58,.4) 100%); }
.nv-feat-text { background:var(--navy);padding:3.5rem;display:flex;flex-direction:column;justify-content:center; }
.nv-feat-tag { font-family:var(--font-head);font-size:.65rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin-bottom:.8rem;display:block; }
.nv-feat-title { font-family:var(--font-display);font-size:clamp(2.5rem,5vw,4.5rem);color:var(--white);line-height:.95;text-transform:uppercase;margin-bottom:.8rem;letter-spacing:-.01em; }
.nv-feat-sub { font-family:var(--font-head);font-size:.8rem;font-weight:600;color:var(--accent);margin-bottom:1rem;letter-spacing:.06em; }
.nv-feat-desc { font-size:.87rem;color:rgba(255,255,255,.6);line-height:1.7; }

/* ── WHY ──────────────────────────────────────────────────── */
.nv-why { background:var(--navy);padding:0; }
.nv-why-grid { display:grid;grid-template-columns:1fr 1fr;min-height:540px; }
.nv-why-text { padding:6rem 5rem;display:flex;flex-direction:column;justify-content:center; }
.nv-why-list { list-style:none;padding:0;margin:1.5rem 0;counter-reset:why; }
.nv-why-list li { counter-increment:why;display:flex;align-items:center;gap:1rem;padding:.9rem 0;border-bottom:1px solid rgba(255,255,255,.08);font-size:.9rem;color:rgba(255,255,255,.7); }
.nv-why-list li::before { content:counter(why,decimal-leading-zero);font-family:var(--font-display);font-size:1.1rem;color:var(--accent);flex-shrink:0;line-height:1; }
.nv-why-img { position:relative;overflow:hidden; }
.nv-why-img img { width:100%;height:100%;object-fit:cover;display:block; }

/* ── CTA ──────────────────────────────────────────────────── */
.nv-cta { background:var(--off-white);border-top:1px solid var(--grey-light);padding:4rem 0; }
.nv-cta-inner { display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap; }
.nv-cta-title { font-family:var(--font-head);font-size:clamp(1.4rem,2.5vw,2.2rem);font-weight:800;color:var(--navy);margin-bottom:.4rem; }
.nv-cta-sub { font-size:.9rem;color:var(--text-light); }
.nv-cta-contacts { display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap; }
.nv-cta-item { display:flex;align-items:center;gap:.5rem;font-family:var(--font-head);font-size:.85rem;font-weight:600;color:var(--navy);text-decoration:none;transition:color .2s; }
.nv-cta-item:hover { color:var(--accent); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media(max-width:1100px){ .nv-svc-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:900px){
  .nv-about-grid,.nv-feat-card,.nv-why-grid{grid-template-columns:1fr;}
  .nv-about-text{padding:2.5rem;}
  .nv-why-text{padding:3rem 2rem;}
  .nv-why-img{height:280px;}
  .nv-feat-text{padding:2.5rem;}
  .nv-stats-grid{grid-template-columns:repeat(2,1fr);}
  .nv-hero-inner{margin-left:0;padding-left:1.5rem;padding-right:1.5rem;}
  .nv-cta-inner{flex-direction:column;text-align:center;}
}
@media(max-width:600px){ .nv-svc-grid{grid-template-columns:1fr 1fr;} .nv-h2{font-size:clamp(3rem,14vw,5rem);} }
@media(max-width:400px){ .nv-svc-grid{grid-template-columns:1fr;} }


/* ── LANGUAGE SWITCHER ───────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: .8rem;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 30px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
  padding: .28rem .7rem;
  border-radius: 20px;
  transition: background .2s, color .2s;
  line-height: 1;
  min-width: 36px;
  text-align: center;
}
a.lang-btn { display: inline-block; text-decoration: none; }
.lang-btn:hover { color: var(--white); background: rgba(255,255,255,.1); }
.lang-btn.lang-active {
  background: var(--accent);
  color: var(--navy) !important;
  box-shadow: 0 1px 6px rgba(31,182,170,.4);
}

/* Mobile lang switcher in drawer */
.mobile-lang {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 1.2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-lang .lang-btn {
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  padding: .35rem .9rem;
  border-radius: 20px;
}
.mobile-lang .lang-btn.lang-active {
  background: var(--accent);
  color: var(--navy) !important;
}
.mobile-lang 
/* ════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE / TABLET RESPONSIVE FIXES
   ════════════════════════════════════════════════════════════ */

/* ── TABLET (≤900px) ──────────────────────────────────────── */
@media (max-width: 900px) {

  /* Nav — hide lang switcher text, keep pill compact */
  .lang-switcher { margin-left: .4rem; padding: .1rem .2rem; }
  .lang-btn { padding: .2rem .4rem; font-size: .65rem; }

  /* Wrap — tighter padding */
  .nv-wrap, .v2-wrap, .v2-container { padding: 0 1.2rem; }

  /* Inner page hero v2 */
  .v2-page-hero { padding: calc(var(--nav-h) + 1.5rem) 0 2rem; }
  .v2-page-hero-inner { padding: 0 1.2rem; }
  .v2-page-title { font-size: clamp(1.6rem, 5vw, 2.4rem) !important; }

  /* Stats row — 2 col on tablet */
  .v2-stats-row { grid-template-columns: repeat(2,1fr); }

  /* Cert rows — stack on tablet */
  .v2-cert-row { grid-template-columns: 1fr !important; }
  .v2-cert-row > div:first-child { border-right: none; border-bottom: 1px solid var(--grey-light); }

  /* Reference alternating rows — stack */
  .nv-ref-row { grid-template-columns: 1fr !important; direction: ltr !important; }
  .nv-ref-row > div:first-child { min-height: 220px; }

  /* Featured project card */
  .nv-feat-card { grid-template-columns: 1fr !important; }
  .nv-feat-img { height: 280px; overflow: hidden; }

  /* Stats section */
  .nv-stats-grid { grid-template-columns: repeat(2,1fr) !important; }

  /* About grid */
  .nv-about-grid { grid-template-columns: 1fr !important; }

  /* Why grid */
  .nv-why-grid { grid-template-columns: 1fr !important; }
  .nv-why-img { height: 260px; overflow: hidden; }

  /* CTA */
  .nv-cta-inner { flex-direction: column !important; text-align: center; gap: 2rem; }
  .nv-cta-contacts { flex-direction: column; align-items: center; }

  /* Inner page inline grids — collapse all to 1 col */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1.4fr"],
  [style*="grid-template-columns:1fr 1.3fr"],
  [style*="grid-template-columns:3fr 2fr"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns:1fr 2fr"],
  [style*="grid-template-columns:220px 1fr"],
  [style*="grid-template-columns:280px 1fr"],
  [style*="grid-template-columns:240px 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Reference magazine alternating rows - reset direction */
  [style*="direction:rtl"] { direction: ltr !important; }

  /* Sticky sidebar — remove stickiness on mobile */
  [style*="position:sticky"] { position: relative !important; top: auto !important; }

  /* Dark card grids — 1 col */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Repeat-4 stats — 2 col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }

  /* Inner page section padding */
  section[style*="padding:5rem 0"],
  section[style*="padding: 5rem 0"],
  section[style*="padding:4rem 0"] {
    padding: 3rem 0 !important;
  }

  /* Project cards image height */
  [style*="height:180px"],
  [style*="height: 180px"],
  [style*="height:200px"],
  [style*="height: 200px"] {
    height: 160px !important;
  }

  /* Timeline columns — single column */
  [style*="grid-template-columns:1fr 1fr;gap:0 5rem"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Footer grid */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2.5rem !important; }

  /* Mobile menu sub-menu styling */
  .mobile-nav .sub-menu { padding-left: 1rem; }
  .mobile-nav .sub-menu a { font-size: .82rem; padding: .6rem 1.5rem; }

  /* Management grid on mobile */
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* 2-col management */
  [style*="grid-template-columns:1fr 1fr;gap:1rem"] {
    grid-template-columns: 1fr !important;
  }

  /* Cert table rows on inner pages */
  [style*="grid-template-columns:180px 1fr auto"],
  [style*="grid-template-columns: 180px 1fr auto"] {
    grid-template-columns: 1fr !important;
    flex-direction: column;
  }

  /* Djelatnosti stacked rows */
  [style*="grid-template-columns:280px 1fr auto"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:280px 1fr auto"] > div:first-child {
    min-height: 180px;
  }

  /* Era strip history rows */
  [style*="grid-template-columns:200px 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Map tab + iframe */
  #mapIframe { height: 300px !important; }

  /* Contact page map+info */
  [style*="grid-template-columns:1fr 1.4fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Karijere contact box */
  [style*="grid-template-columns:1fr 1fr;gap:5rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

}

/* ── MOBILE (≤600px) ──────────────────────────────────────── */
@media (max-width: 600px) {

  /* Nav logo — smaller on phone */
  .site-logo-img { height: 52px !important; }

  /* Nav height */
  :root { --nav-h: 70px; }

  /* Wrap padding */
  .nv-wrap, .v2-wrap, .v2-container { padding: 0 1rem; }

  /* Hero headline sizes */
  .nv-h1 { font-size: clamp(2.5rem, 10vw, 4rem) !important; }
  .nv-h2 { font-size: clamp(2.5rem, 10vw, 4rem) !important; }
  .nv-h3 { font-size: clamp(1.2rem, 4vw, 1.8rem) !important; }

  /* Hero buttons — stack on phone */
  .nv-btns { flex-direction: column; align-items: flex-start; gap: .8rem !important; }
  .nv-btn { width: 100%; justify-content: center; }

  /* Stats — 2 col */
  .nv-stats-grid { grid-template-columns: repeat(2,1fr) !important; gap: 0; }
  .nv-stat { padding: 1.5rem 1rem; }

  /* Services grid — 1 col on small phones */
  .nv-svc-grid { grid-template-columns: 1fr !important; }

  /* Section padding tighter */
  .nv-section { padding: 3.5rem 0 !important; }

  /* Inner page hero */
  .v2-page-hero { padding: calc(var(--nav-h) + 1rem) 0 1.5rem; }
  .v2-page-title { font-size: clamp(1.4rem, 7vw, 2rem) !important; }

  /* Stats row — 2 col */
  .v2-stats-row { grid-template-columns: repeat(2,1fr) !important; }
  .v2-stat-item { padding: 1.2rem 1rem !important; }

  /* Repeat-4 — 2 col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }

  /* Cert download buttons — stack */
  [style*="grid-template-columns:180px 1fr auto"] {
    grid-template-columns: 1fr !important;
  }

  /* Map height */
  #mapIframe { height: 240px !important; }

  /* Footer — single col */
  .footer-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .8rem; }

  /* Timeline — tighter */
  [style*="border-left:2px solid var(--grey-light)"] {
    padding-left: 1.5rem !important;
  }

  /* Feat card image */
  .nv-feat-img { height: 220px !important; }

  /* Project 2-col grids — 1 col */
  [style*="grid-template-columns:1fr 1fr;gap:1.5rem"],
  [style*="grid-template-columns:1fr 1fr;gap:2rem"],
  [style*="grid-template-columns:1fr 1fr;gap:3rem"] {
    grid-template-columns: 1fr !important;
  }

  /* Misija 3-col cards */
  [style*="grid-template-columns:repeat(3,1fr);gap:2rem"] {
    grid-template-columns: 1fr !important;
  }

  /* Page hero display numbers */
  [style*="font-size:clamp(3rem,6vw,6rem)"] {
    font-size: clamp(3rem, 15vw, 5rem) !important;
  }

  /* Horizontal scroll prevention */
  .v2-inner, .v2-container, .nv-wrap { overflow-x: hidden; }

}

/* ── SMALL PHONES (≤400px) ────────────────────────────────── */
@media (max-width: 400px) {

  .nv-stats-grid { grid-template-columns: 1fr 1fr !important; }
  .nv-svc-grid { grid-template-columns: 1fr !important; }
  .lang-btn { padding: .15rem .35rem; font-size: .62rem; }

  /* Repeat-4 stats — 1 col on very small screens */
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }

}

/* ── NAV OVERFLOW FIX ─────────────────────────────────────── */
/* Prevent the nav-inner from overflowing on tablet when logo + nav + lang are all showing */
@media (max-width: 1100px) {
  .main-nav { gap: .5rem; }
  .main-nav > li > a { font-size: .72rem; letter-spacing: .04em; padding: .5rem .6rem; }
}

@media (max-width: 960px) {
  .main-nav-wrap { display: none; }
  .nav-burger { display: flex !important; }
  .lang-switcher { order: 2; }
  .nav-burger { order: 3; }
}

/* ── BODY OVERFLOW ────────────────────────────────────────── */
body { overflow-x: hidden; }

/* ── GLOBAL MOBILE PADDING SAFETY NET ───────────────────── */
@media (max-width: 600px) {
  /* Ensure every section's inner content has breathing room */
  .nv-wrap,
  .v2-wrap,
  .v2-container,
  .v2-inner,
  .v2-page-hero-inner,
  .footer-inner,
  .is-wrap {
    padding-left: max(1.2rem, env(safe-area-inset-left)) !important;
    padding-right: max(1.2rem, env(safe-area-inset-right)) !important;
  }

  /* Prevent anything from touching the screen edge */
  .site-footer,
  section,
  .nv-stats,
  .nv-cta {
    overflow-x: hidden;
  }

  /* Inner page hero breathing room */
  .v2-page-hero .v2-page-hero-inner {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
}

@media (max-width: 900px) {
  .nv-wrap,
  .v2-wrap,
  .v2-container,
  .v2-inner,
  .v2-page-hero-inner,
  .footer-inner,
  .is-wrap {
    padding-left: max(1.4rem, env(safe-area-inset-left));
    padding-right: max(1.4rem, env(safe-area-inset-right));
  }
}
