/* ========================================
   Karuntu Tandheelkunde — Enhanced Design
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #0b2545;
  --color-primary-light: #134074;
  --color-accent: #2b7cb5;
  --color-accent-light: #c4dff0;
  --color-accent-soft: #e2f0fa;
  --color-text: #1a1a2e;
  --color-text-light: #5a6170;
  --color-bg: #f7f9fc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --color-warm: #f0ebe3;
  --font-body:
    "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading:
    "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm:
    0 1px 3px rgba(11, 37, 69, 0.04), 0 1px 2px rgba(11, 37, 69, 0.06);
  --shadow-md:
    0 4px 16px rgba(11, 37, 69, 0.06), 0 2px 6px rgba(11, 37, 69, 0.04);
  --shadow-lg:
    0 12px 40px rgba(11, 37, 69, 0.1), 0 4px 12px rgba(11, 37, 69, 0.05);
  --shadow-xl:
    0 20px 60px rgba(11, 37, 69, 0.12), 0 8px 20px rgba(11, 37, 69, 0.06);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
  padding: 6px 16px;
  background: var(--color-accent-soft);
  border-radius: 50px;
}

.section-label--light {
  color: var(--color-accent-light);
  background: rgba(60, 141, 188, 0.15);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title--light {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 56px;
  line-height: 1.8;
}

.text-accent {
  color: var(--color-accent);
  position: relative;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 100%
  );
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(11, 37, 69, 0.25);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(11, 37, 69, 0.3);
  color: var(--color-white);
}

.btn--outline {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-border),
    transparent
  );
  transition: width 0.5s ease;
}

.header--scrolled {
  padding: 12px 0;
  background: rgba(247, 249, 252, 0.62);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
}

.header--scrolled::after {
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 64px;
  width: auto;
  transition: transform var(--transition);
}

.nav__logo:hover img {
  transform: scale(1.03);
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 14px;
  border-radius: 50px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: var(--shadow-sm);
}

.nav__link {
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-light);
  border-radius: 50px;
  transition: all var(--transition-fast);
  letter-spacing: 0.01em;
}

.nav__link:hover {
  color: var(--color-primary);
  background: var(--color-accent-soft);
}

.nav__link--cta {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 100%
  );
  color: var(--color-white) !important;
  margin-left: 4px;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.2);
}

.nav__link--cta:hover {
  background: linear-gradient(
    135deg,
    var(--color-primary-light) 0%,
    var(--color-primary) 100%
  ) !important;
  color: var(--color-white) !important;
  transform: scale(1.02);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  padding: 140px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Decorative gradient blobs */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(60, 141, 188, 0.07) 0%,
    transparent 65%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(214, 234, 245, 0.4) 0%,
    transparent 65%
  );
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(20px, -20px);
  }
  66% {
    transform: translate(-10px, 15px);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero__text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Decorative ring behind photo */
.hero__image::before {
  content: "";
  position: absolute;
  width: 108%;
  height: 108%;
  border: 2.5px dashed var(--color-accent);
  border-radius: var(--radius-xl);
  transform: rotate(4deg);
  opacity: 0.3;
}

.hero__image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 420px;
  width: 100%;
}

.hero__image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(11, 37, 69, 0.06);
  pointer-events: none;
}

.hero__image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 6s ease;
}

.hero__image-frame:hover img {
  transform: scale(1.03);
}

/* --- About --- */
.about {
  padding: 140px 0;
  background: var(--color-bg);
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
  margin-top: 40px;
}

.about__text p {
  margin-bottom: 24px;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.85;
}

.about__text p strong {
  color: var(--color-text);
  font-weight: 700;
}

.about__credential {
  display: inline-flex;
  flex-direction: column;
  margin-top: 16px;
  padding: 20px 28px;
  background: var(--color-white);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.about__credential-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.about__credential-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-body);
  letter-spacing: 0.06em;
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-card {
  padding: 28px 30px;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  display: flex;
  gap: 22px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-accent),
    var(--color-accent-light)
  );
  opacity: 0;
  transition: opacity var(--transition);
}

.highlight-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.highlight-card:hover::before {
  opacity: 1;
}

.highlight-card__icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent-soft), #dceef8);
  color: var(--color-accent);
  border-radius: 16px;
}

.highlight-card__title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.highlight-card__text {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* Light variant for dark backgrounds (contact section) */
.highlight-card--light {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.highlight-card--light::before {
  display: none;
}

.highlight-card--light .highlight-card__icon {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.highlight-card--light .highlight-card__title {
  color: var(--color-white);
}

.highlight-card--light .highlight-card__text {
  color: rgba(255, 255, 255, 0.6);
}

.highlight-card--light:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.contact__credential {
  margin-top: 32px;
}

/* --- Services --- */
.services {
  padding: 140px 0;
  background: var(--color-white);
  position: relative;
}

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

.service-card {
  padding: 40px 32px 36px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-accent),
    var(--color-accent-light)
  );
  border-radius: 3px 3px 0 0;
  transition: width var(--transition);
}

.service-card:hover {
  background: var(--color-white);
  border-color: var(--color-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card:hover::after {
  width: 60%;
}

.service-card__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-accent);
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--color-accent-soft), #dceef8);
  transform: scale(1.05);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- Approach / Steps --- */
.approach {
  padding: 140px 0;
  background: var(--color-bg);
}

.approach__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.step:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step__number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--color-accent-light),
    rgba(60, 141, 188, 0.15)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.step__text {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- Contact --- */
.contact {
  padding: 140px 0;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    #0e3460 50%,
    var(--color-primary-light) 100%
  );
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(60, 141, 188, 0.12) 0%,
    transparent 65%
  );
  border-radius: 50%;
  animation: float 25s ease-in-out infinite;
}

