/* ============================================================
   SERTELI — Custom Stylesheet
   Bootstrap 5 + Vue.js 3
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --serteli-primary:   #1a56db;
  --serteli-dark:      #0f172a;
  --serteli-mid:       #1e3a5f;
  --serteli-accent:    #38bdf8;
  --serteli-light:     #f0f7ff;
  --serteli-teal:      #0d9488;
  --serteli-gradient:  linear-gradient(135deg, #1a56db 0%, #0891b2 100%);
  --section-padding:   6rem 0;
  --radius-card:       1rem;
  --transition:        .25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.fw-600 { font-weight: 600; }
.text-white-70 { color: rgba(255,255,255,.75); }

/* ── Beta Banner ────────────────────────────────────────────── */
:root {
  --banner-h: 2.1rem;
}

.beta-banner {
  background: #f59e0b;
  color: #1c1917;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem 1rem;
  letter-spacing: .2px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--banner-h);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.serteli-navbar {
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 1.2rem 0;
  top: var(--banner-h) !important;
}

.serteli-navbar.scrolled {
  background: rgba(15, 23, 42, .97) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
  padding: .7rem 0;
  backdrop-filter: blur(12px);
}

.brand-serteli {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: -.5px;
}

.brand-dot {
  color: var(--serteli-accent);
  font-size: 1.8rem;
  line-height: 1;
}

.nav-link {
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .2px;
  transition: color var(--transition);
}

.nav-link:hover { color: var(--serteli-accent) !important; }

.btn-serteli-outline {
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition);
}

.btn-serteli-outline:hover {
  border-color: var(--serteli-accent);
  color: var(--serteli-accent);
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: var(--serteli-dark);
  position: relative;
  overflow: hidden;
}

.hero-bg-anim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(26,86,219,.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(8,145,178,.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero-section::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.02'%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");
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(56,189,248,.15);
  border: 1px solid rgba(56,189,248,.3);
  color: var(--serteli-accent);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .3px;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}

.text-gradient {
  background: linear-gradient(90deg, var(--serteli-accent), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  max-width: 540px;
}

.btn-serteli-primary {
  background: var(--serteli-gradient);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(26,86,219,.4);
  transition: all var(--transition);
}

.btn-serteli-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,86,219,.55);
  color: #fff;
}

.btn-serteli-primary:disabled { opacity: .75; }

/* Stats */
.stat-card {
  padding: .5rem;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--serteli-accent);
  line-height: 1;
}

.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: .25rem;
  line-height: 1.3;
}

/* Hex Visual */
.hero-visual {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-grid {
  position: relative;
  width: 100%;
  height: 100%;
}

.hex-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--serteli-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 40px rgba(26,86,219,.6);
  z-index: 2;
}

