/* ============================================
   FactoryMade Ventures, LLC - Main Stylesheet
   ============================================ */

/* CSS Custom Properties (Variables) */
:root {
  --primary: #1a365d;
  --primary-dark: #0f2440;
  --primary-light: #2c5282;
  --secondary: #c9a227;
  --secondary-dark: #a68519;
  --secondary-light: #d4b84a;
  --neutral-100: #f7fafc;
  --neutral-200: #edf2f7;
  --neutral-300: #e2e8f0;
  --neutral-400: #cbd5e0;
  --neutral-500: #a0aec0;
  --neutral-600: #718096;
  --neutral-700: #4a5568;
  --neutral-800: #2d3748;
  --neutral-900: #1a202c;
  --white: #ffffff;
  --black: #000000;
  --success: #38a169;
  --error: #e53e3e;
  --warning: #dd6b20;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container-max: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--neutral-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 80px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius);
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  font-weight: 500;
  color: var(--neutral-700);
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-fast);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.legal-nav {
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--neutral-700);
  background: var(--neutral-100);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dropdown-toggle:hover {
  background: var(--neutral-200);
}

.dropdown-toggle::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  transition: var(--transition);
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--neutral-700);
  transition: var(--transition-fast);
}

.dropdown-menu a:hover {
  background: var(--neutral-100);
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

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

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  margin-top: 80px;
  padding: 4rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(15, 36, 64, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 800px;
  padding: 0 1.5rem;
  margin: 0 auto;
  text-align: center;
}

.hero-title,
.hero h1 {
  font-size: 2.75rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle,
.hero p {
  font-size: 1.25rem;
  opacity: 1;
  margin-bottom: 2rem;
  font-weight: 300;
  color: var(--white);
}

.hero-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
}

.hero-detail {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius);
  backdrop-filter: blur(5px);
}

.hero-detail h2 {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.hero-detail p {
  font-size: 0.9375rem;
  margin: 0;
  opacity: 1;
  color: var(--white);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

/* Page Hero for inner pages */
.page-hero {
  position: relative;
  margin-top: 80px;
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  min-height: 250px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero .hero-image {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

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

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

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin: 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn,
.cta-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary,
.cta-button {
  background: var(--secondary);
  color: var(--white);
}

.btn-primary:hover,
.cta-button:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--neutral-200);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--neutral-600);
  max-width: 600px;
  margin: 0 auto;
}

/* What We Do Section */
.what-we-do {
  padding: 5rem 0;
  background: var(--neutral-100);
}

.what-we-do h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  padding-top: 3rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--neutral-100);
  position: absolute;
  top: -1rem;
  right: 0.5rem;
  line-height: 1;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--neutral-600);
  font-size: 0.9375rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* About Intro */
.about-intro {
  padding: 4rem 0;
}

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

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--neutral-600);
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Mission Section */
.mission {
  background: var(--neutral-100);
  padding: 4rem 0;
  text-align: center;
}

.mission h2 {
  margin-bottom: 1rem;
}

