/* ===============================
   SKAR TECHNOLOGIES
   Premium One-Page Website CSS
   Official Colors:
   Navy: #0B1F3A
   Gold: #C89B3C
   Off White: #F8F9FB
   Black: #0A0A0A
   Gray: #6B7280
================================ */

:root {
  --navy: #0b1f3a;
  --deep-navy: #0b1f3a;
  --gold: #c89b3c;
  --off-white: #f8f9fb;
  --black: #0a0a0a;
  --gray: #6b7280;

  --white: #ffffff;
  --border: rgba(11, 31, 58, 0.12);
  --shadow: 0 24px 70px rgba(11, 31, 58, 0.12);
  --shadow-soft: 0 14px 40px rgba(11, 31, 58, 0.08);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --container: 1180px;
  --transition: 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark mode */
html[data-theme="dark"] {
  --off-white: #0a0a0a;
  --white: #101826;
  --black: #f8f9fb;
  --gray: rgba(248, 249, 251, 0.72);
  --border: rgba(248, 249, 251, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.35);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--off-white);
  color: var(--gray);
  line-height: 1.7;
  overflow-x: hidden;
}

html[data-theme="dark"] body {
  color: #f8f9fb;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* ================= NAVBAR ================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
}

.navbar {
  width: min(1280px, 94%);
  margin: 18px auto 0;
  height: 74px;
  padding: 0 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(248, 249, 251, 0.82);
  border: 1px solid rgba(11, 31, 58, 0.1);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 38px rgba(11, 31, 58, 0.07);
  transition: var(--transition);
}

html[data-theme="dark"] .navbar {
  background: rgba(11, 31, 58, 0.85); /* NAVY */
  border-color: rgba(248, 249, 251, 0.12);
}

