/* =============================================
   SERVICIO DIRECTO — Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --blue-dark:   #0f2d6b;
  --blue-mid:    #1a4db8;
  --blue-accent: #2563eb;
  --blue-light:  #dbeafe;
  --blue-glow:   #3b82f6;

  --green:       #10b981;
  --green-light: #d1fae5;

  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;

  --white:       #ffffff;
  --shadow-sm:   0 1px 3px rgba(15,45,107,.08), 0 1px 2px rgba(15,45,107,.05);
  --shadow-md:   0 4px 16px rgba(15,45,107,.10), 0 2px 4px rgba(15,45,107,.06);
  --shadow-lg:   0 10px 40px rgba(15,45,107,.14), 0 4px 12px rgba(15,45,107,.08);
  --shadow-blue: 0 4px 24px rgba(37,99,235,.25);

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

  --font-head:   'Sora', sans-serif;
  --font-body:   'DM Sans', sans-serif;

  --transition:  all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: var(--font-body); }

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--blue-dark);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-dark));
  border-radius: 8px;
  position: relative;
}
.logo span::after {
  content: 'S';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}
.nav-links a:hover { background: var(--gray-100); color: var(--blue-accent); }
.nav-links .btn-nav {
  background: var(--blue-accent);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 50px;
  font-weight: 600;
}
.nav-links .btn-nav:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-mid) 55%, #1e5fd4 100%);
  padding: 80px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,.2) 0%, transparent 45%);
}
.hero-inner { position: relative; max-width: 700px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge::before { content: '●'; color: var(--green); font-size: 0.6rem; }

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #93c5fd, #bfdbfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* Search Box */
.search-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 8px 8px 8px 8px;
  display: flex;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  max-width: 620px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.search-box input {
  flex: 1;
  min-width: 140px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--gray-800);
  outline: none;
  background: var(--gray-50);
  transition: var(--transition);
}
.search-box input:focus {
  border-color: var(--blue-accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.search-box input::placeholder { color: var(--gray-400); }
.btn-search {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-dark));
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-search:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.hero-stats {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
  color: rgba(255,255,255,.9);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero-stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,.6);
  font-weight: 300;
}

/* =============================================
   CATEGORIES
   ============================================= */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}
.section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}
.section-head p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.category-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-glow));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.category-card:hover {
  border-color: var(--blue-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.category-card:hover::after { transform: scaleX(1); }

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.cat-icon.blue   { background: var(--blue-light); }
.cat-icon.green  { background: var(--green-light); }
.cat-icon.yellow { background: #fef3c7; }
.cat-icon.red    { background: #fee2e2; }
.cat-icon.purple { background: #ede9fe; }

.category-card h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -0.01em;
}
.category-card p {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-bg {
  background: var(--gray-900);
  padding: 72px 24px;
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.how-inner .section-head h2 { color: var(--white); }
.how-inner .section-head p  { color: var(--gray-400); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
}
.step-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(37,99,235,.3);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.step-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.step-card p { font-size: 0.85rem; color: var(--gray-400); line-height: 1.6; }

/* =============================================
   PROVIDER CARD (shared search.html)
   ============================================= */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.provider-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.provider-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--blue-accent);
}

.card-header {
  padding: 24px 24px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-light);
  flex-shrink: 0;
}
.card-meta { flex: 1; }
.card-meta h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.card-meta .profession {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--blue-accent);
  margin-bottom: 6px;
}
.stars { color: #f59e0b; font-size: 0.8rem; letter-spacing: 1px; }
.rating-val { font-size: 0.78rem; color: var(--gray-400); margin-left: 4px; }

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  letter-spacing: 0.03em;
}
.verified-badge::before { content: '✓'; font-weight: 900; }

.card-body {
  padding: 16px 24px;
  flex: 1;
}
.card-body p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.tag {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.card-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.card-location {
  font-size: 0.78rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  padding: 11px 22px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-dark));
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}
.btn-outline {
  background: transparent;
  color: var(--blue-accent);
  border: 1.5px solid var(--blue-accent);
}
.btn-outline:hover {
  background: var(--blue-light);
}
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  background: #059669;
  transform: translateY(-1px);
}
.btn-sm {
  font-size: 0.82rem;
  padding: 9px 18px;
}
.btn-full { width: 100%; }

/* =============================================
   SEARCH PAGE
   ============================================= */
.search-header-bar {
  background: var(--blue-dark);
  padding: 28px 24px;
}
.search-bar-row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-bar-row input {
  flex: 1;
  min-width: 140px;
  border: none;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  border: 1.5px solid transparent;
  transition: var(--transition);
}
.search-bar-row input::placeholder { color: rgba(255,255,255,.5); }
.search-bar-row input:focus {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.18);
}
.search-bar-row .btn-search {
  background: var(--white);
  color: var(--blue-dark);
}
.search-bar-row .btn-search:hover { background: var(--blue-light); box-shadow: none; }

