/* =============================================
   RADIOLOGIE 24 BOUSKOURA – MAIN STYLESHEET
   ============================================= */

/* ---- CSS Custom Properties ---- */
:root {
  --blue-900: #0D47A1;
  --blue-800: #1565C0;
  --blue-700: #1976D2;
  --blue-600: #1E88E5;
  --blue-500: #2196F3;
  --blue-400: #42A5F5;
  --blue-100: #BBDEFB;
  --blue-50: #E3F2FD;

  --cyan-600: #0097A7;
  --cyan-500: #00ACC1;
  --cyan-400: #26C6DA;

  --dark-900: #060f1e;
  --dark-800: #0a1628;
  --dark-700: #0d2040;
  --dark-600: #102952;

  --text-primary: #0D2040;
  --text-secondary: #4A6080;
  --text-muted: #7A90A8;

  --white: #ffffff;
  --gray-50: #F8FAFD;
  --gray-100: #EEF3F9;
  --gray-200: #DDE8F2;

  --success: #2E7D32;
  --warning: #E65100;
  --accent-pink: #880E4F;

  --shadow-sm: 0 2px 8px rgba(13, 36, 64, 0.07);
  --shadow-md: 0 4px 20px rgba(13, 36, 64, 0.12);
  --shadow-lg: 0 8px 40px rgba(13, 36, 64, 0.16);
  --shadow-xl: 0 16px 64px rgba(13, 36, 64, 0.22);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

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

  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --header-h: 76px;
  --topbar-h: 38px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section Common ---- */
.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--blue-800);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1.5px solid var(--blue-100);
}

.section-label.light {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.light {
  color: white;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================
   TOP BAR – removed
   ======================== */

/* ========================
   HEADER
   ======================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-800);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue-700);
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-800);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

/* Header CTA */
.btn-phone {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: white !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 12px rgba(21, 101, 192, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.45);
}

/* Hamburger – removed */
.hamburger { display: none; }

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-body);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(21, 101, 192, 0.45);
  color: white;
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
  transform: translateY(-3px);
}

/* ========================
   HERO
   ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-svg-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-svg-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.hero-text {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(33, 150, 243, 0.2);
  border: 1px solid rgba(66, 165, 245, 0.4);
  color: #7DCCF8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hero-highlight {
  display: block;
  background: linear-gradient(135deg, #4FC3F7, #81D4FA, #B3E5FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-size: 0.75em;
  margin-top: 4px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-tag i {
  color: #4FC3F7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  text-align: center;
  min-width: 120px;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #4FC3F7;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  animation: bounceDown 2s infinite;
  cursor: pointer;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

/* ========================
   ABOUT
   ======================== */
.about {
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-svg {
  width: 100%;
  height: 100%;
}

/* Real photo replacing the SVG in the About section */
.about-real-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  min-height: 300px;
}

.about-badge-float {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--blue-800);
  color: white;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
}

.about-years-float {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--blue-600);
}

.years-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-800);
  line-height: 1;
}

.years-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.about-content .section-label {
  margin-bottom: 12px;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon-sm {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1.5px solid var(--blue-100);
}

.about-feature strong {
  display: block;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 3px;
}

.about-feature p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ========================
   SERVICES
   ======================== */
.services {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.services-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(21, 101, 192, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(21, 101, 192, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  perspective: 1000px;
  cursor: pointer;
}

.service-card-inner {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover .service-card-inner {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: var(--blue-50);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.08);
}

.service-icon-svg {
  width: 56px;
  height: 56px;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
  margin-top: auto;
}

.service-tag {
  background: var(--blue-50);
  color: var(--blue-800);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-100);
}

.service-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-700);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--blue-900);
  gap: 10px;
}

/* ========================
   WHY US
   ======================== */
.why-us {
  background: var(--gray-50);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-content .section-label {
  margin-bottom: 12px;
}

.why-us-content .section-title {
  text-align: left;
  margin-bottom: 12px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
}

.why-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.3);
}

.why-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.why-text p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.why-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.why-number-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-200);
  transition: var(--transition);
}

.why-number-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-300, #90CAF9);
}

.why-number-card.accent {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  border-color: transparent;
}

.why-number-card.accent .wn-icon,
.why-number-card.accent .wn-value,
.why-number-card.accent .wn-label {
  color: white;
}

.why-number-card.accent2 {
  background: linear-gradient(135deg, #1B5E20, #2E7D32);
  border-color: transparent;
}

.why-number-card.accent2 .wn-icon,
.why-number-card.accent2 .wn-value,
.why-number-card.accent2 .wn-label {
  color: white;
}

.wn-icon {
  font-size: 1.6rem;
  color: var(--blue-700);
  margin-bottom: 10px;
}

.wn-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-800);
  line-height: 1;
  margin-bottom: 6px;
}

