/* ============================================================
   1. CSS Custom Properties
   ============================================================ */
:root {
  --color-white:        #FFFFFF;
  --color-dark:         #252734;
  --color-green:        #52B788;
  --color-green-dark:   #324535;
  --color-green-mid:    #495E4D;
  --color-cream:        #F5EBDC;
  --color-cream-accent: #F6CFBF;
  --color-black:        #000000;
  --color-card-bg:      #434657;

  --font-heading: 'League Spartan', sans-serif;
  --font-body:    'Roboto', sans-serif;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  96px;

  --container-max: 1560px;
  --nav-height:    85px;
  --transition:    0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-white);
  background-color: var(--color-dark);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================================
   3. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 55px; line-height: 65px; }
h2 { font-size: 45px; line-height: 55px; }
h3 { font-size: 24px; line-height: 32px; }
h4 { font-size: 20px; line-height: 28px; }

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

/* ============================================================
   4. Layout Utilities
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.section-heading {
  margin-bottom: var(--space-md);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-green);
  margin-bottom: var(--space-xs);
}

/* ============================================================
   5. Buttons
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 48px;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.btn svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-left: 8px;
  fill: currentColor;
}

/* ============================================================
   6. Header / Navigation
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-dark);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo img {
  height: 65px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

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

.nav-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-menu > li > a:hover {
  color: var(--color-green);
}

/* Submenu */
.has-submenu > a::after {
  content: ' ▾';
  font-size: 12px;
  opacity: 0.7;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--color-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
  padding-top: 16px; /* bridges hover gap — submenu starts at 100%, padding provides visual offset */
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 100;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  color: var(--color-white);
  transition: background-color var(--transition), color var(--transition);
}

.submenu a:hover {
  background-color: rgba(82,183,136,0.15);
  color: var(--color-green);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}

/* Mobile nav open state */
body.nav-open .nav-mobile-overlay { display: block; }

body.nav-open .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   7. Hero Section
   ============================================================ */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  margin-top: var(--nav-height);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 var(--space-md);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 55px;
  font-weight: 700;
  line-height: 65px;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  text-transform: capitalize;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

/* ============================================================
   8. Partner Logos Carousel
   ============================================================ */
.partners-section {
  background-color: var(--color-dark);
  padding: var(--space-md) 0;
  overflow: hidden;
}

.partners-track-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.partners-track-wrapper::before,
.partners-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}

.partners-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-dark), transparent);
}

.partners-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-dark), transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partners-track img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.85;
  filter: brightness(1.1);
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.partners-track img:hover {
  opacity: 1;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   9. Value Proposition Section
   ============================================================ */
.value-section {
  background-color: var(--color-dark);
  padding: var(--space-xl) 0;
}

.value-cta-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-lg);
  gap: 16px;
}

.value-cta-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-cta-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--color-white);
}

.value-cta-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

.value-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
}

.value-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  border-radius: 16px;
}

.value-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.value-text p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.value-text .btn {
  align-self: center;
  margin-top: var(--space-sm);
}

/* ============================================================
   10. Features Grid
   ============================================================ */
.features-section {
  background-color: var(--color-dark);
  padding-bottom: var(--space-xl);
}

.features-section-title {
  text-align: center;
  padding: var(--space-lg) 0 var(--space-md);
  font-size: 36px;
  color: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.feature-card {
  background-color: var(--color-card-bg);
  border-radius: 20px;
  padding: var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-white);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
}

.feature-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   11. Product Section
   ============================================================ */
.product-section {
  background-color: var(--color-green-dark);
  padding: var(--space-xl) 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

.product-col-left {
  display: flex;
  flex-direction: column;
}

.product-col-left .section-label {
  color: var(--color-cream-accent);
}

.product-col-left h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.product-col-left p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-col-left p strong {
  color: var(--color-white);
}

.product-col-left .btn {
  align-self: flex-start;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-md);
}

.product-col-left .product-img-bottom {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}

.product-col-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-col-right img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   12. Testimonials Section
   ============================================================ */
