/* Neo-Swiss Design: Diagonal sections, grid precision, bold typography
 * Primary: #d20c18 (Red), Base: #f5f5f5/#1a1a1a, Accent: #0066cc
 * Typography: Helvetica Neue (headings), Inter (body)
 */

/* ===== CSS Variables ===== */
:root {
  /* Colors - Neo-Swiss Design */
  --primary: #d20c18;
  --primary-foreground: #ffffff;
  --background: #f5f5f5;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --muted: #f0f0f0;
  --muted-foreground: #6b7280;
  --accent: #0066cc;
  --accent-foreground: #ffffff;
  --border: #e5e5e5;
  --radius: 0.25rem;

  /* Spacing */
  --spacing: 0.25rem;
  --container-max-width: 1280px;

  /* Typography */
  --font-heading: 'Helvetica Neue', 'Arial', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== CSS Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

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

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ===== Header ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon span {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Navigation */
.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: flex;
    gap: 1rem;
  }
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn .close-icon {
  display: none;
}

.mobile-menu-btn.active .menu-icon {
  display: none;
}

.mobile-menu-btn.active .close-icon {
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: 500;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #b00a15;
  color: var(--primary-foreground);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

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

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

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

.btn-outline-white {
  background: transparent;
  border-color: white;
  color: white;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
}

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

/* ===== Main Content ===== */
main {
  padding-top: 5rem;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                    url('https://private-us-east-1.manuscdn.com/sessionFile/PpBxTpi4kakfybOQR0xMW4/sandbox/0D2MT3LP9XjtA663HQadA3-img-1_1770168915000_na1fn_aGVyby1zaGltYW5lLXRlY2g.png?x-oss-process=image/resize,w_1920,h_1920/format,webp/quality,q_80&Expires=1798761600&Key-Pair-Id=K2HSFNDJXOU9YS&Signature=iG4fYP9v6d9vs~a2AU4d~3qnn8XxsxeVOOqBmkm5sg~acqXenCtCgJ3QxYHpFsnQwIm~4hfn28To7Jos9CDw29B-lWxL0JEWJeJKt~WZpYuz4ccheYrqef8h7EkWF2G3QI8GOeDVrNUDm33mxApbjJ3tNxQGFIzL4jHUfCEWXp0xYWZ356B2rcOxAQOvyaZu5FFkysfx3r0zZmhdDg5qA-F9uGfOQDLhWnxqRWVjHSfuP0SqaWBRVad1jpSeYnErphnPQ1EAioaiHybR13XFOf5-9GAwMzKiHi5wNE4giCMvtBQvdFSNwExZcEUtWlKiI943JDSERw5zWtPEDLWHdw__');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

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

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

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

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

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

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

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

.section-muted {
  background: var(--muted);
}

.section-dark {
  background: var(--foreground);
  color: white;
}

.section-cta {
  background: var(--primary);
  color: white;
  text-align: center;
}

.section-header,
.section-content-centered {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-lead {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Diagonal Sections */
.diagonal-top {
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  margin-top: -5rem;
  padding-top: 8rem;
}

/* ===== Animations ===== */
.fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Utility Classes ===== */
.text-primary {
  color: var(--primary);
}

.sp-only {
  display: inline;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* ===== Benefits Grid ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== Strengths Grid ===== */
.strengths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .strengths-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.strength-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.strength-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.strength-number {
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.strength-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.strength-description {
  color: var(--muted-foreground);
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.service-content {
  padding: 2rem;
}

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

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* ===== Works Grid ===== */
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.work-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.work-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.work-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.work-content {
  padding: 1.5rem;
}

.work-category {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.work-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.work-result svg {
  color: var(--primary);
}

/* ===== Local Expertise ===== */
.local-expertise {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .local-expertise {
    grid-template-columns: repeat(2, 1fr);
  }
}

.local-expertise-image img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.local-expertise-lead {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.local-expertise-list {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}

.local-expertise-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

/* ===== CTA Section ===== */
.cta-content {
  max-width: 56rem;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

.cta-highlight {
  border-bottom: 4px solid white;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-phone {
  font-size: 0.875rem;
  opacity: 0.9;
}

.cta-phone strong {
  font-size: 1.125rem;
  font-weight: 700;
}

/* ===== Image Container ===== */
.image-container {
  max-width: 80rem;
  margin: 0 auto;
}

.image-container img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== Footer ===== */
footer {
  background: var(--foreground);
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 2fr 3fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.footer-address {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}

.footer-address p {
  margin-bottom: 0.25rem;
}

.footer-address a {
  color: inherit;
  text-decoration: none;
}

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

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav-group h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-nav-group ul {
  list-style: none;
}

.footer-nav-group li {
  margin-bottom: 0.5rem;
}

.footer-nav-group a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer-nav-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

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