/* ================================================================
   I-ME — Premium Light · Slixel-level Design System v3
   Paleta: #0F4C5C · #1A5F6E · #4A90E2 · #7ED957
   Tipografía: Sora + Inter
   ================================================================ */

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

:root {
  --white:      #FFFFFF;
  --off:        #F7F9FB;
  --off2:       #EFF4F7;
  --t900:       #0F4C5C;
  --t800:       #145567;
  --t700:       #1A5F6E;
  --t100:       #E6EFF3;
  --t50:        #F0F6F8;
  --blue:       #4A90E2;
  --blue-light: rgba(74,144,226,0.1);
  --green:      #7ED957;
  --green-pale: rgba(126,217,87,0.12);
  --ink:        #0B1B22;
  --text:       #1D3A47;
  --text-mid:   #456070;
  --text-muted: #7A9BAB;
  --border:     rgba(15,76,92,0.1);
  --border-mid: rgba(15,76,92,0.18);
  --shadow-sm:  0 2px 12px rgba(15,76,92,0.08);
  --shadow-md:  0 8px 40px rgba(15,76,92,0.12);
  --shadow-lg:  0 20px 80px rgba(15,76,92,0.16);
  --radius:     14px;
  --radius-lg:  24px;
  --radius-xl:  36px;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

/* ── GRAIN OVERLAY ─────────────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

/* ── CUSTOM CURSOR (visible animado) ────────────────────── */
.cur-ring {
  position: fixed; top: 0; left: 0; z-index: 9997;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--green);
  background: rgba(126,217,87,0.08);
  pointer-events: none;
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
              background 0.35s, border-color 0.35s, opacity 0.3s;
  transform: translate(-50%,-50%);
  animation: cursorPulse 2.4s ease-in-out infinite;
}
@keyframes cursorPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(126,217,87,0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(126,217,87,0); }
}
.cur-dot {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); pointer-events: none;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 6px rgba(126,217,87,0.8);
}
.cur-ring.hover {
  width: 60px; height: 60px;
  border-color: var(--t900);
  background: rgba(15,76,92,0.08);
  animation: none;
}
.cur-ring.click { transform: translate(-50%,-50%) scale(0.75); }

/* ── SCROLL PROGRESS ────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 9000;
  background: linear-gradient(90deg, var(--green), var(--blue));
  width: 0%; pointer-events: none;
}

/* ── LOADER ─────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 10000; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#loader.out { opacity: 0; visibility: hidden; }
.loader-logo { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 6px; text-transform: uppercase; color: var(--t900); }
.loader-bar-wrap { width: 160px; height: 1.5px; background: var(--border); border-radius: 1px; overflow: hidden; }
.loader-bar { height: 100%; background: linear-gradient(90deg, var(--t900), var(--green)); width: 0; animation: lFill 0.8s var(--ease) forwards 0.2s; }
@keyframes lFill { to { width: 100%; } }

/* ── CONTAINER ──────────────────────────────────────────── */
.container { max-width: 1260px; margin: 0 auto; padding: 0 40px; }

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--off); }
::-webkit-scrollbar-thumb { background: var(--t700); border-radius: 2px; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 72px; display: flex; align-items: center; padding: 0 48px;
  transition: background 0.5s var(--ease), box-shadow 0.5s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1260px; width: 100%; margin: 0 auto; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 44px; list-style: none; align-items: center; }
.nav-link {
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--text-mid); text-decoration: none; position: relative; transition: color 0.25s;
}
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--t900); transition: width 0.35s var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--t900); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
  display: flex; align-items: center; gap: 9px; font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--white); background: var(--t900); padding: 11px 24px; border-radius: 100px; text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover { background: var(--t700); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 1px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border); flex-direction: column; padding: 36px; gap: 28px; z-index: 499;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 20px; color: var(--text); }