.testimonials-section {
  background-color: var(--color-dark);
  padding: var(--space-xl) 0;
}

.testimonials-header-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-lg);
  gap: 16px;
}

.testimonials-header-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-header-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--color-white);
}

.testimonials-header-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}

.testimonial-item {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: var(--space-md);
}

.testimonial-quote-mark {
  margin-bottom: 20px;
  line-height: 1;
}

.testimonial-quote-mark svg {
  width: 35px;
  height: 26px;
  fill: var(--color-green);
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-sm);
  font-style: normal;
}

.testimonial-cite {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-green);
  font-style: normal;
}

/* ============================================================
   13. Contact CTA Section
   ============================================================ */
.contact-cta-section {
  background-color: var(--color-dark);
  padding: var(--space-xl) 0;
  text-align: center;
}

.contact-cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.contact-cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

/* ============================================================
   14. Footer
   ============================================================ */
.site-footer {
  background-color: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--space-sm);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  transition: color var(--transition);
}

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

.footer-contact svg {
  width: 18px;
  height: 18px;
  fill: var(--color-green);
  flex-shrink: 0;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--color-green); }

.footer-logos {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.footer-logos img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-sm);
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

/* ============================================================
   15. Sub-page Hero
   ============================================================ */
.page-hero {
  position: relative;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  margin-top: var(--nav-height);
  padding: var(--space-lg) 0;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(37, 39, 52, 0.82);
}

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

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 55px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   Pricing Page
   ============================================================ */
.pricing-section {
  background-color: var(--color-dark);
}

.pricing-group {
  margin-bottom: var(--space-xl);
}

.pricing-group-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-green);
  display: inline-block;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--space-md);
}

.pricing-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card-image {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: var(--space-sm);
}

.pricing-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pricing-card-icon {
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
}

.pricing-card-icon svg {
  width: 60px;
  height: 60px;
  fill: var(--color-green);
}

.pricing-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pricing-card-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pricing-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.pricing-card-price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-green);
}

.pricing-card-price-unit {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.pricing-card-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.pricing-card-badge--free {
  background-color: var(--color-green);
  color: var(--color-dark);
}

.pricing-card-badge--custom {
  background-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}

.pricing-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  flex: 1;
}

.pricing-card-desc strong {
  color: var(--color-white);
}

.pricing-card-desc ul {
  padding-left: 18px;
  margin-top: 8px;
}

.pricing-card-desc li {
  margin-bottom: 4px;
}

.pricing-card-note {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: var(--space-sm);
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-sm);
}

/* Trust stats */
.trust-stats-section {
  background-color: var(--color-green-dark);
  padding: var(--space-lg) 0;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.trust-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 10px;
}

.trust-stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   Rólunk Page
   ============================================================ */

/* Story prose */
.story-text {
  max-width: 860px;
  margin: 0 auto;
}

.story-text p {
  font-size: 18px;
  line-height: 1.85;
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--space-md);
}

.story-text p strong { color: var(--color-white); }

/* 3-col values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.value-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: var(--space-md);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 860px;
  margin: 0 auto;
}

.team-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-card-body { padding: var(--space-md); }

.team-card-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.team-card-role {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-green);
  margin-bottom: var(--space-sm);
}

.team-card-quote {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  font-style: italic;
}

/* Awards */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.award-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.award-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.award-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}

.award-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}

.award-desc li { margin-bottom: 4px; }

/* Media / video thumbnails */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.media-subheading {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  margin-top: var(--space-lg);
}

.media-subheading:first-of-type { margin-top: 0; }

.video-thumb {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #000;
  text-decoration: none;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-thumb:hover img { transform: scale(1.04); }

.video-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.42);
  transition: background var(--transition);
}

.video-thumb:hover .video-thumb-overlay { background: rgba(0,0,0,0.22); }

.video-play-btn {
  width: 54px;
  height: 54px;
  background-color: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.video-play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--color-dark);
  margin-left: 3px;
}

.video-thumb-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  padding: 0 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

