/* ============================================================
   IMP — Innovativer Maschinenbau Pfeifer
   Design: Industrial Precision
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand */
  --clr-primary:       #009ee1;
  --clr-primary-dark:  #002851;
  --clr-primary-light: #e6f5fc;
  --clr-primary-hover: #0082ba;

  /* Accent */
  --clr-accent:        #c48222;
  --clr-accent-hover:  #9e6818;

  /* Neutrals */
  --clr-white:         #ffffff;
  --clr-bg:            #f9fafb;
  --clr-bg-alt:        #f0f2f4;
  --clr-text:          #1a1c1e;
  --clr-text-body:     #4a4d52;
  --clr-text-muted:    #7a7d82;
  --clr-border:        #e2e4e7;
  --clr-footer:        #0d1620;
  --clr-footer-text:   #a0a8b4;

  /* Typography */
  --ff-heading:  'Sora', sans-serif;
  --ff-body:     'Work Sans', sans-serif;

  /* Spacing */
  --section-pad: 6rem;
  --content-max: 1200px;
  --nav-height:  80px;

  /* Shadows */
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.08);

  /* Transitions */
  --ease:  cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--clr-text-body);
  background: var(--clr-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  color: var(--clr-text);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  color: var(--clr-primary);
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--clr-primary-hover);
}

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

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  font-weight: 600;
  color: var(--clr-text);
}

/* --- Utility --- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

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

.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--clr-bg);
}

.section--tight {
  padding: 3rem 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav a {
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav li.active > a {
  color: var(--clr-primary);
  background: var(--clr-primary-light);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  margin-top: -2px;
  transition: transform 0.2s var(--ease);
}

.has-dropdown:hover > a::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  list-style: none;
  margin: 0;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a,
.dropdown li a {
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: none;
  padding: 0.55rem 1rem;
  white-space: nowrap;
  display: block;
}

.dropdown li {
  margin: 0;
}

/* Language + extra links */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1.5rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.775rem;
  font-weight: 500;
}

.lang-switch a {
  color: var(--clr-text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--clr-primary);
  background: var(--clr-primary-light);
}

.lang-switch .sep {
  color: var(--clr-border);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 85vh;
  min-height: 580px;
  overflow: hidden;
  background: var(--clr-footer);
  margin-top: var(--nav-height);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease-smooth);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

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

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,25,50,0.65) 0%,
    rgba(0,25,50,0.3) 50%,
    rgba(0,25,50,0.15) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-content .container {
  pointer-events: auto;
}

.hero-text {
  max-width: 620px;
  color: var(--clr-white);
}

.hero-label {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-primary);
  background: rgba(255,255,255,0.12);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--clr-white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-text p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-heading);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.btn-primary:hover {
  background: var(--clr-primary-hover);
  color: var(--clr-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,158,225,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--clr-white);
}

.btn-accent {
  background: var(--clr-accent);
  color: var(--clr-white);
}

.btn-accent:hover {
  background: var(--clr-accent-hover);
  color: var(--clr-white);
}

.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 20;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hero-dot.active {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  position: relative;
  height: 45vh;
  min-height: 320px;
  overflow: hidden;
  background: var(--clr-footer);
  margin-top: var(--nav-height);
  display: flex;
  align-items: center;
}

.page-header img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,25,50,0.7) 0%, rgba(0,25,50,0.3) 100%);
}

.page-header-content {
  position: relative;
  z-index: 2;
  color: var(--clr-white);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.page-header-content h1 {
  color: var(--clr-white);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-header-content .breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}

.page-header-content .breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.page-header-content .breadcrumb a:hover {
  color: var(--clr-primary);
}

.page-header-content .breadcrumb span {
  margin: 0 0.4rem;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-label {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 600px;
}

/* ============================================================
   INTRO TEXT BLOCK
   ============================================================ */
.intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro p {
  font-size: 1.1rem;
  color: var(--clr-text-body);
}

.intro p strong {
  color: var(--clr-text);
}

/* ============================================================
   CARD GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.card-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--clr-bg-alt);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

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

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.card-link {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-primary);
  margin-top: 1rem;
  transition: color 0.2s var(--ease);
}

.card-link::after {
  content: ' →';
  transition: margin 0.2s var(--ease);
}

.card-link:hover::after {
  margin-left: 4px;
}

/* ============================================================
   SERVICE GRID (4 row on desktop, stacked mobile)
   ============================================================ */
/* uses .card-grid--4 and .card */

/* ============================================================
   TWO-COLUMN CONTENT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--clr-primary);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  background: var(--clr-bg-alt);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-smooth);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,37,81,0.25);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  cursor: pointer;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

/* ============================================================
   CONTENT PAGE LAYOUT
   ============================================================ */
.content-body {
  padding: var(--section-pad) 0;
}

.content-body .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.content-body h2 {
  margin: 2.5rem 0 1rem;
}

.content-body h2:first-child {
  margin-top: 0;
}

.content-body h3 {
  margin: 2rem 0 0.75rem;
}

.content-body ul {
  margin-bottom: 1.5rem;
}

.content-body p + ul {
  margin-top: -0.5rem;
}

/* ============================================================
   VIDEO EMBED
   ============================================================ */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin: 2rem 0;
}

.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.contact-detail .label {
  font-weight: 600;
  color: var(--clr-text);
  min-width: 80px;
}

/* ============================================================
   SITEMAP
   ============================================================ */
.sitemap-section {
  margin-bottom: 2rem;
}

.sitemap-section h3 {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--clr-primary-light);
}

.sitemap-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.3rem 1.5rem;
}

.sitemap-links a {
  font-size: 0.9rem;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 800px;
}

.legal-content h3 {
  margin-top: 2rem;
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--clr-primary);
  margin: 0 auto 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-footer);
  color: var(--clr-footer-text);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand h3 {
  color: var(--clr-white);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.footer-brand a {
  color: var(--clr-footer-text);
}

.footer-brand a:hover {
  color: var(--clr-primary);
}

.footer-links h4 {
  font-family: var(--ff-heading);
  color: var(--clr-white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--clr-footer-text);
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--clr-primary);
}

.footer-cert {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

.footer-cert img {
  height: 70px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}

.footer-cert img:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-links a {
  color: var(--clr-footer-text);
}

.scroll-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--clr-white);
  font-size: 1.1rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer;
}

.scroll-top:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 4rem;
  }

  .hero {
    height: 65vh;
    min-height: 480px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
    --section-pad: 3rem;
  }

  .logo img {
    height: 40px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
  }

  .has-dropdown > a::after {
    display: none;
  }

  .nav-right {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    height: 55vh;
    min-height: 400px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .card-grid,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }

  .page-header {
    height: 30vh;
    min-height: 240px;
  }

  .page-header-content h1 {
    font-size: 1.6rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;
    min-height: 340px;
  }

  .hero-dots {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1.25rem;
  }

  .header-inner {
    padding: 0 1.25rem;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .hero-dots,
  .site-footer,
  .scroll-top,
  .nav-toggle,
  .btn {
    display: none !important;
  }

  .hero,
  .page-header {
    height: auto;
    min-height: auto;
    margin-top: 0;
  }

  .hero::after,
  .page-header::after {
    background: none;
  }

  body {
    color: #000;
    font-size: 12pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
