/* ===== FONTS ===== */
@font-face {
  font-family: 'Satoshi';
  src: url('Assets/fonts/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('Assets/fonts/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('Assets/fonts/Geist-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Geist', sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #00474A;
  padding: 10px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
}
.top-bar-item .label {
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  opacity: 0.85;
}
.top-bar-item .value {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
}
.top-bar-item .value a {
  color: #fff;
}
.top-bar-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo img {
  height: 40px;
  width: auto;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.navbar-links a {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #000;
  transition: color 0.2s;
}
.navbar-links a:hover {
  color: #00474A;
}

/* ===== CTA BUTTON ===== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #00474A;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-cta:hover {
  background: #003436;
  transform: translateY(-1px);
}
.btn-cta .arrow-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.btn-cta-outline {
  background: transparent;
  color: #00474A;
  border: 2px solid #00474A;
}
.btn-cta-outline:hover {
  background: #00474A;
  color: #fff;
}
.btn-cta-outline .arrow-icon path {
  stroke: #00474A;
  transition: stroke 0.2s;
}
.btn-cta-outline:hover .arrow-icon path {
  stroke: #fff;
}
.btn-cta .phone-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* ===== HERO ===== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: #fff;
  overflow: hidden;
  padding: 40px 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding-bottom: 80px;
}
.hero-content {
}
.hero-content h1 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.15;
  color: #000;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero-content p {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  align-self: anchor-center;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.hero-stamp {
  position: absolute;
  bottom: -180px;
  left: -180px;
  width: 240px;
  max-width: 240px;
  height: 240px;
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 2;
  border-radius: 0;
}

/* ===== SECTION SHELL ===== */
.section {
  padding: 100px 0;
}
.section-alt {
  background: #F6F6F8;
}
.section-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  color: #000;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.section-subtitle {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  color: #555;
  max-width: 600px;
  margin-bottom: 60px;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ===== SERVICES GRID (Miben segitunk) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.service-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e5e5e5;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.service-card:hover .service-card-img img {
  filter: brightness(0.75);
  transform: scale(1.03);
}
.service-card h3 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 18px;
  padding: 16px 20px;
  text-align: center;
  color: #000;
  transition: background 0.3s, color 0.3s;
}
/* Detail panel - hidden inside card, rendered as popup via JS */
.service-card-detail {
  display: none;
}
.service-card-img {
  position: relative;
}

/* Popup */
.service-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 999;
  animation: popupFadeIn 0.2s ease;
}
.service-popup {
  position: fixed;
  z-index: 1000;
  background: #fff;
  color: #000;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  padding: 48px 56px;
  max-width: 820px;
  width: calc(100% - 40px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: popupSlideIn 0.25s ease;
}
@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popupSlideIn {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.service-popup h4 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #000;
  margin-bottom: 20px;
  padding-right: 40px;
}
.service-popup p {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 0;
}
.service-popup-section {
  margin-bottom: 28px;
}
.service-popup-section:last-of-type {
  margin-bottom: 0;
}
.service-popup-label {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #00474A;
  margin-bottom: 6px;
}
.service-popup-section p {
  margin-bottom: 0;
}
.service-popup-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 4px;
}
.service-popup-stat {
  background: #F6F6F8;
  border-radius: 10px;
  padding: 16px 18px;
}
.service-popup-stat .num {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #00474A;
  display: block;
  margin-bottom: 4px;
}
.service-popup-stat .label {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}
.service-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f0f0f0;
  border: none;
  color: #666;
  font-size: 32px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.service-popup-close:hover {
  background: #f0f0f0;
  color: #333;
}

/* ===== REFERENCES GRID ===== */
.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reference-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.reference-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.reference-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.reference-card-body {
  padding: 20px;
}
.reference-card-body h3 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.reference-card-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.testimonial-card .stars {
  color: #EFB16B;
  font-size: 18px;
  margin-bottom: 16px;
}
.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card .author {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.testimonial-card .role {
  font-size: 13px;
  color: #888;
}

/* ===== WHY FALFARKAS (USPs) ===== */
.usps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.usp-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.usp-icon {
  width: 48px;
  height: 48px;
  background: #00474A;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 20px;
}
.usp-content h3 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}
.usp-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* ===== VIDEO BACKGROUND SECTION ===== */
.video-bg-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.video-bg-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 70vh;
  overflow: hidden;
  background: #000;
}
.video-bg-player {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.video-bg-player.is-playing {
  opacity: 1;
}
.video-bg-player {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: cover;
}
.video-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.85;
  text-decoration: none;
  display: inline-flex;
}
.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  opacity: 1;
}
.video-play-btn svg circle {
  transition: fill 0.25s ease;
}
.video-play-btn:hover svg circle {
  fill: rgba(0, 71, 74, 0.6);
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  width: 90vw;
  max-width: 1100px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  animation: popupFadeIn 0.3s ease;
}
.video-modal-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.video-modal-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 32px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.video-modal-close:hover {
  background: rgba(0,0,0,0.8);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e0e0e0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  transition: transform 0.3s;
  color: #00474A;
}
.faq-item.active .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* ===== QUOTE FORM ===== */
.quote-form {
  max-width: 640px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: #000;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00474A;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== FOOTER ===== */
.footer {
  background: #00474A;
  color: #fff;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}
.footer p, .footer a {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}
.footer a:hover {
  color: #fff;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  padding: 10px 20px;
  border-radius: 50px;
  color: #fff;
  font-size: 13px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'Geist', sans-serif;
}
.back-to-top:hover {
  background: rgba(255,255,255,0.2);
}

/* ===== HAMBURGER BUTTON ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop CTA / Mobile CTA visibility */
.mobile-cta { display: none !important; }
.desktop-cta { display: inline-flex; }

/* ===== PAGE TRANSITIONS ===== */
body {
  animation: pageFadeIn 0.4s ease;
}
body.page-exit {
  animation: pageFadeOut 0.3s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pageFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}

/* ===== REFERENCE PAGE ===== */
.ref-topbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.ref-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #00474A;
  background: none;
  border: 1px solid #00474A;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-back:hover {
  background: #00474A;
  color: #fff;
}
.btn-back svg {
  width: 18px;
  height: 18px;
}
.btn-back:hover svg path {
  stroke: #fff;
}

.ref-hero {
  padding: 40px 0 60px;
}
.ref-hero h1 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  color: #000;
  margin-bottom: 12px;
}
.ref-hero-subtitle {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 40px;
}

