/* ============================================
   Second Round Solutions - Main Stylesheet
   Brand Colors:
   Primary: #0B2545 (Navy)
   Secondary: #C9A227 (Gold)
   ============================================ */

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

:root {
  --primary: #0B2545;
  --primary-light: #132F55;
  --primary-dark: #071A32;
  --secondary: #C9A227;
  --secondary-light: #D4B23E;
  --secondary-dark: #A8871F;
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --gray-50: #F4F5F7;
  --gray-100: #E8EAEF;
  --gray-200: #D1D5DE;
  --gray-300: #B0B7C5;
  --gray-400: #8B94A6;
  --gray-500: #6B7385;
  --gray-600: #4A5264;
  --gray-700: #343B4A;
  --gray-800: #1F2533;
  --gray-900: #0F1420;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 8px 30px rgba(11, 37, 69, 0.12);
  --shadow-xl: 0 20px 60px rgba(11, 37, 69, 0.15);
  --radius: 6px;
  --radius-lg: 10px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gold {
  color: var(--secondary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  padding: 14px 28px;
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--primary-dark);
  border: 1px solid var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 37, 69, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(11, 37, 69, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

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

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

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--secondary);
}

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

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

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--secondary);
}

.mobile-nav .btn {
  margin-top: 16px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(7, 26, 50, 0.92) 0%,
      rgba(11, 37, 69, 0.85) 40%,
      rgba(11, 37, 69, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 720px;
}

.hero-split .hero-split-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-text {
  max-width: 600px;
}

.hero-form-wrapper {
  width: 100%;
  min-height: 611px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.hero-form-wrapper iframe {
  min-height: 611px;
}

.leadconnector-form-container {
  width: 100%;
  min-height: 611px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.leadconnector-form-container iframe {
  min-height: 611px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.25);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* --- Page Hero --- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.page-hero-sm {
  padding: 140px 0 60px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.page-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.process-section h2 {
  color: var(--white);
}

.page-hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* --- Sections --- */
.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-header-light h2 {
  color: var(--white);
}

.section-header-light .section-description {
  color: rgba(255, 255, 255, 0.7);
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-label-light {
  color: var(--secondary);
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-description {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- Services Grid --- */
.services-preview {
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 39, 0.25);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--secondary-dark);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- Why Us --- */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-us-content .section-label {
  margin-bottom: 12px;
}

.why-us-content h2 {
  margin-bottom: 20px;
}

.why-us-text {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-check {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-dark);
  margin-top: 2px;
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.why-us-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.why-us-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Process Section --- */
.process-section {
  position: relative;
  overflow: hidden;
}

.process-bg {
  position: absolute;
  inset: 0;
}

.process-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(7, 26, 50, 0.95) 0%,
      rgba(11, 37, 69, 0.92) 100%);
}

.process-section .container {
  position: relative;
  z-index: 2;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.process-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  flex: 1;
  max-width: 340px;
  transition: all var(--transition);
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-2px);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
  line-height: 1;
}

.process-step h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.process-connector {
  display: flex;
  align-items: center;
  padding-top: 48px;
}

/* --- CTA Section --- */
.cta-section {
  padding: 48px 0 96px;
}

.cta-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-contact-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-500);
}

.cta-phone {
  font-weight: 600;
  color: var(--primary);
}

.cta-phone:hover {
  color: var(--secondary);
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-content .section-label {
  margin-bottom: 12px;
}

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

.about-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 162, 39, 0.2);
}

.value-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--secondary-dark);
}

.value-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.value-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Team Section --- */
.team-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  align-items: center;
}

.team-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.team-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-info h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-role {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 20px;
}

.team-info p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}

.team-contact-info {
  margin-top: 20px;
}

.team-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  transition: color var(--transition);
}

.team-contact-link:hover {
  color: var(--secondary);
}

/* --- Info Grid --- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.info-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-50);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-value {
  font-size: 15px;
  color: var(--gray-700);
  font-weight: 500;
}

.info-value a {
  color: var(--primary);
  transition: color var(--transition);
}

.info-value a:hover {
  color: var(--secondary);
}

/* --- Services Detail --- */
.services-detail {
  padding-top: 64px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-100);
}

