@font-face {
  font-family: "GeistSans";
  src: url("./fonts/geist-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "GeistMono";
  src: url("./fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  --font-geist-sans: "GeistSans", system-ui, -apple-system, sans-serif;
  --font-geist-mono: "GeistMono", ui-monospace, monospace;
  --primary: #0098da;
  --primary-dark: #064b76;
  --primary-light: rgba(0, 152, 218, 0.2);
  --dark-light: rgba(6, 75, 118, 0.2);
  --bg-light: #f8fafc;
  --text-main: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-geist-sans);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--white);
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--sm {
  max-width: 900px;
}

/* Utilities */
.mt-2 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mt-8 {
  margin-top: 4rem;
}
.gap-4 {
  gap: 1.5rem;
}
.bg-primary-light {
  background-color: var(--primary);
}
.bg-light-blue {
  background-color: var(--primary-light);
}
.bg-light-dark {
  background-color: var(--dark-light);
}
.text-primary {
  color: var(--primary);
}
.text-dark {
  color: var(--primary-dark);
}
.text-white {
  color: var(--white);
}
.bg-gradient {
  background: linear-gradient(to bottom, var(--white), var(--bg-light));
}
.bg-gradient-reverse {
  background: linear-gradient(to bottom, var(--bg-light), var(--white));
}

section[id] {
  scroll-margin-top: 50px;
}

/* Grid Systems */
.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.grid-about {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Typography */
.section {
  padding: 5rem 0;
}
.section__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 1rem;
}
.section__desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn--primary:hover {
  background-color: #0082ba;
  transform: scale(1.02);
}
.btn--outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}
.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.btn--full {
  width: 100%;
  background-color: var(--primary-dark);
  font-size: 1rem;
  padding: 0.75rem;
}
.btn--full:hover {
  background-color: #053b5e;
  transform: none;
  opacity: 0.9;
}
.icon-right {
  margin-left: 0.5rem;
  transition: transform 0.2s;
}
.btn:hover .icon-right {
  transform: translateX(4px);
}
.icon-left {
  margin-right: 0.5rem;
}

.btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none !important;
  opacity: 0.7;
}

#form-message {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;

  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  font-weight: 500;
}

#form-message.is-visible {
  display: block;
  opacity: 1;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s;
}
.header.scrolled {
  background: var(--primary-dark);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.header__container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 80px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
}
.header__logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.header__nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-left: auto;
  margin-right: 2rem;
}
.header__link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.header__link:hover {
  opacity: 0.7;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header__lang {
  display: flex;
  border: 1px solid var(--primary);
  padding: 4px;
  border-radius: var(--radius-md);
}
.header__lang-btn {
  background: transparent;
  color: var(--white);
  border: none;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: 0.2s;
}
.header__lang-btn--active {
  background-color: var(--primary);
  color: var(--white);
}
.header__mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
}

.header__mobile-toggle svg {
  overflow: visible;
}

.header__mobile-toggle svg line {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.header__mobile-toggle.is-open line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header__mobile-toggle.is-open line:nth-child(2) {
  opacity: 0;
}

.header__mobile-toggle.is-open line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
  overflow: hidden;
  padding-top: 80px;
}
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: 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' fillRule='evenodd'%3E%3Cg fill='%23ffffff' fillOpacity='1'%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");
}
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  max-width: 800px;
}
.hero__title {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero__subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.hero__scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll-mouse::before {
  content: "";
  width: 4px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

/* Cards */
.card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}
.card:hover {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}
.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}
.card:hover .card__icon {
  transform: scale(1.1);
}
.card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  stroke-width: 2px;
  fill: none;
}

/* Specific Cards */
.card--stat {
  text-align: center;
  background: var(--bg-light);
  border: none;
}
.card--stat .card__icon {
  margin: 0 auto 1rem;
  border-radius: 50%;
  width: 64px;
  height: 64px;
}
.card__value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.card__label {
  font-weight: 500;
  color: var(--text-muted);
}

