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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #1f1f1f;
  background-color: #f5f3ed;
  background-image: url("/images/gold-wave-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow-x: hidden;
  overflow-y: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.page {
  width: 100%;
  min-height: 100vh;
  padding: 16px 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header,
.hero,
.footer {
  width: min(100%, 1600px);
}

/* HEADER */

.header {
  flex: 0 0 auto;
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  min-width: 0;
}

.logo-icon {
  font-size: 26px;
  line-height: 1;
  color: #6c8a37;
  flex: 0 0 auto;
}

.logo-text {
  font-size: 21px;
  font-weight: 700;
  color: #4e6b2d;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  position: relative;
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  color: #2d2d2d;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.nav-link-active {
  color: #c8a947;
}

.quote-btn {
  justify-self: end;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #5e7f34;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(55, 76, 28, 0.18);
}

/* HERO */

.hero {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: 16px;
}

.hero-top {
  text-align: center;
  flex: 0 0 auto;
}

.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 4.6vw, 86px);
  line-height: 1.02;
  font-weight: 700;
  color: #171717;
  letter-spacing: 0.12px;
}

.hero-subtitle {
  margin: 16px auto 0;
  font-size: clamp(18px, 1.45vw, 28px);
  line-height: 1.35;
  font-weight: 650;
  color: #2c2c2c;
  max-width: 980px;
}

.hero-buttons {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  overflow: hidden;
  min-height: 56px;
  padding: 0 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(16px, 1.1vw, 24px);
  font-weight: 700;
  white-space: nowrap;
}

.btn-primary {
  background: #e4d68d;
  color: #4a4a2d;
}

.btn-secondary {
  border: 2px solid #6a7c41;
  color: #4b5d2d;
  background: rgba(255, 255, 255, 0.3);
}

/* BOTTOM LAYOUT */

.hero-bottom {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 22px;
}

.hero-image-section {
  flex: 0 1 58%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-image-wrap {
  width: 100%;
  max-width: 1120px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.hero-image {
  width: 100%;
  max-height: 56vh;
  object-fit: cover;
  display: block;
}

.future-section {
  flex: 0 1 42%;
  min-width: 0;
  max-width: 680px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.future-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 3.2vw, 62px);
  line-height: 1.05;
  font-weight: 700;
  color: #4b4a24;
}

.future-text {
  margin-top: 18px;
  font-size: clamp(16px, 1.2vw, 26px);
  line-height: 1.45;
  font-weight: 500;
  color: #222222;
}

.future-text-second {
  margin-top: 14px;
}

.about-section {
  margin-top: 28px;
}

.about-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 2.2vw, 46px);
  line-height: 1.08;
  font-weight: 700;
  color: #4b4a24;
}

/* FOOTER */

.footer {
  flex: 0 0 auto;
  width: min(100%, 1600px);
  margin-top: auto;
  padding: 9px 2px 0;
  border-top: 1px solid rgba(150, 150, 150, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-left,
.footer-right {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: #222;
}

/* HOVERS */

.nav-link,
.quote-btn,
.btn {
  transition:
    color 0.4s ease,
    background-color 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease,
    opacity 0.4s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #c8a947;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

.nav-link:hover {
  color: #7c6a2d;
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link-active::after {
  width: 100%;
}

.quote-btn::before,
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%);
}

.quote-btn::before {
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transition: transform 0.88s ease;
}

.btn::before {
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 15%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 85%
  );
  transition: transform 0.95s ease;
}

.quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(55, 76, 28, 0.24);
  background: #6b8f3c;
}

.quote-btn:hover::before {
  transform: translateX(120%);
}

.btn:hover::before {
  transform: translateX(130%);
}

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

.btn-primary:hover {
  background: #d9ca73;
  box-shadow: 0 10px 20px rgba(190, 168, 78, 0.24);
}

.btn-secondary:hover {
  background: rgba(106, 124, 65, 0.1);
  border-color: #587032;
  color: #3f5124;
  box-shadow: 0 10px 20px rgba(75, 93, 45, 0.12);
}

.nav-link:focus-visible,
.quote-btn:focus-visible,
.btn:focus-visible {
  outline: 2px solid rgba(200, 169, 71, 0.7);
  outline-offset: 3px;
}

/* LARGE LAPTOP / SMALL DESKTOP */

@media (max-width: 1400px) {
  .page {
    padding: 14px 20px 12px;
  }

  .hero-bottom {
    gap: 36px;
  }

  .hero-image-wrap {
    max-width: 980px;
  }

  .future-section {
    max-width: 620px;
  }
}

/* TABLET LANDSCAPE / SMALL LAPTOP */