.navbar.scrolled {
  height: 64px;
  margin-top: 10px;
  background: rgba(11, 31, 58, 0.88);
  border-color: rgba(248, 249, 251, 0.14);
  box-shadow: 0 18px 45px rgba(11, 31, 58, 0.22);
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .theme-toggle {
  color: #f8f9fb;
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active,
.navbar.scrolled .theme-toggle:hover {
  color: var(--gold);
}

.navbar.scrolled .menu-toggle span {
  background: #f8f9fb;
}

html[data-theme="dark"] .navbar.scrolled {
  background: rgba(10, 10, 10, 0.94);
}

.nav-logo {
  display: flex;
  align-items: center;
  min-width: 190px;
  height: 54px;
  padding: 0;
  background: transparent;
  border: none;
  transition: var(--transition);
}

.nav-logo img {
  height: auto;
  width: 200px;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.logo-scrolled {
  display: none;
}

.navbar.scrolled .logo-default {
  display: none;
}

.navbar.scrolled .logo-scrolled {
  display: block;
}

/* DARK MODE LOGO FIX */
html[data-theme="dark"] .logo-default {
  display: none;
}

html[data-theme="dark"] .logo-scrolled {
  display: block;
}

.navbar.scrolled .nav-logo img {
  width: 180px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray);
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links a.active {
  color: var(--gold);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
}

/* Both icons occupy the same position */
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  grid-area: 1 / 1;
  font-size: 1rem;
  line-height: 1;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}

/* Light mode: show moon */
.theme-toggle .icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: scale(0.6) rotate(-30deg);
  pointer-events: none;
}

/* Dark mode: show sun */
html[data-theme="dark"] .theme-toggle {
  color: #f8f9fb;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: scale(0.6) rotate(30deg);
  pointer-events: none;
}

/* Hover */
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

html[data-theme="dark"] .theme-toggle {
  color: #f8f9fb; /* force white for visibility */
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

html[data-theme="dark"] .menu-toggle span {
  background: #f8f9fb;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 27px;
}

.menu-toggle.open span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle.open span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

html[data-theme="dark"] .mobile-menu a:hover {
  color: var(--gold);
}

.mobile-theme-toggle {
  width: 44px;
  height: 44px;
  justify-self: start;
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 14px 30px rgba(200, 155, 60, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(200, 155, 60, 0.32);
}

.btn-secondary {
  border-color: rgba(248, 249, 251, 0.28);
  color: var(--off-white);
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ================= SECTIONS ================= */

section {
  position: relative;
}

.section-light {
  background: var(--off-white);
}

.section-dark {
  background: var(--navy);
  color: #f8f9fb;
}

.section-navy {
  background: var(--off-white);
  color: var(--black);
}

html[data-theme="dark"] .section-navy {
  background: var(--navy);
  color: #f8f9fb;
}

.hero,
.services,
.why-skar,
.work,
.about,
.cta,
.contact {
  padding: 110px 0;
}

.eyebrow {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-header h2,
.about-content h2,
.contact-info h2,
.cta-content h2,
h1,
h2,
h3 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 1rem;
}

/* Keep only non-hero dark sections readable */
.cta.section-dark h1,
.cta.section-dark h2,
.cta.section-dark h3,
.cta.section-dark p {
  color: #f8f9fb;
}

.section-header p,
.about-content p,
.contact-info p {
  color: var(--gray);
  max-width: 680px;
  font-size: 1.05rem;
}

html[data-theme="dark"] .section-header p,
html[data-theme="dark"] .about-content p,
html[data-theme="dark"] .contact-info p {
  color: rgba(248, 249, 251, 0.72);
}

.section-dark .section-header p {
  color: rgba(248, 249, 251, 0.72);
}

.section-navy .section-header p {
  color: var(--gray);
}

html[data-theme="dark"] .section-navy .section-header p {
  color: rgba(248, 249, 251, 0.72);
}

/* ================= HERO ================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
  overflow: hidden;
}

/* LIGHT HERO VERSION */
.hero.section-dark {
  background: var(--off-white);
  color: var(--black);
}

.hero.section-dark .hero-text {
  color: var(--gray);
}

.hero.section-dark .btn-secondary {
  border-color: var(--border);
  color: var(--navy);
}

.hero.section-dark .btn-secondary:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.hero::before {
  content: "";
  position: absolute;
  right: -220px;
  top: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 155, 60, 0.18),
    transparent 65%
  );
}

.hero::after {
  content: "";
  position: absolute;
  left: -240px;
  bottom: -220px;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(248, 249, 251, 0.08),
    transparent 68%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  max-width: 880px;
  margin-bottom: 1.4rem;
}

.hero-text {
  max-width: 620px;
  color: var(--gray);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  margin-bottom: 2rem;
}

html[data-theme="dark"] .hero-text {
  color: rgba(248, 249, 251, 0.72);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-card {
  width: min(460px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(11, 31, 58, 0.16);
  position: relative;
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 31, 58, 0.02),
    rgba(11, 31, 58, 0.16)
  );
  z-index: 1;
  pointer-events: none;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  padding: 20px;
  background: #ffffff;
}

/* ================= TRUST ================= */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-inline: 1px solid var(--border);
}

.trust-item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

html[data-theme="dark"] .trust-item strong {
  color: #f8f9fb;
}

.trust-item span {
  color: var(--gray);
  font-weight: 600;
}

/* ================= SERVICES ================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 34px 28px;
  overflow: hidden;
  background: var(--white);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(200, 155, 60, 0.07);
  transition:
    transform 0.35s ease,
    background-color 0.35s ease;
}

.service-card:hover {
  z-index: 1;
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.12);
}

.service-card:hover::after {
  transform: scale(1.25);
  background: rgba(200, 155, 60, 0.12);
}

.service-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border: 1px solid rgba(200, 155, 60, 0.25);
  border-radius: 18px;
  background: rgba(200, 155, 60, 0.1);
  color: var(--gold);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.service-icon i {
  font-size: 1.55rem;
  line-height: 1;
}

.service-card:hover .service-icon {
  transform: translateY(-2px);
  background: var(--gold);
  color: var(--navy);
}

.service-number {
  color: rgba(11, 31, 58, 0.22);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.service-card p {
  position: relative;
  z-index: 1;
  color: var(--gray);
}

html[data-theme="dark"] .service-card h3 {
  color: var(--off-white);
}

html[data-theme="dark"] .service-number {
  color: rgba(248, 249, 251, 0.25);
}

html[data-theme="dark"] .service-card,
html[data-theme="dark"] .work-card,
html[data-theme="dark"] .about-panel,
html[data-theme="dark"] .contact-form {
  background: #101826;
}

/* ================= PRICING PREVIEW ================= */

.pricing-preview {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.pricing-preview::before {
  content: "";
  position: absolute;
  right: -180px;
  top: 80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 155, 60, 0.14),
    transparent 68%
  );
  pointer-events: none;
}