/* ── HERO (full-bleed video) ────────────────────────────── */
.hero {
  min-height: 100svh; position: relative; overflow: hidden;
  padding-top: 72px; display: flex; align-items: center;
}
.hero-video-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-video-bg video,
.hero-video-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.68) saturate(0.95);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(4,18,24,0.66) 0%, rgba(4,18,24,0.34) 52%, rgba(4,18,24,0.18) 100%),
    linear-gradient(180deg, rgba(4,18,24,0.34) 0%, rgba(4,18,24,0.12) 48%, rgba(4,18,24,0.28) 100%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1260px; margin: 0 auto; padding: 80px 40px;
  display: grid; grid-template-columns: 56% 44%; gap: 56px; align-items: center;
}
.hero-left { display: flex; flex-direction: column; justify-content: center; }
.hero-right-panel {
  display: flex; align-items: center; justify-content: center; position: relative;
}
.hero-product-img {
  width: 100%; max-width: 460px;
  border-radius: var(--radius-xl); overflow: hidden;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 28px; box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.hero-product-img img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
.hero-badge-overlay {
  position: absolute; bottom: -16px; left: 0;
  background: rgba(15,76,92,0.85); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 14px;
  padding: 16px 22px; color: white;
}
.hero-badge-overlay .hbo-n { font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 800; color: var(--green); letter-spacing: -1.5px; line-height: 1; }
.hero-badge-overlay .hbo-l { font-size: 11px; opacity: 0.65; margin-top: 4px; }
.hero-ecg-wrap {
  position: absolute; bottom: 0; left: 0; right: 0; height: 48px; overflow: hidden; z-index: 3;
}
.hero-ecg-wrap svg { width: 200%; height: 100%; animation: ecgScroll 5s linear infinite; }
@keyframes ecgScroll { to { transform: translateX(-50%); } }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.7);
  margin-bottom: 28px; animation: fadeUp 0.9s var(--ease) 1s both;
}
.hero-kicker::before { content: ''; display: block; width: 28px; height: 1.5px; background: var(--green); }
.hero-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(40px, 5vw, 78px); font-weight: 800;
  line-height: 1.03; letter-spacing: -2.5px; color: white; margin-bottom: 24px;
}
.hero-title .hl { color: var(--green); display: inline-block; position: relative; }
.hero-title .hl::after {
  content: ''; position: absolute; bottom: 3px; left: 0; right: 0; height: 4px;
  background: rgba(126,217,87,0.4); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  animation: lineGrow 0.7s var(--ease) 1.9s both;
}
@keyframes lineGrow { to { transform: scaleX(1); } }
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.7); max-width: 500px;
  line-height: 1.78; margin-bottom: 40px; animation: fadeUp 0.9s var(--ease) 1.4s both;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; animation: fadeUp 0.9s var(--ease) 1.6s both; }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeUp 0.9s var(--ease) 1.8s both;
}
.stat-n { font-family: 'Sora', sans-serif; font-size: 34px; font-weight: 800; color: var(--green); letter-spacing: -1.5px; line-height: 1; }
.stat-l { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; margin-top: 5px; }

/* ── SECTION BAND (imagen full-width entre secciones) ──── */
.img-band {
  height: 320px; overflow: hidden; position: relative;
}
.img-band img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.45) saturate(0.7);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.img-band:hover img { transform: scale(1); }
.img-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,76,92,0.85) 0%, rgba(15,76,92,0.3) 60%, transparent 100%);
  display: flex; align-items: center;
}
.img-band-text { padding: 0 60px; color: white; max-width: 600px; }
.img-band-text h3 {
  font-family: 'Sora', sans-serif; font-size: clamp(22px, 3vw, 38px);
  font-weight: 800; letter-spacing: -1px; margin-bottom: 10px;
}
.img-band-text p { font-size: 15px; opacity: 0.75; line-height: 1.7; }

/* ── FEATURE ROW (imagen + texto lado a lado) ───────────── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 380px;
}
.feature-row-img { overflow: hidden; position: relative; }
.feature-row-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75) saturate(0.9); }
.feature-row-content {
  background: var(--t900); padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center; color: white;
}
.feature-row-content .s-label { color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.feature-row-content h3 {
  font-family: 'Sora', sans-serif; font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800; letter-spacing: -1px; margin-bottom: 14px;
}
.feature-row-content p { font-size: 15px; color: rgba(255,255,255,0.68); line-height: 1.75; margin-bottom: 28px; }
@media (max-width: 768px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row-img { min-height: 240px; }
  .feature-row-content { padding: 36px 28px; }
  .img-band-text { padding: 0 28px; }
}

/* Word-reveal */
.word-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 0.9s var(--ease), opacity 0.9s var(--ease); transition-delay: calc(var(--i,0) * 80ms + 900ms); }
.word.visible { transform: translateY(0); opacity: 1; }

/* Clip-path reveal */
.reveal-clip { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(0.77,0,0.175,1); }
.reveal-clip.visible { clip-path: inset(0 0% 0 0); }