@media (max-width: 1180px) {
  .page {
    padding: 14px 16px 12px;
  }

  .header {
    min-height: 78px;
    padding: 12px 18px;
    border-radius: 18px;
  }

  .logo-text {
    font-size: 18px;
  }

  .nav {
    gap: 20px;
  }

  .nav-link {
    font-size: 14px;
  }

  .hero {
    padding-top: 14px;
  }

  .hero-title {
    font-size: clamp(40px, 4vw, 62px);
  }

  .hero-subtitle {
    font-size: 18px;
    max-width: 820px;
  }

  .btn {
    min-height: 52px;
    padding: 0 34px;
    font-size: 16px;
  }

  .hero-bottom {
    gap: 28px;
    padding-top: 18px;
  }

  .hero-image-wrap {
    max-width: 860px;
  }

  .hero-image {
    max-height: 48vh;
  }

  .future-title {
    font-size: clamp(32px, 3vw, 46px);
  }

  .future-text {
    font-size: 18px;
    line-height: 1.4;
  }
}

/* TABLET PORTRAIT / IPAD */

@media (max-width: 992px) {
  .page {
    min-height: 100vh;
  }

  .header {
    grid-template-columns: 1fr;
    row-gap: 12px;
    justify-items: center;
    text-align: center;
  }

  .logo-wrap,
  .nav,
  .quote-btn {
    justify-self: center;
  }

  .nav {
    gap: 16px 18px;
  }

  .hero-top {
    padding-top: 4px;
  }

  .hero-title {
    font-size: clamp(34px, 5vw, 52px);
  }

  .hero-subtitle {
    font-size: 17px;
    max-width: 720px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
  }

  .hero-image-section {
    width: 100%;
    justify-content: center;
  }

  .hero-image-wrap {
    max-width: 860px;
  }

  .hero-image {
    max-height: none;
  }

  .future-section {
    max-width: 820px;
    text-align: center;
    align-items: center;
  }

  .future-title {
    font-size: clamp(30px, 4vw, 42px);
  }

  .future-text {
    font-size: 17px;
    max-width: 760px;
  }

  .about-section {
    margin-top: 20px;
  }

  .footer {
    margin-top: 18px;
  }
}

/* LARGE SMARTPHONES / IPHONE PRO MAX */

