:root {
  --blue: #426783;
  --cream: #f4f0e6;
  --text: #111111;
  --muted: #6f7e8a;
  --light-blue: #87aed1;
  --white: #ffffff;
  --line: rgba(255,255,255,0.35);

  --contact-navy: #355872;
  --contact-blue: #7AAACE;
  --contact-sky: #9CD5FF;
  --contact-cream: #F7F8F0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--cream);
}

body.menu-open {
  overflow: hidden;
}

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

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

/* Top bar */
.topbar{
  background-color: #f4f0e6;
  color: #111111;
  font-size:14px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin: 0 1%;
  padding: 0 18px;
}

/* header */
.site-header {
  background: var(--blue);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.nav {
  max-width: 100vw;
  margin: 0 1%;
  padding: 20px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.3s ease;
}

.brand img {
  height: 82px;
  width: auto;
  display: block;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 2px;
  opacity: 0.95;
}

.nav-links {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 8px;
}

.nav-link,
.mobile-link {
  color: var(--white);
  opacity: 0.97;
  position: relative;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-link:hover,
.mobile-link:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.nav-link::after,
.mobile-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1.5px;
  background: var(--white);
  transition: width 0.35s ease;
}

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

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

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

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

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

.mobile-menu {
  display: none;
  background: var(--blue);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 16px 24px 24px;
}

.mobile-menu.open {
  display: block;
  animation: mobileMenuFade 0.35s ease;
}

.mobile-link {
  display: block;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 500;
  width: fit-content;
}

/* layout */
.section {
  width: 100%;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.center {
  text-align: center;
}

.relative {
  position: relative;
}

/* hero */
.hero {
  position: relative;
  min-height: 87vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.01);
  transition: none;
  will-change: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.12), rgba(0,0,0,0.45));
  animation: overlayFade 0.8s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 28px 40px;
}

.hero-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
}

.hero-left {
  flex: 1 1 auto;
  min-width: 0;
}

.hero-right {
  flex: 0 0 auto;
  max-width: auto;
  text-align: left;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(72px, 8.2vw, 108px);
  line-height: 0.92;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: white;
  text-shadow: 0 3px 14px rgba(0,0,0,0.22);
  opacity: 0;
}

.hero-tagline {
  font-size: 22px;
  line-height: 1.2;
  color: var(--white);
  margin-top: 8px;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  opacity: 0;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  margin: 0;
  opacity: 0;
}

.hero-left-copy {
  font-size: 44px;
  line-height: 1.15;
  max-width: auto;
  font-weight: 400;
  opacity: 0;
  color: white;
}

/* intro */
.intro {
  background: var(--cream);
  padding: 78px 0 84px;
}

.intro h2,
.testimonial-title {
  text-align: center;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 40px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  max-width: 1240px;
  margin: 0 auto 38px;
}

.intro-grid p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