.card--feature {
  text-align: center;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.card--feature .card__icon {
  margin: 0 auto 1rem;
  border-radius: 50%;
}

.card--contact {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  align-items: flex-start;
}
.card--contact .card__icon {
  flex-shrink: 0;
  margin-bottom: 0;
}
.card__contact-title {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

/* Map */
.map-container {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  height: 100%;
}

/* Accordion */
.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}
.accordion__item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.accordion__header {
  width: 100%;
  text-align: left;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion__header svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
  color: var(--text-muted);
}
.accordion__item.is-open .accordion__header svg {
  transform: rotate(180deg);
}
.accordion__content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.accordion__item.is-open .accordion__content {
  padding-bottom: 1rem;
}

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form__label {
  font-size: 1rem;
  font-weight: 500;
}
.form__input {
  height: 3rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  background: transparent;
}
.form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 152, 218, 0.2);
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 2rem;
  font-size: 0.875rem;
}
.footer__logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  color: var(--white);
}
.footer__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.footer__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer__col p {
  margin-bottom: 0.5rem;
}
.footer__title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.footer__link {
  color: inherit;
  text-decoration: underline;
}
.footer__link:hover {
  color: var(--white);
}
.footer__copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-up,
.animate-scale {
  opacity: 0;
}
.animate-up.is-visible {
  animation: fadeInUp 0.6s ease-out forwards;
}
.animate-scale.is-visible {
  animation: scaleIn 0.5s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}

@media (min-width: 1024px) {
  .grid-about {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive */
@media (max-width: 999px) {
  .header__logo-text {
    display: none;
  }
}

@media (max-width: 799px) {
  .header__nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 2rem;
    text-align: center;
    margin: 0 !important;
    width: 100vw;
  }

  .header__logo {
    flex: 1;
  }
  .header__nav.is-open {
    display: flex;
  }
  .header__mobile-toggle {
    display: block;
  }
  .hero__title {
    font-size: 2.5rem;
  }
  .hero__subtitle {
    font-size: 1rem;
  }

  .header__logo-text {
    display: block;
  }
}

@media (max-width: 499px) {
  .header__logo-text {
    display: none;
  }
}


/* ===== Paymon fixes v5: service cards, 4 services layout, smooth anchor offset ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

section[id] {
  scroll-margin-top: 96px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.card--service {
  min-height: 280px;
  padding: 2rem;
  border: 1px solid rgba(6, 75, 118, 0.08);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(6, 75, 118, 0.08);
}

.card--service:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(6, 75, 118, 0.14);
}

.card--service .card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 1.75rem;
  background: var(--primary);
}

.card--service .card__icon svg {
  width: 27px;
  height: 27px;
  stroke: #ffffff;
}

.card--service .card__title {
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.card--service .card__text {
  max-width: 92%;
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card--service {
    min-height: auto;
  }
}


/* ===== Paymon fixes v4: steps, claim block, universal form, floating call ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

.section--steps {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

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

.step-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 2rem 1.5rem 1.5rem;
  min-height: 220px;
  box-shadow: 0 10px 28px rgba(6, 75, 118, 0.08);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(6, 75, 118, 0.14);
}

.step-card__number {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--primary);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
}

.step-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.step-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section--claim {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: var(--white);
}

.claim-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 22px 48px rgba(6, 75, 118, 0.22);
}

.claim-card__icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.claim-card__icon svg {
  width: 38px;
  height: 38px;
}

.claim-card__title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.claim-card__desc {
  max-width: 820px;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.claim-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.claim-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
}

.claim-step span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 800;
}

.claim-step p {
  margin: 0;
  line-height: 1.5;
}

.claim-card__btn {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.claim-card__btn:hover {
  background: rgba(255, 255, 255, 0.92);
}

.form__select {
  appearance: auto;
  background-color: var(--white);
}

.form__textarea {
  height: auto;
  min-height: 120px;
  padding-top: 0.75rem;
  resize: vertical;
}

.floating-call {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  background: #ef233c;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(239, 35, 60, 0.34);
  transition: var(--transition);
}

.floating-call:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 42px rgba(239, 35, 60, 0.42);
}

.floating-call svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .steps-grid,
  .claim-steps {
    grid-template-columns: 1fr;
  }

  .claim-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .claim-card__title {
    font-size: 1.55rem;
  }

  .floating-call {
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem;
  }

  .floating-call span {
    display: none;
  }
}
