/* ============================================================
   VISUM TANSANIA - style.css
   Paleta: Ocean Blue #1B4F72 | Amber Orange #E67E22
   Czcionka: Raleway (lokalnie WOFF2)
   ============================================================ */

/* --- Czcionka lokalna --- */
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/raleway-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/raleway-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #1B4F72;
  --color-primary-dark: #154360;
  --color-primary-light: #85C1E9;
  --color-accent: #E67E22;
  --color-accent-dark: #CA6F1E;
  --color-text: #212F3C;
  --color-text-light: #566573;
  --color-bg: #FFFFFF;
  --color-bg-light: #F4F6F7;
  --color-bg-section: #EBF5FB;
  --color-menu-bg: #1B4F72;
  --color-menu-text: #FFFFFF;
  --color-footer-bg: #162940;
  --color-footer-text: #E8E8E8;
  --color-footer-link: #85C1E9;
  --font-main: 'Raleway', Arial, sans-serif;
  --transition: 0.25s ease;
  --shadow: 0 2px 12px rgba(27,79,114,0.12);
  --radius: 8px;
  --max-width: 1200px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }

ul, ol { padding-left: 1.5rem; }
ul.list-styled { list-style: none; padding-left: 0; }

strong { font-weight: 700; }

/* --- TYPOGRAPHY --- */
h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.25; color: var(--color-primary); }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 600; line-height: 1.3; color: var(--color-primary); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 500; line-height: 1.4; color: var(--color-primary); }
h4 { font-size: 1.15rem; font-weight: 400; color: var(--color-primary); }
h5 { font-size: 1rem; font-weight: 300; color: var(--color-text); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- CONTAINER & LAYOUT --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

/* --- TOP BAR --- */
.topbar {
  background: var(--color-primary-dark);
  color: #FFFFFF;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topbar-contact { display: flex; gap: 1.5rem; align-items: center; }
.topbar-contact a { color: #FFFFFF; font-weight: 600; }
.topbar-contact a:hover { color: var(--color-accent); }
.topbar-right { font-size: 0.8rem; color: rgba(255,255,255,0.8); }

/* --- HEADER --- */
.site-header {
  background: #FFFFFF;
  padding: 0.75rem 0;
  box-shadow: 0 2px 8px rgba(27,79,114,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 80px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-link img,
.logo-link picture img {
  width: 300px;
  height: 100px;
  max-width: 300px;
  max-height: 100px;
  object-fit: contain;
  display: block;
}

/* --- NAV / MENU --- */
.main-nav {
  background: var(--color-menu-bg);
  min-height: 55px;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 999;
}
.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  width: 100%;
}
.nav-list > li {
  position: relative;
}
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 1rem;
  height: 55px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-list > li > a:hover,
.nav-list > li.active > a {
  background: var(--color-accent);
  color: #1C2833;
}
.nav-list > li > a .arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
}
.nav-list > li:hover > a .arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 55px;
  left: 0;
  background: #FFFFFF;
  min-width: 240px;
  box-shadow: 0 6px 24px rgba(27,79,114,0.18);
  border-top: 3px solid var(--color-accent);
  border-radius: 0 0 var(--radius) var(--radius);
  list-style: none;
  padding: 0.4rem 0;
  z-index: 1001;
}
.nav-dropdown li a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  border-left: 3px solid transparent;
}
.nav-dropdown li a:hover {
  background: var(--color-bg-light);
  color: var(--color-accent);
  border-left-color: var(--color-accent);
}
.nav-list > li:hover .nav-dropdown,
.nav-list > li:focus-within .nav-dropdown { display: block; }

/* Nav-brand – tylko mobile */
.nav-brand { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--color-primary-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,79,114,0.68);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  min-width: min(1000px, 100%);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  color: #FFFFFF;
}
.hero-content h1 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: 1.1rem;
  max-width: 680px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 1.5rem;
}
.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.hero-badge {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #FFFFFF;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero-sub: mniejszy hero dla podstron */
.hero.hero-sub {
  min-height: 380px;
  max-height: 380px;
}
.hero.hero-sub .hero-content h1 {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
}
@media (max-width: 768px) {
  .hero.hero-sub { min-height: 400px; max-height: none; }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-main);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #FFFFFF;
}
.btn-secondary {
  background: var(--color-accent);
  color: #1C2833;
  border-color: var(--color-accent);
}
.btn-secondary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #1C2833;
}
.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.btn-outline:hover {
  background: #FFFFFF;
  color: var(--color-primary);
}