/* buttons */
.button {
  display: inline-block;
  border-radius: 999px;
  padding: 16px 30px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.22s ease, opacity 0.2s ease, background 0.2s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.button.primary {
  background: #8db4d7;
  color: white;
}

.button.light {
  background: white;
  color: #222;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(66,103,131,0.18);
}

/* image sections */
.image-banner {
  min-height: 560px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-image {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* offer */
.offer-section {
  background: var(--blue);
  color: white;
  padding: 70px 0 100px;
}

.offer-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 760px);
  gap: 42px;
  align-items: start;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.offer-label {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  color: rgba(255,255,255,0.96);
  padding-top: 10px;
  text-align: left;
}

.offer-list {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: clamp(44px, 5.2vw, 64px);
  line-height: 0.92;
  font-weight: 300;
  letter-spacing: -0.045em;
  max-width: 760px;
  color: rgba(255,255,255,0.98);
}

.offer-list > div,
.offer-list p {
  margin: 0;
}

.offer-list .more {
  color: #aab49b;
}

.offer-button {
  margin-top: 44px;
}

.offer-button .button,
.offer-button .button.light {
  background: #f7f3ea;
  color: #1a1a1a;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: none;
}

/* testimonial */
.testimonial-section {
  background: #fbfbfb;
  padding: 68px 0 74px;
}

.testimonial-sub {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.6;
}

.testimonial-card {
  background: #f4f4f4;
  max-width: 680px;
  margin: 0 auto;
  padding: 70px 54px 44px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.testimonial-quote {
  font-size: 24px;
  line-height: 1.45;
  max-width: 520px;
  margin: 0 auto 26px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-author {
  font-size: 18px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-nav {
  font-size: 20px;
  margin-bottom: 40px;
  letter-spacing: 6px;
}

.testimonial-arrow {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.testimonial-arrow:hover {
  transform: translateY(-1px);
  opacity: 0.75;
}

.testimonial-cta-text {
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
  margin: 36px 0 26px;
}

/* classy footer */
.site-footer {
  background: var(--cream);
  padding: 76px 0 58px;
  color: #111111;
}

.site-footer .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 56px;
}

.footer-grid {
  display: block;
}

.footer-mark {
  display: none;
}

.footer-title {
  margin: 0 0 78px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: clamp(40px, 4.4vw, 46px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: #111111;
  text-transform: uppercase;
  text-align: left;
}
.footer-title img {
  width: 75%;
}

.footer-tagline {
  margin: 0 0 64px;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  color: #1a1a1a;
  text-align: left;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.62fr;
  gap: 70px;
  align-items: start;
  max-width: 980px;
}

.footer-contact,
.footer-address,
.footer-social {
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  color: #1a1a1a;
  text-align: left;
}

.footer-contact a,
.footer-social a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-contact a:hover,
.footer-social a:hover {
  opacity: 0.65;
}

.footer-copy {
  margin-top: 72px;
  font-size: 14px;
  line-height: 1.65;
  color: #1a1a1a;
  text-align: left;
}

/* stats */
.stats-section {
  background: var(--cream);
  padding: 56px 0 54px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}

.stat-number {
  font-family: 'Times New Roman', Times, serif;
  color: var(--light-blue);
  font-size: 88px;
  line-height: 1;
  font-weight: 300;
  margin-bottom: 18px;
}

.stat-label {
  color: var(--light-blue);
  font-size: 16px;
}

/* services */
.services-detail {
  background: var(--blue);
  color: white;
  padding: 88px 0 96px;
}

.services-heading {
  font-size: 24px;
  line-height: 1.12;
  font-weight: 400;
  margin-bottom: 42px;
  max-width: 470px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.98);
}

.service-table {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.28);
}

.service-row {
  display: grid;
  grid-template-columns: 0.5fr 1fr 0.75fr;
  align-items: start;
  width: 100%;
  padding: 14px 0 14px;
  border-bottom: 1px solid rgba(255,255,255,0.28);
  opacity: 0;
  transform: translateY(22px);
  animation: rowFade 0.8s ease forwards;
}

.service-row:nth-child(1) { animation-delay: 0.08s; }
.service-row:nth-child(2) { animation-delay: 0.16s; }
.service-row:nth-child(3) { animation-delay: 0.24s; }
.service-row:nth-child(4) { animation-delay: 0.32s; }
.service-row:nth-child(5) { animation-delay: 0.40s; }
.service-row:nth-child(6) { animation-delay: 0.48s; }

.service-name {
  grid-column: 1;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255,255,255,0.98);
}

.service-items {
  grid-column: 3;
  width: 100%;
  max-width: 100%;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.96);
}

/* process */
.process-section {
  background: var(--blue);
  color: white;
  padding: 88px 0 96px;
}

.process-heading {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 18px;
  max-width: 460px;
  letter-spacing: -0.02em;
}

.process-divider {
  border-top: 1px solid rgba(255,255,255,0.28);
  margin: 0;
}

.process-row {
  display: grid;
  grid-template-columns: 0.15fr 1fr;
  column-gap: 150px;
  align-items: start;
  width: 100%;
  padding: 46px 0 42px;
  border-bottom: 1px solid rgba(255,255,255,0.28);
  opacity: 0;
  transform: translateY(22px);
  animation: rowFade 0.8s ease forwards;
}

.process-row:nth-of-type(1) { animation-delay: 0.08s; }
.process-row:nth-of-type(2) { animation-delay: 0.16s; }
.process-row:nth-of-type(3) { animation-delay: 0.24s; }

.process-number {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 128px;
  line-height: 0.85;
  font-weight: 300;
  color: rgba(255,255,255,0.98);
  letter-spacing: -0.06em;
}

.process-content {
  width: 100%;
  max-width: 860px;
  padding-top: 8px;
}

.process-content h3 {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  color: rgba(255,255,255,0.98);
}

.process-content p {
  margin: 0;
  width: 100%;
  max-width: 860px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.96);
}

.discover {
  margin-top: 60px;
  font-size: 20px;
  line-height: 1.4;
  color: rgba(255,255,255,0.95);
}

/* premium contact section */
.contact-embed-wrap {
  background: linear-gradient(180deg, #f7f8f0 0%, #eef5fb 100%);
  padding: 42px 24px 52px;
}

.contact-shell {
  max-width: 1240px;
  margin: 0 auto;
  background: #f7f8f0;
  border: 1px solid rgba(122, 170, 206, 0.28);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(53, 88, 114, 0.10);
  padding: 22px 22px 20px;
}

.contact-shell-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 20px;
  padding: 8px 10px 0;
}

.contact-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7AAACE;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-shell-head h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 0.95;
  color: #355872;
  font-weight: 500;
}