/* Press logos */
.press-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.press-logo-link {
  display: block;
  opacity: 0.75;
  transition: opacity var(--transition);
}

.press-logo-link:hover { opacity: 1; }

.press-logo-link img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Problem / narrative section */
.narrative-section {
  background-color: var(--color-green-dark);
}

.narrative-section p {
  font-size: 18px;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-md);
  max-width: 860px;
}

.narrative-section p.narrative-lead {
  font-size: 20px;
  color: var(--color-white);
  font-weight: 500;
}

/* ============================================================
   Kapcsolat Page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.contact-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-green);
}

.contact-card-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-green);
  margin: 0;
}

.contact-card-value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  line-height: 1.3;
}

.contact-card-value:hover { color: var(--color-green); }

.contact-card-note {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin: 0;
}

.contact-mailto-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

/* Company details */
.company-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}

.company-detail-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-detail-row dt {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.45);
}

.company-detail-row dd {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* Responsive overrides handled in media queries below */

/* ============================================================
   16. Scroll Reveal Animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   16. Media Queries — Tablet (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --space-xl: 64px;
    --space-lg: 48px;
  }

  h1 { font-size: 44px; line-height: 54px; }
  h2 { font-size: 36px; line-height: 46px; }

  body { font-size: 15px; }

  .hero-title { font-size: 44px; line-height: 54px; }
  .hero-subtitle { font-size: 24px; }

  /* Navigation — hide desktop, show hamburger */
  .nav-hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background-color: var(--color-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 20px) 24px 24px;
    gap: 0;
    overflow-y: auto;
    z-index: 999;
    box-shadow: -4px 0 24px rgba(0,0,0,0.5);
  }

  body.nav-open .nav-menu { display: flex; }

  .nav-menu > li { width: 100%; }

  .nav-menu > li > a {
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
  }

  .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background-color: rgba(0,0,0,0.2);
    padding: 4px 0;
  }

  .submenu.open { display: block; }

  .submenu a { padding: 10px 20px; font-size: 15px; }

  .has-submenu:hover .submenu { display: none; }
  .has-submenu.open .submenu { display: block; }

  /* Value section */
  .value-grid { grid-template-columns: 1fr; }

  /* Features */
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Product */
  .product-grid { grid-template-columns: 1fr; }
  .product-col-left .btn { align-self: center; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-md); }

  .footer-logos { flex-wrap: wrap; }

  /* Pricing page */
  .page-hero h1 { font-size: 44px; }
  .trust-stats-grid { grid-template-columns: repeat(3, 1fr); }

  /* Rólunk page */
  .values-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr 1fr; }
  .media-grid  { grid-template-columns: 1fr 1fr; }
  .team-grid   { max-width: 100%; }
}

