/* LKC Media — Main Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Plus+Jakarta+Sans:wght@600;700;800&family=Space+Grotesk:wght@500&display=swap');

:root {
  --color-navy: #0D1B3E;
  --color-rich-blue: #152247;
  --color-cobalt: #2E31A0;
  --color-gold: #F5C800;
  --color-ice: #F0F4FF;
  --color-slate: #A8B4CC;
  --color-cta-gold: #F5C800;
  --color-cta-hover: #FFD740;
  --color-card: #1A2A50;
  --color-divider: #243060;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;

  --radius-card: 4px;
  --max-width: 1200px;
  --nav-height: 90px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-ice);
  background-color: var(--color-navy);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 8px 16px;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  z-index: 9999;
  border-radius: var(--radius-card);
}

.skip-link:focus {
  top: 8px;
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ice);
  line-height: 1.2;
}

h1 {
  font-weight: 800;
  font-size: 2.5rem;
}

h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-slate);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  -webkit-transition: background-color 0.3s ease, box-shadow 0.3s ease;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.site-nav.scrolled {
  background-color: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 220px;
  width: auto;
}

.footer-brand img {
  height: 200px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--color-cobalt);
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width 0.25s ease;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  width: 100%;
}

.nav-links > li > a:hover {
  color: var(--color-gold);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 220px;
  background: var(--color-rich-blue);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-card);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  list-style: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.nav-links > li:hover > .dropdown,
.nav-links > li.dropdown-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-slate);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.dropdown li a:hover,
.dropdown li a.active {
  color: var(--color-ice);
  border-left-color: var(--color-gold);
  background: rgba(245, 200, 0, 0.05);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ice);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav drawer */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: var(--color-navy);
  z-index: 1060;
  padding: 100px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer ul {
  list-style: none;
}

.mobile-drawer > ul > li {
  margin-bottom: 8px;
}

.mobile-drawer > ul > li > a {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ice);
  padding: 12px 0;
  min-height: 48px;
  border-bottom: 1px solid var(--color-divider);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-sub-toggle::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  -webkit-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
}

.mobile-sub-toggle.open::after {
  content: '−';
}

.mobile-drawer.active > ul > li > a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-drawer.active > ul > li:nth-child(1) > a { transition-delay: 0.05s; }
.mobile-drawer.active > ul > li:nth-child(2) > a { transition-delay: 0.1s; }
.mobile-drawer.active > ul > li:nth-child(3) > a { transition-delay: 0.15s; }
.mobile-drawer.active > ul > li:nth-child(4) > a { transition-delay: 0.2s; }
.mobile-drawer.active > ul > li:nth-child(5) > a { transition-delay: 0.25s; }
.mobile-drawer.active > ul > li:nth-child(6) > a { transition-delay: 0.3s; }

.mobile-drawer .mobile-sub {
  list-style: none;
  padding-left: 16px;
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.3s ease;
  transition: max-height 0.3s ease;
}

.mobile-drawer .mobile-sub.open {
  max-height: 300px;
}

.mobile-drawer .mobile-sub li a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-slate);
  padding: 8px 0;
}

.mobile-drawer .mobile-sub li a:hover {
  color: var(--color-gold);
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

/* iOS Safari fix: fixed bg doesn't work on mobile */
@supports (-webkit-touch-callout: none) {
  .hero-bg {
    background-attachment: scroll;
  }
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(13, 27, 62, 0.82);
}

.hero-canvas {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: var(--nav-height);
}

.hero-label {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 4.2rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--color-slate);
  margin-bottom: 36px;
  min-height: 2rem;
}

.hero-subheadline .typed-text {
  color: var(--color-gold);
}

.hero-subheadline .cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--color-gold);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

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

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-slate);
  stroke-width: 2;
  fill: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Page hero (smaller) */
.page-hero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-navy);
  padding: 160px 0 80px;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(46, 49, 160, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(245, 200, 0, 0.06) 0%, transparent 50%),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 60px,
      rgba(245, 200, 0, 0.015) 60px,
      rgba(245, 200, 0, 0.015) 61px
    );
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0.4;
}

.page-hero .hero-bg::after {
  background: rgba(13, 27, 62, 0.85);
}

.page-hero .hero-content,
.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-ice) 0%, rgba(240, 244, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--color-slate);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-cta-gold);
  color: var(--color-navy);
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  color: var(--color-navy);
  transform: scale(1.02);
}

.btn-secondary {
  background: transparent;
  color: var(--color-ice);
  border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
  background: rgba(245, 200, 0, 0.1);
  color: var(--color-gold);
  transform: scale(1.02);
}