.contact-shell-head p {
  margin: 10px 0 0;
  max-width: 470px;
  font-size: 16px;
  line-height: 1.6;
  color: #355872;
  text-align: right;
}

.contact-premium-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 14px;
  align-items: stretch;
}

.contact-premium-card {
  background: #f7f8f0;
  border: 1.5px solid rgba(156, 213, 255, 0.75);
  border-radius: 20px;
  padding: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-premium-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(53, 88, 114, 0.08);
}

.contact-card-top {
  margin-bottom: 14px;
}

.contact-title {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #355872;
  font-weight: 800;
}

.contact-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(53, 88, 114, 0.92);
}

.premium-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.premium-form-grid.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.premium-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.premium-field label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #355872;
  font-weight: 800;
}

.premium-field input,
.premium-field select,
.premium-field textarea {
  width: 100%;
  border: 1.5px solid rgba(156, 213, 255, 0.9);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: #f7f8f0;
  color: #355872;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  appearance: none;
}

.premium-field input,
.premium-field select {
  min-height: 50px;
}

.premium-field textarea {
  min-height: 350px;
  resize: vertical;
}

.premium-field input::placeholder,
.premium-field textarea::placeholder {
  color: rgba(53, 88, 114, 0.55);
}

.premium-field input:focus,
.premium-field select:focus,
.premium-field textarea:focus {
  border-color: #7AAACE;
  box-shadow: 0 0 0 4px rgba(156, 213, 255, 0.14);
}

.premium-select-wrap {
  position: relative;
}

.premium-select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 48px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #355872;
  border-bottom: 2px solid #355872;
  transform: rotate(45deg);
  pointer-events: none;
  opacity: 0.8;
}

.premium-select-wrap select {
  padding-right: 44px;
  cursor: pointer;
}

.contact-btn {
  margin-top: 4px;
  border: 1px solid #355872;
  border-radius: 999px;
  padding: 15px 24px;
  background: #355872;
  color: #f7f8f0;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, background 0.25s ease;
  align-self: flex-start;
  min-width: 178px;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(53, 88, 114, 0.16);
  background: #2e4c63;
}

.office-premium {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.office-list {
  display: grid;
  gap: 0;
}

.office-list p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(53, 88, 114, 0.10);
  font-size: 14px;
  line-height: 1.5;
  color: #355872;
}

.office-list span {
  font-weight: 700;
  min-width: 56px;
}

.office-list a {
  color: #7AAACE;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.map-frame {
  background: linear-gradient(180deg, rgba(122,170,206,0.12) 0%, rgba(156,213,255,0.12) 100%);
  border: 1px solid rgba(156, 213, 255, 0.9);
  border-radius: 18px;
  padding: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.premium-map {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 12px;
  display: block;
  background: #dbe8f7;
}

/* success popup */
.success-popup {
  position: fixed;
  inset: 0;
  background: rgba(53, 88, 114, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9998;
}

.success-popup.show {
  opacity: 1;
  visibility: visible;
}

.success-popup-card {
  width: 100%;
  max-width: 420px;
  background: #f7f8f0;
  border: 1px solid rgba(122, 170, 206, 0.35);
  border-radius: 24px;
  padding: 30px 28px;
  text-align: center;
  box-shadow: 0 26px 60px rgba(53, 88, 114, 0.18);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s ease;
}

.success-popup.show .success-popup-card {
  transform: translateY(0) scale(1);
}

.success-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #355872;
  color: #f7f8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
  font-weight: 700;
}

.success-popup-card h3 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px;
  color: #355872;
  font-weight: 500;
}

.success-popup-card p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #355872;
}

.success-close-btn {
  border: 1px solid #355872;
  border-radius: 999px;
  padding: 13px 22px;
  background: #355872;
  color: #f7f8f0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.success-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(53, 88, 114, 0.16);
}

/* loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-mark img {
  width: 50%;
}

.loader-line {
  width: 140px;
  height: 2px;
  background: rgba(66,103,131,0.18);
  position: relative;
  overflow: hidden;
}

.loader-line::after {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: var(--blue);
  animation: loaderMove 1.2s ease-in-out infinite;
}

/* animations */
.hero-animate {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal {
  transform: translateY(24px);
}

.reveal-left {
  transform: translateX(-24px);
}

.reveal-right {
  transform: translateX(24px);
}

.reveal-scale {
  transform: translateY(16px) scale(0.99);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@keyframes overlayFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes rowFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderMove {
  0% { left: -40%; }
  100% { left: 100%; }
}

@keyframes mobileMenuFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* desktop but narrower */
@media (max-width: 1280px) {
  .hero-left {
    padding-right: 320px;
  }

  .hero-right {
    width: 280px;
    max-width: 280px;
  }

  .hero-subtitle {
    white-space: normal;
  }

  .site-footer .container {
    padding: 0 44px;
  }

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

  .footer-bottom {
    gap: 52px;
    max-width: 920px;
  }
}

/* responsive */
@media (max-width: 900px) {
  .container,
  .hero-content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .topbar {
    padding: 0 16px;
  }

  .nav {
    padding: 14px 16px;
    align-items: center;
    min-height: 76px;
  }

  .brand img {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 520px;
  }

  .hero-main {
    display: block;
  }

  .hero-left {
    padding-right: 0;
    max-width: 100%;
  }

  .hero-right {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
  }

  .hero-title {
    font-size: clamp(44px, 10vw, 64px);
    white-space: normal;
    line-height: 0.95;
  }

  .hero-tagline {
    font-size: 19px;
    max-width: 100%;
    white-space: normal;
    margin-top: 8px;
  }

  .hero-subtitle,
  .hero-left-copy {
    max-width: 100%;
    margin-left: 0;
    font-size: 16px;
  }

  .hero-subtitle {
    white-space: normal;
  }

  .intro {
    padding: 64px 0 72px;
  }

  .intro h2,
  .testimonial-title {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 30px;
  }

  .intro-grid,
  .offer-layout,
  .stats-grid,
  .contact-premium-grid,
  .premium-form-grid.two-col {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 26px;
    margin-bottom: 30px;
  }

  .intro-grid p {
    font-size: 17px;
    line-height: 1.75;
  }

  .button {
    font-size: 15px;
    padding: 15px 28px;
  }

  .offer-layout {
    max-width: 100%;
    gap: 22px;
  }

  .offer-label {
    font-size: 15px;
    padding-top: 0;
  }

  .offer-list {
    font-size: clamp(28px, 8vw, 42px);
    line-height: 0.95;
    max-width: 100%;
  }

  .offer-button {
    margin-top: 30px;
  }

  .testimonial-card {
    padding: 46px 28px 34px;
  }

  .testimonial-quote {
    font-size: 21px;
  }

  .site-footer {
    padding: 56px 0 42px;
  }

  .site-footer .container {
    padding: 0 24px;
  }

  .footer-title {
    margin: 0 0 34px;
    font-size: 30px;
    line-height: 1.02;
    letter-spacing: 0.08em;
  }

  .footer-tagline {
    margin: 0 0 34px;
    font-size: 16px;
    max-width: 100%;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 100%;
  }

  .footer-contact,
  .footer-address,
  .footer-social {
    font-size: 15px;
    line-height: 1.7;
  }

  .footer-copy {
    margin-top: 40px;
    font-size: 12px;
  }

  .stat-number {
    font-size: 58px;
  }

  .stat-label {
    font-size: 14px;
  }

  .services-detail {
    padding: 64px 0 74px;
  }

  .services-heading {
    font-size: 22px;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0 20px;
  }

  .service-name,
  .service-items {
    grid-column: auto;
  }

  .service-name {
    font-size: 16px;
  }

  .service-items {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
  }

  .process-section {
    padding: 44px 0 44px;
  }

  .process-row {
    grid-template-columns: 72px 1fr;
    column-gap: 18px;
    padding: 28px 0 30px;
  }

  .process-number {
    font-size: 64px;
    line-height: 0.9;
  }

  .process-content {
    max-width: 100%;
    padding-top: 2px;
  }

  .process-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .process-content p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
  }

  .discover {
    margin-top: 42px;
    font-size: 18px;
  }

  .contact-shell {
    padding: 18px;
    border-radius: 22px;
  }

  .contact-shell-head {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }

  .contact-shell-head h2 {
    font-size: 44px;
  }

  .contact-shell-head p {
    text-align: left;
    max-width: 100%;
    font-size: 15px;
  }

  .office-list p {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .premium-field textarea {
    min-height: 150px;
    resize: vertical;
  }
  .premium-map {
    min-height: 240px;
  }
  
  .premium-select-wrap::after {
    top: 47px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .page-loader {
    display: none !important;
  }

  .hero-title,
  .hero-tagline,
  .hero-subtitle,
  .hero-left-copy,
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .testimonial-quote,
  .testimonial-author {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