.hex-item {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.hex-1 { top: 10%;  left: 50%; transform: translateX(-50%); background: rgba(26,86,219,.8);   animation-delay: 0s;   }
.hex-2 { top: 28%;  right: 8%; background: rgba(13,148,136,.8);  animation-delay: .6s;  }
.hex-3 { bottom: 28%; right: 8%; background: rgba(124,58,237,.8); animation-delay: 1.2s; }
.hex-4 { bottom: 10%; left: 50%; transform: translateX(-50%); background: rgba(59,130,246,.8); animation-delay: 1.8s; }
.hex-5 { bottom: 28%; left: 8%;  background: rgba(16,185,129,.8); animation-delay: 2.4s; }
.hex-6 { top: 28%;  left: 8%;  background: rgba(245,158,11,.8);  animation-delay: 3s;   }

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

.hex-1, .hex-4 {
  animation-name: float-center;
}

@keyframes float-center {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}

/* ── Section Commons ────────────────────────────────────────── */
.section-padding { padding: var(--section-padding); }

.bg-light-custom { background: #f8fafc; }

.section-tag {
  display: inline-block;
  background: rgba(26,86,219,.08);
  color: var(--serteli-primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  border: 1px solid rgba(26,86,219,.15);
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--serteli-dark);
  margin-top: .75rem;
  line-height: 1.2;
}

.section-subtitle {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: .75rem;
}

/* ── Services ───────────────────────────────────────────────── */
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: all var(--transition);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26,86,219,.1);
  border-color: rgba(26,86,219,.2);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.icon-blue   { background: rgba(26,86,219,.1); }
.icon-red    { background: rgba(239,68,68,.1); }
.icon-teal   { background: rgba(13,148,136,.1); }
.icon-purple { background: rgba(124,58,237,.1); }
.icon-orange { background: rgba(245,158,11,.1); }
.icon-green  { background: rgba(16,185,129,.1); }

.service-icon {
  font-size: 1.6rem;
}

.icon-blue   .service-icon { color: #1a56db; }
.icon-red    .service-icon { color: #ef4444; }
.icon-teal   .service-icon { color: #0d9488; }
.icon-purple .service-icon { color: #7c3aed; }
.icon-orange .service-icon { color: #d97706; }
.icon-green  .service-icon { color: #059669; }

.service-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--serteli-dark);
  margin-bottom: .75rem;
}

.service-desc {
  color: #64748b;
  font-size: .93rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.service-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.tag-chip {
  background: #f1f5f9;
  color: #475569;
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
}

/* ── Team ───────────────────────────────────────────────────── */
.team-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: box-shadow var(--transition);
}

.team-card:hover {
  box-shadow: 0 16px 48px rgba(26,86,219,.1);
}

.team-top {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.team-full {
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
}

.team-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-blue { background: var(--serteli-gradient); }
.avatar-teal { background: linear-gradient(135deg, #0d9488, #0891b2); }

.avatar-initials {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

.team-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #3b82f6;
  font-size: 1.2rem;
  background: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.team-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--serteli-dark);
  margin-bottom: .15rem;
}

.team-role {
  font-size: .85rem;
  font-weight: 600;
  color: var(--serteli-primary);
  margin-bottom: .35rem;
}

.team-degree, .team-university {
  font-size: .88rem;
  color: #475569;
  margin-bottom: .2rem;
}

.expertise-label { font-size: .85rem; }

.expertise-chip {
  background: rgba(26,86,219,.07);
  color: var(--serteli-primary);
  font-size: .78rem;
  font-weight: 600;
  padding: .2rem .7rem;
  border-radius: 50px;
  border: 1px solid rgba(26,86,219,.15);
}

.team-bio {
  font-size: .9rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 0;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.team-link-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .8rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.team-link-btn:hover {
  background: var(--serteli-primary);
  border-color: var(--serteli-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,86,219,.25);
}

/* ── Why Section ────────────────────────────────────────────── */
.why-section {
  background: linear-gradient(135deg, var(--serteli-dark) 0%, var(--serteli-mid) 100%);
}

.reason-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  transition: all var(--transition);
}

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

.reason-icon {
  font-size: 1.8rem;
  color: var(--serteli-accent);
  margin-bottom: .75rem;
}

.reason-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: .5rem;
}

.reason-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  margin: 0;
}

/* ── Methodology Timeline ───────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 3.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--serteli-primary), var(--serteli-accent));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

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

.timeline-number {
  position: absolute;
  left: -3.5rem;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--serteli-gradient);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26,86,219,.35);
  top: .1rem;
}

.timeline-content {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  flex: 1;
  transition: box-shadow var(--transition);
}

.timeline-content:hover {
  box-shadow: 0 8px 24px rgba(26,86,219,.1);
}

.timeline-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--serteli-dark);
  margin-bottom: .5rem;
}

.timeline-desc {
  font-size: .9rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ── Contact ────────────────────────────────────────────────── */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,86,219,.08);
  border: 1px solid rgba(26,86,219,.15);
  border-radius: 10px;
  color: var(--serteli-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: .8rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .15rem;
}

.contact-value {
  font-size: .95rem;
  font-weight: 500;
  color: var(--serteli-dark);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-value:hover { color: var(--serteli-primary); }

.contact-form-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.form-control, .form-select {
  border-color: #e2e8f0;
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-size: .95rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--serteli-primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

.form-label {
  font-size: .88rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: .4rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.serteli-footer {
  background: var(--serteli-dark);
  color: rgba(255,255,255,.8);
}

.footer-brand-text {
  font-size: 1.8rem;
}

.footer-tagline {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.65;
  margin: 0;
}

.footer-rut {
  margin-top: .75rem;
}

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--serteli-accent); }

.footer-email {
  display: inline-flex;
  align-items: center;
  color: var(--serteli-accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--transition);
}

.footer-email:hover { opacity: .8; color: var(--serteli-accent); }

.footer-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.footer-tag {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 50px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--serteli-accent); }

/* ── WhatsApp Widget ────────────────────────────────────────── */
.wa-widget {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* FAB button */
.wa-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
}

.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37,211,102,.6);
}

.wa-fab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
}

.wa-fab-icon svg { width: 32px; height: 32px; }

.wa-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid rgba(37,211,102,.5);
  animation: wa-pulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 1; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Chat panel */
.wa-panel {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 340px;
  background: #f0f2f5;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: wa-slide-up .25s ease;
}

@keyframes wa-slide-up {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.wa-header {
  background: #075E54;
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.wa-header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.wa-header-info { flex: 1; }

.wa-header-name {
  font-weight: 700;
  color: #fff;
  font-size: .95rem;
  line-height: 1.2;
}

.wa-header-status {
  font-size: .75rem;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .1rem;
}

.wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  display: inline-block;
  flex-shrink: 0;
}

.wa-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  cursor: pointer;
  padding: .2rem;
  line-height: 1;
  transition: color .2s;
}

.wa-close-btn:hover { color: #fff; }

/* Messages area */
.wa-messages {
  flex: 1;
  min-height: 220px;
  max-height: 280px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: #e5ddd5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(0,0,0,0.03)' stroke-width='1'/%3E%3C/svg%3E");
}

.wa-msg { display: flex; flex-direction: column; }
.wa-msg--bot  { align-items: flex-start; }
.wa-msg--user { align-items: flex-end; }

.wa-bubble {
  max-width: 85%;
  padding: .55rem .85rem;
  border-radius: 12px;
  font-size: .88rem;
  line-height: 1.5;
  word-break: break-word;
}

.wa-msg--bot  .wa-bubble { background: #fff;     border-radius: 0 12px 12px 12px; color: #1a1a1a; }
.wa-msg--user .wa-bubble { background: #dcf8c6;  border-radius: 12px 0 12px 12px; color: #1a1a1a; }

.wa-time {
  font-size: .7rem;
  color: rgba(0,0,0,.45);
  margin-top: .15rem;
  padding: 0 .1rem;
}

/* Typing indicator */
.wa-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: .6rem .85rem;
  width: 60px;
}

.wa-typing span {
  width: 8px;
  height: 8px;
  background: #aaa;
  border-radius: 50%;
  display: inline-block;
  animation: wa-bounce .9s ease-in-out infinite;
}

.wa-typing span:nth-child(2) { animation-delay: .15s; }
.wa-typing span:nth-child(3) { animation-delay: .30s; }

@keyframes wa-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%            { transform: translateY(-6px); }
}

/* Quick reply options */
.wa-options {
  padding: .6rem .75rem .4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  background: #f0f2f5;
}

.wa-opt-btn {
  background: #fff;
  border: 1.5px solid #25D366;
  color: #075E54;
  font-size: .8rem;
  font-weight: 600;
  padding: .35rem .75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.wa-opt-btn:hover {
  background: #25D366;
  color: #fff;
}

/* Input row */
.wa-input-row {
  display: flex;
  gap: .5rem;
  padding: .6rem .75rem;
  background: #f0f2f5;
  border-top: 1px solid #e0e0e0;
}

.wa-input {
  flex: 1;
  border: none;
  border-radius: 24px;
  padding: .5rem 1rem;
  font-size: .88rem;
  background: #fff;
  outline: none;
}

.wa-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}

.wa-send-btn:hover { background: #1da851; }

/* Body (saludo) */
.wa-body {
  padding: 1rem;
  background: #e5ddd5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(0,0,0,0.03)' stroke-width='1'/%3E%3C/svg%3E");
}

/* CTA button */
.wa-cta {
  padding: .85rem 1rem 1rem;
  background: #f0f2f5;
  border-top: 1px solid #e0e0e0;
}

.wa-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .7rem 1rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 14px rgba(37,211,102,.4);
}

.wa-open-btn:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,211,102,.5);
}

@media (max-width: 400px) {
  .wa-panel { width: calc(100vw - 2rem); right: 0; }
  .wa-widget { right: 1rem; bottom: 1rem; }
}

/* ── Language Switcher ──────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .2rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px;
  padding: .2rem .3rem;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  font-weight: 700;
  padding: .25rem .55rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .3px;
  line-height: 1;
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.lang-btn.active {
  background: var(--serteli-gradient);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,86,219,.4);
}

.lang-flag { font-size: .95rem; }
.lang-label { font-size: .75rem; }

/* ── Responsive Adjustments ─────────────────────────────────── */
@media (max-width: 768px) {
  .team-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-info .team-role,
  .team-info .team-degree,
  .team-info .team-university { text-align: center; }

  .team-links { justify-content: center; }

  .timeline { padding-left: 2.5rem; }
  .timeline-number { left: -2.5rem; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-title { font-size: 2.2rem; }
}

@media (max-width: 576px) {
  .contact-form-card { padding: 1.5rem; }
  .section-padding { padding: 4rem 0; }
}