.wn-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.why-cta-card {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  color: white;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.why-cta-card>.fas {
  font-size: 2rem;
  color: #7EC8F9;
  animation: ring 2s infinite;
}

@keyframes ring {

  0%,
  100% {
    transform: rotate(0);
  }

  10%,
  30% {
    transform: rotate(-15deg);
  }

  20%,
  40% {
    transform: rotate(15deg);
  }

  50% {
    transform: rotate(0);
  }
}

.why-cta-card p {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-bottom: 2px;
}

.wn-phone {
  font-size: 1.4rem;
  font-weight: 800;
  color: #7EC8F9;
  letter-spacing: 1px;
}

.wn-phone:hover {
  color: white;
}

/* ========================
   APPOINTMENT (RDV)
   ======================== */
.rdv {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.rdv-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark-800) 0%, var(--blue-800) 50%, #0D47A1 100%);
  z-index: 0;
}

.rdv-bg::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.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.rdv>.container {
  position: relative;
  z-index: 1;
}

.rdv-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.rdv-info .section-title {
  text-align: left;
}

.rdv-desc {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 16px 0 36px;
}

.rdv-contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rdv-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rdv-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #7EC8F9;
  flex-shrink: 0;
}

.rci-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.rci-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: white;
}

a.rci-value:hover {
  color: #7EC8F9;
}

/* RDV Form */
.rdv-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.form-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-title i {
  color: var(--blue-700);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap>i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  z-index: 1;
  pointer-events: none;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--blue-500);
  background: white;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.input-wrap textarea {
  resize: vertical;
  padding-top: 12px;
}

.textarea-wrap {
  align-items: flex-start;
}

.textarea-wrap>i {
  top: 14px;
}

.form-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ========================
   CONTACT
   ======================== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(21, 101, 192, 0.1);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.ci-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.ci-content h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue-800);
  margin-bottom: 4px;
}

.ci-content p,
.ci-content a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ci-content a:hover {
  color: var(--blue-700);
}

.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #25D366;
  color: white;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta:hover {
  background: #1ebe59;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-cta>.fab {
  font-size: 2.2rem;
}

.wha-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.wha-sub {
  display: block;
  font-size: 0.78rem;
  opacity: 0.8;
}

.wha-arrow {
  margin-left: auto;
  font-size: 0.9rem;
  transition: var(--transition);
}

.whatsapp-cta:hover .wha-arrow {
  transform: translateX(4px);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  border: 1.5px solid var(--gray-200);
}

.contact-form {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
}

/* ========================
   FOOTER
   ======================== */
.footer {
  background: var(--dark-800);
  color: rgba(255, 255, 255, 0.8);
}

.footer-main {
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 48px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: white;
}

.social-btn.whatsapp {
  background: #25D366;
}

.social-btn.facebook {
  background: #1877F2;
}

.social-btn.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.15);
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-700);
  display: inline-block;
}

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

.footer-links a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a i {
  font-size: 0.6rem;
  color: var(--blue-400);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  gap: 12px;
}

.footer-info-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-info-item i {
  color: var(--blue-400);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}

.footer-info-item a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-info-item a:hover {
  color: var(--blue-400);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-seo-tags {
  font-size: 0.68rem !important;
  color: rgba(255, 255, 255, 0.2) !important;
}

/* ========================
   FLOATING BUTTONS
   ======================== */
.fab-whatsapp {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  z-index: 500;
  transition: var(--transition);
}

.fab-whatsapp:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.55);
  color: white;
}

.fab-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark-800);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.fab-whatsapp:hover .fab-tooltip {
  opacity: 1;
}

.fab-phone {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: var(--blue-800);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 24px rgba(21, 101, 192, 0.45);
  z-index: 500;
  transition: var(--transition);
  animation: pulseBtn 2.5s infinite;
}

@keyframes pulseBtn {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(21, 101, 192, 0.45);
  }

  50% {
    box-shadow: 0 4px 34px rgba(21, 101, 192, 0.65), 0 0 0 8px rgba(21, 101, 192, 0.1);
  }
}

.fab-phone:hover {
  transform: scale(1.12);
  color: white;
  animation: none;
  box-shadow: 0 8px 30px rgba(21, 101, 192, 0.6);
}

.back-to-top {
  position: fixed;
  bottom: 170px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--blue-700);
  border: 2px solid var(--blue-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 499;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-800);
  color: white;
  border-color: var(--blue-800);
  transform: translateY(-3px);
}

/* ========================
   TOAST
   ======================== */