/* --- SECTIONS --- */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-accent {
  background: var(--color-primary);
  color: #FFFFFF;
}
.section-accent h2, .section-accent h3 { color: #FFFFFF; }
.section-light { background: var(--color-bg-light); }
.section-blue { background: var(--color-bg-section); }
.section-white { background: #FFFFFF; }
.section-dark {
  background: var(--color-primary-dark);
  color: #FFFFFF;
}
.section-dark h2, .section-dark h3 { color: #FFFFFF; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: 0.6rem; }
.section-header p { color: var(--color-text-light); max-width: 600px; margin: 0 auto; }
.section-header .underline {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 0.75rem;
  border-radius: 2px;
}

/* --- GRID COLUMNS --- */
.col-1 { display: block; }
.col-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: start; }
.col-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; align-items: start; }
.col-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: start; }
.col-2-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.col-2-alt.reverse .col-img { order: 2; }
.col-2-alt.reverse .col-text { order: 1; }

.col-img img { border-radius: var(--radius); width: 100%; height: 300px; object-fit: cover; }
.col-text h2 { margin-bottom: 1rem; }
.col-text h3 { margin-bottom: 0.75rem; }
.col-text p { margin-bottom: 0.9rem; }

/* --- CARDS / TILES --- */
.card {
  background: #FFFFFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(27,79,114,0.18); }
.card-header {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
}
.card-body { padding: 1.25rem; flex: 1; }
.card-body p { font-size: 0.95rem; }
.card-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}
.card-tile {
  background: #FFFFFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-tile:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(27,79,114,0.18); }
.card-tile h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card-tile p { font-size: 0.9rem; color: var(--color-text-light); }
.tile-icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  color: var(--color-primary);
}