.service-detail-card:first-child {
  padding-top: 0;
}

.service-detail-card:last-child {
  border-bottom: none;
}

.service-detail-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 800;
  color: rgba(201, 162, 39, 0.2);
  line-height: 1;
}

.service-detail-content h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-detail-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 500;
}

.service-features li svg {
  color: var(--secondary);
  min-width: 18px;
}

/* --- Lead Offer --- */
.lead-offer {
  background: var(--off-white);
}

.offer-card {
  background: var(--white);
  border: 2px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.offer-badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.12);
  color: var(--secondary-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.offer-card h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.offer-description {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.offer-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
  text-align: left;
}

.offer-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}

.offer-feature svg {
  color: var(--secondary);
  min-width: 20px;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrapper h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-form-wrapper>p {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}

.required {
  color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-800);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7385' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
}

.form-success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #166534;
}

.form-success svg {
  color: #22c55e;
  min-width: 20px;
  margin-top: 1px;
}

.form-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #991b1b;
}

.form-error svg {
  color: #ef4444;
  min-width: 20px;
  margin-top: 1px;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* --- Contact Sidebar --- */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.contact-info-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-info-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-dark);
}

.contact-info-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item span {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
}

.contact-info-item a {
  transition: color var(--transition);
}

.contact-info-item a:hover {
  color: var(--secondary);
}

.contact-offer-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.offer-badge-sm {
  display: inline-block;
  background: rgba(201, 162, 39, 0.2);
  color: var(--secondary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.contact-offer-card h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-offer-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin-bottom: 16px;
}

.offer-value {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
}

.offer-value-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.offer-value-amount {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
}

/* --- Footer --- */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  padding: 64px 0 48px;
}

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

.footer-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links-group h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

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

.footer-links-group a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact svg {
  min-width: 16px;
  margin-top: 3px;
  color: var(--secondary);
  opacity: 0.6;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--secondary);
}

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

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-divider {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.2);
}

/* --- Legal Pages --- */
.page-hero-small {
  background: var(--primary);
  padding: 140px 0 60px;
  text-align: center;
}

.page-hero-small h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.page-hero-small p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.legal-content {
  padding: 64px 0 96px;
  background: var(--white);
}

.legal-wrapper {
  max-width: 780px;
  margin: 0 auto;
}

.legal-wrapper h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(11, 37, 69, 0.08);
}

.legal-wrapper h2:first-child {
  margin-top: 0;
}

.legal-wrapper h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-wrapper p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}

.legal-wrapper ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-wrapper ul li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-wrapper ul.contact-list {
  list-style: none;
  padding-left: 0;
}

.legal-wrapper ul.contact-list li {
  margin-bottom: 6px;
}

.legal-wrapper a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-wrapper a:hover {
  color: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .why-us-image {
    order: -1;
    max-height: 400px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-card {
    grid-template-columns: 240px 1fr;
    gap: 36px;
    padding: 36px;
  }

  .hero-split .hero-split-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .process-steps {
    flex-wrap: wrap;
    gap: 20px;
  }

  .process-connector {
    display: none;
  }

  .process-step {
    max-width: none;
    flex: 1 1 280px;
  }
}

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

  .header-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-split .hero-split-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-divider {
    height: 30px;
  }

  .section {
    padding: 64px 0;
  }

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

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

  .contact-sidebar {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .service-detail-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-detail-number {
    font-size: 36px;
  }

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

  .team-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-image {
    max-width: 240px;
    margin: 0 auto;
  }

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

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .offer-features {
    grid-template-columns: 1fr;
  }

  .offer-card {
    padding: 36px 24px;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero-sm {
    padding: 110px 0 50px;
  }

  .page-hero-small {
    padding: 110px 0 40px;
  }

  .legal-content {
    padding: 40px 0 64px;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-stat-divider {
    display: none;
  }
}