.pricing-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
  margin-bottom: 28px;
}

.pricing-card {
  background: var(--white);
  padding: 34px 28px;
  min-height: 340px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.12);
}

html[data-theme="dark"] .pricing-card {
  background: #101826;
}

.featured-pricing-card {
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.96), rgba(11, 31, 58, 0.9)),
    var(--navy);
  color: #f8f9fb;
}

html[data-theme="dark"] .featured-pricing-card {
  background:
    linear-gradient(180deg, rgba(200, 155, 60, 0.16), rgba(11, 31, 58, 0.95)),
    #101826;
}

.pricing-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(200, 155, 60, 0.12);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 1.4rem;
}

.featured-pricing-card .pricing-icon {
  background: rgba(248, 249, 251, 0.1);
  color: var(--gold);
}

.pricing-category {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.pricing-card h3 {
  color: var(--navy);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.featured-pricing-card h3 {
  color: #f8f9fb;
}

html[data-theme="dark"] .pricing-card h3 {
  color: #f8f9fb;
}

.pricing-description {
  color: var(--gray);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.featured-pricing-card .pricing-description {
  color: rgba(248, 249, 251, 0.72);
}

.pricing-price {
  margin-top: auto;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
}

.featured-pricing-card .pricing-price {
  border-top-color: rgba(248, 249, 251, 0.14);
}

.pricing-price span {
  display: block;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.featured-pricing-card .pricing-price span {
  color: rgba(248, 249, 251, 0.65);
}

.pricing-price strong {
  display: block;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.featured-pricing-card .pricing-price strong {
  color: #f8f9fb;
}

html[data-theme="dark"] .pricing-price strong {
  color: #f8f9fb;
}

.pricing-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.pricing-support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .pricing-support-card {
  background: #101826;
}

.pricing-support-card span {
  display: block;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.pricing-support-card strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.pricing-support-card small {
  display: block;
  margin-top: 0.45rem;
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.4;
}

html[data-theme="dark"] .pricing-support-card strong {
  color: #f8f9fb;
}

.pricing-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pricing-outline-btn {
  border-color: var(--border);
  color: var(--navy);
  background: transparent;
}

.pricing-outline-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

html[data-theme="dark"] .pricing-outline-btn {
  color: #f8f9fb;
  border-color: rgba(248, 249, 251, 0.2);
}

.pricing-note {
  max-width: 780px;
  color: var(--gray);
  font-size: 0.95rem;
}

html[data-theme="dark"] .pricing-note {
  color: rgba(248, 249, 251, 0.72);
}

/* ================= WHY SKAR ================= */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .why-card {
  background: rgba(248, 249, 251, 0.06);
  border: 1px solid rgba(248, 249, 251, 0.12);
  box-shadow: none;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 155, 60, 0.35);
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--navy);
}

.why-card p {
  color: var(--gray);
}

html[data-theme="dark"] .why-card h3 {
  color: #f8f9fb;
}

html[data-theme="dark"] .why-card p {
  color: rgba(248, 249, 251, 0.72);
}

/* ================= WORK ================= */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.work-card {
  background: var(--white);
  border-radius: 28px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(11, 31, 58, 0.08);
  transition: var(--transition);
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(11, 31, 58, 0.12);
}

.work-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 2rem;
  background: var(--off-white);
  overflow: hidden;
}

html[data-theme="dark"] .work-logo {
  background: #ffffff;
}

.work-logo img {
  display: block;
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}

.work-content h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.work-content p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 14px;
}

.work-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.06);
  color: var(--navy);
  transition: var(--transition);
}

