/* ==========================================================================
   Local Fonts (Poppins, DSGVO-konform selbst gehostet)
   ========================================================================== */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   CSS Variables & Design Tokens - Healis Aesthetic
   ========================================================================== */
:root {
  /* Colors */
  --clr-primary: #0068ff;
  /* The vibrant Healis blue */
  --clr-bg: #ffffff;
  --clr-surface: #f1f4f9;
  /* Light grey/blue for cards */
  --clr-surface-dark: #e4e9f2;

  --clr-text-main: #111111;
  /* Almost black for headings */
  --clr-text-muted: #555555;
  /* Grey for paragraphs */

  /* Typography */
  --ff-main: "Poppins", sans-serif;


  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 8rem;

  /* Radii - Healis uses extreme border radii */
  --radius-pill: 100px;
  /* Buttons, tags */
  --radius-card: 40px;
  /* Smaller bento boxes */
  --radius-hero: 60px;
  /* Huge hero images, main container */

  /* Effects */
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 30px 60px rgba(0, 104, 255, 0.1);

  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-main);
  color: var(--clr-text-main);
  background-color: var(--clr-bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--clr-text-main);
  line-height: 1.1;
  font-weight: 500;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 92%;
  max-width: 1400px;
  /* Healis is quite wide */
  margin: 0 auto;
}

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

.text-primary {
  color: var(--clr-primary);
}

.badge {
  background-color: var(--clr-surface);
  color: var(--clr-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--sp-sm);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--ff-main);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: #0056d6;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: var(--clr-surface);
  color: var(--clr-text-main);
}

.btn-secondary:hover {
  background-color: #e4e9f2;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  /* Slight separation line */
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--clr-primary);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.logo-icon::after {
  /* Faux icon detail */
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--clr-text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-primary);
}

.mobile-nav-toggle {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding-top: 8rem;
  /* Account for fixed nav */
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  /* Massive typography */
  letter-spacing: -2px;
  margin-bottom: var(--sp-md);
  font-weight: 500;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
  max-width: 90%;
}

.hero-image-wrapper {
  height: 80vh;
  min-height: 600px;
  border-radius: var(--radius-hero);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ==========================================================================
   Marquee (Ticker)
   ========================================================================== */
.marquee-wrapper {
  background-color: var(--clr-primary);
  color: #fff;
  padding: 1.5rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee {
  display: inline-block;
  animation: marquee-scroll 30s linear infinite;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  margin-right: 2rem;
}

.marquee span::after {
  content: "✦";
  /* Star/dot separator */
  margin-left: 2rem;
  opacity: 0.5;
}

@keyframes marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }

  /* Assuming content is doubled */
}

