/* EZ Bersama - shared site styles */

:root {
  --navy: #0B2A5B;
  --navy-deep: #071D40;
  --orange: #F07010;
  --orange-dark: #D9620A;
  --peach: #FFB27A;
  --mist: #DCE4F2;
  --tint: #F3F6FB;
  --text: #33415C;
  --white: #FFFFFF;
  --nav-h: 88px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 42, 91, 0.10);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: "Open Sans", Calibri, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  color: var(--navy);
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 42, 91, 0.08);
}

.nav {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 58px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.nav-links > li { position: relative; }
.nav-links > li > a { display: block; padding: 8px 0; transition: color 0.2s; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--orange); }

.has-sub > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 320px;
  padding: 10px 0;
  list-style: none;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.sub-menu a { display: block; padding: 10px 20px; }
.sub-menu a:hover { background: var(--tint); }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }

.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
}

.hero-photos {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
.hero-photos img { width: 100%; height: 100%; object-fit: cover; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 42, 91, 0.62);
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  column-gap: 48px;
}

.hero-copy { align-self: center; max-width: 720px; }

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.hero .eyebrow, .page-hero .eyebrow { color: var(--peach); }

.hero h1 {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(42px, 6.2vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.ez { color: var(--orange); }

.lead {
  margin-top: 24px;
  max-width: 640px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
}

.focus-card {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  width: max-content;
  max-width: 100%;
  padding: 18px 28px 20px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.focus-card h2 {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 12px;
}
.focus-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.focus-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
}
.focus-card li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.site-url {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  color: var(--white);
  background: var(--navy) center / cover no-repeat;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 42, 91, 0.94) 30%, rgba(11, 42, 91, 0.62));
}
.page-hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 54px);
  max-width: 820px;
}
.page-hero .lead { color: var(--mist); }

.breadcrumb {
  font-size: 13px;
  color: var(--mist);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--peach); }
.breadcrumb span { margin: 0 8px; opacity: 0.6; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: var(--mist); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.prose p + p { margin-top: 16px; }
.prose p { font-size: 17px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.top { align-items: start; }

.statement {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  margin-top: 28px;
}

/* ---------- Icon cards ---------- */
.icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
}
.icon img { width: 24px; height: 24px; }
.icon.navy { background: var(--navy); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 18px; font-weight: 800; margin: 18px 0 8px; }
.card p { font-size: 15px; }

.step-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--mist);
}
.step-card { position: relative; }
.step-card .step-num { position: absolute; top: 24px; right: 28px; }

/* ---------- Vision / mission ---------- */
.vision {
  background: var(--navy);
  color: var(--mist);
  border-radius: var(--radius);
  padding: 40px;
}
.vision h2 { color: var(--white); font-size: 14px; letter-spacing: 0.14em; margin: 20px 0 14px; }
.vision p { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 22px; line-height: 1.45; color: var(--white); }

.mission-list { list-style: none; display: grid; gap: 22px; }
.mission-list li { display: flex; gap: 18px; }
.mission-list .num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}
.mission-list h3 { font-size: 18px; margin-bottom: 4px; }

/* ---------- Team ---------- */
.team-card { display: flex; gap: 28px; align-items: flex-start; }
.team-card img { align-self: center; }
.team-card img {
  flex: none;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}
.team-card h3 { font-size: 24px; font-weight: 800; letter-spacing: 0.04em; margin: 0; }
.team-card .role { color: var(--orange); font-weight: 600; font-size: 14px; margin: 4px 0 12px; }
.team-card ul { padding-left: 18px; font-size: 15px; }
.team-card li + li { margin-top: 6px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.stat {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--mist);
}
.stat strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 46px);
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 6px;
}

/* ---------- Solutions ---------- */
.solution-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 42, 91, 0.16); }
.solution-card img { width: 100%; height: 200px; object-fit: cover; }
.solution-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.solution-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.solution-card p { font-size: 15px; flex: 1; }
.solution-card .more {
  margin-top: 18px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
}