.work-actions a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.work-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(200, 155, 60, 0.35);
  border-radius: 999px;
  background: rgba(200, 155, 60, 0.08);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.work-status-live {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
  color: #15803d;
}

html[data-theme="dark"] .work-status {
  background: rgba(200, 155, 60, 0.12);
  border-color: rgba(200, 155, 60, 0.4);
}

html[data-theme="dark"] .work-status-live {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.1);
  color: #86efac;
}

/* ================= ABOUT ================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.about-panel-item {
  padding: 22px;
  border-bottom: 1px solid var(--border);
}

.about-panel-item:last-child {
  border-bottom: 0;
}

.about-panel-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

html[data-theme="dark"] .about-panel-item strong {
  color: var(--off-white);
}

.about-panel-item span {
  color: var(--gray);
}

/* ================= CTA ================= */

.cta {
  text-align: center;
}

.cta-content {
  max-width: 780px;
  margin-inline: auto;
}

.cta h2 {
  margin-bottom: 2rem;
}

/* ================= CONTACT ================= */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  color: var(--gray);
}

.contact-list strong {
  color: var(--navy);
}

html[data-theme="dark"] .contact-list strong {
  color: var(--off-white);
}

.contact-list a {
  color: var(--gold);
  font-weight: 700;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
}

html[data-theme="dark"] .form-group label {
  color: var(--off-white);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  color: var(--black);
  padding: 0.95rem 1rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.12);
}

.form-group textarea {
  resize: vertical;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
}

.contact-list i {
  width: 22px;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1rem;
  text-align: center;
}

.contact-list a {
  color: var(--navy);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--gold);
}

/* ===============================
   DARK MODE TYPOGRAPHY FIX
================================ */

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .section-header h2,
html[data-theme="dark"] .about-content h2,
html[data-theme="dark"] .contact-info h2,
html[data-theme="dark"] .cta-content h2 {
  color: #f8f9fb;
}

html[data-theme="dark"] p,
html[data-theme="dark"] .section-header p,
html[data-theme="dark"] .about-content p,
html[data-theme="dark"] .contact-info p,
html[data-theme="dark"] .hero-text,
html[data-theme="dark"] .service-card p,
html[data-theme="dark"] .why-card p,
html[data-theme="dark"] .work-content p,
html[data-theme="dark"] .about-panel-item span,
html[data-theme="dark"] .contact-list li {
  color: rgba(248, 249, 251, 0.72);
}

html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .why-card h3,
html[data-theme="dark"] .work-content h3,
html[data-theme="dark"] .about-panel-item strong,
html[data-theme="dark"] .form-group label {
  color: #f8f9fb;
}

html[data-theme="dark"] .contact-list a,
html[data-theme="dark"] .contact-list span {
  color: #f8f9fb;
}

html[data-theme="dark"] .contact-list a:hover {
  color: var(--gold);
}

html[data-theme="dark"] .work-actions a {
  background: rgba(248, 249, 251, 0.08);
  color: #f8f9fb;
}

html[data-theme="dark"] .work-actions a:hover {
  background: var(--gold);
  color: var(--navy);
}

html[data-theme="dark"] .hero.section-dark .btn-secondary {
  border-color: rgba(248, 249, 251, 0.25);
  color: #f8f9fb;
}

html[data-theme="dark"] .hero.section-dark .btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ================= FOOTER ================= */

.site-footer {
  background: var(--navy);
  color: var(--off-white);
  padding-top: 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}

.footer-brand img {
  width: 220px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(248, 249, 251, 0.66);
}

.footer-links,
.footer-socials {
  display: grid;
  gap: 0.65rem;
}

