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

:root {
  --color-primary: #0ea5e9;
  --color-primary-hover: #0284c7;

  --text-primary: #0f172a;
  --text-secondary: rgba(15,23,42,0.75);

  --border-light: rgba(15,23,42,0.08);
  --surface-card: rgba(255,255,255,0.92);

  --header-height: 76px;

  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 20px;
  --space-xl: 40px;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-primary);
  background: #ffffff;
  line-height: 1.5;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Layout container */
.container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}


/* ------------------------------
   Navbar
-------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02rem;
}

.brand__text {
  font-size: 16px;
  line-height: 1;
  color: var(--text-primary);
}

/* .brand__mark{
    width: 14px;
    height: 14px;
    border-radius: 6px;
    background: #0ea5e9;
    display: inline-block;
} */

.brand__mark{
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: rgba(15, 23, 42, 0.8);
    font-weight: 500;
}

.nav__links a {
    padding: 8px 10px;
    border-radius: 10px;
}

.nav__links a:hover {
    background: rgba(15, 23, 42, 0.05);
}

.nav__cta {
  margin-left: auto;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px 20px;
}

.mobile-menu__links a {
  font-size: 16px;
  font-weight: 500;
}

.mobile-menu__cta {
  margin-top: 8px;
}

section {
  scroll-margin-top: 76px;
}

/* ------------------------------
   Buttons
-------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn--sm {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.btn--primary {
    background: var(--color-primary);
    color: #ffffff;
}

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

.btn--ghost {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.9);
}

.btn--ghost:hover {
  background: rgba(15, 23, 42, 0.06);
}

.btn--block {
  width: 100%;
}

/* ------------------------------
   Hero
-------------------------------- */
.hero {
  padding: 64px 0 40px;
   background:
    radial-gradient(700px 300px at 20% 0%, rgba(14, 165, 233, 0.12), transparent 60%),
    radial-gradient(700px 300px at 80% 10%, rgba(15, 23, 42, 0.06), transparent 55%);

}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.hero__eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
}

.hero__title {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 60ch;
}

.hero__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.trust-item {
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.75);
}

.trust-item__label {
  display: block;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.6);
  margin-bottom: 6px;
}

.trust-item__value {
  display: block;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.9);
}

/* Hero card */
.hero__card {
  align-self: start;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: var(--surface-card);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15,23, 42, 0.08);
}

.card__title{
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.card__list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.8);
}

.card__list li {
  margin: 8px 0;
}

.card__note {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.65);
}

/* ------------------------------
   Shared section heading
-------------------------------- */
.section-heading {
  max-width: 700px;
  margin-bottom: 32px;
}

.section-heading__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  font-size: 14px;
  font-weight: 600;
}

.section-heading__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section-heading__subtitle {
  margin: 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ------------------------------
   Services section
-------------------------------- */
.services-section {
  padding: 72px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: var(--surface-card);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.service-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.service-card__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}


/* ------------------------------
   About section
-------------------------------- */
.about-section {
  padding: 72px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background:
    radial-gradient(600px 240px at 85% 20%, rgba(14, 165, 233, 0.08), transparent 60%),
    #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.about-content__text {
  margin: 0 0 16px;
  max-width: 65ch;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.about-card {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: var(--surface-card);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.about-card__title {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.about-card__list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
}

.about-card__list li {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ------------------------------
   Contact section
-------------------------------- */
.contact-section {
  padding: 72px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.contact-card,
.contact-form {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: var(--surface-card);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.contact-card__title {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.contact-item + .contact-item {
  margin-top: 18px;
}

.contact-item__label {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.6);
}

.contact-item__value {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-row + .form-row {
  margin-top: 18px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font: inherit;
  color: var(--text-primary);
  background: #ffffff;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

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

.contact-form .btn {
  margin-top: 20px;
}

/* ------------------------------
   Footer section
-------------------------------- */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 18px 0px;
}

.footer__text {
  margin: 0;
  padding: 0;
  color: rgba(15, 23, 42, 0.65);
  text-align: left;
  font-size: 14px;
}


/* ------------------------------
   Thank you page
-------------------------------- */
.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(14, 165, 233, 0.12), transparent 60%),
    #ffffff;
}

body:has(.thank-you-page) {
  padding-top: 0;
}

.thank-you-section {
  width: 100%;
  padding: 64px 0;
}

.thank-you-card {
  max-width: 700px;
  padding: 40px;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: var(--surface-card);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.thank-you-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}


/* ------------------------------
   Responsive layout
-------------------------------- */

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
}

/* Large tablets / small laptops */
@media (max-width: 1024px) {
  .container {
    width: min(1000px, calc(100% - 40px));
  }

  .hero__grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__card {
    max-width: 560px;
  }

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

/* Tablets */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  body {
    padding-top: var(--header-height);
  }

  .container {
    width: calc(100% - 32px);
  }

  .nav {
    padding: 14px 0;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .brand__text {
    font-size: 15px;
  }

  .hero {
    padding: 48px 0 32px;
  }

  .hero__title {
    font-size: clamp(30px, 7vw, 42px);
    line-height: 1.1;
  }

  .hero__subtitle,
  .section-heading__subtitle,
  .about-content__text {
    max-width: 100%;
  }

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

  .services-section,
  .about-section,
  .contact-section {
    padding: 56px 0;
  }

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

  .contact-card,
  .contact-form,
  .service-card,
  .about-card,
  .hero__card {
    padding: 20px;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.is-open {
    display: block;
  }
}

/* Phones */
@media (max-width: 480px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: calc(100% - 24px);
  }

  .nav {
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    gap: 0.4rem;
  }

  .brand__mark {
    width: 28px;
    height: 28px;
  }

  .brand__text {
    font-size: 14px;
  }

  .hero {
    padding: 40px 0 28px;
  }

  .hero__title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 12px;
  }

  .hero__subtitle {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading__title {
    font-size: clamp(24px, 8vw, 32px);
  }

  .section-heading__subtitle,
  .about-content__text,
  .service-card__text,
  .contact-item__value,
  .form-input,
  .form-textarea {
    font-size: 15px;
  }

  .services-section,
  .about-section,
  .contact-section {
    padding: 48px 0;
  }

  .service-card__title,
  .about-card__title,
  .contact-card__title {
    font-size: 18px;
  }

  .contact-card,
  .contact-form,
  .service-card,
  .about-card,
  .hero__card {
    padding: 18px;
    border-radius: 16px;
  }

  .form-input,
  .form-textarea {
    padding: 11px 12px;
  }

  .footer__text {
    font-size: 13px;
  }

  .thank-you-card {
  padding: 24px;
}

.thank-you-actions {
  flex-direction: column;
}

.thank-you-actions .btn {
  width: 100%;
}

}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
