@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #C8102E;
  --primary-dark: #9B0C21;
  --primary-light: #E8193D;
  --accent: #C47B00;
  --accent-light: #F59E0B;
  --bg: #FFFFFF;
  --bg-alt: #F8F9FB;
  --bg-section: #F2F4F8;
  --bg-card: #FFFFFF;
  --text: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.04);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, sans-serif;
  --max-w: 1280px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

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

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-gray {
  background-color: var(--bg-section);
}

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

/* Typography */
.title-xl { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
.title-lg { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.title-md { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.subtitle { font-size: 1.25rem; color: var(--text-muted); font-weight: 400; margin-bottom: 2rem; max-width: 800px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white !important;
  box-shadow: var(--shadow-sm);
}

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

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

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

.btn-outline {
  background-color: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--bg-alt);
  border-color: var(--text-muted);
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.5rem 0;
}

.nav.scrolled {
  background: white;
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary);
}

.nav.scrolled .nav-link {
  color: var(--text);
}

.nav.scrolled .nav-link:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--text);
  margin: 5px 0;
  transition: var(--transition);
}

.nav.scrolled .hamburger-line {
  background-color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  color: white;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(17,24,39,0.7) 0%, rgba(17,24,39,0.9) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content .subtitle {
  color: rgba(255,255,255,0.9);
}

.hero .btn-primary {
  background-color: var(--accent);
  color: #111827 !important;
}

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

/* Trust Bar */
.trust-bar {
  background-color: white;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.trust-item svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

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

/* Service Cards */
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.service-card.visible:hover {
  transform: translateY(-8px);
}

.service-img-wrap {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
}

.service-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-price {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.95);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}

.service-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.service-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Sector Cards */
.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(16px);
}

.sector-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.sector-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.sector-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.sector-card h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.sector-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* City Chips */
.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.city-chip {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(16px);
}

.city-chip.visible {
  opacity: 1;
  transform: translateY(0);
}

.city-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.city-chip.visible:hover {
  transform: scale(1.05) translateY(0);
}

/* Value Props */
.value-card {
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
}

.value-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

/* Features List */
.features-list {
  list-style: none;
  margin-top: 1.5rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.features-list svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb span {
  color: var(--text-light);
  margin: 0 0.5rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background: white;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition);
}

.faq-icon::before {
  top: 11px;
  left: 0;
  width: 24px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 11px;
  width: 2px;
  height: 24px;
}

.faq-item.open .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

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

/* CTA Banner */
.cta-banner {
  background-color: var(--primary-dark);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: white;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-banner .btn-primary {
  background-color: white;
  color: var(--primary-dark) !important;
}

.cta-banner .btn-primary:hover {
  background-color: var(--bg-alt);
}

/* Footer */
.footer {
  background-color: #111827;
  color: #D1D5DB;
  padding: 5rem 0 2rem;
}

.footer h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #9CA3AF;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.875rem;
  color: #6B7280;
}

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

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition);
  }
  
  .nav.open .nav-links {
    right: 0;
  }
  
  .nav-link {
    color: var(--text);
    font-size: 1.25rem;
  }
  
  .hamburger {
    display: block;
    z-index: 1001;
  }
  
  .nav.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .hamburger-line:nth-child(2) { opacity: 0; }
  .nav.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
  .hero {
    min-height: 60vh;
  }
  
  .trust-item {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
}