/* ============================================================
   16. Media Queries — Mobile (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --space-xl: 48px;
    --space-lg: 32px;
    --space-md: 24px;
  }

  h1 { font-size: 36px; line-height: 44px; }
  h2 { font-size: 28px; line-height: 36px; }

  .hero-title { font-size: 36px; line-height: 44px; }
  .hero-subtitle { font-size: 20px; }

  .btn { padding: 14px 32px; font-size: 16px; }

  .nav-logo img { height: 46px; }

  /* Partners */
  .partners-track { gap: 40px; }
  .partners-track img { height: 36px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Product — single column: text + all images stack */
  .product-col-left .btn { align-self: flex-start; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }

  /* Value CTA banner */
  .value-cta-title { font-size: 22px; }

  /* Pricing page */
  .page-hero h1 { font-size: 36px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trust-stats-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .trust-stat-number { font-size: 36px; }

  /* Rólunk page */
  .awards-grid { grid-template-columns: 1fr; }
  .media-grid  { grid-template-columns: 1fr; }
  .team-grid   { grid-template-columns: 1fr; }

  /* Products pages */
  .category-grid       { grid-template-columns: 1fr; }
  .product-cards-grid  { grid-template-columns: 1fr; }
}

/* ============================================================
   17. Products pages — category overview & detail cards
   ============================================================ */

/* --- termekeink.html category cards --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.category-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.category-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.category-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.category-card-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
}

.category-card-desc {
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  flex-grow: 1;
}

/* --- vezerlo.html / szenzor.html product cards --- */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.product-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.product-card-img-wrap {
  background-color: var(--color-dark);
  padding: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.product-card-img-wrap img {
  max-height: 220px;
  width: 100%;
  object-fit: contain;
  display: block;
}

.product-card-body {
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
}

.product-card-price {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-green);
}

.product-card-desc {
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
}

.product-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card-features li {
  color: rgba(255,255,255,0.75);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.product-card-features li::before {
  content: '✓';
  color: var(--color-green);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.product-card-note {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-sm);
  margin-top: auto;
}

.product-card-actions {
  padding-top: 4px;
}

/* --- araink.html: clickable product images & names --- */
.pricing-card-name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
.pricing-card-name a:hover { color: var(--color-green); }

.pricing-card-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.pricing-card-image a:hover img { opacity: 0.85; }
.pricing-card-image img { transition: opacity var(--transition); }

/* ============================================================
   18. Megoldásunk page
   ============================================================ */
.benefit-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.benefit-stat {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: var(--space-md);
  text-align: center;
}
.benefit-stat-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-green);
  line-height: 1.1;
}
.benefit-stat-label {
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.4;
}
.solution-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.solution-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.solution-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
}
.solution-card-desc {
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  flex-grow: 1;
}

/* ============================================================
   19. GYIK / FAQ page
   ============================================================ */
.faq-group { margin-bottom: var(--space-md); }

.faq-group-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.faq-item:first-of-type { border-top: 1px solid rgba(255,255,255,0.1); }

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-green);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--color-green); }
.faq-item[open] > summary { color: var(--color-green); }

.faq-answer {
  padding-bottom: 20px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}
.faq-answer ul {
  margin: 10px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ============================================================
   20. Esettanulmány page
   ============================================================ */
.case-study-intro {
  max-width: 780px;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  font-size: 17px;
}
.cost-table {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: var(--space-md);
}
.cost-table-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  padding: var(--space-sm) var(--space-sm) 0;
  margin: 0;
}
.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  gap: var(--space-sm);
}
.cost-row:last-child { border-bottom: none; }
.cost-label { color: rgba(255,255,255,0.75); line-height: 1.4; }
.cost-amount {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
}
.cost-row.total { background-color: rgba(82,183,136,0.12); }
.cost-row.total .cost-label { color: var(--color-white); font-weight: 600; }
.cost-row.total .cost-amount { color: var(--color-green); font-size: 18px; }

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}
.case-study-prose {
  max-width: 780px;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
}
.case-study-prose p { margin-bottom: 16px; }
.case-study-prose strong { color: var(--color-white); }

@media (max-width: 1024px) {
  .benefit-stats   { grid-template-columns: repeat(3, 1fr); }
  .solution-cards  { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .benefit-stats   { grid-template-columns: 1fr; }
  .cost-row { flex-direction: column; gap: 2px; }
  .cost-amount { font-size: 15px; }
  .case-study-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   21. Legal pages (aszf, adatvedelmi)
   ============================================================ */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-size: 16px;
}
.legal-content h1 {
  font-size: 28px;
  margin-bottom: 4px;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-top: 36px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-green);
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p {
  margin-bottom: 14px;
}
.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 14px;
}
.legal-content li {
  margin-bottom: 6px;
}
.legal-content strong {
  color: var(--color-white);
  font-weight: 600;
}
.legal-content a {
  color: var(--color-green);
  text-decoration: underline;
  word-break: break-all;
}
.legal-content a:hover {
  color: var(--color-white);
}
.legal-meta {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.legal-data-row {
  background-color: rgba(255,255,255,0.05);
  border-left: 3px solid var(--color-green);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin-bottom: 14px;
}
.legal-data-row p {
  margin-bottom: 6px;
}
.legal-data-row p:last-child {
  margin-bottom: 0;
}