.search-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 860px) {
  .search-layout { grid-template-columns: 1fr; }
}

/* Filters Sidebar */
.filters-panel {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.filters-panel h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}
.filter-group { margin-bottom: 20px; }
.filter-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  display: block;
  margin-bottom: 8px;
}
.filter-chips { display: flex; flex-direction: column; gap: 6px; }
.chip {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}
.chip:hover, .chip.active {
  background: var(--blue-light);
  color: var(--blue-accent);
  border-color: var(--blue-accent);
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.results-header h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.results-header span { font-size: 0.85rem; color: var(--gray-400); }

/* =============================================
   PROFILE PAGE
   ============================================= */
.profile-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 860px) {
  .profile-layout { grid-template-columns: 1fr; }
}

.profile-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
}
.profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}
.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--blue-light);
}
.online-dot {
  position: absolute;
  bottom: 6px; right: 4px;
  width: 14px; height: 14px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.profile-card h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.profile-card .prof-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-accent);
  margin-bottom: 8px;
}
.profile-card .prof-location {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.profile-rating {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}
.profile-rating .stat { text-align: center; }
.profile-rating .stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.profile-rating .stat span { font-size: 0.72rem; color: var(--gray-400); }

.profile-cta { display: flex; flex-direction: column; gap: 10px; }

/* Badges */
.badges-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.badges-card h3 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 14px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.badge-item:last-child { border-bottom: none; }
.badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.badge-icon.blue   { background: var(--blue-light); }
.badge-icon.green  { background: var(--green-light); }
.badge-icon.yellow { background: #fef3c7; }
.badge-item .badge-text { font-size: 0.82rem; font-weight: 600; color: var(--gray-700); }
.badge-item .badge-sub  { font-size: 0.72rem; color: var(--gray-400); }

/* Profile Main Content */
.profile-content { display: flex; flex-direction: column; gap: 20px; }

.content-block {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.content-block h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.content-block p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }

.services-list { display: flex; flex-direction: column; gap: 10px; }
.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
}
.service-item span { font-size: 0.88rem; font-weight: 500; color: var(--gray-800); }
.service-price {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-accent);
}

.lang-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-pill {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.exp-item {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.exp-item:last-child { border-bottom: none; }
.exp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-accent);
  margin-top: 5px;
  flex-shrink: 0;
}
.exp-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
}
.exp-item p { font-size: 0.82rem; color: var(--gray-400); }

/* Reviews */
.review-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.review-item:last-child { border-bottom: none; }
.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-dark);
  flex-shrink: 0;
}
.review-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-800);
}
.review-date {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-left: auto;
}
.review-body {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding-left: 46px;
}

/* =============================================
   REGISTER PAGE
   ============================================= */
.register-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.register-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  padding: 40px 24px;
  text-align: center;
}
.register-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.register-hero p { font-size: 0.95rem; color: rgba(255,255,255,.7); }

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  margin-top: -28px;
  position: relative;
}

.form-section-title {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-accent);
  margin-top: 28px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}
.form-section-title:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--blue-accent); }

.form-input {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--gray-50);
  outline: none;
  transition: var(--transition);
}
.form-input:focus {
  border-color: var(--blue-accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-input::placeholder { color: var(--gray-400); }

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.upload-area {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-50);
  position: relative;
}
.upload-area:hover { border-color: var(--blue-accent); background: var(--blue-light); }
.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-icon { font-size: 1.8rem; margin-bottom: 8px; }
.upload-area p { font-size: 0.85rem; color: var(--gray-600); font-weight: 500; }
.upload-area span { font-size: 0.75rem; color: var(--gray-400); }

.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.submit-area {
  margin-top: 32px;
  text-align: center;
}
.submit-area .btn { min-width: 220px; padding: 16px 32px; font-size: 1rem; }
.submit-area p { font-size: 0.78rem; color: var(--gray-400); margin-top: 12px; }

/* Success message */
.success-msg {
  display: none;
  background: var(--green-light);
  border: 1.5px solid var(--green);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 24px;
  text-align: center;
  color: #065f46;
  font-weight: 600;
}
.success-msg.visible { display: block; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.5);
  padding: 48px 24px 32px;
  margin-top: auto;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.45);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* =============================================
   RESPONSIVE NAV
   ============================================= */
@media (max-width: 700px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: var(--radius-sm); padding: 12px 16px; }
  .site-header { position: relative; }
}

/* =============================================
   PAGE TRANSITIONS & UTILS
   ============================================= */
.page-enter {
  animation: fadeUp 0.4s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--gray-100);
  margin: 0;
}