@media (max-width: 640px) {
  .page {
    padding: 12px 12px 14px;
  }

  .header {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .logo-wrap {
    gap: 8px;
  }

  .logo-icon {
    font-size: 20px;
  }

  .logo-text {
    font-size: 15px;
    white-space: normal;
    text-align: center;
  }

  .nav {
    gap: 10px 14px;
  }

  .nav-link {
    font-size: 13px;
  }

  .quote-btn {
    min-height: 42px;
    padding: 0 18px;
    font-size: 11px;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-title {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.04;
  }

  .hero-subtitle {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.4;
    max-width: 100%;
  }

  .hero-buttons {
    margin-top: 18px;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    min-height: 50px;
    padding: 0 20px;
    font-size: 15px;
  }

  .hero-bottom {
    gap: 20px;
    padding-top: 20px;
  }

  .hero-image-wrap {
    border-radius: 20px;
  }

  .future-title {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.08;
  }

  .future-text {
    font-size: 16px;
    line-height: 1.45;
    margin-top: 14px;
  }

  .about-title {
    font-size: 28px;
  }

  .footer {
    margin-top: 16px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-left,
  .footer-right {
    font-size: 11px;
  }
}

/* MODERN IPHONES / SMALLER PHONES */

@media (max-width: 430px) {
  .page {
    padding: 10px 10px 12px;
  }

  .header {
    padding: 12px 10px;
  }

  .nav {
    gap: 8px 12px;
  }

  .nav-link {
    font-size: 12px;
  }

  .hero-title {
    font-size: clamp(26px, 8.6vw, 36px);
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .btn {
    max-width: 100%;
    min-height: 48px;
    font-size: 14px;
  }

  .future-title {
    font-size: 28px;
  }

  .future-text {
    font-size: 15px;
  }
}

/* VERY SMALL PHONES */

@media (max-width: 360px) {
  .logo-text {
    font-size: 14px;
  }

  .nav-link {
    font-size: 11px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .btn {
    min-height: 46px;
    font-size: 13px;
  }

  .future-title {
    font-size: 24px;
  }

  .future-text {
    font-size: 14px;
  }

  .footer-left,
  .footer-right {
    font-size: 10px;
  }
}

/* LOW HEIGHT SCREENS */

@media (max-height: 920px) and (min-width: 993px) {
  .page {
    min-height: 100vh;
  }

  .header {
    min-height: 74px;
  }

  .logo-text {
    font-size: 18px;
  }

  .nav-link {
    font-size: 14px;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-title {
    font-size: clamp(38px, 3.6vw, 58px);
  }

  .hero-subtitle {
    font-size: 17px;
    margin-top: 10px;
  }

  .hero-buttons {
    margin-top: 16px;
  }

  .btn {
    min-height: 48px;
    padding: 0 30px;
    font-size: 15px;
  }

  .hero-bottom {
    gap: 28px;
    padding-top: 16px;
  }

  .hero-image {
    max-height: 44vh;
  }

  .future-title {
    font-size: clamp(30px, 2.6vw, 42px);
  }

  .future-text {
    font-size: 17px;
    line-height: 1.35;
    margin-top: 12px;
  }

  .footer-left,
  .footer-right {
    font-size: 11px;
  }
}

@media (max-height: 760px) and (min-width: 993px) {
  .hero-title {
    font-size: clamp(34px, 3vw, 50px);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .btn {
    min-height: 44px;
    font-size: 14px;
  }

  .hero-image {
    max-height: 38vh;
  }

  .future-title {
    font-size: 30px;
  }

  .future-text {
    font-size: 15px;
  }
}
/* SPECIALIZATIONS SECTION */

.specializations-section {
  width: 100%;
  margin-top: 78px;
  padding: 0 10px 36px;
}

.section-title {
  font-size: clamp(40px, 3vw, 62px);
  line-height: 1.05;
  font-weight: 700;
  color: #2a2a23;
  margin-bottom: 28px;
}

.specializations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.spec-card {
  min-height: 260px;
  padding: 22px 20px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(105, 105, 105, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  border-color: rgba(200, 169, 71, 0.22);
}

.spec-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  color: #8a8749;
}

.spec-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spec-card-title {
  font-size: 24px;
  line-height: 1.08;
  font-weight: 800;
  color: #191919;
  margin-bottom: 12px;
}

.spec-card-text {
  font-size: 16px;
  line-height: 1.5;
  color: #262626;
}

.spec-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
  color: #343434;
  transition: color 0.4s ease, transform 0.4s ease;
}

.spec-card-link:hover {
  color: #7c6a2d;
  transform: translateX(2px);
}

.roadmap-section {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}

.roadmap-title {
  font-size: clamp(34px, 2.5vw, 48px);
  line-height: 1.06;
  font-weight: 700;
  color: #202018;
}

.roadmap-content {
  width: 100%;
}

.roadmap-line {
  position: relative;
  height: 28px;
  margin: 6px 0 18px;
}

.roadmap-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    #5e7231 0%,
    #5e7231 28%,
    #a89c43 28%,
    #a89c43 58%,
    #d1a93e 58%,
    #d1a93e 100%
  );
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.roadmap-dot {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.roadmap-dot-1 {
  left: 0%;
  background: #5e7231;
}

.roadmap-dot-2 {
  left: 33.333%;
  background: #7d8640;
}

.roadmap-dot-3 {
  left: 66.666%;
  background: #b89634;
}

.roadmap-dot-4 {
  left: 100%;
  background: #d1a93e;
}

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

.roadmap-step {
  font-size: 16px;
  line-height: 1.45;
  color: #1e1e1e;
}

.roadmap-step strong {
  font-weight: 800;
}

.roadmap-step-number {
  font-weight: 800;
}

.cta-section {
  margin-top: 50px;
  text-align: center;
}

.cta-title {
  font-size: clamp(34px, 2.7vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  color: #3e3a1e;
}

.cta-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e7cc64 0%, #d4ac3b 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 22px rgba(190, 153, 52, 0.28);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 15%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0) 85%
  );
  transition: transform 0.95s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(190, 153, 52, 0.34);
  filter: brightness(1.03);
}

.cta-btn:hover::before {
  transform: translateX(130%);
}

.cta-btn:focus-visible {
  outline: 2px solid rgba(200, 169, 71, 0.7);
  outline-offset: 3px;
}

@media (max-width: 1400px) {
  .specializations-section {
    margin-top: 64px;
  }

  .spec-card-title {
    font-size: 21px;
  }
}

@media (max-width: 1180px) {
  .section-title {
    font-size: clamp(34px, 3vw, 48px);
  }

  .specializations-grid {
    gap: 18px;
  }

  .spec-card {
    min-height: 240px;
    padding: 20px 18px;
  }

  .spec-card-title {
    font-size: 20px;
  }

  .spec-card-text,
  .roadmap-step {
    font-size: 15px;
  }

  .roadmap-section {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .specializations-section {
    margin-top: 52px;
    padding: 0 0 28px;
  }

  .section-title {
    text-align: center;
  }

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

  .roadmap-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .roadmap-heading,
  .cta-section {
    text-align: center;
  }

  .roadmap-title br {
    display: none;
  }

  .roadmap-line {
    margin-top: 0;
  }

  .roadmap-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .specializations-section {
    margin-top: 42px;
  }

  .section-title {
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 18px;
  }

  .specializations-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .spec-card {
    min-height: auto;
    border-radius: 18px;
    padding: 18px 16px;
  }

  .spec-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .spec-card-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .spec-card-text,
  .roadmap-step {
    font-size: 14px;
  }

  .spec-card-link {
    margin-top: 14px;
    font-size: 15px;
  }

  .roadmap-section {
    margin-top: 30px;
  }

  .roadmap-title {
    font-size: 30px;
  }

  .roadmap-line {
    height: 22px;
    margin-bottom: 14px;
  }

  .roadmap-line::before {
    height: 6px;
  }

  .roadmap-dot {
    width: 14px;
    height: 14px;
    border-width: 2px;
  }

  .roadmap-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-section {
    margin-top: 38px;
  }

  .cta-title {
    font-size: 30px;
  }

  .cta-btn {
    min-height: 50px;
    padding: 0 24px;
    font-size: 14px;
  }
}

/* ===== V2: FIXED HEADER + PREMIUM FOOTER ===== */

html {
  scroll-behavior: smooth;
}

body {
  scroll-padding-top: 130px;
}

.page {
  padding-top: 126px;
}

.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(calc(100% - 48px), 1600px);
  border: 1px solid rgba(170, 153, 88, 0.16);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.08),
    0 2px 10px rgba(201, 169, 71, 0.08);
}

#intro,
#about,
#specializations,
#roadmap,
#footer {
  scroll-margin-top: 130px;
}

.hero {
  padding-top: 8px;
}

/* PREMIUM FOOTER */

.footer-premium {
  width: min(100%, 1600px);
  margin-top: 72px;
  padding: 0;
  border-top: none;
}

.footer-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.9fr;
  gap: 48px;
  padding: 42px 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(215, 181, 74, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(15, 15, 15, 0.98) 0%, rgba(10, 10, 10, 0.96) 100%);
  border: 1px solid rgba(200, 169, 71, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.footer-card::before,
.footer-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.footer-card::before {
  left: -8%;
  right: -8%;
  bottom: -18px;
  height: 120px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(210, 176, 73, 0.24) 20%, rgba(235, 215, 146, 0.3) 50%, rgba(210, 176, 73, 0.24) 80%, transparent 100%);
  filter: none;
  opacity: 0.65;
}

.footer-card::after {
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 24%);
}

.footer-brand-col,
.footer-links-col,
.footer-contact-col {
  position: relative;
  z-index: 1;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.footer-logo-wrap {
  margin-bottom: 16px;
}

.footer-logo-text {
  color: #f4f0df;
}

.footer-tagline {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(244, 240, 223, 0.72);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(244, 240, 223, 0.56);
}

.footer-meta span {
  color: #89a848;
  font-weight: 700;
}

.footer-heading {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  color: #f2e2a0;
}

.footer-links,
.footer-contact-col {
  display: flex;
  flex-direction: column;
}

.footer-links {
  gap: 14px;
}

.footer-links a,
.footer-contact-link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  font-size: 17px;
  line-height: 1.45;
  color: rgba(244, 240, 223, 0.84);
  transition: color 0.4s ease, transform 0.4s ease;
}

.footer-links a::after,
.footer-contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  background: rgba(242, 226, 160, 0.72);
  transition: transform 0.4s ease;
}

.footer-links a:hover,
.footer-contact-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-links a:hover::after,
.footer-contact-link:hover::after {
  transform: scaleX(1);
}

.footer-contact-col {
  gap: 12px;
  align-items: flex-start;
}

.back-to-top {
  margin-top: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #6ea02e 0%, #4f7e19 100%);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(82, 127, 28, 0.28);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(82, 127, 28, 0.34);
  filter: brightness(1.05);
}

.back-to-top:focus-visible,
.footer-links a:focus-visible,
.footer-contact-link:focus-visible {
  outline: 2px solid rgba(242, 226, 160, 0.65);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .page {
    padding-top: 118px;
  }

  .header {
    top: 14px;
    width: min(calc(100% - 32px), 1600px);
  }

  .footer-card {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
    padding: 34px 30px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 992px) {
  body {
    scroll-padding-top: 165px;
  }

  .page {
    padding-top: 170px;
  }

  .header {
    top: 12px;
    width: min(calc(100% - 24px), 1600px);
  }

  #intro,
  #about,
  #specializations,
  #roadmap,
  #footer {
    scroll-margin-top: 170px;
  }

  .footer-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-heading {
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .page {
    padding-top: 184px;
  }

  .header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .footer-premium {
    margin-top: 54px;
  }

  .footer-card {
    padding: 26px 20px 24px;
    border-radius: 24px;
  }

  .footer-logo-text {
    font-size: 15px;
  }

  .footer-tagline,
  .footer-meta,
  .footer-links a,
  .footer-contact-link {
    font-size: 14px;
  }

  .footer-heading {
    font-size: 21px;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

@media (max-width: 430px) {
  .page {
    padding-top: 198px;
  }

  body {
    scroll-padding-top: 185px;
  }

  #intro,
  #about,
  #specializations,
  #roadmap,
  #footer {
    scroll-margin-top: 185px;
  }

  .footer-card {
    padding: 22px 16px 20px;
  }
}


/* ===== V4: FULL-WIDTH FOOTER + FLOATING TOP BUTTON ===== */

.page {
  padding-bottom: 0;
}

.footer-premium {
  position: relative;
  width: 100vw;
  margin-top: 72px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border-top: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(233, 210, 132, 0.12), transparent 22%),
    radial-gradient(circle at 85% 12%, rgba(110, 160, 46, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(9, 9, 10, 0.98) 0%, rgba(11, 11, 12, 1) 100%);
  overflow: hidden;
}

.footer-premium::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  top: -30px;
  height: 120px;
  background: linear-gradient(90deg, transparent 0%, rgba(214, 182, 86, 0.16) 25%, rgba(244, 226, 152, 0.18) 50%, rgba(214, 182, 86, 0.16) 75%, transparent 100%);
  filter: none;
  opacity: 0.55;
  pointer-events: none;
}

.footer-premium::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(242, 226, 160, 0.14) 18%, rgba(242, 226, 160, 0.32) 50%, rgba(242, 226, 160, 0.14) 82%, transparent 100%);
}