/* ---------- SECTIONS ---------- */

section {
  padding: 100px 0;
}

.section-label {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section-heading {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.section-subtext {
  color: var(--color-slate);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 48px;
}

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

.section-center .section-subtext {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- STATS BAR ---------- */

.stats-bar {
  background: var(--color-rich-blue);
  padding: 48px 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

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

.stat-item .stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-slate);
}

/* ---------- CARDS ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  border-left: 3px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-left-color: var(--color-gold);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  background: rgba(245, 200, 0, 0.08);
  border-radius: var(--radius-card);
  padding: 10px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  fill: none;
}

.card h3 {
  margin-bottom: 12px;
}

.card h3 a {
  color: var(--color-ice);
}

.card h3 a:hover {
  color: var(--color-gold);
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.card .card-link {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}

.card .card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.2s ease;
}

.card:hover .card-link svg {
  transform: translateX(4px);
}

/* ---------- WHY LKC STRIP ---------- */

.why-strip {
  background: var(--color-rich-blue);
  padding: 64px 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.why-item {
  padding: 24px;
}

.why-item .why-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.why-item .why-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  fill: none;
}

.why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.9rem;
  color: rgba(240, 244, 255, 0.7);
}

/* ---------- PORTFOLIO CARDS ---------- */

.portfolio-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-card);
  aspect-ratio: 16 / 9;
}

.portfolio-card iframe,
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.portfolio-card .portfolio-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(13, 27, 62, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay,
.portfolio-card:focus-within .portfolio-overlay {
  opacity: 1;
}

.portfolio-card .portfolio-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.portfolio-card .portfolio-overlay .tag {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

/* ---------- PRICING ---------- */

.pricing-banner {
  background: var(--color-gold);
  color: var(--color-navy);
  text-align: center;
  padding: 14px 24px;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 40px;
  border: 1px solid var(--color-divider);
  transition: border-color 0.25s ease;
}

.pricing-card:hover {
  border-color: var(--color-gold);
}

.pricing-card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.pricing-card .price-note {
  font-size: 0.9rem;
  color: var(--color-slate);
  margin-bottom: 24px;
}

.pricing-card .price-struck {
  text-decoration: line-through;
  opacity: 0.6;
}

.pricing-features {
  border-top: 1px solid var(--color-divider);
  padding-top: 20px;
}

.pricing-features p {
  font-size: 0.95rem;
  color: var(--color-slate);
  margin-bottom: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(36, 48, 96, 0.5);
}

.pricing-features p:last-child {
  border-bottom: none;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background: var(--color-rich-blue);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-divider);
}

/* ---------- CTA BANNER ---------- */

.cta-banner {
  background: var(--color-rich-blue);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(245, 200, 0, 0.03) 40px,
    rgba(245, 200, 0, 0.03) 41px
  );
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: var(--color-slate);
  margin-bottom: 32px;
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--color-navy);
  border-top: 1px solid var(--color-divider);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 80px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand .tagline {
  font-size: 0.95rem;
  color: var(--color-slate);
  margin-bottom: 8px;
}

.footer-brand .division {
  font-size: 0.85rem;
  color: var(--color-slate);
}

.footer-links h4 {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ice);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--color-slate);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid var(--color-gold);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--color-slate);
  margin: 0;
}

/* ---------- CONTACT FORM ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-slate);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-rich-blue);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-card);
  color: var(--color-ice);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8B4CC' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group .error-msg {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #ff6b6b;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-success {
  display: none;
  background: var(--color-card);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
}

.form-success h3 {
  color: var(--color-gold);
  margin-bottom: 8px;
}

.contact-info-panel {
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 40px;
}

.contact-info-panel h3 {
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.contact-detail a,
.contact-detail span {
  color: var(--color-slate);
  font-size: 0.95rem;
}

/* ---------- ABOUT PAGE ---------- */

.about-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-intro p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-split img {
  border-radius: var(--radius-card);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-split h2 {
  margin-bottom: 24px;
}

.values-list {
  list-style: none;
}

.values-list li {
  position: relative;
  padding-left: 0;
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: var(--color-slate);
  line-height: 1.6;
}

/* ---------- SERVICES SUB-PAGES ---------- */

.service-content {
  max-width: 900px;
  margin: 0 auto;
}

.service-content > div {
  background: var(--color-card);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-card);
  padding: 48px 44px;
  margin-bottom: 32px;
  position: relative;
}