.photo-strip { display: grid; gap: 16px; }
.photo-strip img, .photo-strip video, .photo-strip figure {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.photo-strip figure { position: relative; overflow: hidden; }
.photo-strip figcaption {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.photo-strip figcaption.after { background: var(--orange); }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--tint);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.benefit .icon { width: 42px; height: 42px; }
.benefit .icon img { width: 20px; height: 20px; }

.series { margin-top: 8px; }
.series h3 {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 14px;
}
.product-list { list-style: none; display: grid; gap: 10px; }
.product-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--mist);
}
.product-list strong { font-family: "Montserrat", sans-serif; color: var(--navy); }
.product-list span { font-size: 14px; color: #5A6B88; text-align: right; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.chip.orange { background: var(--orange); }

.checklist { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--orange) url("../images/icons/check.png") center / 12px no-repeat;
}

.callout {
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--mist);
  padding: 28px 32px;
}
.callout h3 { color: var(--peach); font-size: 13px; letter-spacing: 0.14em; margin-bottom: 10px; }
.callout p { color: var(--white); font-size: 17px; }

.big-stat {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 7vw, 84px);
  line-height: 1;
  color: var(--orange);
}

.note { font-size: 13px; color: #6B7A94; font-style: italic; margin-top: 12px; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 15px;
}
.data-table th, .data-table td { padding: 14px 18px; text-align: right; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.data-table tbody tr + tr td { border-top: 1px solid var(--mist); }
.data-table tr.highlight td {
  background: #FFF1E6;
  color: var(--orange-dark);
  font-weight: 700;
}
.table-wrap { overflow-x: auto; }

.chart-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.chart-card h3 { font-size: 16px; margin-bottom: 8px; }
.chart-card svg { width: 100%; height: auto; display: block; }
.legend { display: flex; gap: 20px; font-size: 13px; margin-top: 8px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-item + .contact-item { margin-top: 28px; }
.contact-item h3 { font-size: 13px; letter-spacing: 0.14em; color: var(--orange); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 17px; color: var(--navy); }
.contact-item a:hover { color: var(--orange); }
.map-link { display: inline-block; margin-top: 6px; font-size: 14px !important; font-weight: 600; color: var(--orange) !important; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: var(--white); }
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.cta-band h2 { color: var(--white); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.cta-band p { margin-top: 6px; font-size: 17px; }

/* ---------- Footer / sitemap ---------- */
.site-footer {
  background: var(--navy);
  color: var(--mist);
  font-size: 14px;
  line-height: 1.6;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr;
  gap: 40px;
}
.footer-brand img { height: 84px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 280px; }
.footer-brand .tag {
  margin-top: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--orange);
}
.site-footer h3 {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--peach);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { transition: color 0.2s; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--orange); }
.contact-list li strong { display: block; color: var(--white); font-weight: 600; }
.contact-list li + li { margin-top: 6px; }
.footer-bottom { border-top: 1px solid rgba(220, 228, 242, 0.18); }
.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { gap: 24px; font-size: 13px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; }
  .focus-card { grid-column: 1; grid-row: 2; margin-top: 48px; }
  .site-url { grid-row: 3; margin-top: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .benefits { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --nav-h: 72px; }
  .container { padding: 0 16px; }
  .nav { padding: 0 16px; }
  .nav-logo img { height: 46px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    background: var(--white);
    box-shadow: 0 8px 16px rgba(11, 42, 91, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 16px; border-top: 1px solid var(--mist); }
  .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 8px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .sub-menu a { padding: 8px 32px; font-size: 13px; }
  .has-sub > a::after { display: none; }
  .hero-photos { grid-template-columns: 1fr; }
  .hero-photos img + img { display: none; }
  .hero-inner { padding: 48px 16px 24px; }
  .focus-card { width: 100%; }
  .btn { flex: 1 1 180px; }
  .section { padding: 64px 0; }
  .page-hero .container { padding-top: 48px; padding-bottom: 48px; }
  .grid-2, .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .team-card img { align-self: flex-start; }
  .photo-strip {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: none !important;
    grid-auto-rows: 240px;
    height: auto !important;
  }
  .photo-strip > :first-child:nth-last-child(odd) { grid-column: span 2; grid-row: auto !important; }
  .vision { padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 16px 32px; }
  .footer-bottom-inner { padding: 20px 16px; }
}

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