.footer-card {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 54px 44px 26px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.footer-card::before,
.footer-card::after {
  display: none;
}

.footer-tagline {
  max-width: 560px;
}

.footer-meta {
  padding-top: 14px;
  border-top: 1px solid rgba(242, 226, 160, 0.1);
}

.floating-top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #6ea02e 0%, #4f7e19 100%);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(82, 127, 28, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  z-index: 1001;
}

.floating-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(82, 127, 28, 0.38);
  filter: brightness(1.05);
}

.floating-top-btn:focus-visible {
  outline: 2px solid rgba(242, 226, 160, 0.7);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .page {
    padding-bottom: 0;
  }

  .footer-card {
    padding: 44px 30px 24px;
  }

  .floating-top-btn {
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 992px) {
  .footer-card {
    padding: 38px 24px 22px;
  }
}

@media (max-width: 640px) {
  .page {
    padding-bottom: 0;
  }

  .footer-premium {
    margin-top: 48px;
  }

  .footer-card {
    padding: 30px 16px 18px;
  }

  .footer-meta {
    padding-top: 12px;
    gap: 10px 16px;
  }

  .floating-top-btn {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: 14px;
    font-size: 24px;
  }
}


/* ===== V7: WARMER ABOUT SHOWCASE SECTION ===== */

.about-showcase-section {
  margin-top: 46px;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(420px, 1.28fr);
  gap: 34px;
  align-items: stretch;
  padding: 34px 34px 32px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 14%, rgba(227, 198, 123, 0.34), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(130, 156, 73, 0.24), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(181, 145, 71, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(62, 47, 28, 0.96) 0%, rgba(82, 63, 37, 0.95) 48%, rgba(69, 79, 40, 0.94) 100%);
  border: 1px solid rgba(214, 186, 118, 0.22);
  box-shadow: 0 20px 44px rgba(58, 42, 22, 0.18);
}

.about-showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 246, 222, 0.06), transparent 24%, transparent 76%, rgba(232, 202, 118, 0.06)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%);
  pointer-events: none;
}

