/* ============================================================
   AS FIZIOTERAPIJA — GLOBAL DESIGN SYSTEM
   Brand: Andrej Sulema | asfiziobl.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ────────────────────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
──────────────────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --tirkiz:       #0097B2;
  --tirkiz-light: #00B4D8;
  --tirkiz-dark:  #007A91;
  --teal-dark:    #005F73;
  --teal-deeper:  #004A5A;
  --antracit:     #2C2C2C;
  --antracit-2:   #3A3A3A;
  --grey-mid:     #6B6B6B;
  --white:        #FFFFFF;
  --ice-blue:     #E8F6F9;
  --ice-blue-2:   #D0EEF5;
  --footer-bg:    #1A1A2E;
  --gold:         #C9A84C; /* ONLY on nagrade page */
  --gold-light:   #E8CB7A;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Font Sizes */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  2rem;      /* 32px */
  --text-4xl:  2.5rem;    /* 40px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  4rem;      /* 64px */
  --text-7xl:  4.5rem;    /* 72px */

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 5vw, 4rem);

  /* Effects */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.18);
  --shadow-teal: 0 8px 32px rgba(0, 151, 178, 0.25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 74px;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
}

/* ═══════════════════════════════════════════
   PREMIUM WOW OVERLAYS
   ════════════════════════════════════════════ */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

.custom-cursor {
  width: 20px;
  height: 20px;
  background: var(--tirkiz);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.15s ease-out, opacity 0.3s ease;
  transform: translate(-50%, -50%);
  display: none;
}

@media (min-width: 1025px) { .custom-cursor { display: block; } }

.custom-cursor.active { transform: translate(-50%, -50%) scale(3); opacity: 0.5; }

/* ────────────────────────────────────────────────────────────
   2. RESET & BASE
──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--antracit);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  display: block;
}

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

button, input, select, textarea {
  font-family: var(--font-body);
}

ul, ol { list-style: none; }

/* ────────────────────────────────────────────────────────────
   3. SKIP LINK (ACCESSIBILITY)
──────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -9999px;
  left: var(--sp-4);
  background: var(--tirkiz);
  color: var(--white);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: var(--sp-4); }

/* ────────────────────────────────────────────────────────────
   4. TYPOGRAPHY SCALE
──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--antracit);
  line-height: 1.1;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 6vw, var(--text-7xl));
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, var(--text-5xl));
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, var(--text-3xl));
}

h4 { font-size: var(--text-xl); }

p {
  font-size: var(--text-base);
  color: var(--grey-mid);
  line-height: 1.65;
}

.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tirkiz);
}

/* ────────────────────────────────────────────────────────────
   5. LAYOUT UTILITIES
──────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

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

.section-header {
  margin-bottom: var(--sp-12);
}

.section--bg-ice {
  background: var(--ice-blue);
}

.section--bg-teal {
  background: var(--teal-dark);
}

.section--bg-dark {
  background: var(--footer-bg);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center { text-align: center; }

/* ────────────────────────────────────────────────────────────
   6. BUTTONS
──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.btn:hover .arrow { transform: translateX(4px); }

/* Primary */
.btn--primary {
  background: var(--tirkiz);
  color: var(--white);
  border-color: var(--tirkiz);
}
.btn--primary:hover {
  background: var(--tirkiz-dark);
  border-color: var(--tirkiz-dark);
  box-shadow: var(--shadow-teal);
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--tirkiz);
  border-color: var(--tirkiz);
}
.btn--outline:hover {
  background: var(--tirkiz);
  color: var(--white);
}

/* White (for dark backgrounds) */
.btn--white {
  background: var(--white);
  color: var(--tirkiz);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--ice-blue);
}

/* Ghost white (outline on dark bg) */
.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* Focus visible for all buttons */
.btn:focus-visible {
  outline: 3px solid var(--tirkiz);
  outline-offset: 3px;
}

/* ────────────────────────────────────────────────────────────
   7. CARD
──────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--sp-8);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0, 151, 178, 0.08);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 151, 178, 0.22);
}

/* ────────────────────────────────────────────────────────────
   8. NAVBAR
──────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled .nav-link { color: var(--antracit); }
.navbar.scrolled .nav-logo-img { filter: none; }

.navbar .container {
  height: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--white);
  padding: 8px 18px;
  border-radius: 40px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover,
.nav-link.active {
  transform: translateY(-1px);
}

.navbar:not(.scrolled) .nav-link { color: var(--white); }
.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.navbar.scrolled .nav-link { color: var(--antracit); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  background: rgba(0, 151, 178, 0.08); /* subtle teal background */
  color: var(--tirkiz);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: var(--sp-1) var(--sp-2);
  transition: var(--transition);
}