/* Info tiles - Schnellinformation */
.info-tile {
  background: #FFFFFF;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow);
}
.info-tile .value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  line-height: 1.1;
}
.info-tile .label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- TABLE --- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
thead { background: var(--color-primary); color: #FFFFFF; }
thead th { padding: 0.9rem 1rem; text-align: left; font-weight: 700; font-size: 0.9rem; }
tbody tr { border-bottom: 1px solid #E8ECF0; transition: background var(--transition); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--color-bg-light); }
tbody td { padding: 0.8rem 1rem; vertical-align: top; }
tbody td:first-child { font-weight: 600; color: var(--color-primary); }

/* --- ACCORDION --- */
.accordion { width: 100%; }
.accordion-item {
  border: 1px solid #D5DCE3;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.accordion-button {
  width: 100%;
  background: #EAF2FB;
  color: var(--color-primary);
  border: none;
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--transition);
}
.accordion-button:hover { background: #D6EAF8; }
.accordion-button.active { background: var(--color-primary); color: #FFFFFF; }
.accordion-icon {
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.accordion-button.active .accordion-icon { transform: rotate(45deg); }
.accordion-content {
  display: none;
  padding: 1.1rem 1.25rem;
  background: #FFFFFF;
  font-size: 0.95rem;
  color: var(--color-text);
  border-top: 1px solid #D5DCE3;
}
.accordion-content.open { display: block; }

/* --- ALERT BOXES --- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border-left: 4px solid;
  font-size: 0.95rem;
}
.alert strong { display: block; margin-bottom: 0.25rem; }
.alert-info { background: #D6EAF8; border-color: #2980B9; color: #154360; }
.alert-warning { background: #FDEBD0; border-color: #E67E22; color: #7E5109; }
.alert-success { background: #D5F5E3; border-color: #27AE60; color: #145A32; }
.alert-danger { background: #FADBD8; border-color: #E74C3C; color: #78281F; }

/* --- VISUM INFO BOX --- */
.visum-box {
  background: #EAF2FB;
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.visum-box h3 { color: var(--color-primary); margin-bottom: 0.75rem; }

/* --- STEP LIST --- */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.steps li::before {
  content: counter(step);
  min-width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* --- PARALLAX --- */
.parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,79,114,0.72);
}
.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  width: 100%;
  padding: 3rem 1.25rem;
}
.parallax-content h2 { color: #FFFFFF; margin-bottom: 1rem; font-size: 2rem; }
.parallax-content p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 1.5rem; color: rgba(255,255,255,0.9); }

/* --- BREADCRUMBS --- */
.breadcrumbs {
  background: var(--color-bg-light);
  padding: 0.6rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #D5DCE3;
}
.breadcrumbs .container { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem; }
.breadcrumbs a { color: var(--color-primary); font-weight: 500; }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs span { color: var(--color-text-light); }
.breadcrumbs .separator { color: #B2BEC3; margin: 0 0.2rem; }

/* --- FOOTER --- */
.site-footer { margin-top: 0 !important; }
.footer-legal {
  background: var(--color-footer-bg);
  padding: 1.5rem 0;
  padding-bottom: 50px;
}
.footer-legal p {
  color: #FFFFFF;
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.footer-main {
  background: var(--color-footer-bg);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}
.footer-col p,
.footer-col address {
  color: var(--color-footer-text);
  font-size: 0.875rem;
  line-height: 1.7;
  font-style: normal;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a {
  color: var(--color-footer-link);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-bottom {
  background: #0F1E2E;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: var(--color-footer-link); }
.cookie-notice {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

/* --- TEXT UTILITIES --- */
.text-primary { color: var(--color-primary) !important; }
.text-accent { color: var(--color-accent) !important; }
.text-white { color: #FFFFFF !important; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.fw-bold { font-weight: 700; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.gap-1 { gap: 0.5rem; }

/* --- Check list --- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
}

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 3rem 0;
  text-align: center;
}
.cta-banner h2 { color: #FFFFFF; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 1.5rem; }

/* --- INTERACTIVE COST CALC --- */
.calc-box {
  background: #FFFFFF;
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.calc-box h3 { margin-bottom: 1.25rem; color: var(--color-primary); }
.calc-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.9rem; flex-wrap: wrap; }
.calc-row label { font-weight: 600; min-width: 140px; font-size: 0.95rem; }
.calc-row select,
.calc-row input[type=number] {
  padding: 0.5rem 0.75rem;
  border: 1px solid #B2BEC3;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg-light);
  flex: 1;
  min-width: 0;
}
.calc-result {
  background: var(--color-bg-section);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .col-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }

  .logo-link img, .logo-link picture img {
    width: 220px; height: auto; max-height: 80px;
  }

  .nav-toggle { display: flex; }
  .nav-inner { flex-wrap: wrap; justify-content: space-between; position: relative; padding: 0 0.75rem; }
  .nav-brand { color: #FFFFFF; font-weight: 700; padding: 0 0.5rem; font-size: 0.95rem; }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.5rem 0;
    background: var(--color-menu-bg);
  }
  .nav-list.open { display: flex; }
  .nav-list > li > a {
    height: auto;
    padding: 0.75rem 1rem;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    display: none;
    background: rgba(0,0,0,0.15);
    min-width: 100%;
  }
  .nav-list > li.open-sub .nav-dropdown { display: block; }
  .nav-dropdown li a {
    padding: 0.6rem 2rem;
    color: rgba(255,255,255,0.88);
    border-left: none;
    font-size: 0.875rem;
  }
  .nav-dropdown li a:hover { background: rgba(255,255,255,0.08); color: #FFFFFF; }

  .hero { min-height: 500px; max-height: none; }
  .hero-content { min-width: auto; }

  .col-2, .col-3, .col-4, .col-2-alt { grid-template-columns: 1fr; }
  .col-2-alt.reverse .col-img { order: 0; }
  .col-2-alt.reverse .col-text { order: 0; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .parallax { background-attachment: scroll; }

  .calc-row { flex-direction: column; align-items: flex-start; }
  .calc-row label { min-width: auto; }
}

@media (max-width: 480px) {
  .hero { min-height: 500px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