.service-content > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-gold);
  border-radius: var(--radius-card) 0 0 var(--radius-card);
}

.service-content h2 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 8px;
  padding-top: 0;
  border-top: none;
}

.service-content .package-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.service-content .package-price .price-reg {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-slate);
}

.service-content > p.note {
  background: var(--color-rich-blue);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-card);
  padding: 24px 32px;
  font-size: 0.9rem;
  color: var(--color-slate);
  line-height: 1.7;
  margin-bottom: 32px;
}

.feature-list {
  list-style: none;
  margin-bottom: 16px;
  margin-top: 20px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--color-slate);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

.addon-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.addon-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-slate);
}

.addon-table td:last-child {
  text-align: right;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------- LOGO PORTFOLIO MASONRY ---------- */

.masonry-grid {
  column-count: 3;
  column-gap: 16px;
}

.masonry-grid .masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  background: var(--color-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.masonry-grid .masonry-item:hover {
  border-color: var(--color-gold);
}

.masonry-grid .masonry-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  padding: 16px;
}

/* ---------- BRANDING GALLERY ---------- */

.brand-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.brand-gallery .gallery-item {
  background: var(--color-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  transition: border-color 0.25s ease;
}

.brand-gallery .gallery-item:hover {
  border-color: var(--color-gold);
}

.brand-gallery .gallery-item img {
  width: 100%;
  display: block;
}

/* ---------- GEOMETRIC ACCENTS ---------- */

.diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 48px 0;
}

.diamond-divider::before,
.diamond-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-divider);
}

.diamond-divider span {
  width: 12px;
  height: 12px;
  background: var(--color-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .page-hero h1 {
    font-size: 2.8rem;
  }

  .page-hero {
    padding: 100px 0 64px;
    min-height: 38vh;
  }

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

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: -webkit-flex;
    display: flex;
    min-width: 44px;
    min-height: 44px;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
  }

  .mobile-overlay,
  .mobile-drawer {
    display: block;
  }

  .hero {
    min-height: calc(100vh - env(safe-area-inset-bottom, 0px));
    min-height: -webkit-fill-available;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subheadline {
    font-size: 1.05rem;
  }

  .page-hero {
    min-height: 36vh;
    padding: 96px 0 56px;
  }

  .page-hero h1 {
    font-size: 2.1rem;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-item .stat-number {
    font-size: 2.2rem;
  }

  .card-grid,
  .pricing-grid,
  .brand-gallery {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .why-item {
    padding: 16px;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

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

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

  .masonry-grid {
    column-count: 1;
  }

  section {
    padding: 56px 0;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }

  .hero-ctas {
    -webkit-flex-direction: column;
    flex-direction: column;
  }

  .hero-ctas .btn {
    text-align: center;
  }

  /* Minimum touch target size (WCAG 2.5.5) */
  .btn {
    min-height: 48px;
    padding: 14px 24px;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
  }

  .dropdown li a {
    min-height: 44px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
  }

  .mobile-drawer .mobile-sub li a {
    min-height: 44px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
    min-height: 48px;
  }

  .card {
    padding: 28px;
  }

  .pricing-card {
    padding: 28px;
  }

  .contact-info-panel {
    padding: 28px;
  }

  .service-content > div {
    padding: 32px 24px;
    margin-bottom: 24px;
  }

  .service-content .package-price {
    font-size: 1.6rem;
  }

  .addon-table td {
    padding: 12px 8px;
    font-size: 0.9rem;
  }

  .pricing-banner {
    font-size: 0.75rem;
    padding: 12px 16px;
  }

  .footer-brand img {
    height: 60px;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  /* Portfolio: always show overlay on touch devices */
  .portfolio-card .portfolio-overlay {
    opacity: 1;
    background: rgba(13, 27, 62, 0.75);
  }
}

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

  .hero h1 {
    font-size: 1.9rem;
  }

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

  .stats-grid {
    gap: 16px;
  }

  .pricing-card .price {
    font-size: 2.2rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }
}

/* ---------- PRINT ---------- */

@media print {
  .site-nav,
  .hamburger,
  .mobile-overlay,
  .mobile-drawer,
  .scroll-indicator,
  .hero-canvas,
  .cta-banner {
    display: none !important;
  }

  body {
    background: white;
    color: #333;
  }

  a {
    color: #333;
    text-decoration: underline;
  }

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

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- HIGH CONTRAST MODE ---------- */

@media (forced-colors: active) {
  .btn-primary {
    border: 2px solid ButtonText;
  }

  .card {
    border: 1px solid ButtonText;
  }
}