.mission-statement {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Core Values */
.core-values {
  padding: 4rem 0;
}

.core-values h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.value-card p {
  color: var(--neutral-600);
  font-size: 0.9375rem;
  margin: 0;
}

/* Work Areas */
.work-areas {
  padding: 4rem 0;
  background: var(--neutral-100);
}

.work-areas h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.area-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.area-item h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.area-item p {
  color: var(--neutral-600);
  font-size: 0.9375rem;
  margin: 0;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: var(--primary);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-info p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 1.5rem;
}

.contact-details .contact-item {
  margin-bottom: 1.25rem;
}

.contact-details .contact-item h3 {
  color: var(--secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.contact-details .contact-item p {
  margin: 0;
  opacity: 1;
}

.contact-details a {
  color: var(--white);
}

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

/* Map Section */
.map-section {
  margin-top: 3rem;
}

.map-section h2 {
  margin-bottom: 1.5rem;
}

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

.map-container iframe {
  display: block;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
  margin-bottom: 1.5rem;
}

/* Legal Pages */
.legal-page {
  padding: 4rem 0;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page .legal-content {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.legal-content {
  padding: 4rem 0;
}

.legal-content .container {
  max-width: 800px;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: var(--neutral-700);
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--neutral-700);
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

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

.legal-content .last-updated {
  color: var(--neutral-500);
  font-size: 0.875rem;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--neutral-200);
}

/* Service Detail Pages */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  margin-top: 80px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service-detail {
  padding: 4rem 0;
}

.service-detail.alt-bg {
  background: var(--neutral-100);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.service-detail-card.reverse {
  grid-template-columns: 1.5fr 1fr;
}

.service-detail-card.reverse .service-detail-image {
  order: 2;
}

.service-detail-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Also add styles for service-detail-card reverse layout images */
.service-detail-card.reverse .service-detail-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-detail-content h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-detail-content h3 {
  font-size: 1.125rem;
  color: var(--neutral-800);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-detail-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--neutral-700);
}

.service-detail-content ul li {
  margin-bottom: 0.5rem;
}

.project-examples {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.project-example {
  background: var(--neutral-100);
  padding: 1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--secondary);
}

.project-example h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.project-example p {
  font-size: 0.9375rem;
  color: var(--neutral-600);
  margin: 0;
}

@media (max-width: 768px) {
  .service-detail-card,
  .service-detail-card.reverse {
    grid-template-columns: 1fr;
  }

  .service-detail-card.reverse .service-detail-image {
    order: 0;
  }

  .service-detail-image img {
    height: 200px;
  }

  .page-header {
    padding: 3rem 0;
    margin-top: 80px;
  }
}

/* ============================================
   Service Cards
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--neutral-300);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--neutral-600);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.card-link {
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card-link:hover {
  color: var(--secondary-dark);
  gap: 0.5rem;
}

/* ============================================
   Forms
   ============================================ */
.form-section,
.contact-section {
  padding: 4rem 0;
  background: var(--neutral-100);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.form-group label .required {
  color: var(--error);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--neutral-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: var(--transition-fast);
  color: var(--neutral-800);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

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

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Form Validation States */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--error);
}

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

.error-message {
  color: var(--error);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--primary);
  margin-top: 2px;
}

.checkbox-group label {
  font-size: 0.875rem;
  color: var(--neutral-600);
  line-height: 1.5;
  margin: 0;
}

.checkbox-group label a {
  color: var(--primary);
  text-decoration: underline;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--secondary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.submit-button:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Section intro */
.section-intro {
  text-align: center;
  color: var(--neutral-600);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info {
  background: var(--primary);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-label {
  font-size: 0.8125rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-weight: 600;
}

/* Map */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  margin-top: 2rem;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--neutral-400);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--neutral-400);
  transition: var(--transition-fast);
}

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

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section address {
  font-style: normal;
}

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.footer-bottom .disclaimer {
  color: var(--neutral-500);
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom .copyright {
  color: var(--neutral-500);
  font-size: 0.875rem;
}

/* Footer Grid Layout */
.footer-container .footer-section:first-child {
  margin-bottom: 3rem;
}

@media (min-width: 769px) {
  .footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .footer-container .footer-section:first-child {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--neutral-900);
  color: var(--white);
  padding: 1.25rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: var(--transition);
}

.cookie-banner.show,
.cookie-banner:not(.hidden) {
  transform: translateY(0);
}

.cookie-banner.hidden {
  transform: translateY(100%);
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-content a {
  color: var(--secondary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.cookie-btn.accept {
  background: var(--secondary);
  color: var(--white);
}

.cookie-btn.accept:hover {
  background: var(--secondary-dark);
}

.cookie-btn.reject {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--neutral-500);
}

.cookie-btn.reject:hover {
  background: var(--neutral-800);
}

.cookie-btn.manage {
  background: transparent;
  color: var(--secondary);
  text-decoration: underline;
}

.cookie-btn.manage:hover {
  color: var(--secondary-light);
}

.cookie-btn.save {
  background: var(--primary);
  color: var(--white);
}

.cookie-btn.save:hover {
  background: var(--primary-dark);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cookie-modal:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.cookie-modal.hidden {
  opacity: 0;
  visibility: hidden;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  color: var(--neutral-800);
}

.cookie-modal-content h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--neutral-100);
  border-radius: var(--radius);
}

.cookie-toggle-item label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.cookie-toggle-item label span:first-child {
  font-weight: 600;
  color: var(--neutral-800);
}

.cookie-description {
  font-size: 0.8125rem;
  color: var(--neutral-600);
}

.cookie-toggle-item input[type="checkbox"] {
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--neutral-600); }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--neutral-100); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ============================================
   Responsive Styles
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .hero {
    min-height: 350px;
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2.25rem;
  }

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

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

/* Mobile Landscape */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transform: translateX(100%);
    transition: var(--transition);
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.active,
  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-200);
  }

  .legal-nav {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 1rem;
    background: var(--neutral-100);
    border-radius: 0;
    margin-top: 0.5rem;
    width: 100%;
  }

  .dropdown.open .dropdown-menu,
  .dropdown.active .dropdown-menu {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: 300px;
    padding: 2.5rem 0;
    margin-top: 80px;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .page-hero {
    margin-top: 80px;
  }

  /* Cards */
  .cards-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-image {
    height: 160px;
  }

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

  .contact-form {
    padding: 1.5rem;
  }

  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer */
  footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-container {
    display: block;
  }

  .footer-bottom {
    text-align: center;
  }

  /* Cookie Banner */
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Cookie Modal */
  .cookie-modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .cookie-toggle-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-toggle-item input[type="checkbox"] {
    align-self: flex-end;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }

  .hero-title {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .card-body {
    padding: 1.25rem;
  }

  .cookie-banner {
    padding: 1rem;
  }

  .cookie-actions .btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .cookie-banner,
  .nav-toggle {
    display: none !important;
  }

  .hero {
    margin-top: 0;
    background: var(--neutral-200) !important;
    color: var(--neutral-900) !important;
  }

  .hero-title,
  .hero-subtitle {
    color: var(--neutral-900) !important;
  }

  a {
    text-decoration: underline;
  }

  .btn {
    border: 1px solid var(--neutral-400);
  }
}

/* Accessibility - Focus Styles */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary: #000f21;
    --secondary: #8a6d0b;
    --neutral-300: #999999;
  }

  .btn-primary {
    border: 2px solid var(--white);
  }

  .form-input,
  .form-textarea,
  .form-select {
    border-width: 3px;
  }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
  /* Uncomment to enable dark mode
  :root {
    --neutral-100: #1a202c;
    --neutral-200: #2d3748;
    --neutral-300: #4a5568;
    --neutral-800: #e2e8f0;
    --neutral-900: #f7fafc;
    --white: #0f2440;
  }
  */
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-slide-in {
  animation: slideIn 0.6s ease forwards;
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.loading {
  opacity: 0.7;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--neutral-200) 25%,
    var(--neutral-300) 50%,
    var(--neutral-200) 75%
  );
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
}

@keyframes skeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Success/Error Messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(56, 161, 105, 0.1);
  color: var(--success);
  border: 1px solid var(--success);
}

.alert-error {
  background: rgba(229, 62, 62, 0.1);
  color: var(--error);
  border: 1px solid var(--error);
}

.alert-warning {
  background: rgba(221, 107, 32, 0.1);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.alert-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
