*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #c45a11;
  --color-primary-dark: #9a4510;
  --color-primary-light: #e8782a;
  --color-navy: #0f1c2e;
  --color-navy-light: #1a2d47;
  --color-text: #2c3e50;
  --color-text-light: #6b7c93;
  --color-white: #ffffff;
  --color-bg: #f5f7fa;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --nav-height: 72px;
  --call-bar-height: 64px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.loading-active {
  overflow: hidden;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.loader__emblem {
  position: relative;
  width: 112px;
  height: 112px;
}

.loader__ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.loader__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 4;
}

.loader__fill {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: loader-ring 1s ease-in-out forwards;
}

.loader__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.loader__icon svg {
  width: 42px;
  height: 42px;
}

.loader__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.loader-leave-active {
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader-leave-to {
  opacity: 0;
  visibility: hidden;
}

@keyframes loader-ring {
  to {
    stroke-dashoffset: 0;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance */
.hero-animate {
  opacity: 0;
  transform: translateY(24px);
}

.site--ready .hero-animate {
  animation: fade-up 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}

.site--ready .navbar {
  animation: fade-in 0.5s ease 0.1s both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .loader__fill {
    animation: none;
    stroke-dashoffset: 0;
  }

  .reveal,
  .hero-animate {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .site--ready .hero-animate,
  .site--ready .navbar {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

@media (max-width: 639px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

.btn-dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-navy-light);
}

/* Fixed call bar */
.call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--call-bar-height);
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.call-bar__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  display: none;
}

.call-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s;
}

.call-bar__phone:hover {
  background: var(--color-primary-light);
}

.call-bar__phone svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

body {
  padding-bottom: var(--call-bar-height);
}

@media (min-width: 640px) {
  .call-bar__text {
    display: block;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--nav-height);
  background: rgba(15, 28, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s;
}

.navbar--scrolled {
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.2rem;
}

.navbar__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__logo-icon svg {
  width: 22px;
  height: 22px;
  color: white;
}

.navbar__links {
  display: none;
  list-style: none;
  gap: 0.25rem;
}

.navbar__links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s;
}

.navbar__mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-navy);
  padding: 1rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.navbar__mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.navbar__mobile-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.75rem 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar__mobile-menu a:hover {
  color: var(--color-primary-light);
}

@media (min-width: 900px) {
  .navbar__links {
    display: flex;
  }

  .navbar__toggle {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 28, 46, 0.92) 0%,
    rgba(15, 28, 46, 0.75) 50%,
    rgba(196, 90, 17, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 3rem) 0 5rem;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196, 90, 17, 0.9);
  color: var(--color-white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__subheadline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__domain {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.hero__domain span {
  color: var(--color-primary-light);
}

@media (max-width: 639px) {
  .hero .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .hero__content {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 380px) {
  .hero .container {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }
}

/* About */
.about {
  background: var(--color-bg);
}

.about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about__text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

.stat-card {
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  min-width: 0;
}

.stat-card__value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  word-break: break-word;
}

.stat-card__label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-light);
}

@media (min-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 479px) {
  .stat-card {
    padding: 1.25rem 1rem;
  }

  .stat-card__value {
    font-size: 1.5rem;
  }

  .stat-card__label {
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    gap: 1.5rem;
  }
}

/* Services */
.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  width: 100%;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--color-white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  min-width: 0;
  width: 100%;
}

@media (max-width: 639px) {
  .service-card {
    padding: 1.5rem 1.25rem;
  }

  .service-card__title {
    font-size: 1rem;
  }

  .service-card__desc {
    font-size: 0.875rem;
  }
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(196, 90, 17, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* CEO */
.ceo {
  background: var(--color-navy);
  color: var(--color-white);
}

.ceo .section-title {
  color: var(--color-white);
}

.ceo .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.ceo__content {
  max-width: 720px;
  margin: 0 auto;
}

.ceo__quote {
  font-size: 1.35rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  border-left: 4px solid var(--color-primary);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.ceo__name {
  font-size: 1.5rem;
  font-weight: 800;
}

.ceo__title {
  color: var(--color-primary-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.ceo__bio {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.ceo__contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.ceo__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.ceo__contact a:hover {
  color: var(--color-white);
}

.ceo__contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Team */
.team {
  background: var(--color-bg);
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
  }
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card__body {
  padding: 1.5rem;
}

.team-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
}

.team-card__role {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-card__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-card__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  transition: color 0.2s;
}

.team-card__contact a:hover {
  color: var(--color-primary);
}

.team-card__contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Referrals */
.referrals-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .referrals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.referral-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}

.referral-card:hover {
  box-shadow: var(--shadow-md);
}

.referral-card__quote {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
}

.referral-card__quote::before {
  content: '"';
  font-size: 2.5rem;
  color: var(--color-primary);
  line-height: 0;
  display: block;
  margin-bottom: 0.5rem;
  font-style: normal;
  font-weight: 800;
}

.referral-card__company {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1rem;
}

.referral-card__contact {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.referral-card__links {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.referral-card__links a {
  font-size: 0.85rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.referral-card__links a:hover {
  text-decoration: underline;
}

/* Contact */
.contact {
  background: var(--color-bg);
}

.contact__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(196, 90, 17, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--color-primary);
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-card__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.contact-card__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
}

.contact-card__value a:hover {
  color: var(--color-primary);
}

/* Footer */
.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-white);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__meta {
  text-align: center;
}

.footer__credentials {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.35rem;
}

.footer__copy {
  font-size: 0.85rem;
}

.footer__developer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.35rem;
}

.footer__developer a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer__developer a:hover {
  color: var(--color-primary-light);
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