/* ── MARQUEE ────────────────────────────────────────────── */
.marquee { background: var(--t900); overflow: hidden; padding: 14px 0; }
.marquee-track { display: inline-flex; white-space: nowrap; animation: marqueeRun 34s linear infinite; }
@keyframes marqueeRun { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 44px;
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.marquee-item i { color: var(--green); font-size: 7px; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 32px; border-radius: 100px;
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.35s var(--ease); white-space: nowrap; position: relative;
}
.btn-primary { background: var(--t900); color: white; box-shadow: 0 4px 24px rgba(15,76,92,0.25); }
.btn-primary:hover { background: var(--t700); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(15,76,92,0.3); }
.btn-green { background: var(--green); color: var(--ink); box-shadow: 0 4px 18px rgba(126,217,87,0.3); }
.btn-green:hover { background: #8de76a; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(126,217,87,0.4); }
.btn-outline { background: transparent; color: var(--t900); border: 1.5px solid var(--border-mid); }
.btn-outline:hover { border-color: var(--t900); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.07); }
.btn-ghost { background: transparent; color: var(--blue); padding: 9px 16px; font-size: 13px; border-radius: 8px; }
.btn-ghost:hover { background: var(--blue-light); }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ── SECTION ────────────────────────────────────────────── */
.section { padding: 68px 0; }
.section-off { background: var(--off); }
.section-teal { background: var(--t900); }
.section-ink { background: var(--ink); }
.s-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--t900); margin-bottom: 14px;
}
.s-label::before { content: ''; display: block; width: 28px; height: 1.5px; background: var(--green); }
.s-label-white { color: rgba(255,255,255,0.6); }
.s-label-white::before { background: var(--green); }
.s-title { font-family: 'Sora', sans-serif; font-size: clamp(28px, 3.8vw, 54px); font-weight: 800; letter-spacing: -2px; line-height: 1.08; color: var(--ink); margin-bottom: 16px; }
.s-title-white { color: white; }
.s-sub { font-size: 17px; color: var(--text-mid); max-width: 580px; line-height: 1.75; }
.s-sub-white { color: rgba(255,255,255,0.6); }
.s-header { margin-bottom: 40px; }
.s-header-center { text-align: center; }
.s-header-center .s-label { justify-content: center; }
.s-header-center .s-label::before { display: none; }
.s-header-center .s-sub { margin: 0 auto; }

/* ── ABOUT ──────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-imgs { position: relative; }
/* S2 — columna izquierda: fondo hospital-facility */
.about-imgs-bg {
  min-height: 500px;
  border-radius: var(--radius-xl);
  background: url('../assets/img/surgery-room.jpg') center/cover no-repeat;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.about-imgs-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,76,92,0.35) 0%, rgba(0,0,0,0.15) 100%);
}
/* S3 — columna derecha / sección: fondo radiology-room */
#quienes-somos .about-text {
  background: url('../assets/img/radiology-room.webp') center/cover no-repeat;
  border-radius: var(--radius-xl);
  position: relative; overflow: hidden;
  padding: 48px 44px;
}
#quienes-somos .about-text::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-xl);
}
#quienes-somos .about-text > * { position: relative; z-index: 1; }
.about-img-main { border-radius: var(--radius-xl); overflow: hidden; height: 480px; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute; bottom: -36px; right: -36px;
  width: 200px; height: 150px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 20px 60px rgba(15,76,92,0.2); border: 4px solid white;
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; top: 36px; left: -28px; background: var(--t900); color: white;
  padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow-md); z-index: 2;
}
.about-badge-n { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800; color: var(--green); letter-spacing: -2px; line-height: 1; }
.about-badge-l { font-size: 11px; opacity: 0.7; margin-top: 4px; }
.about-text p { font-size: 16px; color: var(--text-mid); line-height: 1.82; margin-bottom: 18px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.mv-card {
  background: var(--off); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  transition: border-color 0.3s, box-shadow 0.3s; position: relative; overflow: hidden;
}
.mv-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--t900), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.mv-card:hover { border-color: var(--border-mid); box-shadow: var(--shadow-sm); }
.mv-card:hover::before { transform: scaleX(1); }
.mv-card h4 { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; color: var(--t900); margin-bottom: 7px; display: flex; align-items: center; gap: 8px; }
.mv-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; }