.navbar.scrolled .lang-toggle {
  background: var(--ice-blue);
  border-color: var(--tirkiz);
}

.lang-btn {
  background: none;
  border: none;
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  color: var(--white);
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-height: 28px;
}

.navbar.scrolled .lang-btn { color: var(--antracit); }
.lang-btn.active, .lang-btn:hover { background: var(--tirkiz); color: var(--white) !important; }

.lang-sep {
  color: rgba(255,255,255,0.4);
  font-size: var(--text-xs);
}

.navbar.scrolled .lang-sep { color: var(--grey-mid); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
}

.ham-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar.scrolled .ham-line { background: var(--antracit); }

.hamburger[aria-expanded="true"] .ham-line { background: var(--white) !important; }

.hamburger[aria-expanded="true"] .ham-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .ham-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] .ham-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 151, 178, 0.95); /* Deep glassy teal */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  transform: none;
  pointer-events: all;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: opacity var(--transition);
}

.mobile-nav-link:hover { opacity: 0.75; }

.mobile-nav-close {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

/* ────────────────────────────────────────────────────────────
   9. SECTION HEADERS
──────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.section-header .label {
  display: block;
  margin-bottom: var(--sp-3);
}

.section-header h2 {
  margin-bottom: var(--sp-4);
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: var(--text-lg);
}

/* ────────────────────────────────────────────────────────────
   10. SERVICE CARD
──────────────────────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tirkiz);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--ice-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--tirkiz);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--sp-3);
  color: var(--antracit);
}

.service-card p {
  font-size: var(--text-base);
  margin-bottom: var(--sp-4);
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--tirkiz);
  text-decoration: none;
  transition: gap var(--transition);
}

.service-card .service-link:hover { gap: var(--sp-3); }

/* ────────────────────────────────────────────────────────────
   11. HERO / PAGE HERO
──────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--tirkiz) 100%);
  padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-16);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.4); }

.page-hero h1 { color: var(--white); margin-bottom: var(--sp-4); }
.page-hero p { color: rgba(255,255,255,0.8); font-size: var(--text-lg); max-width: 600px; }

/* ────────────────────────────────────────────────────────────
   12. STATS ROW
──────────────────────────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: var(--sp-12);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.stat-item__num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--tirkiz);
  line-height: 1;
}

.stat-item__label {
  font-size: var(--text-sm);
  color: var(--grey-mid);
  font-weight: 500;
}

/* ────────────────────────────────────────────────────────────
   13. FOOTER
──────────────────────────────────────────────────────────── */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.75);
  padding-top: var(--sp-20);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--sp-4);
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-6);
}

.footer-col p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-link {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-link:hover { color: var(--tirkiz-light); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}

.footer-contact-item a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--tirkiz-light); }

.footer-contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--tirkiz);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

.social-links {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  color: rgba(255,255,255,0.7);
}

