/* ===== Fundacja Usług Lokalnych — Stylesheet ===== */

:root {
  --primary: #1a6b7a;
  --primary-dark: #134a55;
  --primary-light: #2d8a99;
  --accent: #c8951f;
  --accent-light: #d9aa3d;
  --dark: #1a3a42;
  --darker: #122a30;
  --light: #f7f5f0;
  --lighter: #fdfcf8;
  --text: #2c3e42;
  --text-light: #6a7e84;
  --border: #e4e0d8;
  --white: #ffffff;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(26,58,66,0.08);
  --shadow-md: 0 4px 16px rgba(26,58,66,0.12);
  --shadow-lg: 0 12px 40px rgba(26,58,66,0.16);
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 72px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, serif;
  color: var(--dark);
  line-height: 1.3;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo img {
  height: 50px;
  width: auto;
}
.header-logo .logo-text {
  display: none;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header-nav > li > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.header-nav > li > a:hover,
.header-nav > li > a.active {
  color: var(--primary);
  background: rgba(26,107,122,0.08);
}
.header-nav .caret {
  font-size: 0.7rem;
  transition: transform var(--transition);
}
.header-nav li.dropdown { position: relative; }
.header-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}
.header-nav .dropdown:hover .dropdown-menu,
.header-nav .dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header-nav .dropdown:hover .caret,
.header-nav .dropdown.open .caret {
  transform: rotate(180deg);
}
.header-nav .dropdown-menu a {
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text);
  border-radius: 6px;
  transition: all var(--transition);
}
.header-nav .dropdown-menu a:hover {
  color: var(--primary);
  background: rgba(26,107,122,0.06);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header-cta .btn { padding: 0.6rem 1.3rem; font-size: 0.88rem; }
.header-phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  left: 8px;
  transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--primary); }
.mobile-nav .mobile-sub a { padding-left: 1.5rem; font-size: 0.92rem; color: var(--text-light); }
.mobile-nav .mobile-sub-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 700;
  padding-top: 1rem;
  padding-bottom: 0.3rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  min-height: 528px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,74,85,0.75) 0%, rgba(26,58,66,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 1.5rem;
  margin: 0 auto;
  width: 100%;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  line-height: 1.2;
}
.hero-content h1 .accent-word {
  color: var(--accent-light);
  font-style: italic;
}
.hero-content p {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(200,149,31,0.25);
  border: 1px solid rgba(200,149,31,0.5);
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ===== Page Banner (sub-pages) ===== */
.page-banner {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.page-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 0;
}
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--accent-light); }
.breadcrumb span { opacity: 0.5; }

/* ===== Section: Intro ===== */
.intro-section { background: var(--lighter); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}
.intro-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.intro-text .section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: block;
}
.intro-text h2 { margin-bottom: 1.2rem; }
.intro-text p { color: var(--text); margin-bottom: 1rem; }

/* ===== Section: Services ===== */
.services-section { background: var(--light); }
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}
.section-header .section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: block;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.service-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-card-body h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.service-card-body p { color: var(--text-light); font-size: 0.95rem; flex: 1; margin-bottom: 1rem; }
.service-card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.service-card-link:hover { gap: 0.7rem; color: var(--accent); }

