/* ==========================================================================
   Old Man And His Camera Inc. — Main Stylesheet
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #0c1b33;
  --color-primary-light: #162d50;
  --color-primary-dark: #070f1e;
  --color-accent: #c9a84c;
  --color-accent-light: #e8d5a3;
  --color-accent-dark: #a8882e;
  --color-teal: #2a8c7a;
  --color-teal-light: #3db8a0;
  --color-bg: #f8f6f1;
  --color-bg-alt: #f0ede6;
  --color-white: #ffffff;
  --color-text: #1a1a2e;
  --color-text-light: #5a5a6e;
  --color-text-muted: #8a8a9a;
  --color-border: #e5e0d8;
  --color-border-light: #f0ede6;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --shadow-sm: 0 1px 3px rgba(12, 27, 51, 0.06);
  --shadow-md: 0 4px 20px rgba(12, 27, 51, 0.08);
  --shadow-lg: 0 12px 40px rgba(12, 27, 51, 0.12);
  --shadow-xl: 0 24px 60px rgba(12, 27, 51, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--color-primary); }

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

/* --- Section styles --- */
.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  position: relative;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
  vertical-align: middle;
  margin-right: 12px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 60px;
}

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

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* --- Divider Shapes --- */
.divider-top, .divider-bottom {
  position: relative;
}

.divider-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--color-bg);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 32px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 20px rgba(12, 27, 51, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 700;
  font-family: var(--font-heading);
  transition: background var(--transition), color var(--transition);
}

.site-header.scrolled .logo-icon {
  background: var(--color-accent);
  color: var(--color-primary);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  transition: color var(--transition);
}

.site-header.scrolled .logo-text {
  color: var(--color-primary);
}

.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.logo-text-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: color var(--transition);
}

.site-header.scrolled .logo-text-sub { color: var(--color-accent-dark); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.site-header.scrolled .nav-link { color: var(--color-text-light); }
.site-header.scrolled .nav-link:hover { color: var(--color-primary); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

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

.nav-cta {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--color-accent-light);
  color: var(--color-primary);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(42, 140, 122, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent-light);
  letter-spacing: 0.5px;
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero-title .highlight {
  color: var(--color-accent);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(201, 168, 76, 0.2);
  border-radius: 4px;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 40px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

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

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
  background: var(--color-white);
  position: relative;
}

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

.about-visual {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(201, 168, 76, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(42, 140, 122, 0.1) 0%, transparent 50%);
}

.about-image-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

.about-image-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-text {
  text-align: center;
  color: var(--color-white);
}

.about-image-text .year {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.about-image-text .sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
}

.about-floating-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--color-white);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-floating-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
}

.about-floating-card-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-primary);
}

.about-floating-card-text span {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-text p:last-of-type {
  margin-bottom: 32px;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

.about-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-detail-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-detail-item h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.about-detail-item p {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ==========================================================================
   SERVICES / EXPERTISE SECTION
   ========================================================================== */

.services-section {
  background: var(--color-bg);
  position: relative;
}

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

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(201, 168, 76, 0.2);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--color-accent-dark);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card .service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .service-link:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   STATS / NUMBERS SECTION
   ========================================================================== */

.stats-section {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(42, 140, 122, 0.04) 0%, transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .suffix {
  font-size: 1.5rem;
  color: var(--color-accent-light);
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

/* ==========================================================================
   WHY US SECTION
   ========================================================================== */

.why-section {
  background: var(--color-white);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.why-feature:hover {
  background: var(--color-bg);
}

.why-feature-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  min-width: 48px;
  opacity: 0.6;
}

.why-feature-content h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.why-feature-content p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

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

.why-visual-item {
  aspect-ratio: 1;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--color-border-light);
}

.why-visual-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-light);
}

.why-visual-item:first-child {
  grid-row: span 2;
}

.why-visual-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.why-visual-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-visual-item h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.why-visual-item p {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* ==========================================================================
   TESTIMONIALS / CLIENTS SECTION
   ========================================================================== */

.clients-section {
  background: var(--color-bg);
  position: relative;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.client-logo-item {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  transition: all var(--transition);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text-light);
  letter-spacing: 1px;
  background: var(--color-white);
}

.client-logo-item:hover {
  border-color: var(--color-accent-light);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
  background: var(--color-white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-accent-dark);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--color-accent-dark);
}

.contact-form {
  background: var(--color-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-form > p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.form-submit:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.footer-top {
  padding: 80px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-brand .logo-text {
  font-size: 1.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand .logo-text span {
  font-size: 0.65rem;
}

.footer-description {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
  max-width: 360px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(201, 168, 76, 0.1);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-contact-item strong {
  display: block;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   PAGE HEADER (inner pages)
   ========================================================================== */

.page-header {
  background: var(--color-primary);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(42, 140, 122, 0.04) 0%, transparent 50%);
}

.page-header-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  position: absolute;
  inset: 0;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.page-breadcrumb a:hover {
  color: var(--color-accent);
}

.page-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.2);
}

.page-header h1 {
  font-size: 3rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
}

/* ==========================================================================
   LEGAL PAGES (Privacy & Terms)
   ========================================================================== */

.legal-section {
  background: var(--color-white);
  padding: 80px 0;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content .last-updated {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  padding: 8px 16px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

.legal-content h2 {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent-light);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 32px 0 12px;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  list-style: disc;
  padding-left: 24px;
  margin: 16px 0 24px;
}

.legal-content li {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-content li strong {
  color: var(--color-primary);
}

.legal-content strong {
  color: var(--color-primary);
}

.legal-content .legal-highlight-box {
  background: var(--color-bg);
  border-left: 3px solid var(--color-accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.legal-content .legal-highlight-box p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.legal-content a {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-light);
  transform: translateY(-4px);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { gap: 48px; }
  .why-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }

  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-link { color: var(--color-text-light); }

  .hero { min-height: 90vh; }
  .hero-title { font-size: 2.2rem; }
  .hero-description { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .scroll-indicator { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-floating-card { position: static; margin-top: -24px; }
  .about-details { grid-template-columns: 1fr; }

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

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-number { font-size: 2.2rem; }

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

  .client-logos { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .page-header { padding: 100px 0 60px; }
  .page-header h1 { font-size: 2rem; }

  .legal-content h2 { font-size: 1.3rem; }

  .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .client-logos { grid-template-columns: 1fr 1fr; }
  .site-header { padding: 0 16px; }
}