.footer-links a,
.footer-socials a {
  color: rgba(248, 249, 251, 0.72);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-socials a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(248, 249, 251, 0.15);
  padding: 20px;
  text-align: center;
  color: rgba(248, 249, 251, 0.58);
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.92);
  color: #f8f9fb;
  border: 1px solid rgba(248, 249, 251, 0.14);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.25);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-4px);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(248, 249, 251, 0.06);
  border: 1px solid rgba(248, 249, 251, 0.12);
  transition: var(--transition);
}

.footer-socials i {
  font-size: 18px;
  color: #f8f9fb;
}

.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ===============================
   REDUCED MOTION
================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1080px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 96px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: min(92%, 520px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  html[data-theme="dark"] .mobile-menu {
    background: #101826;
    border-color: rgba(248, 249, 251, 0.14);
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .mobile-menu a {
    font-weight: 800;
    color: var(--navy);
  }

  html[data-theme="dark"] .mobile-menu a {
    color: #f8f9fb;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
    justify-content: flex-start;
  }

  .services-grid,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .navbar {
    width: 92%;
    height: 66px;
    padding: 0 12px;
  }

  .nav-logo {
    min-width: 165px;
    height: 50px;
    padding: 0;
  }

  .nav-logo img {
    height: 180px;
    max-width: 150px;
  }

  .hero,
  .services,
  .why-skar,
  .work,
  .about,
  .cta,
  .contact {
    padding: 82px 0;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-grid,
  .services-grid,
  .work-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 2.5rem;
  }

  .hero-image-card {
    width: min(360px, 100%);
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .pricing-preview {
    padding: 82px 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    background: transparent;
    border: 0;
  }

  .pricing-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
  }

  .pricing-actions {
    flex-direction: column;
  }

  .pricing-actions .btn {
    width: 100%;
  }
}

/* ===============================
   GLOBAL MESSAGE MODAL
================================ */

body.modal-open {
  overflow: hidden;
}

.skar-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.skar-modal.show {
  visibility: visible;
  opacity: 1;
}

.skar-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 28, 0.76);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.skar-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  padding: 2rem 1.6rem 1.6rem;
  border: 1px solid rgba(200, 155, 60, 0.22);
  border-radius: 22px;
  background: var(--off-white);
  color: var(--deep-navy);
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
}

.skar-modal.show .skar-modal-dialog {
  transform: translateY(0) scale(1);
}

.skar-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.08);
  color: var(--deep-navy);
  font-size: 1rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.skar-modal-close:hover {
  background: var(--deep-navy);
  color: var(--off-white);
  transform: rotate(90deg);
}

.skar-modal-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200, 155, 60, 0.12);
  color: var(--gold);
  font-size: 1.65rem;
}

.skar-modal-dialog h2 {
  margin: 0 0 0.75rem;
  color: var(--deep-navy);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
}

.skar-modal-dialog p {
  margin: 0 auto 1.75rem;
  max-width: 380px;
  color: var(--gray);
  line-height: 1.7;
}

.skar-modal-button {
  min-width: 140px;
  justify-content: center;
}

.skar-modal-success .skar-modal-icon {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.skar-modal-error .skar-modal-icon {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.skar-modal-warning .skar-modal-icon {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
}

[data-theme="dark"] .skar-modal-dialog {
  border-color: rgba(200, 155, 60, 0.3);
  background: var(--deep-navy);
  color: var(--off-white);
}

[data-theme="dark"] .skar-modal-dialog h2 {
  color: var(--off-white);
}

[data-theme="dark"] .skar-modal-dialog p {
  color: rgba(248, 249, 251, 0.75);
}

[data-theme="dark"] .skar-modal-close {
  background: rgba(248, 249, 251, 0.1);
  color: var(--off-white);
}

[data-theme="dark"] .skar-modal-close:hover {
  background: var(--gold);
  color: var(--deep-navy);
}

@media (max-width: 520px) {
  .skar-modal-dialog {
    padding: 2.25rem 1.4rem 1.6rem;
    border-radius: 18px;
  }

  .skar-modal-icon {
    width: 62px;
    height: 62px;
    font-size: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skar-modal,
  .skar-modal-dialog,
  .skar-modal-close {
    transition: none;
  }
}