.social-link:hover {
  background: var(--tirkiz);
  transform: translateY(-3px);
  color: var(--white);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.newsletter-input {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color var(--transition);
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-input:focus {
  outline: none;
  border-color: var(--tirkiz);
  background: rgba(255,255,255,0.10);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) 0;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-bottom-links {
  display: flex;
  gap: var(--sp-6);
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--tirkiz-light); }

/* ────────────────────────────────────────────────────────────
   14. WHATSAPP FLOATING BUTTON
──────────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 900;
  opacity: 0;
  transform: scale(0.8) translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow var(--transition);
  pointer-events: none;
}

/* Set WhatsApp to be above Action Bar on mobile globally */
@media (max-width: 768px) {
  .wa-float {
    bottom: 100px;
  }
}

.wa-float.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.wa-float:hover {
  box-shadow: 0 6px 30px rgba(37,211,102,0.6);
  transform: scale(1.08) translateY(-2px);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ────────────────────────────────────────────────────────────
   15. COOKIE BANNER
──────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--antracit);
  color: rgba(255,255,255,0.85);
  padding: var(--sp-4) var(--sp-6);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner p { color: rgba(255,255,255,0.8); margin: 0; }
.cookie-banner a { color: var(--tirkiz-light); text-decoration: underline; }

.cookie-actions { display: flex; gap: var(--sp-3); }

/* ────────────────────────────────────────────────────────────
   16. SCROLL REVEAL ANIMATIONS
──────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes pulse-ring {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 151, 178, 0.5); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 12px rgba(0, 151, 178, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 151, 178, 0); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn .arrow { transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ────────────────────────────────────────────────────────────
   17. FORM ELEMENTS
──────────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-top: var(--sp-5);
  margin-bottom: 0;
}
.form-group:first-child {
  margin-top: 0;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--antracit);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid #E5E7EB;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--antracit);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 44px;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--tirkiz);
  box-shadow: 0 0 0 3px rgba(0, 151, 178, 0.12);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #DC2626;
}

.form-error {
  font-size: var(--text-xs);
  color: #DC2626;
  display: none;
}

.form-error.show { display: block; }

.form-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.form-checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--tirkiz);
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox-label {
  font-size: var(--text-sm);
  color: var(--grey-mid);
  cursor: pointer;
  line-height: 1.5;
}

.form-checkbox-label a { color: var(--tirkiz); text-decoration: underline; }

/* ────────────────────────────────────────────────────────────
   18. ACCORDION (FAQ)
──────────────────────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid rgba(0, 151, 178, 0.12);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--antracit);
  text-align: left;
  gap: var(--sp-4);
  transition: color var(--transition);
}

.accordion-trigger:hover { color: var(--tirkiz); }

.accordion-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 2px solid var(--tirkiz);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.accordion-icon::before {
  content: '+';
  color: var(--tirkiz);
  font-size: 1rem;
  line-height: 1;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  background: var(--tirkiz);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::before {
  color: var(--white);
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.accordion-body.open {
  grid-template-rows: 1fr;
}

.accordion-body-inner {
  overflow: hidden;
  padding-bottom: var(--sp-5);
}

.accordion-body-inner p {
  color: var(--grey-mid);
  line-height: 1.7;
}

/* ────────────────────────────────────────────────────────────
   19. GLASSMORPHISM CARD
──────────────────────────────────────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* ────────────────────────────────────────────────────────────
   20. TRUST BADGE
──────────────────────────────────────────────────────────── */
.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--white);
  backdrop-filter: blur(8px);
}

/* ────────────────────────────────────────────────────────────
   21. RESPONSIVE
──────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: var(--sp-10); }
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { gap: var(--sp-8); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta-desktop { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: var(--sp-16) 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-row { gap: var(--sp-6); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  .newsletter-form { flex-direction: column; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  :root { --container-pad: 1rem; }
  .btn { padding: 0.65rem 1.25rem; font-size: var(--text-sm); }
  .wa-float { bottom: 100px; right: var(--sp-4); }
}

/* ═══════════════════════════════════════════
   MOBILE ACTION BAR (WOW-FIRST)
   ════════════════════════════════════════════ */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  height: 64px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  z-index: 1000;
  padding: 0 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  align-items: center;
  justify-content: space-around;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.mobile-action-bar.hidden {
  transform: translateY(120px);
  opacity: 0;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: var(--antracit);
  font-size: 10px;
  font-weight: 600;
  width: 50px;
  height: 100%;
  transition: transform 0.2s ease;
}

.action-btn:active { transform: scale(0.9); }

.action-btn svg { width: 22px; height: 22px; stroke: var(--tirkiz); }

.action-btn--primary {
  background: var(--tirkiz);
  color: var(--white);
  border-radius: 100px;
  width: auto;
  padding: 0 20px;
  height: 48px;
  flex-direction: row;
  gap: 8px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 151, 178, 0.3);
}

.action-btn--primary svg { stroke: var(--white); }

@media (max-width: 768px) {
  .mobile-action-bar { display: flex; }
}

/* ────────────────────────────────────────────────────────────
   16. FILTER TABS (SHARED)
   ──────────────────────────────────────────────────────────── */
.filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-12);
}

.filter-btn {
  padding: 0.6rem 1.75rem;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--tirkiz);
  color: var(--tirkiz);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-btn:hover {
  background: var(--ice-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.filter-btn.active {
  background: var(--tirkiz);
  color: var(--white);
  box-shadow: var(--shadow-teal);
  border-color: var(--tirkiz);
}

#services-grid {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Scroll Indicators & Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gold-light);
  z-index: 1001;
  transition: width 0.1s ease;
}

.magnetic {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}