.toast {
  position: fixed;
  top: 100px;
  right: 24px;
  background: var(--text-primary);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transform: translateX(150%);
  transition: var(--transition);
  max-width: 320px;
  border-left: 4px solid var(--blue-500);
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-left-color: #2E7D32;
  background: #1B5E20;
}

.toast.error {
  border-left-color: #B71C1C;
  background: #7f1d1d;
}

/* ========================
   ANIMATIONS
   ======================== */
.animate-fade-in {
  animation: fadeIn 0.7s ease-out both;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out both;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Intersection Observer animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========================
   24H/24 STYLES
   ======================== */

/* Top bar "Service 24h/24" badge */
.topbar-24h {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4FC3F7;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
}

.topbar-24h i {
  color: #4FC3F7;
  font-size: 0.75rem;
}

/* Header 24h badge beside the phone button */
.header-cta-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-24h-badge {
  background: linear-gradient(135deg, #2E7D32, #43A047);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.35);
}

/* Hero subtitle 24h mention */
.hero-24h-mention {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4FC3F7;
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 8px;
  opacity: 0.9;
}

.hero-24h-mention i {
  font-size: 0.8rem;
}

/* Mobile: floating call button (shown only on mobile) */
.mobile-call-btn {
  display: none;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: white;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(21, 101, 192, 0.35);
  flex-shrink: 0;
}

.mobile-call-btn:hover {
  color: white;
  filter: brightness(1.1);
}

/* ========================
   RESPONSIVE – 1100px (Large tablets / small desktops)
   ======================== */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ========================
   RESPONSIVE – 900px (Tablets landscape)
   ======================== */
@media (max-width: 900px) {

  /* Layouts → single column */
  .about-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .rdv-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  /* Nav: wrap to second row, always visible */
  .header {
    height: auto;
    padding: 8px 0;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 8px;
    height: auto;
    padding: 4px 0;
  }

  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    border-top: 1px solid var(--gray-100);
    padding-top: 8px;
    /* reset drawer styles */
    position: static;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
  }

  .nav-menu::before { content: none; }

  .nav-link {
    padding: 7px 12px;
    font-size: 0.85rem;
  }

  /* Keep header-cta visible but smaller */
  .header-cta-inner {
    gap: 6px;
  }

  /* Hero padding */
  .hero-content {
    padding: 60px 20px 60px;
  }
}

/* ========================
   RESPONSIVE – 768px (Tablets portrait, large phones)
   ======================== */
@media (max-width: 768px) {

  /* Show mobile call button in header */
  .mobile-call-btn {
    display: flex;
  }

  /* Section spacing reduced */
  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Hero adjustments */
  .hero-content {
    padding: 90px 16px 50px;
    gap: 32px;
  }

  .hero-main-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 0.96rem;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-tag {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero image: below text, no 3D effects */
  .hero-image-col {
    order: 2;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-text {
    order: 1;
  }

  .hero-3d-frame {
    transform: none !important;
  }

  .hero-3d-img {
    transform: none !important;
  }

  /* Stats row: scroll horizontally or wrap nicely */
  .hero-stats {
    gap: 12px;
    justify-content: center;
  }

  .stat-card {
    min-width: 90px;
    padding: 16px 18px;
    flex: 1;
  }

  .stat-num {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  /* About: photo fills full width */
  .about-grid {
    gap: 32px;
  }

  .about-badge-float {
    right: 8px;
    top: -12px;
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .about-years-float {
    left: 8px;
    bottom: 16px;
    padding: 12px 16px;
  }

  .about-real-img {
    min-height: 220px;
  }

  .about-lead {
    font-size: 0.98rem;
  }

  /* Services grid: single column */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card-inner {
    padding: 24px 20px;
  }

  /* Why us: single column */
  .why-us-grid {
    gap: 32px;
  }

  .why-numbers {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .why-number-card {
    padding: 20px 12px;
  }

  .wn-value {
    font-size: 1.6rem;
  }

  /* RDV form */
  .rdv-grid {
    gap: 32px;
  }

  .rdv-form-card {
    padding: 24px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Contact */
  .contact-info-card {
    padding: 20px 16px;
  }

  /* Footer: single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-main {
    padding: 48px 0 32px;
  }

  /* Floating buttons: smaller */
  .fab-whatsapp {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    bottom: 88px;
    right: 16px;
  }

  .fab-phone {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
    bottom: 24px;
    right: 16px;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    bottom: 150px;
    right: 16px;
  }

  /* Toast: full width on mobile */
  .toast {
    right: 12px;
    left: 12px;
    max-width: none;
  }

  /* RDV info text color fix */
  .rdv-desc {
    font-size: 0.92rem;
  }
}

/* ========================
   RESPONSIVE – 480px (Small phones)
   ======================== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 52px 0;
  }

  /* Top bar: phone only */
  .top-bar {
    height: auto;
    padding: 8px 0;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .top-bar-right {
    gap: 12px;
  }

  /* Header: tighten */
  :root {
    --header-h: 64px;
  }

  .logo-main {
    font-size: 0.95rem;
  }

  .logo-sub {
    font-size: 0.55rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  /* Hero */
  .hero-content {
    padding: 80px 16px 40px;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  /* About floating badges: clip to image */
  .about-badge-float {
    display: none;
  }

  .about-years-float {
    position: static;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    border-left: none;
    border-top: 3px solid var(--blue-600);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
  }

  /* Why numbers: 2 columns tight */
  .why-numbers {
    grid-template-columns: 1fr 1fr;
  }

  .why-number-card {
    padding: 16px 8px;
  }

  /* RDV form */
  .rdv-form-card {
    border-radius: var(--radius-lg);
  }

  .form-title {
    font-size: 1rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Contact right col */
  .map-wrapper iframe {
    height: 200px;
  }

  .contact-form {
    padding: 20px 14px;
  }

  /* Whatsapp CTA */
  .wha-title {
    font-size: 0.88rem;
  }

  .wha-sub {
    font-size: 0.72rem;
  }

  /* Footer */
  .footer-seo-tags {
    display: none;
  }
}

/* ========================
   RESPONSIVE – 360px (Tiny phones, Galaxy S8 etc.)
   ======================== */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 1.35rem;
    letter-spacing: -0.3px;
  }

  .hero-tags {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-card {
    min-width: 80px;
    padding: 12px 10px;
  }

  .why-numbers {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-group label {
    font-size: 0.78rem;
  }

  .input-wrap input,
  .input-wrap select,
  .input-wrap textarea {
    font-size: 0.85rem;
  }

  .rdv-contact-item {
    gap: 10px;
  }

  .rdv-contact-icon {
    width: 40px;
    height: 40px;
  }

  .footer-grid {
    gap: 24px;
  }
}

/* ========================
   GLOBAL: prevent horizontal overflow on all sizes
   ======================== */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

/* ========================
   HERO TWO-COLUMN LAYOUT
   ======================== */
.hero-main-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

/* ========================
   HERO 3D IMAGE SECTION
   ======================== */
.hero-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* The 3D scene container */
.hero-3d-scene {
  position: relative;
  width: 100%;
  max-width: 500px;
  /* preserve-3d perspective for the tilt */
  perspective: 900px;
}

/* The tilting frame -- JS writes transform here */
.hero-3d-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transform-style: preserve-3d;
  /* default shadow -- JS enhances it dynamically */
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(79, 195, 247, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, box-shadow;
  cursor: default;
}

/* The actual image */
.hero-3d-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
  /* Parallax – JS sets translateY via --parallax-y */
  transform: translateY(var(--parallax-y, 0px));
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Subtle gradient overlay for cinematic depth */
.hero-3d-overlay {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg,
      rgba(21, 101, 192, 0.12) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Animated glow ring behind the image */
.hero-3d-ring {
  position: absolute;
  inset: -20px;
  border-radius: 36px;
  background: transparent;
  border: 2px solid rgba(79, 195, 247, 0.18);
  box-shadow:
    0 0 60px rgba(79, 195, 247, 0.12),
    0 0 120px rgba(21, 101, 192, 0.1);
  animation: ringPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: 0.6;
    box-shadow: 0 0 60px rgba(79, 195, 247, 0.12), 0 0 120px rgba(21, 101, 192, 0.1);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 90px rgba(79, 195, 247, 0.22), 0 0 180px rgba(21, 101, 192, 0.18);
  }
}

/* Floating badges over the image */
.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  z-index: 10;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.hero-float-badge i {
  color: #4FC3F7;
  font-size: 0.9rem;
}

.badge-top {
  top: -16px;
  right: 20px;
  animation: floatBadge 3s ease-in-out infinite;
}

.badge-bottom {
  bottom: -16px;
  left: 20px;
  animation: floatBadge 3.5s ease-in-out infinite reverse;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ========================
   RESPONSIVE: 3D IMAGE
   ======================== */
@media (max-width: 1024px) {
  .hero-main-row {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {

  /* Stack: text on top, image below on medium screens */
  .hero-main-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-col {
    order: 2;
    /* image below text */
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-text {
    order: 1;
  }

  /* Disable 3D tilt on touch/tablet – keep only glow */
  .hero-3d-frame {
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .hero-3d-ring {
    display: none;
  }

  /* lighter on mobile */

  .hero-float-badge {
    display: none;
  }

  /* clean on small screens */

  /* Disable parallax on mobile */
  .hero-3d-img {
    transform: none !important;
  }
}