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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
  -webkit-user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  -webkit-user-drag: none;
  user-select: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  user-select: text;
  -webkit-user-select: text;
}

.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: var(--z-toast);
  padding: 12px 20px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  transition: top var(--dur-base) var(--ease-out);
}

.skip-link:focus {
  top: 16px;
  color: var(--color-white);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--gutter-desktop);
  }
}

/* -------------------------------------------------------------------------
   Sections — three shared surface styles
------------------------------------------------------------------------- */
.l-section {
  position: relative;
  padding-block: var(--section-pad-mobile);
}

@media (min-width: 768px) {
  .l-section {
    padding-block: var(--section-pad-tablet);
  }
}

@media (min-width: 1024px) {
  .l-section {
    padding-block: var(--section-pad-desktop);
  }
}

/* Transparent surface with grid decoration */
.l-section--transparent {
  background-color: var(--color-white);
}

/* Accent-tinted surface with semicircle line decoration */
.l-section--accent {
  background: #f6f9fc;
  overflow: hidden;
}

.l-section--accent::before,
.l-section--accent::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.l-section--accent::before {
  top: -160px;
  right: -160px;
  width: 320px;
  height: 320px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%230d9488' stroke-opacity='0.14'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='70'/%3E%3Ccircle cx='100' cy='100' r='44'/%3E%3Cpath d='M4 100h192'/%3E%3C/g%3E%3C/svg%3E");
}

.l-section--accent::after {
  bottom: -130px;
  left: -130px;
  width: 260px;
  height: 260px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23004b87' stroke-opacity='0.12'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='64'/%3E%3Cpath d='M4 100h192'/%3E%3Cpath d='M100 4v192'/%3E%3C/g%3E%3C/svg%3E");
}

/* Full-bleed image surface with fixed parallax */
.l-section--img {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
}

.l-section--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.l-section--img > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .l-section--img {
    background-attachment: scroll;
  }
}

/* -------------------------------------------------------------------------
   Section header
------------------------------------------------------------------------- */
/* .c-section-header {
  max-width: 760px;
  margin-bottom: 40px;
} */

.c-section-header--center {
  margin-inline: auto;
  text-align: center;
}

.c-section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.c-section-header__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.c-section-header--center .c-section-header__eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.c-section-header__title {
  margin: 0 0 14px;
  font-size: 1.9rem;
  font-weight: 700;
}

.c-section-header__desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .c-section-header__title {
    font-size: 2.4rem;
  }
}

@media (min-width: 1024px) {
  .c-section-header {
    margin-bottom: 56px;
  }

  .c-section-header__title {
    font-size: 2.75rem;
  }
}

/* -------------------------------------------------------------------------
   Badge
------------------------------------------------------------------------- */
.c-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

.c-badge--accent {
  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
}

/* -------------------------------------------------------------------------
   Buttons
------------------------------------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  transition:
    transform var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.c-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--dur-fast) var(--ease-out);
}

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

.c-btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.c-btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.c-btn--accent:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.28);
}

.c-btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.c-btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.c-btn--white:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.c-btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.c-btn--ghost:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.c-btn:hover svg {
  transform: translateX(3px);
}

.c-btn--sm {
  min-height: 42px;
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* -------------------------------------------------------------------------
   Icons
------------------------------------------------------------------------- */
.icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* -------------------------------------------------------------------------
   Forms
------------------------------------------------------------------------- */
.c-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-field__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
}

.c-field__input,
.c-field__select,
.c-field__textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.c-field__textarea {
  min-height: 140px;
  resize: vertical;
}

.c-field__input:focus,
.c-field__select:focus,
.c-field__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}
