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

:root {
  --white: #ffffff;
  --bg: #fafafa;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #059669;
  --green-bg: #d1fae5;
  --yellow: #fbbf24;
  --yellow-bg: #fef3c7;
  --pink: #ec4899;
  --pink-bg: #fce7f3;
  --purple: #7c3aed;
  --purple-bg: #ede9fe;
  --blue-bg: #dbeafe;
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Inter", system-ui, sans-serif;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
}

/* Focus styles - keyboard accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:hover,
  .hero-card,
  .blog-card {
    transition: none;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Hamburger toggle - only visible on mobile (see @media below) */
.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: background 0.2s;
}
.nav-toggle:hover {
  background: var(--bg);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
/* SVG icon (visible on mobile) */
.nav-toggle-svg {
  display: none;
  flex-shrink: 0;
}
/* CSS icon (used for X when open) */
.nav-toggle-icon {
  display: none;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 1px;
  position: relative;
  transition: transform 0.2s, opacity 0.2s;
  flex-shrink: 0;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 1px;
  transition: transform 0.2s;
}
.nav-toggle-icon::before {
  top: -6px;
}
.nav-toggle-icon::after {
  top: 6px;
}
.header.nav-open .nav-toggle-icon {
  background: transparent;
}
.header.nav-open .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.header.nav-open .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Desktop: hamburger never visible – full nav always shown */
@media (min-width: 769px) {
  .nav-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none;
    position: absolute;
    left: -9999px;
  }
}

.btn-text {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
}