/* ── VALUES ─────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.val-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 22px;
  position: relative; overflow: hidden; transition: all 0.4s var(--ease);
}
.val-card:hover { border-color: var(--t900); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.val-card:hover .val-icon { background: var(--t900); color: white; }
.val-icon {
  width: 52px; height: 52px; background: var(--t50); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--t900);
  margin-bottom: 20px; transition: all 0.35s;
}
.val-card h3 { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.val-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; }

/* ── CATEGORIES ─────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); }
.cat-card {
  position: relative; overflow: hidden; padding: 38px 26px; text-decoration: none;
  background: rgba(255,255,255,0.03); transition: background 0.4s; min-height: 190px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cat-card-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.5s var(--ease); filter: brightness(0.3) saturate(0.7);
}
.cat-card:hover .cat-card-bg { opacity: 1; }
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,76,92,0.82), transparent); opacity: 0; transition: opacity 0.4s;
}
.cat-card:hover::after { opacity: 1; }
.cat-icon { font-size: 28px; color: rgba(255,255,255,0.38); transition: color 0.3s, transform 0.4s var(--ease); position: relative; z-index: 2; }
.cat-card:hover .cat-icon { color: var(--green); transform: scale(1.15); }
.cat-name { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.82); position: relative; z-index: 2; transition: color 0.3s; }
.cat-card:hover .cat-name { color: white; }
.cat-count { font-size: 12px; color: rgba(255,255,255,0.38); position: relative; z-index: 2; }
.cat-arrow { font-size: 12px; color: rgba(255,255,255,0.28); position: relative; z-index: 2; align-self: flex-end; transition: transform 0.35s var(--ease), color 0.3s; }
.cat-card:hover .cat-arrow { transform: translateX(5px); color: var(--green); }

/* ── PRODUCTS ────────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.45s var(--ease); display: flex; flex-direction: column; position: relative;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 0;
  background: linear-gradient(90deg, var(--t900), var(--t700)); transition: height 0.4s var(--ease); z-index: 1;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); border-color: transparent; }
.product-card:hover::before { height: 3px; }
.product-img-wrap { position: relative; height: 228px; overflow: hidden; flex-shrink: 0; cursor: pointer; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-cat-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  color: var(--t900); padding: 5px 12px; border-radius: 100px;
  font-family: 'Sora', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.product-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 9px; line-height: 1.35; }
.product-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.product-footer { display: flex; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ── FILTER BAR ─────────────────────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn {
  padding: 9px 22px; border-radius: 100px; background: var(--white); border: 1.5px solid var(--border-mid);
  color: var(--text-mid); font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--t900); color: var(--t900); }
.filter-btn.active { background: var(--t900); border-color: var(--t900); color: white; }

/* ── SERVICES LIST ──────────────────────────────────────── */
.services-list { display: flex; flex-direction: column; }
.svc-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 28px; align-items: start;
  padding: 40px 0; border-bottom: 1px solid var(--border); transition: all 0.3s;
}
.svc-row:last-child { border-bottom: none; }
.svc-row:hover .svc-title { color: var(--t900); }
.svc-num { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: 2px; padding-top: 4px; transition: color 0.3s; }
.svc-row:hover .svc-num { color: var(--t900); }
.svc-icon { width: 52px; height: 52px; background: var(--t50); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--t900); margin-bottom: 16px; transition: all 0.3s; }
.svc-row:hover .svc-icon { background: var(--t900); color: white; }
.svc-title { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 10px; transition: color 0.3s; }
.svc-desc { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 14px; }
.svc-features { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.svc-features li { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.svc-features li::before { content: '—'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.svc-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border-mid); display: flex; align-items: center; justify-content: center; color: var(--text-muted); margin-top: 8px; transition: all 0.3s; }
.svc-row:hover .svc-arrow { border-color: var(--t900); color: var(--t900); transform: rotate(45deg); }

/* ── ENV GRID ────────────────────────────────────────────── */
.env-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.env-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 260px; cursor: pointer; }
.env-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); filter: brightness(0.75) saturate(0.85); }
.env-card:hover img { transform: scale(1.06); filter: brightness(0.65); }
.env-card-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; background: linear-gradient(0deg, rgba(15,76,92,0.85) 0%, transparent 100%); }
.env-card-label span { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: white; display: block; }
.env-card-label small { font-size: 11px; color: rgba(255,255,255,0.62); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item.open { border-color: var(--t900); box-shadow: 0 4px 20px rgba(15,76,92,0.07); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; background: none; border: none; cursor: pointer; color: var(--ink); text-align: left; font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; }
.faq-q .faq-ico { width: 32px; height: 32px; border-radius: 50%; background: var(--t50); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--t900); transition: all 0.35s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q .faq-ico { background: var(--t900); color: white; transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-item.open .faq-body { max-height: 280px; }
.faq-inner { padding: 0 26px 22px; border-top: 1px solid var(--border); padding-top: 16px; font-size: 14.5px; color: var(--text-mid); line-height: 1.78; }

/* ── CTA ─────────────────────────────────────────────────── */
.cta-block {
  background: var(--t900); border-radius: var(--radius-xl); padding: 64px 72px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(126,217,87,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(126,217,87,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-block::after {
  content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(126,217,87,0.1) 0%, transparent 70%);
  bottom: -200px; right: -80px; pointer-events: none;
}
.cta-block .s-label { position: relative; z-index: 1; justify-content: center; margin-bottom: 14px; }
.cta-title { font-family: 'Sora', sans-serif; font-size: clamp(26px, 4.2vw, 58px); font-weight: 800; color: white; letter-spacing: -2px; line-height: 1.08; position: relative; z-index: 1; margin-bottom: 16px; }
.cta-sub { font-size: 17px; color: rgba(255,255,255,0.6); position: relative; z-index: 1; max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--ink); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; padding-bottom: 48px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; display: block; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.78; max-width: 280px; }
.footer-slogan { font-size: 12px; color: rgba(255,255,255,0.28); font-style: italic; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-col h4 { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.32); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.48); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-contact-list { display: flex; flex-direction: column; gap: 13px; }
.fc-row { display: flex; align-items: center; gap: 11px; }
.fc-row i { color: var(--blue); width: 14px; text-align: center; font-size: 13px; }
.fc-row a { font-size: 13px; color: rgba(255,255,255,0.48); text-decoration: none; transition: color 0.2s; }
.fc-row a:hover { color: white; }
.footer-social { display: flex; gap: 8px; margin-top: 22px; }
.social-link { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.38); font-size: 14px; text-decoration: none; transition: all 0.2s; }
.social-link:hover { border-color: rgba(255,255,255,0.3); color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 22px 0; }
.footer-bottom-inner { max-width: 1260px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom-inner span { font-size: 12px; color: rgba(255,255,255,0.26); }

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero { padding: 120px 0 44px; background: var(--white); border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--t900); }
.breadcrumb .sep { color: var(--border-mid); }
.page-hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(32px, 5vw, 64px); font-weight: 800; letter-spacing: -2px; color: var(--ink); line-height: 1.1; margin-bottom: 14px; }
.page-hero .ph-sub { font-size: 17px; color: var(--text-mid); max-width: 560px; line-height: 1.75; }

/* ── WA FLOAT ────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 400;
  width: 56px; height: 56px; background: #25D366; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; color: white; text-decoration: none;
  box-shadow: 0 8px 28px rgba(37,211,102,0.4); animation: waFloat 3s ease infinite; transition: transform 0.35s var(--ease);
}
.wa-float:hover { transform: scale(1.1) translateY(-3px); }
@keyframes waFloat {
  0%,100% { box-shadow: 0 8px 28px rgba(37,211,102,0.38); }
  50%      { box-shadow: 0 8px 40px rgba(37,211,102,0.62), 0 0 0 14px rgba(37,211,102,0.06); }
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contact-method { display: flex; align-items: flex-start; gap: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 12px; text-decoration: none; transition: all 0.3s var(--ease); }
.contact-method:hover { border-color: var(--t900); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.cm-icon { width: 48px; height: 48px; flex-shrink: 0; background: var(--t50); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--t900); transition: all 0.3s; }
.contact-method:hover .cm-icon { background: var(--t900); color: white; }
.cm-text h4 { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.cm-text p, .cm-text a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.cm-text a:hover { color: var(--t900); }
.contact-form-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 48px; box-shadow: var(--shadow-md); }
.form-title { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 18px; background: var(--off); border: 1.5px solid var(--border); border-radius: 10px; color: var(--ink); font-family: 'Inter', sans-serif; font-size: 14px; transition: border-color 0.25s, box-shadow 0.25s; outline: none; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--t900); box-shadow: 0 0 0 3px rgba(15,76,92,0.07); background: white; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group.has-error input, .form-group.has-error textarea, .form-group.has-error select { border-color: #d94f4f; }
.field-err { font-size: 11px; color: #d94f4f; margin-top: 5px; display: block; }
.form-success { display: none; text-align: center; padding: 60px 20px; }
.form-success.visible { display: block; }
.success-icon { width: 72px; height: 72px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--t900); margin: 0 auto 20px; }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-bg {
  position: fixed; inset: 0; z-index: 800; background: rgba(11,27,34,0.8); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.modal-bg.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: white; border-radius: var(--radius-xl); max-width: 760px; width: 100%; overflow: hidden; position: relative;
  transform: scale(0.94) translateY(20px); transition: transform 0.45s var(--ease);
  box-shadow: 0 40px 120px rgba(15,76,92,0.25);
}
.modal-bg.open .modal-box { transform: scale(1) translateY(0); }
.modal-img { height: 320px; overflow: hidden; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 40px; }
.modal-cat { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--t900); margin-bottom: 10px; }
.modal-name { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; margin-bottom: 14px; }
.modal-desc { font-size: 14.5px; color: var(--text-mid); line-height: 1.78; margin-bottom: 28px; }
.modal-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; background: rgba(255,255,255,0.88); backdrop-filter: blur(8px); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); font-size: 17px; transition: all 0.2s; z-index: 1; border: 1px solid var(--border); }
.modal-close:hover { background: white; color: var(--t900); }

/* ── ADMIN ───────────────────────────────────────────────── */
.admin-pg { min-height: 100vh; background: var(--off); cursor: auto; }
.admin-nav-bar { height: 64px; background: white; border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 32px; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.admin-nav-bar .brand { display: flex; align-items: center; gap: 12px; font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); }
.admin-nav-bar .brand img { height: 34px; }
.admin-main { max-width: 1100px; margin: 0 auto; padding: 40px 28px 80px; }
.admin-hdr { margin-bottom: 36px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.admin-hdr h1 { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 800; color: var(--ink); }
.admin-tabs { display: flex; gap: 4px; background: var(--off2); border-radius: 12px; padding: 4px; margin-bottom: 32px; width: fit-content; border: 1px solid var(--border); }
.admin-tab { padding: 9px 22px; border-radius: 9px; background: none; border: none; font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.admin-tab.active { background: var(--t900); color: white; box-shadow: 0 2px 8px rgba(15,76,92,0.25); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.tbl-wrap { overflow-x: auto; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.admin-tbl { width: 100%; border-collapse: collapse; }
.admin-tbl th { padding: 14px 18px; text-align: left; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); background: var(--off); }
.admin-tbl td { padding: 16px 18px; font-size: 13px; color: var(--text-mid); border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-tbl tr:last-child td { border-bottom: none; }
.admin-tbl tr:hover td { background: var(--off); }
.admin-tbl img { width: 64px; height: 46px; object-fit: cover; border-radius: 8px; }
.act-btn { padding: 6px 14px; border-radius: 100px; border: none; cursor: pointer; font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; transition: all 0.2s; margin-right: 4px; }
.act-edit { background: var(--blue-light); color: var(--blue); }
.act-edit:hover { background: var(--blue); color: white; }
.act-del { background: rgba(217,79,79,0.1); color: #d94f4f; }
.act-del:hover { background: #d94f4f; color: white; }
.form-box { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-box h2 { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 28px; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--off); }
.login-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 56px 48px; max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); }
.login-card img { height: 44px; margin: 0 auto 28px; display: block; }
.login-card h2 { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.login-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; }
.login-err { font-size: 13px; color: #d94f4f; margin-top: 12px; display: none; }
.login-err.show { display: block; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.fade-in.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.32s; } .d4 { transition-delay: 0.44s; }

/* ── UTILS ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-48 { margin-top: 48px; } .mt-72 { margin-top: 72px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-products { display: none; text-align: center; padding: 72px 0; color: var(--text-muted); width: 100%; grid-column: 1/-1; }
.no-products i { font-size: 2.5rem; margin-bottom: 14px; display: block; color: var(--border-mid); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { gap: 56px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 360px; }
  .hero-left { padding: 80px 32px 48px; }
  .hero-left::after { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: auto 1fr; }
  .svc-arrow { display: none; }
  .mv-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 64px 36px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .env-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .container { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .env-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; padding: 64px 24px 80px; }
  .hero-right-panel { display: none; }
}
@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .hero-title { letter-spacing: -1.5px; }
  .hero-actions { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cat-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 48px 24px; }
  .about-img-secondary, .about-badge { display: none; }
}