.about-showcase-intro,
.about-showcase-cards {
  position: relative;
  z-index: 1;
}

.about-showcase-intro {
  padding: 8px 6px 8px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-showcase-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(232, 206, 134, 0.46);
  background: rgba(255, 243, 206, 0.1);
  color: #f1d88a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.about-showcase-title {
  margin-top: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 3vw, 60px);
  line-height: 1.04;
  font-weight: 700;
  color: #fff4d8;
  max-width: 540px;
}

.about-showcase-text {
  margin-top: 22px;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 244, 220, 0.9);
}

.about-showcase-text-second {
  margin-top: 16px;
}

.about-showcase-cards {
  display: grid;
  gap: 16px;
}

.about-feature-card {
  min-height: 122px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 24px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 248, 229, 0.1) 0%, rgba(255, 244, 216, 0.05) 100%);
  border: 1px solid rgba(255, 236, 186, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 22px rgba(31, 22, 11, 0.1);
  position: relative;
  overflow: hidden;
}

.about-feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8faa4f 0%, #e3c56f 100%);
  box-shadow: 0 0 16px rgba(227, 197, 111, 0.28);
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #efd27b;
  background: linear-gradient(180deg, rgba(146, 171, 83, 0.18) 0%, rgba(239, 210, 123, 0.12) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.about-feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-feature-copy h4 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff7e3;
}

.about-feature-copy p {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 241, 214, 0.8);
}

@media (max-width: 1400px) {
  .about-showcase-title {
    font-size: clamp(34px, 3vw, 52px);
  }

  .about-feature-copy h4 {
    font-size: 27px;
  }
}

@media (max-width: 1180px) {
  .about-showcase-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px 26px;
  }

  .about-showcase-intro {
    padding: 0;
  }

  .about-showcase-title {
    max-width: none;
  }

  .about-showcase-text {
    max-width: none;
    font-size: 17px;
  }

  .about-feature-copy h4 {
    font-size: 24px;
  }

  .about-feature-copy p {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .about-showcase-section {
    margin-top: 34px;
  }
}