.btn-text:hover {
  color: var(--text);
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 0.15s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-secondary:hover {
  background: #f0f7ff;
}

.btn-dark {
  background: var(--blue-dark);
  color: var(--white);
  margin-top: 1.5rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
  background: var(--bg);
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.highlight-blue {
  background: var(--blue-bg);
  color: var(--blue-dark);
  padding: 0.1em 0.25em;
  border-radius: 6px;
}

.hero-subtitle {
  margin: 0 0 2rem;
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-gallery {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  flex-shrink: 0;
}

.hero-card img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 280px;
  object-fit: cover;
}

.hero-card-left {
  transform: translateY(1.5rem) rotate(-2deg);
  z-index: 1;
}

.hero-card-center {
  z-index: 2;
  max-width: 320px;
}

.hero-card-center img {
  max-width: 320px;
}

.hero-card-right {
  transform: translateY(1.5rem) rotate(2deg);
  z-index: 1;
}

.card-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.overlay-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.overlay-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
}

.card-overlay-sm {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.overlay-icon {
  font-size: 1.1rem;
}

.hero-trust {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Section common */
.section-pad {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

.highlight-green {
  background: var(--green-bg);
  color: var(--green);
  padding: 0.1em 0.25em;
  border-radius: 6px;
}

/* Platform */
.platform {
  background: var(--white);
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.tag {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #f0f0f0;
  transition: background 0.2s, color 0.2s;
}

.tag:hover {
  background: #e5e5e5;
  color: var(--text);
}

.platform-block {
  background: var(--blue-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-list li {
  margin-bottom: 1rem;
}

.platform-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.2);
  transition: color 0.2s;
}

.platform-list a:hover {
  color: var(--blue);
}

.list-arrow {
  color: var(--blue);
  font-size: 1.1rem;
}

.platform-visual {
  position: relative;
}

.platform-main-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}

.platform-float {
  position: absolute;
  background: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.platform-float-calendar {
  top: 10%;
  right: -10px;
}

.platform-float-profile {
  bottom: 20%;
  left: -15px;
}

/* Stats */
.stats {
  background: var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.stat-value {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.stat-yellow {
  background: var(--yellow-bg);
  color: #92400e;
}

.stat-blue {
  background: var(--blue-bg);
  color: var(--blue-dark);
}

.stat-pink {
  background: var(--pink-bg);
  color: #be185d;
}

.stat-green {
  background: var(--green-bg);
  color: var(--green);
}

/* Global */
.global {
  background: var(--white);
}

.global-map {
  background: #f0f0f0;
  border-radius: var(--radius-lg);
  min-height: 280px;
  margin-bottom: 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #999 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
}

.map-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.global-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.metric-box {
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--white);
}

.metric-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.metric-text {
  font-size: 0.95rem;
  opacity: 0.95;
}

.metric-green {
  background: var(--green);
}

.metric-purple {
  background: var(--purple);
}

.metric-blue {
  background: var(--blue);
}

/* Testimonials */
.testimonials {
  background: var(--bg);
}

.testimonial-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 950px;
  margin: 0 auto;
}

.testimonial-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.testimonial-gallery img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.testimonial-card {
  background: var(--green);
  color: var(--white);
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  max-width: 380px;
  box-shadow: var(--shadow-lg);
}

.testimonial-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.testimonial-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* Blog - section removed from homepage; styles kept for future use */

.blog {
  background: var(--white);
}

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

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--white);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-card .blog-tag {
  display: inline-block;
  margin: 1rem 1rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
}

.blog-card h3 {
  margin: 0 1rem 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.blog-link {
  display: inline-block;
  margin: 0 1rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.blog-link:hover {
  text-decoration: underline;
}

/* Final CTA */
.cta-final {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1200&h=400&fit=crop") center/cover no-repeat;
  opacity: 0.25;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cta-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

/* Footer */
.footer {
  background: var(--text);
  color: #9ca3af;
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #374151;
}

.footer .logo {
  color: var(--white);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.footer-col a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #374151;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-social a:hover {
  background: #4b5563;
}

/* Responsive */
@media (max-width: 1024px) {
  .platform-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .platform-content {
    order: 1;
  }

  .platform-visual {
    order: 0;
  }

  .platform-main-img {
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .global-metrics {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile only: hamburger + collapsible nav (768px and below) */
@media (max-width: 768px) {
  .header .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .nav {
    flex-wrap: wrap;
    padding-bottom: 0.75rem;
  }

  .nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    left: 0;
    order: 2;
    margin-left: auto;
    background: #eee;
    color: #1a1a1a;
  }
  .nav-toggle:hover {
    background: #e0e0e0;
  }
  .nav-toggle-svg {
    display: block !important;
    color: #1a1a1a;
    stroke: #1a1a1a;
  }
  .nav-toggle-icon {
    display: none !important;
  }
  .header.nav-open .nav-toggle-svg {
    display: none !important;
  }
  .header.nav-open .nav-toggle-icon {
    display: block !important;
  }
  .header.nav-open .nav-toggle .nav-toggle-icon::before,
  .header.nav-open .nav-toggle .nav-toggle-icon::after {
    background: #1a1a1a;
  }

  .header-actions {
    order: 3;
  }

  /* Nav links hidden by default on mobile; show when hamburger is clicked */
  .nav-links {
    order: 4;
    width: 100%;
    display: none !important;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.75rem 0 0;
    margin-top: 0.75rem;
    border-top: 1px solid #eee;
    background: #fff;
  }

  .header.nav-open .nav-links {
    display: flex !important;
  }

  .nav-links li {
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
  }

  .hero-gallery {
    flex-direction: column;
    align-items: center;
  }

  .hero-card-left,
  .hero-card-right {
    transform: none;
  }

  .hero-card img {
    max-width: 100%;
  }

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

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: var(--white);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-banner-text a {
  color: var(--blue-bg);
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: var(--white);
}

.cookie-banner .btn-primary {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-banner .btn-primary {
    width: 100%;
  }
}

/* Contact page */
main.contact-main {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
  background: linear-gradient(165deg, #eff6ff 0%, #dbeafe 40%, #e0e7ff 100%);
  background-attachment: fixed;
}

.contact-main .contact-form-section {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.contact-main .contact-form-title {
  margin: 0 0 1.75rem;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1e293b;
  text-align: center;
}

.contact-main .contact-form-card {
  padding: 2.5rem 2.25rem;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 20px 50px rgba(37, 99, 235, 0.12);
  transition: box-shadow 0.3s ease, border-color 0.2s ease;
}

.contact-main .contact-form-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 24px 56px rgba(37, 99, 235, 0.15);
}

.contact-main .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-main .contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-main .contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
  letter-spacing: 0.01em;
}

.contact-main .contact-form input,
.contact-main .contact-form select,
.contact-main .contact-form textarea {
  padding: 0.9rem 1.15rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  color: #1e293b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-main .contact-form input:hover,
.contact-main .contact-form select:hover,
.contact-main .contact-form textarea:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.contact-main .contact-form input::placeholder,
.contact-main .contact-form textarea::placeholder {
  color: #64748b;
}

.contact-main .contact-form input:focus,
.contact-main .contact-form select:focus,
.contact-main .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.contact-main .contact-form select {
  cursor: pointer;
  appearance: none;
  background-color: #f8fafc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.contact-main .contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.contact-main .contact-form-submit {
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  width: 100%;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  background: var(--blue);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-main .contact-form-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.contact-main .contact-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.turnstile-row {
  margin-bottom: 0.5rem;
}

/* Login / signup */
.login-error {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  color: #b91c1c;
  font-size: 0.9rem;
}

.login-signup-hint {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.login-signup-hint a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.login-signup-hint a:hover {
  text-decoration: underline;
}

/* Profile page */
.profile-card .profile-loading {
  margin: 0;
  color: var(--text-muted);
}

.profile-content .profile-row {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.profile-content .profile-row:last-of-type {
  margin-bottom: 1.5rem;
}

.profile-joined {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Toast - visible in viewport on all devices */
.toast {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  background: var(--green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10001;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  max-width: calc(100vw - 2rem);
  margin-left: 0;
}

.toast.toast-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.toast-error {
  background: #dc2626;
}

@media (max-width: 768px) {
  .toast {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: none;
    transform: translateY(-20px);
  }
  .toast.toast-visible {
    transform: translateY(0);
  }
}

/* Policy page */
.policy-page {
  max-width: 720px;
  margin: 4rem auto;
  padding: 0 1.5rem 4rem;
}

.policy-page h1 {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.policy-updated {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.policy-content section {
  margin-bottom: 2rem;
}

.policy-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.policy-content p {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.policy-content p:last-child {
  margin-bottom: 0;
}

.policy-content ul {
  margin: 0 0 0.75rem;
  padding-left: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.35rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.policy-content a {
  color: var(--blue);
  text-decoration: underline;
}

.policy-content a:hover {
  color: var(--blue-dark);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  main.contact-main {
    padding: 2rem 1rem 3rem;
  }

  .contact-main .contact-form-card {
    padding: 1.85rem 1.5rem;
  }

  .contact-main .contact-form-title {
    font-size: 1.5rem;
  }
}

/* About page */
.about-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
}

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

.about-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.about-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.about-hero-label {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
}

.about-hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--white);
}

.about-hero-text {
  margin: 0;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.about-intro {
  background: var(--white);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-section-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.about-section-title--center {
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-intro-text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

.about-intro-text strong {
  color: var(--text);
}

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

.about-intro-img img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.about-mission {
  background: var(--bg);
}

.about-mission-lead {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.about-mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.about-mission-card {
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid #eee;
  transition: box-shadow 0.2s, transform 0.2s;
}

.about-mission-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.about-mission-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.about-mission-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.about-mission-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.about-regions {
  background: var(--white);
}

.about-regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-region-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid #eee;
  transition: box-shadow 0.2s;
}

.about-region-card:hover {
  box-shadow: var(--shadow-lg);
}

.about-region-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.about-region-card-content {
  padding: 1.5rem;
}

.about-region-card-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.about-region-card-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.about-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
}

.about-cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.about-cta-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}

.about-cta-text {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.about-cta .btn-primary {
  background: var(--white);
  color: var(--blue);
}

.about-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-dark);
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 320px;
    padding-bottom: 1.75rem;
  }

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

  .about-intro-text {
    order: 1;
  }

  .about-intro-img {
    order: 0;
  }

  .about-mission-cards {
    grid-template-columns: 1fr;
  }

  .about-regions-grid {
    grid-template-columns: 1fr;
  }
}

/* Job Seekers – search-style page */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.job-search-hero {
  padding: 2.5rem 0 2rem;
  background: var(--bg);
  border-bottom: 1px solid #eee;
}

.job-search-hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.job-search-hero-text {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.job-search-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.job-search-form {
  margin-bottom: 2.5rem;
}

.job-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  max-width: 720px;
}

.job-search-input,
.job-search-select {
  padding: 0.85rem 1.15rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
}

.job-search-input {
  flex: 1;
  min-width: 180px;
}

.job-search-input::placeholder {
  color: var(--text-muted);
}

.job-search-input:focus,
.job-search-select:focus {
  outline: none;
  border-color: var(--blue);
}

.job-search-select {
  min-width: 160px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a5a5a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.25rem;
}

.job-search-btn {
  flex-shrink: 0;
}

.job-search-results {
  max-width: 640px;
}

.job-search-not-online {
  background: var(--blue-bg);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
}

.job-search-not-online-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.job-search-not-online-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.job-search-not-online-text {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.job-search-not-online-text:last-of-type {
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .job-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .job-search-input {
    min-width: 0;
  }

  .job-search-select {
    min-width: 0;
  }

  .job-search-not-online {
    padding: 1.75rem 1.25rem;
  }
}