.contact::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(19, 64, 116, 0.3) 0%,
    transparent 65%
  );
  border-radius: 50%;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.85;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.contact__item svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

.contact__item a {
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}

.contact__item a:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

/* --- Contact Form --- */
.contact__form-wrap {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 44px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.contact-form__group {
  margin-bottom: 22px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form__optional {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}

.contact-form__input {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}

.contact-form__input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.contact-form__input:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(60, 141, 188, 0.15);
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
  cursor: pointer;
}

.contact-form__select option {
  background: var(--color-primary);
  color: var(--color-white);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__submit {
  width: 100%;
  margin-top: 8px;
  gap: 10px;
  font-size: 1rem;
  padding: 17px 32px;
  background: linear-gradient(135deg, var(--color-accent), #2a7baa);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(60, 141, 188, 0.3);
}

.contact-form__submit:hover {
  background: linear-gradient(135deg, #2a7baa, var(--color-accent));
  box-shadow: 0 8px 32px rgba(60, 141, 188, 0.4);
  transform: translateY(-2px);
  color: var(--color-white);
}

.contact-form__status {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.contact-form__status--success {
  background: rgba(72, 187, 120, 0.12);
  color: #68d391;
  border: 1px solid rgba(72, 187, 120, 0.15);
}

.contact-form__status--error {
  background: rgba(245, 101, 101, 0.12);
  color: #fc8181;
  border: 1px solid rgba(245, 101, 101, 0.15);
}

/* --- Footer --- */
.footer {
  background: #060f1d;
  padding: 72px 0 0;
  color: rgba(255, 255, 255, 0.5);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(10);
  opacity: 0.7;
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 22px;
}

.footer__links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
}

.footer__links a:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer__legal p {
  font-size: 0.88rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer__bottom {
  padding: 28px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
}

/* --- Animations --- */
.animate-target {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations */
.service-card.animate-target:nth-child(1) {
  transition-delay: 0s;
}
.service-card.animate-target:nth-child(2) {
  transition-delay: 0.07s;
}
.service-card.animate-target:nth-child(3) {
  transition-delay: 0.14s;
}
.service-card.animate-target:nth-child(4) {
  transition-delay: 0.21s;
}
.service-card.animate-target:nth-child(5) {
  transition-delay: 0.28s;
}
.service-card.animate-target:nth-child(6) {
  transition-delay: 0.35s;
}

.highlight-card.animate-target:nth-child(1) {
  transition-delay: 0s;
}
.highlight-card.animate-target:nth-child(2) {
  transition-delay: 0.1s;
}
.highlight-card.animate-target:nth-child(3) {
  transition-delay: 0.2s;
}

.step.animate-target:nth-child(1) {
  transition-delay: 0s;
}
.step.animate-target:nth-child(2) {
  transition-delay: 0.1s;
}
.step.animate-target:nth-child(3) {
  transition-delay: 0.2s;
}
.step.animate-target:nth-child(4) {
  transition-delay: 0.3s;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

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

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

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    background: linear-gradient(
      160deg,
      var(--color-primary) 0%,
      #0e3460 60%,
      var(--color-primary-light) 100%
    );
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 40px 32px;
    box-shadow: none;
    border-radius: 0;
    border: none;
    backdrop-filter: none;
  }

  .nav__menu--open {
    display: flex;
  }

  .nav__menu::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
  }

  .nav__link {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 18px 32px;
    width: auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    display: block;
  }

  .nav__link:hover,
  .nav__link:active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.12) !important;
    color: var(--color-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 48px;
    font-size: 1.1rem;
    box-shadow: none;
  }

  .nav__link--cta:hover {
    background: rgba(255, 255, 255, 0.18) !important;
  }

  .nav__toggle--active span {
    background: var(--color-white);
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero__content {
    display: contents;
  }

  .hero__title {
    order: 1;
  }

  .hero__image {
    order: 2;
  }

  .hero__text {
    order: 3;
    margin: 0 auto 36px;
  }

  .hero__actions {
    order: 4;
    justify-content: center;
  }

  .hero__image::before {
    display: none;
  }

  .hero__image-frame {
    max-width: 260px;
    overflow: visible;
  }

  .hero__image-frame::before {
    content: "";
    position: absolute;
    width: 105%;
    height: 105%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(4deg);
    border: 2.5px dashed var(--color-accent);
    border-radius: var(--radius-xl);
    opacity: 0.5;
    z-index: -1;
  }

  .about {
    padding: 80px 0;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services {
    padding: 80px 0;
  }

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

  .approach {
    padding: 80px 0;
  }

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

  .contact {
    padding: 80px 0;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .contact__text {
    margin: 0 auto 36px;
  }

  .contact__info {
    align-items: center;
  }

  .contact__form-wrap {
    padding: 28px 20px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer__brand img {
    height: 64px;
    display: block;
    margin: 0 auto 18px;
  }

  .section-subtitle {
    margin: 0 auto 40px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

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

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero__image-frame {
    max-width: 240px;
  }

  .highlight-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .step {
    padding: 28px 22px;
  }

  .contact__form-wrap {
    padding: 24px 16px;
  }
}

/* --- Print styles --- */
@media print {
  .header,
  .nav__toggle,
  .hero__actions,
  .contact__form-wrap {
    display: none;
  }

  .hero {
    padding: 20px 0;
    min-height: auto;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .section-title {
    color: #000;
  }
}