@media (max-width: 640px) {
  .about-showcase-section {
    margin-top: 28px;
    padding: 22px 16px 18px;
    border-radius: 24px;
    gap: 18px;
  }

  .about-showcase-badge {
    min-height: 38px;
    padding: 0 16px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .about-showcase-title {
    margin-top: 16px;
    font-size: clamp(28px, 8.2vw, 38px);
  }

  .about-showcase-text {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.55;
  }

  .about-feature-card {
    grid-template-columns: 50px 1fr;
    gap: 12px;
    min-height: auto;
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .about-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .about-feature-icon svg {
    width: 19px;
    height: 19px;
  }

  .about-feature-copy h4 {
    font-size: 19px;
  }

  .about-feature-copy p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
  }
}

/* ===== V8: LIGHTER ABOUT SHOWCASE REFINEMENT ===== */
.about-showcase-section {
  background:
    radial-gradient(circle at 10% 12%, rgba(225, 200, 142, 0.30), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(160, 176, 116, 0.16), transparent 24%),
    radial-gradient(circle at 52% 100%, rgba(214, 184, 120, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 245, 0.96) 0%, rgba(250, 245, 236, 0.98) 42%, rgba(243, 236, 223, 0.99) 100%);
  border: 1px solid rgba(184, 155, 97, 0.18);
  box-shadow:
    0 24px 50px rgba(120, 96, 52, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.about-showcase-section::before {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0.08) 76%, rgba(255, 248, 231, 0.30) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 24%);
}

.about-showcase-badge {
  border: 1px solid rgba(178, 151, 92, 0.28);
  background: linear-gradient(180deg, rgba(255, 251, 242, 0.90) 0%, rgba(247, 238, 220, 0.86) 100%);
  color: #927034;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 10px 22px rgba(177, 150, 92, 0.10);
}

.about-showcase-title {
  color: #4d3c1f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.about-showcase-text {
  color: rgba(67, 54, 33, 0.86);
}

.about-feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62) 0%, rgba(252, 248, 239, 0.72) 100%);
  border: 1px solid rgba(194, 169, 115, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.70),
    0 14px 26px rgba(132, 104, 57, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.about-feature-card::before {
  width: 5px;
  background: linear-gradient(180deg, #879f55 0%, #d6b265 55%, #eedcb2 100%);
  box-shadow: 0 0 14px rgba(214, 178, 101, 0.22);
}

.about-feature-icon {
  color: #7f9547;
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.95) 0%, rgba(242, 233, 214, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 18px rgba(143, 120, 74, 0.08);
}

.about-feature-copy h4 {
  color: #433319;
}

.about-feature-copy p {
  color: rgba(73, 59, 37, 0.78);
}

@media (max-width: 640px) {
  .about-showcase-section {
    background:
      radial-gradient(circle at 14% 10%, rgba(225, 200, 142, 0.24), transparent 24%),
      radial-gradient(circle at 84% 16%, rgba(160, 176, 116, 0.12), transparent 22%),
      linear-gradient(135deg, rgba(255, 252, 245, 0.98) 0%, rgba(247, 241, 231, 0.98) 100%);
  }

  .about-feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(250, 245, 234, 0.82) 100%);
  }
}


/* ===== V9: ABOUT CARD HOVER ANIMATION ===== */
.about-feature-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.55s ease,
    box-shadow 0.55s ease,
    border-color 0.55s ease,
    background 0.55s ease;
}

.about-feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  transition: left 1.0s ease;
  pointer-events: none;
}

.about-feature-icon {
  transition:
    transform 0.55s ease,
    box-shadow 0.55s ease,
    background 0.55s ease;
}

.about-feature-copy h4,
.about-feature-copy p {
  transition:
    transform 0.55s ease,
    color 0.55s ease;
}

.about-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(194, 169, 115, 0.32);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(252, 247, 236, 0.92) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 22px 42px rgba(132, 104, 57, 0.16);
}

.about-feature-card:hover::after {
  left: 140%;
}

.about-feature-card:hover .about-feature-icon {
  transform: scale(1.08);
  background: linear-gradient(
    180deg,
    rgba(255, 253, 247, 1) 0%,
    rgba(246, 236, 212, 0.95) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 24px rgba(143, 120, 74, 0.16);
}

.about-feature-card:hover .about-feature-copy h4,
.about-feature-card:hover .about-feature-copy p {
  transform: translateX(4px);
}

.about-feature-card:hover .about-feature-copy h4 {
  color: #3f2f17;
}

.about-feature-card:hover .about-feature-copy p {
  color: rgba(73, 59, 37, 0.92);
}

/* ===== V12: CONTACT SHOWCASE SECTION MATCHED LIGHT STYLE ===== */
#contact {
  scroll-margin-top: 130px;
}

.contact-showcase-section {
  margin-top: 46px;
  display: grid;
  grid-template-columns: minmax(300px, 0.96fr) minmax(420px, 1.04fr);
  gap: 34px;
  align-items: stretch;
  padding: 34px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(225, 200, 142, 0.24), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(160, 176, 116, 0.12), transparent 24%),
    radial-gradient(circle at 52% 100%, rgba(214, 184, 120, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 245, 0.96) 0%, rgba(249, 244, 234, 0.98) 42%, rgba(242, 235, 221, 0.99) 100%);
  border: 1px solid rgba(184, 155, 97, 0.16);
  box-shadow:
    0 24px 50px rgba(120, 96, 52, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.contact-showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0.08) 76%, rgba(255, 248, 231, 0.26) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 24%);
  pointer-events: none;
}