/* ===== Section: Mission ===== */
.mission-section { background: var(--white); }
.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.mission-text h2 { margin-bottom: 1rem; }
.mission-text p { margin-bottom: 1rem; }
.mission-points { margin-top: 1.5rem; }
.mission-points li {
  padding: 0.8rem 0 0.8rem 2.2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.mission-points li:last-child { border-bottom: none; }
.mission-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.mission-points li strong { color: var(--dark); }
.mission-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ===== Section: Who We Serve ===== */
.audience-section { background: var(--light); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border-top: 3px solid var(--accent);
}
.audience-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.audience-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(26,107,122,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}
.audience-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.audience-card p { font-size: 0.92rem; color: var(--text-light); margin: 0; }

/* ===== Section: Stats ===== */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item .stat-number {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-item .stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
}

/* ===== Section: Gallery ===== */
.gallery-section { padding: 0; }

/* ===== Section: CTA Banner ===== */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ===== Contact Section ===== */
.contact-section { background: var(--light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1.5rem; color: var(--text-light); }
.contact-details { margin-top: 1.5rem; }
.contact-details li {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.contact-details li:last-child { border-bottom: none; }
.contact-details .icon {
  width: 40px;
  height: 40px;
  background: rgba(26,107,122,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-details .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); }
.contact-details .value { font-weight: 600; color: var(--dark); font-size: 0.95rem; }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--lighter);
  transition: border var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,122,0.12);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form .btn { width: 100%; justify-content: center; }
#formStatus { margin-top: 1rem; }

/* Map */
.map-section { padding: 0; }
.map-section iframe { display: block; width: 100%; }

/* ===== Projects ===== */
.projects-section { background: var(--white); }
.project-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  background: var(--lighter);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  transition: box-shadow var(--transition);
}
.project-item:hover { box-shadow: var(--shadow-md); }
.project-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.project-body { padding: 1.5rem 1.5rem 1.5rem 0; }
.project-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}
.badge-active { background: rgba(200,149,31,0.15); color: var(--accent); }
.badge-completed { background: rgba(26,107,122,0.12); color: var(--primary); }
.project-body h3 { margin-bottom: 0.5rem; }
.project-body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }

/* ===== Service Detail Pages ===== */
.service-detail { background: var(--white); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.service-detail-text h2 { margin-bottom: 1rem; }
.service-detail-text p { margin-bottom: 1rem; }
.service-detail-text ul.feature-list { margin: 1.5rem 0; }
.service-detail-text ul.feature-list li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.service-detail-text ul.feature-list li:last-child { border-bottom: none; }
.service-detail-text ul.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}
.service-detail-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  position: sticky;
  top: 90px;
}

/* ===== About Page ===== */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; }

.values-section { background: var(--light); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border-left: 4px solid var(--primary);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(26,107,122,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.92rem; color: var(--text-light); margin: 0; }

/* ===== Footer ===== */
.site-footer {
  background: var(--darker);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-about img { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-about p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: 1rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-contact-item {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item .icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,0.5); }
.footer-bottom .vo-link a {
  opacity: 0.5;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-bottom .vo-link a:hover { opacity: 0.8; }

/* ===== Cookie Notice ===== */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-notice.show { transform: translateY(0); }
.cookie-notice p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.cookie-notice p a { color: var(--accent-light); text-decoration: underline; }
.cookie-notice .btn { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .header-cta .header-phone { display: none; }
}

@media (max-width: 968px) {
  .header-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav { display: block; }
  .intro-grid, .mission-grid, .about-grid, .contact-grid, .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-image img { position: static; }
  .intro-image, .about-image, .mission-image { max-width: 500px; margin: 0 auto; }
  .project-item { grid-template-columns: 1fr; }
  .project-item img { height: auto; aspect-ratio: 16/9; }
  .project-body { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .header-logo img { height: 40px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .cookie-notice { flex-direction: column; text-align: center; }
}

/* ===== News / News ===== */
.news-section { background: var(--white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.news-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.news-card-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.news-card-body p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}
.news-read-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  align-self: flex-start;
}
.news-read-more:hover {
  color: var(--accent);
}

/* Full-width article variant for complete news content */
.news-card-full {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
}
.news-card-full .news-card-image {
  width: 38%;
  max-width: 420px;
  flex-shrink: 0;
  aspect-ratio: 3/2;
  max-height: 340px;
}
.news-card-full .news-card-body {
  padding: 2.5rem;
  flex: 1;
}
.news-card-full .news-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.news-card-full .news-card-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.news-card-full .news-card-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card-full {
    flex-direction: column;
  }
  .news-card-full .news-card-image {
    width: 100%;
    max-width: none;
    max-height: 260px;
    aspect-ratio: 16/9;
  }
  .news-card-full .news-card-body {
    padding: 1.5rem;
  }
  .news-card-full .news-card-body h3 {
    font-size: 1.25rem;
  }
}

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