* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--color-text); background: var(--color-bg); line-height: 1.6; }
body::before { content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(255,107,53,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,107,53,0.03) 1px, transparent 1px); background-size: 50px 50px; z-index: -1; pointer-events: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
a { color: var(--color-accent); text-decoration: none; transition: color 0.3s; }
.btn { display: inline-block; padding: 0.875rem 2rem; font-weight: 600; border-radius: var(--radius-sm); cursor: pointer; border: none; font-size: 1rem; transition: all 0.3s; }
.btn-primary { background: var(--color-accent); color: var(--color-white); }
.btn-primary:hover { background: #e55a28; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-client-portal { background: var(--color-white); color: var(--color-primary); border: 2px solid var(--color-primary); padding: 0.625rem 1.5rem; border-radius: var(--radius-sm); font-weight: 500; }
.btn-client-portal:hover { background: var(--color-primary); color: var(--color-white); }
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.98); box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 1000; }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.nav-logo img { height: 50px; }
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { color: var(--color-text); font-weight: 500; }
.nav-links a:hover { color: var(--color-accent); }
.lang-switcher { display: flex; align-items: center; gap: 0.5rem; }
.lang-btn { background: none; border: none; color: var(--color-text); font-weight: 600; cursor: pointer; }
.lang-btn.lang-active { color: var(--color-accent); }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-toggle span { display: block; width: 25px; height: 3px; background: var(--color-text); margin: 5px 0; transition: 0.3s; }
.hero { background: linear-gradient(135deg, var(--color-primary) 0%, #2a5080 100%); padding: var(--space-xl) 0; min-height: 80vh; display: flex; align-items: center; color: var(--color-white); }
.hero-content { max-width: 800px; margin: 0 auto; text-align: center; }
.hero-tagline { font-size: 3rem; margin-bottom: var(--space-md); }
.hero-content .btn { margin-top: var(--space-md); }
.services { padding: var(--space-lg) 0; }
.section-title { text-align: center; margin-bottom: var(--space-lg); color: var(--color-primary); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-md); }
.service-card { background: var(--color-white); padding: var(--space-md); border-radius: var(--radius-sm); box-shadow: var(--shadow-card); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.service-card-featured { border: 2px solid var(--color-accent); }
.service-title { color: var(--color-primary); margin-bottom: var(--space-xs); }
.service-tagline { color: var(--color-accent); font-weight: 600; margin-bottom: var(--space-sm); }
.service-description { margin-bottom: var(--space-sm); }
.service-cta { color: var(--color-accent); font-weight: 600; }
.about { padding: var(--space-lg) 0; background: var(--color-section-bg, #f5f7fa); }
.about-description { text-align: center; max-width: 800px; margin: 0 auto; }
.blog { padding: var(--space-lg) 0; }
.blog-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-md); }
.blog-post { background: var(--color-white); padding: var(--space-md); border-radius: var(--radius-sm); box-shadow: var(--shadow-card); }
.blog-post h3 { color: var(--color-primary); margin-bottom: var(--space-sm); }
.contact { padding: var(--space-lg) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.contact-info h3 { color: var(--color-primary); margin-bottom: var(--space-sm); }
.contact-details { margin-top: var(--space-md); }
.contact-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: var(--space-sm); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.contact-form input, .contact-form textarea { padding: 0.75rem; border: 1px solid #ddd; border-radius: var(--radius-sm); font-family: var(--font-sans); }
.contact-form textarea { resize: vertical; }
.footer { background: var(--color-primary); color: var(--color-white); padding: var(--space-lg) 0 var(--space-md); }
.footer-content { text-align: center; margin-bottom: var(--space-md); }
.footer-tagline { opacity: 0.9; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm); padding-top: var(--space-md); border-top: 1px solid rgba(255,255,255,0.2); }
.footer-copyright { opacity: 0.8; font-size: 0.875rem; }
.footer-links { display: flex; gap: var(--space-md); }
.footer-links a { color: var(--color-white); opacity: 0.9; font-size: 0.875rem; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 768px) { .nav-links { display: none; } .mobile-menu-toggle { display: block; } .contact-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } .hero-tagline { font-size: 2rem; } }

/* Legal pages */
.legal-page { padding: 8rem 2rem 4rem; min-height: 60vh; }
.legal-page h1 { color: var(--color-primary); margin-bottom: 2rem; font-size: 2.5rem; }
.legal-content h2 { color: var(--color-primary); margin: 2rem 0 1rem; font-size: 1.5rem; }
.legal-content p { margin-bottom: 1rem; line-height: 1.8; }

/* Blog */
.blog-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.blog-post { background: white; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.3s; }
.blog-post:hover { transform: translateY(-5px); }
.blog-post img { width: 100%; height: 180px; object-fit: cover; }
.blog-post-content { padding: 1.5rem; }
.blog-post h3 { color: var(--color-primary); margin-bottom: 0.5rem; font-size: 1.25rem; }
.blog-post .excerpt { color: #666; font-size: 0.9rem; margin-bottom: 1rem; }
.blog-post .read-more { color: var(--color-accent); font-weight: 600; text-decoration: none; }
.blog-post .read-more:hover { text-decoration: underline; }
.loading { text-align: center; padding: 2rem; color: #666; }

/* Legal pages */
.legal-page { padding: 8rem 2rem 4rem; min-height: 60vh; }
.legal-page h1 { color: var(--color-primary); margin-bottom: 2rem; font-size: 2rem; font-weight: 600; }
.legal-content h2 { color: var(--color-primary); margin: 1.5rem 0 0.75rem; font-size: 1.25rem; font-weight: 600; }
.legal-content h3 { color: var(--color-dark-charcoal); margin: 1rem 0 0.5rem; font-size: 1.1rem; font-weight: 500; }
.legal-content p { margin-bottom: 1rem; line-height: 1.8; color: #444; font-size: 1rem; }

/* Blog */
.blog-hero { background: linear-gradient(135deg, var(--color-primary) 0%, #2a5080 100%); color: white; padding: 6rem 0 4rem; text-align: center; }
.blog-hero h1 { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 600; }
.blog-hero p { opacity: 0.9; font-size: 1.1rem; }
.blog-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.blog-post { background: white; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.3s; }
.blog-post:hover { transform: translateY(-5px); }
.blog-post img { width: 100%; height: 180px; object-fit: cover; }
.blog-post-content { padding: 1.5rem; }
.blog-post h3 { color: var(--color-primary); margin-bottom: 0.5rem; font-size: 1.15rem; font-weight: 600; }
.blog-post .excerpt { color: #666; font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }
.blog-post .read-more { color: var(--color-accent); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.blog-post .read-more:hover { text-decoration: underline; }
.blog-post .date { font-size: 0.8rem; color: #999; margin-bottom: 0.5rem; }
.loading { text-align: center; padding: 2rem; color: #666; }
.no-posts { text-align: center; padding: 4rem 0; color: #666; }

/* Legal pages - bold headings */
.privacy-policy h2, .terms-conditions h2 { color: var(--color-primary); font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; }
.privacy-policy h3, .terms-conditions h3 { color: var(--color-primary); font-size: 1.25rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.privacy-policy p, .terms-conditions p { line-height: 1.8; color: #333; margin-bottom: 1rem; }

/* Index blog section */
.blog { padding: var(--space-lg) 0; background: #f5f7fa; }
.blog .blog-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.blog .blog-post { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform 0.3s; }
.blog .blog-post:hover { transform: translateY(-5px); }
.blog .blog-post h3 { color: var(--color-primary); margin: 0; padding: 1.5rem 1.5rem 0.5rem; font-size: 1.15rem; font-weight: 600; }
.blog .blog-post p { color: #666; padding: 0 1.5rem 1rem; margin: 0; font-size: 0.9rem; line-height: 1.6; }
.blog .blog-post a { color: var(--color-accent); font-weight: 600; text-decoration: none; padding: 0 1.5rem 1.5rem; display: inline-block; font-size: 0.9rem; }
.blog .blog-post a:hover { text-decoration: underline; }

/* GDPR Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  z-index: 9999;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-content {
  flex: 1;
  max-width: 800px;
}

.cookie-banner h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.cookie-banner p {
  font-size: 0.875rem;
  opacity: 0.9;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--color-white);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

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

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

.cookie-btn-accept:hover {
  background: #f0f0f0;
}

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

.cookie-btn-decline:hover {
  background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }
  .cookie-banner-content {
    max-width: 100%;
  }
  .cookie-banner-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* Service Icons */
.service-icon { margin-bottom: 1rem; color: var(--color-primary); }
.service-icon svg { width: 48px; height: 48px; }

/* About Section */
.about-content { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; }
.about-photo { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-card); object-fit: cover; aspect-ratio: 1; }
.about-text p { margin-bottom: 1rem; line-height: 1.8; }
.about-links { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #eee; }
.about-links h4 { color: var(--color-primary); margin-bottom: 0.75rem; font-size: 1rem; }
.about-links ul { list-style: none; padding: 0; }
.about-links li { margin-bottom: 0.5rem; }
.about-links a { color: var(--color-accent); }
.about-links a:hover { text-decoration: underline; }

/* Expertise Section */
.expertise { padding: var(--space-lg) 0; background: #f5f7fa; }
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.expertise-card { background: white; padding: 2rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-card); transition: transform 0.3s, box-shadow 0.3s; }
.expertise-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.expertise-icon { margin-bottom: 1rem; color: var(--color-primary); }
.expertise-icon svg { width: 40px; height: 40px; }
.expertise-card h3 { color: var(--color-primary); margin-bottom: 0.75rem; font-size: 1.25rem; }
.expertise-card p { color: #666; line-height: 1.7; }

/* Blog More */
.blog-more { text-align: center; margin-top: 2rem; }

/* Footer Grid */
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-section h4 { color: white; margin-bottom: 1rem; font-size: 1rem; font-weight: 600; }
.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section li { margin-bottom: 0.5rem; }
.footer-section a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s; }
.footer-section a:hover { color: white; text-decoration: underline; }

@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { max-width: 300px; margin: 0 auto; }
  .expertise-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* GDPR Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--color-primary); color: white; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; z-index: 9999; box-shadow: 0 -4px 12px rgba(0,0,0,0.15); transform: translateY(100%); transition: transform 0.3s ease-out; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-content { flex: 1; max-width: 800px; }
.cookie-banner h4 { margin-bottom: 0.5rem; font-size: 1rem; font-weight: 600; }
.cookie-banner p { font-size: 0.875rem; opacity: 0.9; line-height: 1.5; }
.cookie-banner a { color: white; text-decoration: underline; }
.cookie-banner-buttons { display: flex; gap: 1rem; flex-shrink: 0; }
.cookie-btn { padding: 0.625rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.875rem; cursor: pointer; border: none; transition: all 0.3s; }
.cookie-btn-accept { background: white; color: var(--color-primary); }
.cookie-btn-accept:hover { background: #f0f0f0; }
.cookie-btn-decline { background: transparent; color: white; border: 2px solid white; }
.cookie-btn-decline:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 768px) { .cookie-banner { flex-direction: column; padding: 1rem; text-align: center; } .cookie-banner-content { max-width: 100%; } .cookie-banner-buttons { width: 100%; justify-content: center; } }

/* Legal pages list styling */
.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.legal-content ul li { margin-bottom: 0.5rem; line-height: 1.8; color: #444; }
.legal-content ul li strong { color: var(--color-primary); font-weight: 600; }

/* Portfolio links in expertise */
.portfolio-links {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.portfolio-link {
    color: var(--color-precision-orange);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0;
    transition: color 0.2s;
}
.portfolio-link:hover {
    color: var(--color-deep-blue);
    text-decoration: underline;
}

/* Portfolio card styles */
.expertise-card-portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.expertise-card-portfolio .portfolio-image {
    width: 100%;
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.expertise-card-portfolio .portfolio-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}
.expertise-card-portfolio .portfolio-image img:hover {
    transform: scale(1.05);
}
.expertise-card-portfolio .portfolio-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-deep-blue) 0%, #2a5080 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s;
}
.expertise-card-portfolio .portfolio-btn:hover {
    background: linear-gradient(135deg, var(--color-precision-orange) 0%, #e55a28 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}