/* ==========================================================================
   Bento Grid Section (Leistungen)
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--clr-text-muted);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Base Bento Card */
.bento-card {
  background-color: var(--clr-surface);
  border-radius: var(--radius-card);
  padding: 3rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.bento-large {
  grid-column: span 2;
  background-color: var(--clr-primary);
  color: #fff;
}

.bento-large p {
  color: rgba(255, 255, 255, 0.8);
}

.bento-icon {
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.bento-large .bento-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: none;
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.bento-large h3 {
  color: #fff;
  font-size: 2rem;
}

.bento-card p {
  color: var(--clr-text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  /* Pushes the CTA link to bottom */
}

.bento-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  color: var(--clr-primary);
  font-size: 1.25rem;
  align-self: flex-start;
  transition: var(--transition);
}

.bento-large .bento-cta {
  color: var(--clr-primary);
}

.bento-card:hover .bento-cta {
  background-color: var(--clr-primary);
  color: #fff;
  transform: translateX(5px);
}

.bento-large:hover .bento-cta {
  background-color: #fff;
  color: var(--clr-primary);
}

.bento-card.bento-card-join {
  border: 2px dashed rgba(0, 104, 255, 0.3);
  justify-content: center;
  align-items: center;
}

.bento-card.bento-card-join:hover {
  background-color: var(--clr-primary);
  border-style: solid;
}

.bento-card.bento-card-join:hover h3 {
  color: #fff !important;
}

.bento-card.bento-card-join:hover .bento-cta {
  background-color: #fff;
  color: var(--clr-primary);
  transform: translateX(5px);
}

/* ==========================================================================
   Team Section (Healis style image cards)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  position: relative;
  border-radius: var(--radius-hero);
  overflow: hidden;
  height: 600px;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.team-card:hover img {
  transform: scale(1.03);
}

.team-info-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.team-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-info p {
  color: var(--clr-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

.team-card-join {
  background-color: var(--clr-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  text-align: center;
  border: 2px dashed rgba(0, 104, 255, 0.3);
}

.team-card-join:hover {
  background-color: var(--clr-primary);
  color: #fff;
  border-style: solid;
}

.team-card-join .join-icon {
  width: 80px;
  height: 80px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--clr-primary);
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.team-card-join:hover .join-icon {
  transform: scale(1.1);
}

.team-card-join h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.team-card-join:hover h3 {
  color: #fff;
}

.team-card-join p {
  color: var(--clr-text-muted);
}

.team-card-join:hover p {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--clr-surface);
  padding: 6rem 0 2rem;
  border-top-left-radius: var(--radius-hero);
  border-top-right-radius: var(--radius-hero);
  margin-top: 4rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-top h2 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: -2px;
}

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

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 1rem;
  color: var(--clr-text-muted);
}

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

/* ==========================================================================
   Praxis Grid (Kacheln)
   ========================================================================== */
.praxis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.praxis-tile {
  position: relative;
  border-radius: var(--radius-hero);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.praxis-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.praxis-tile img {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.praxis-tile:hover img {
  transform: scale(1.03);
}

.tile-caption {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  padding: 1.5rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.tile-caption h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--clr-primary);
}

.tile-caption p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  margin: 0;
}

/* Mobile overrides for Grid */
@media (max-width: 768px) {
  .praxis-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .praxis-tile {
    border-radius: 30px;
  }

  .praxis-tile img {
    height: 40vh;
    min-height: 300px;
  }

  .tile-caption {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 1.25rem;
    border-radius: 20px;
  }

  .tile-caption h3 {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-image-wrapper {
    height: 60vh;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large {
    grid-column: 1;
  }

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

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: var(--radius-card);
    border-bottom-right-radius: var(--radius-card);
  }

  .nav-links[data-visible="true"] {
    display: flex;
  }

  .mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-hero {
  background-color: var(--clr-surface);
  border-radius: var(--radius-hero);
  padding: 6rem 2rem;
  text-align: center;
  margin-bottom: var(--sp-xl);
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center,
      rgba(0, 104, 255, 0.05) 0%,
      transparent 70%);
  z-index: 0;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: var(--sp-xl);
}

.contact-info-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--clr-surface);
  color: var(--clr-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact-text p,
.contact-text ul {
  color: var(--clr-text-muted);
  margin: 0;
  line-height: 1.6;
}

.contact-text ul {
  list-style: none;
  padding: 0;
}

.contact-text a {
  color: var(--clr-primary);
  font-weight: 500;
}

.contact-text a:hover {
  text-decoration: underline;
}

.map-container {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  min-height: 400px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

/* ==========================================================================
   Google Maps Consent (Two-Click-Loesung, DSGVO)
   ========================================================================== */
.map-consent {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-color: var(--clr-surface);
  background-image:
    linear-gradient(rgba(241, 244, 249, 0.92), rgba(241, 244, 249, 0.92)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path d='M0 20h40M20 0v40' stroke='%23c8d3e6' stroke-width='1'/></svg>");
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--clr-text-main);
}

.map-consent-icon {
  width: 64px;
  height: 64px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.map-consent h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.map-consent p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.map-consent p a {
  color: var(--clr-primary);
  text-decoration: underline;
}

.map-consent .map-consent-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.map-consent .map-consent-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  cursor: pointer;
  user-select: none;
}

.map-consent .map-consent-remember input {
  cursor: pointer;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   Elegant Cards (Praxisteam)
   ========================================================================== */
.elegant-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
}

.elegant-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 104, 255, 0.08);
  border-color: rgba(0, 104, 255, 0.1);
}

.elegant-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), rgba(0, 104, 255, 0.3));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.elegant-card:hover::after {
  opacity: 1;
}

.elegant-card-number {
  font-size: 4rem;
  font-weight: 300;
  color: rgba(0, 104, 255, 0.1);
  line-height: 1;
  margin-bottom: 2rem;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
}

.elegant-card h4 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--clr-text-main);
  font-weight: 500;
  letter-spacing: -0.5px;
}

.elegant-card p {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   Google Reviews Tab
   ========================================================================== */
.google-rating-tab {
  position: fixed;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  background-color: #ffffff;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  border-top-left-radius: var(--radius-pill);
  border-bottom-left-radius: var(--radius-pill);
  box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 999;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-right: none;
}

.google-rating-tab:hover {
  transform: translateY(-50%) scale(1.02) translateX(-5px);
  box-shadow: -8px 8px 25px rgba(0, 104, 255, 0.15);
}

.gr-icon {
  width: 36px;
  height: 36px;
  background-color: var(--clr-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gr-icon svg {
  width: 20px;
  height: 20px;
}

.gr-info {
  display: flex;
  flex-direction: column;
}

.gr-stars {
  color: #FBBC04; /* Google Yellow */
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 1px;
}

.gr-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-text-main);
  margin-top: 2px;
}

.gr-text span {
  font-weight: 400;
  color: var(--clr-text-muted);
}

@media (max-width: 768px) {
  .google-rating-tab {
    top: auto;
    bottom: 1.5rem;
    right: 50%;
    transform: translateX(50%);
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
  .google-rating-tab:hover {
    transform: translateX(50%) translateY(-5px);
  }
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 104, 255, 0.08);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.review-stars {
  color: #FBBC04;
  font-size: 1.25rem;
  letter-spacing: 2px;
  line-height: 1;
}

.review-badge-jameda {
  background-color: #00A3A0;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
}

.review-text {
  color: var(--clr-text-main);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.review-author {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}