.contact-showcase-intro,
.contact-form-card {
  position: relative;
  z-index: 1;
}

.contact-showcase-intro {
  padding: 8px 6px 8px 4px;
}

.contact-showcase-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(178, 151, 92, 0.24);
  background: linear-gradient(180deg, rgba(255, 251, 242, 0.92) 0%, rgba(247, 238, 220, 0.88) 100%);
  color: #927034;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 22px rgba(177, 150, 92, 0.08);
}

.contact-showcase-title {
  margin-top: 22px;
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 2.8vw, 58px);
  line-height: 1.04;
  font-weight: 700;
  color: #4d3c1f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.contact-showcase-text {
  margin-top: 18px;
  max-width: 610px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(67, 54, 33, 0.86);
}

.contact-info-list {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

.contact-info-card,
.contact-form-card {
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64) 0%, rgba(253, 249, 240, 0.74) 46%, rgba(244, 236, 221, 0.82) 100%);
  border: 1px solid rgba(194, 169, 115, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 34px rgba(132, 104, 57, 0.10);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.contact-info-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 22px 22px;
  transition: transform 0.48s ease, box-shadow 0.48s ease, border-color 0.48s ease, background 0.48s ease;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 169, 115, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 250, 241, 0.84) 48%, rgba(246, 239, 225, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 24px 40px rgba(132, 104, 57, 0.14);
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f9547;
  background: linear-gradient(180deg, rgba(255, 254, 250, 0.94) 0%, rgba(244, 235, 217, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 18px rgba(143, 120, 74, 0.10);
}

.contact-info-icon svg,
.contact-submit-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-copy h4 {
  font-size: 28px;
  line-height: 1.14;
  font-weight: 700;
  color: #433319;
}

.contact-info-copy p,
.contact-info-copy a {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(73, 59, 37, 0.82);
}

.contact-info-copy a:hover {
  color: #4f6b26;
}

.contact-form-card {
  padding: 34px 34px 30px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form-row {
  display: grid;
  gap: 20px;
}

.contact-form-row-double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-field {
  display: flex;
  flex-direction: column;
}

.contact-field label {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #57452a;
}

.contact-field label span {
  color: #c6a34a;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(194, 169, 115, 0.16);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.54) 0%, rgba(252, 247, 238, 0.74) 100%);
  color: #46361e;
  font: inherit;
  padding: 16px 18px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease, background 0.4s ease;
}

.contact-field input {
  min-height: 58px;
}

.contact-field textarea {
  min-height: 200px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(84, 68, 41, 0.48);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(202, 171, 90, 0.55);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 249, 239, 0.9) 100%);
  box-shadow: 0 0 0 4px rgba(231, 200, 111, 0.14);
  transform: translateY(-1px);
}

.contact-field-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.char-counter {
  font-size: 13px;
  color: rgba(92, 73, 42, 0.58);
}

.contact-consent {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(84, 66, 37, 0.78);
  cursor: pointer;
}

.contact-consent input {
  width: 18px;
  height: 18px;
  accent-color: #8aa149;
  flex: 0 0 auto;
}

.contact-submit-btn {
  margin-top: 4px;
  min-height: 60px;
  border: none;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 26px;
  background: linear-gradient(180deg, #e7cc64 0%, #d4ac3b 100%);
  color: #2d2412;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(190, 153, 52, 0.22);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.contact-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(190, 153, 52, 0.28);
  filter: brightness(1.03);
}

.contact-submit-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1180px) {
  .contact-showcase-section {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 28px 24px 26px;
  }

  .contact-showcase-title {
    max-width: none;
  }

  .contact-showcase-text {
    max-width: none;
    font-size: 17px;
  }

  .contact-info-copy h4 {
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  #contact {
    scroll-margin-top: 170px;
  }

  .contact-showcase-section {
    margin-top: 34px;
  }

  .contact-form-card {
    padding: 28px 24px 24px;
  }
}

@media (max-width: 640px) {
  #contact {
    scroll-margin-top: 185px;
  }

  .contact-showcase-section {
    margin-top: 28px;
    padding: 22px 16px 18px;
    border-radius: 24px;
    gap: 18px;
    background:
      radial-gradient(circle at 14% 10%, rgba(225, 200, 142, 0.18), transparent 24%),
      radial-gradient(circle at 84% 16%, rgba(160, 176, 116, 0.10), transparent 22%),
      linear-gradient(135deg, rgba(255, 252, 245, 0.98) 0%, rgba(247, 241, 231, 0.98) 100%);
  }

  .contact-showcase-badge {
    min-height: 38px;
    padding: 0 16px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .contact-showcase-title {
    margin-top: 16px;
    font-size: clamp(28px, 8.2vw, 38px);
  }

  .contact-showcase-text {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.55;
  }

  .contact-info-card {
    grid-template-columns: 50px 1fr;
    gap: 12px;
    padding: 18px 16px 16px;
    border-radius: 20px;
  }

  .contact-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .contact-info-copy h4 {
    font-size: 19px;
  }

  .contact-info-copy p,
  .contact-info-copy a {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
  }

  .contact-form-card {
    padding: 20px 16px 18px;
    border-radius: 22px;
  }

  .contact-form-row-double {
    grid-template-columns: 1fr;
  }

  .contact-form {
    gap: 16px;
  }

  .contact-field label {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .contact-field input {
    min-height: 50px;
  }

  .contact-field textarea {
    min-height: 160px;
  }

  .contact-submit-btn {
    min-height: 52px;
    font-size: 15px;
    border-radius: 16px;
  }
}


/* ===== SCROLL REVEAL ANIMATIONS ===== */
.scroll-reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transition:
    opacity 1.15s ease,
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.15s ease,
    box-shadow 0.68s ease;
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform, filter;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-up {
  transform: translateY(42px);
  filter: none;
}

.reveal-left {
  transform: translateX(-46px);
  filter: none;
}

.reveal-right {
  transform: translateX(46px);
  filter: none;
}

.reveal-pop {
  transform: translateY(34px) scale(0.92);
  filter: none;
}

.reveal-pop.is-visible {
  animation: revealPopBounce 1.65s cubic-bezier(0.2, 0.9, 0.2, 1) both;
  animation-delay: var(--reveal-delay);
}

.reveal-line {
  transform: translateY(22px);
  filter: none;
}

@keyframes revealPopBounce {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.92);
    filter: none;
  }
  70% {
    opacity: 1;
    transform: translateY(-5px) scale(1.015);
    filter: none;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
  }
}