.ref-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 0;
}
.ref-highlight-card {
  background: #F6F6F8;
  border-radius: 12px;
  padding: 20px 22px;
}
.ref-highlight-card .num {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #00474A;
  display: block;
  margin-bottom: 4px;
}
.ref-highlight-card .label {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.45;
}

.ref-section {
  padding: 80px 0;
}
.ref-section:nth-child(even) {
  background: #F6F6F8;
}
.ref-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ref-section:nth-child(even) .ref-section-inner {
  direction: rtl;
}
.ref-section:nth-child(even) .ref-section-inner > * {
  direction: ltr;
}
.ref-section-label {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #00474A;
  margin-bottom: 10px;
}
.ref-section-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #000;
  margin-bottom: 16px;
  line-height: 1.25;
}
.ref-section-text {
  font-family: 'Geist', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}
.ref-section-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e0e0e0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 15px;
  font-family: 'Geist', sans-serif;
}
.ref-section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-cta-section {
  padding: 80px 0;
  text-align: center;
}
.ref-cta-section h2 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #000;
  margin-bottom: 12px;
}
.ref-cta-section p {
  font-family: 'Geist', sans-serif;
  font-size: 17px;
  color: #555;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.ref-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.ref-cta-phone {
  font-family: 'Geist', sans-serif;
  font-size: 17px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ref-cta-phone span {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
}
.ref-cta-phone a {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  color: #00474A;
}
.ref-cta-phone a:hover {
  text-decoration: underline;
}
.btn-copy {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #999;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
  position: relative;
}
.btn-copy:hover {
  color: #00474A;
}
.btn-copy.copied {
  color: #00474A;
}
.btn-copy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #00474A;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-family: 'Geist', sans-serif;
}
.btn-copy-tooltip-hover {
  white-space: normal;
  width: 80px;
  text-align: center;
  line-height: 1.3;
}
/* Hover tooltip */
.btn-copy:hover .btn-copy-tooltip-hover {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* After copy: hide hover tooltip, show copied tooltip */
.btn-copy.copied .btn-copy-tooltip-hover {
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
}
.btn-copy.copied .btn-copy-tooltip-copied {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== RESPONSIVE: TABLET (max 1024px) ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content { padding-bottom: 0; }
  .hero-content h1 { font-size: 48px; }
  .hero { padding: 60px 0 0; }
  .hero-image { max-height: 400px; }
  .hero-image img { max-height: 400px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .references-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .usps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== RESPONSIVE: MOBILE (max 768px) ===== */
@media (max-width: 768px) {
  /* Hamburger visible */
  .hamburger { display: flex; }
  .desktop-cta { display: none !important; }

  /* Mobile nav overlay */
  .navbar-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .navbar-links.open {
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-links a {
    font-size: 22px;
    font-weight: 600;
  }
  .navbar-links .mobile-cta {
    display: inline-flex !important;
    font-size: 16px;
    margin-top: 8px;
  }

  /* Navbar adjustments */
  .navbar { padding: 14px 0; }
  .navbar-logo img { height: 32px; }

  /* Top bar */
  .top-bar .container {
    flex-direction: column;
    gap: 6px;
  }
  .top-bar { padding: 8px 0; }
  .top-bar-item .label { display: none; }
  .top-bar-item { font-size: 13px; }

  /* Container */
  .container { padding: 0 20px; }

  /* Hero */
  .hero { padding: 40px 0 0; }
  .hero .container { gap: 32px; }
  .hero-content h1 {
    font-size: 48px;
    line-height: 1.15;
  }
  .hero-content p {
    font-size: 15px;
    margin-bottom: 28px;
  }
  .hero-image { border-radius: 12px; max-height: 300px; }
  .hero-image img { max-height: 300px; }
  .hero-stamp {
    width: 160px;
    height: 160px;
    bottom: -24px;
    left: -20px;
  }

  /* Sections */
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 15px; margin-bottom: 40px; }
  .section-header { margin-bottom: 40px; }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .service-popup {
    padding: 32px 24px;
    max-width: calc(100% - 32px);
  }
  .service-popup h4 {
    font-size: 22px;
  }
  .service-popup p {
    font-size: 16px;
    line-height: 1.75;
  }

  /* References */
  .references-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reference-card img { height: 200px; }

  /* Reference page */
  .ref-hero h1 { font-size: 30px; }
  .ref-hero-subtitle { font-size: 16px; }
  .ref-section-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ref-section:nth-child(even) .ref-section-inner {
    direction: ltr;
  }
  .ref-section { padding: 48px 0; }
  .ref-section-title { font-size: 24px; }
  .ref-section-text { font-size: 16px; }
  .ref-highlight-card .num { font-size: 22px; }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testimonial-card { padding: 24px; }

  /* USPs */
  .usps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* FAQ */
  .faq-question {
    font-size: 16px;
    padding: 20px 0;
    gap: 12px;
  }
  .faq-answer-inner { font-size: 14px; }

  /* Form */
  .quote-form { max-width: 100%; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

}

/* ===== RESPONSIVE: SMALL PHONE (max 400px) ===== */
@media (max-width: 400px) {
  .hero-content h1 { font-size: 48px; }
  .section-title { font-size: 24px; }
  .btn-cta { padding: 12px 22px; font-size: 14px; }
  .services-grid { gap: 8px; }
  .service-card-label { font-size: 12px; padding: 12px; }
}

/* ===== TOUCH IMPROVEMENTS ===== */
@media (hover: none) and (pointer: coarse) {
  .btn-cta { padding: 16px 28px; }
  .faq-question { min-height: 56px; }
  .reference-card:hover { transform: none; }
  a, button { -webkit-tap-highlight-color: rgba(0, 71, 74, 0.1); }
}