/* stronger specialization entrance */
.spec-card.scroll-reveal {
  transform-origin: center bottom;
}

.spec-card.is-visible .spec-card-icon {
  animation: specIconFloat 1.4s ease both;
  animation-delay: calc(var(--reveal-delay) + 220ms);
}

@keyframes specIconFloat {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.85) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1.04) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* roadmap animation */
.roadmap-line {
  overflow: visible;
}

.roadmap-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  background: linear-gradient(
    90deg,
    rgba(94, 114, 49, 0.92) 0%,
    rgba(168, 156, 67, 0.96) 55%,
    rgba(209, 169, 62, 0.96) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 18px rgba(208, 177, 88, 0.24);
  transition: transform 1.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-delay) + 260ms);
}

.roadmap-line.is-visible::after {
  transform: translateY(-50%) scaleX(1);
}

.roadmap-line .roadmap-dot {
  transform: translate(-50%, -50%) scale(0);
  transition:
    transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.55s ease;
}

.roadmap-line.is-visible .roadmap-dot {
  transform: translate(-50%, -50%) scale(1);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.55),
    0 6px 18px rgba(0, 0, 0, 0.13);
}

.roadmap-line.is-visible .roadmap-dot-1 { transition-delay: calc(var(--reveal-delay) + 390ms); }
.roadmap-line.is-visible .roadmap-dot-2 { transition-delay: calc(var(--reveal-delay) + 600ms); }
.roadmap-line.is-visible .roadmap-dot-3 { transition-delay: calc(var(--reveal-delay) + 800ms); }
.roadmap-line.is-visible .roadmap-dot-4 { transition-delay: calc(var(--reveal-delay) + 980ms); }

.roadmap-step.scroll-reveal {
  transform: translateY(34px);
}

.roadmap-step.is-visible {
  position: relative;
}

.roadmap-step.is-visible::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 48px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(95, 122, 54, 0.95), rgba(209, 169, 62, 0.9));
  animation: roadmapAccent 1.0s ease both;
  animation-delay: calc(var(--reveal-delay) + 420ms);
}

@keyframes roadmapAccent {
  0% {
    opacity: 0;
    width: 0;
  }
  100% {
    opacity: 1;
    width: 48px;
  }
}

/* subtle section polish */
.section-title.scroll-reveal.is-visible,
.about-showcase-intro.scroll-reveal.is-visible,
.contact-form-shell.scroll-reveal.is-visible,
.contact-info-card.scroll-reveal.is-visible,
.footer-card.scroll-reveal.is-visible {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.is-visible,
  .reveal-pop.is-visible,
  .spec-card.is-visible .spec-card-icon,
  .roadmap-step.is-visible::before {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }

  .roadmap-line::after,
  .roadmap-line.is-visible::after,
  .roadmap-line .roadmap-dot,
  .roadmap-line.is-visible .roadmap-dot {
    transform: translateY(-50%) scaleX(1) !important;
    transition: none !important;
  }

  .roadmap-line .roadmap-dot,
  .roadmap-line.is-visible .roadmap-dot {
    transform: translate(-50%, -50%) scale(1) !important;
  }
}


.contact-form-status {
  min-height: 24px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(84, 66, 37, 0.72);
}

.contact-form-status-success {
  color: #2f6b2c;
}

.contact-form-status-error {
  color: #a13d34;
}

.contact-form-status-pending {
  color: #8d6b22;
}

.contact-submit-btn:disabled,
.contact-submit-btn.is-loading {
  cursor: wait;
  opacity: 0.88;
  transform: none;
  filter: saturate(0.9);
}
