/* ========================================
   ATD TECH HUB - Style.css v1.0
   Modern Minimalist Design
   ======================================== */

/* 1. VARIABLES */
:root {
  --primary: #1a3a52;
  --primary-dark: #0f2638;
  --primary-light: #2c5572;
  --accent: #ff6b35;
  --accent-dark: #e55a2b;
  --accent-light: #ff8c5e;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #1c1c1c;
  --text-muted: #6c757d;
  --border: #e9ecef;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 40px rgba(0,0,0,0.15);
  --max-w: 1200px;
  --radius: 4px;
  --radius-lg: 8px;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', 'Open Sans', sans-serif;
  --header-h: 80px;
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-dark); }
.text-muted { color: var(--text-muted); }
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.heading-section { text-align: center; margin-bottom: 3rem; }
.heading-section .label { display: block; }
.heading-section h2 { margin-bottom: 0.75rem; }
.heading-section p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* 4. LAYOUT */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
section.compact { padding: 3rem 0; }
.bg-light { background: var(--bg-light); }
.bg-primary { background: var(--primary); color: #fff; }
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4 { color: #fff; }
.bg-primary p { color: rgba(255,255,255,0.85); }

.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); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; } .gap-2 { gap: 2rem; }
.text-center { text-align: center; }

/* 5. BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: all 0.25s ease; white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4); }
.btn-secondary { background: var(--primary); color: #fff; }
.btn-secondary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-light); color: var(--primary-dark); transform: translateY(-2px); }
.btn-lg { padding: 1.15rem 2.5rem; font-size: 0.9rem; }

/* 6. HEADER */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); z-index: 1000;
  transition: all 0.3s ease;
}
#site-header.scrolled { height: 65px; box-shadow: var(--shadow-md); }
.header-inner {
  max-width: var(--max-w); margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem;
}
.header-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--primary); }
.header-logo .logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 800;
  font-size: 1.1rem; letter-spacing: -1px; position: relative; overflow: hidden;
}
.header-logo .logo-mark::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 12px; height: 12px; background: var(--accent);
  border-top-left-radius: var(--radius);
}
.header-logo .logo-text { display: flex; flex-direction: column; line-height: 1; }
.header-logo .logo-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: var(--primary); letter-spacing: 0.5px;
}
.header-logo .logo-tag {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 1.5px;
  color: var(--text-muted); text-transform: uppercase; margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav > a, .main-nav .dropdown > a {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px;
  padding: 0.5rem 0; position: relative; transition: color 0.2s ease;
}
.main-nav > a::after, .main-nav .dropdown > a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.25s ease;
}
.main-nav > a:hover, .main-nav .dropdown:hover > a { color: var(--accent); }
.main-nav > a:hover::after, .main-nav .dropdown:hover > a::after { width: 100%; }
.main-nav > a.active::after { width: 100%; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 280px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 0.75rem;
  opacity: 0; visibility: hidden; transition: all 0.25s ease;
  border: 1px solid var(--border);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a {
  display: block; padding: 0.65rem 1rem; font-size: 0.85rem; font-weight: 500;
  color: var(--primary); border-radius: var(--radius); transition: all 0.2s ease;
  text-transform: none; letter-spacing: 0;
}
.dropdown-menu a:hover { background: var(--bg-light); color: var(--accent); padding-left: 1.25rem; }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--primary);
}
.header-phone i { color: var(--accent); font-size: 1rem; }

.lang-switcher {
  display: flex; gap: 0.25rem; align-items: center;
  border-left: 1px solid var(--border); padding-left: 1rem; margin-left: 0.5rem;
}
.lang-switcher a {
  font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; padding: 0.25rem 0.45rem;
  border-radius: 3px; letter-spacing: 0.5px;
}
.lang-switcher a.active { color: #fff; background: var(--primary); }
.lang-switcher a:hover:not(.active) { color: var(--accent); }

.hamburger {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius); background: var(--primary); color: #fff;
  font-size: 1.25rem;
}

/* 7. MOBILE MENU */
#mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: min(85%, 360px); height: 100vh;
  background: #fff; z-index: 1100;
  padding: 6rem 2rem 2rem; overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu.open { right: 0; }
#mobile-menu .close-btn {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px; background: var(--bg-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--primary);
}
#mobile-menu a {
  display: block; padding: 1rem 0;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}
#mobile-menu a.sub { padding-left: 1.5rem; font-size: 0.85rem; text-transform: none; font-weight: 500; }
#mobile-menu .mobile-cta { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
#mobile-menu .mobile-cta .btn { width: 100%; }

.menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1050;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.menu-overlay.show { opacity: 1; visibility: visible; }

/* 8. HERO */
.hero {
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(44, 85, 114, 0.4) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero-content .label { color: var(--accent-light); }
.hero-content h1 { color: #fff; margin-bottom: 1.5rem; }
.hero-content h1 .highlight { color: var(--accent); position: relative; display: inline-block; }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .number {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--accent); line-height: 1; display: block; margin-bottom: 0.25rem;
}
.hero-stat .label {
  font-size: 0.75rem; color: rgba(255,255,255,0.7);
  letter-spacing: 1.5px; margin: 0; text-transform: uppercase;
}
.hero-visual {
  position: relative; height: 480px;
  /* Force own GPU layer for stable compositing of children */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* OUTER WRAPPER: handles positioning only — never animates */
.hero-slot {
  position: absolute;
  /* No transform here. No animation. Just position. */
}
.hero-slot-1    { top: 0;    left: 0;       width: 240px; z-index: 1; }
.hero-slot-2    { top: 120px; right: 0;     width: 260px; z-index: 2; }
.hero-slot-3    { bottom: 0; left: 60px;    width: 250px; z-index: 1; }
.hero-slot-main { top: 80px; left: 50%;     width: 280px; z-index: 3;
                  margin-left: -140px; /* center via margin, not transform */ }

/* INNER CARD: handles look + animation only — never positions */
.hero-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-xl);
  color: var(--text-dark);
  transition: box-shadow 0.3s ease;
  /* Edge-safe: no will-change (Edge sometimes mishandles this).
     No backface-visibility (known Edge flicker bug).
     One simple translateZ(0) is enough to promote to GPU layer. */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.hero-card:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hero-card .icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; margin-bottom: 1rem;
}
.hero-card h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--primary); }
.hero-card p  { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.4; }

/* Accent card (the "One-Stop-Shop" centerpiece) */
.hero-card-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff; text-align: center;
}
.hero-card-accent .icon { background: rgba(255,255,255,0.2); margin: 0 auto 1rem; }
.hero-card-accent h4, .hero-card-accent p { color: #fff; }
.hero-card-accent p { color: rgba(255,255,255,0.9); }

/* Animation: applied to the INNER card, which has no position to fight with */
.hero-slot .hero-card {
  animation: hero-float 6s ease-in-out infinite;
  animation-fill-mode: both;
}
.hero-slot-1    .hero-card { animation-delay: 0s;  }
.hero-slot-main .hero-card { animation-delay: -1.5s; }
.hero-slot-2    .hero-card { animation-delay: -3s; }
.hero-slot-3    .hero-card { animation-delay: -4.5s; }

@keyframes hero-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -10px, 0); }
}

/* Disable animation on low-power / accessibility preference */
@media (prefers-reduced-motion: reduce) {
  .hero-slot .hero-card { animation: none; }
}

/* 9. FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.feature-card {
  background: #fff; padding: 2.5rem 2rem;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .icon {
  width: 60px; height: 60px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.5rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* 10. SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: all 0.3s ease; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.service-card .service-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.service-card .service-image i { font-size: 3.5rem; color: rgba(255,255,255,0.9); z-index: 2; }
.service-card .service-image::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255, 107, 53, 0.2) 0%, transparent 60%);
}
.service-card .service-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; flex: 1; }
.service-card .service-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  color: var(--accent); text-transform: uppercase; letter-spacing: 1px;
}
.service-card .service-link i { transition: transform 0.2s ease; }
.service-card:hover .service-link i { transform: translateX(4px); }

/* 11. PROCESS */
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; position: relative;
}
.process-step { text-align: center; position: relative; }
.process-step .step-number {
  width: 70px; height: 70px; margin: 0 auto 1.5rem;
  background: #fff; border: 3px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: var(--accent); position: relative; z-index: 2;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* 12. CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 5rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-section .cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* 13. TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card {
  background: #fff; padding: 2rem;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  position: relative; transition: all 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card .stars { display: flex; gap: 2px; color: #ffb800; margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial-card .text { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 1.5rem; font-style: italic; line-height: 1.6; }
.testimonial-card .author {
  display: flex; align-items: center; gap: 0.75rem;
  border-top: 1px solid var(--border); padding-top: 1rem;
}
.testimonial-card .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.testimonial-card .author-info { flex: 1; }
.testimonial-card .author-name { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--primary); }
.testimonial-card .author-meta { font-size: 0.8rem; color: var(--text-muted); }
.reviews-summary {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.reviews-summary .big-rating { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--accent); line-height: 1; }
.reviews-summary .rating-info { display: flex; flex-direction: column; }
.reviews-summary .rating-stars { color: #ffb800; font-size: 1.1rem; margin-bottom: 0.25rem; }
.reviews-summary .rating-count { font-size: 0.85rem; color: var(--text-muted); }

/* 14. FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 1rem; overflow: hidden; transition: all 0.25s ease;
}
.faq-item.open { border-color: var(--accent); box-shadow: var(--shadow-md); }
.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; font-family: var(--font-display); font-weight: 600;
  color: var(--primary); font-size: 1rem; user-select: none;
}
.faq-question .toggle-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 0.8rem;
  transition: transform 0.25s ease; flex-shrink: 0;
}
.faq-item.open .toggle-icon { background: var(--accent); color: #fff; transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner { padding: 0 1.5rem 1.5rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* 15. PORTFOLIO */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.portfolio-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: var(--primary);
  cursor: pointer; transition: transform 0.3s ease;
}
.portfolio-card:hover { transform: translateY(-4px); }
.portfolio-card .portfolio-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
}
.portfolio-card .portfolio-bg i { font-size: 4rem; color: rgba(255,255,255,0.15); }
.portfolio-card .portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 38, 56, 0.95) 0%, transparent 60%);
  padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
}
.portfolio-card .portfolio-tag {
  font-size: 0.7rem; font-weight: 600; color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.5rem;
}
.portfolio-card h4 { color: #fff; font-size: 1.1rem; margin: 0; }

/* 16. TEAM */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.team-card {
  text-align: center; background: #fff; padding: 2rem 1.5rem;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.team-card .avatar {
  width: 120px; height: 120px; margin: 0 auto 1.25rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  color: #fff; position: relative;
}
.team-card .avatar::after {
  content: ''; position: absolute; inset: -4px;
  border: 2px solid var(--accent); border-radius: 50%;
  opacity: 0; transition: opacity 0.3s ease;
}
.team-card:hover .avatar::after { opacity: 1; }
.team-card h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.team-card .role {
  font-size: 0.85rem; color: var(--accent); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 1rem; font-weight: 600;
}
.team-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* 17. CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info {
  background: var(--primary); color: #fff; padding: 2.5rem;
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.contact-info::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
}
.contact-info > * { position: relative; z-index: 2; }
.contact-info h3 { color: #fff; margin-bottom: 0.5rem; }
.contact-info > p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-info-item .icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light); flex-shrink: 0;
}
.contact-info-item .info-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.25rem;
}
.contact-info-item .info-value { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff; }
.contact-info-item a.info-value { color: #fff; transition: color 0.2s ease; }
.contact-info-item a.info-value:hover { color: var(--accent-light); }

.contact-form {
  background: #fff; padding: 2.5rem;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.contact-form h3 { margin-bottom: 0.5rem; }
.contact-form > p { color: var(--text-muted); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; position: relative; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 500;
  color: var(--primary); margin-bottom: 0.4rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 0.95rem; color: var(--text-dark);
  background: #fff; transition: all 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check {
  display: flex; gap: 0.5rem; align-items: flex-start;
  margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--text-muted);
}
.form-check input { margin-top: 4px; }
.form-check a { color: var(--accent); }
.form-status {
  padding: 1rem; border-radius: var(--radius);
  margin-bottom: 1rem; display: none; font-size: 0.9rem;
}
.form-status.success { display: block; background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-status.error { display: block; background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* 18. FOOTER */
footer { background: var(--primary-dark); color: #fff; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .header-logo .logo-name { color: #fff; }
.footer-brand .header-logo .logo-tag { color: rgba(255,255,255,0.6); }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin: 1.5rem 0; max-width: 360px; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-col h4 {
  color: #fff; font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: all 0.2s ease; }
.footer-col ul a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item {
  display: flex; gap: 0.75rem; margin-bottom: 0.75rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.8); align-items: flex-start;
}
.footer-contact-item i { color: var(--accent); width: 16px; flex-shrink: 0; margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 0; }
.footer-bottom .legal-links { display: flex; gap: 1.5rem; }
.footer-bottom .legal-links a { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-bottom .legal-links a:hover { color: var(--accent); }

.powered-by { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.powered-by a {
  color: var(--accent-light); font-weight: 600;
  position: relative; transition: all 0.3s ease;
  text-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}
.powered-by a:hover {
  color: var(--accent);
  text-shadow: 0 0 6px rgba(255, 107, 53, 0.6), 0 0 12px rgba(255, 107, 53, 0.4), 0 0 20px rgba(255, 107, 53, 0.3);
  transform: translateY(-1px);
}

/* 19. WHATSAPP + STICKY CTA */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; background: #25D366; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999; transition: all 0.3s ease;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--primary); padding: 0.75rem 1rem; z-index: 998;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.sticky-cta a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--accent); color: #fff; padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 1px;
}

/* 20. BREADCRUMBS */
.breadcrumb { background: var(--bg-light); padding: calc(var(--header-h) + 1.5rem) 0 1.5rem; }
.breadcrumb ul { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.85rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li::after { content: '/'; margin-left: 0.5rem; color: var(--text-muted); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb li:last-child { color: var(--primary); font-weight: 500; }

/* 21. PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: calc(var(--header-h) + 4rem) 0 4rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; margin-bottom: 0.75rem; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

/* 22. SERVICE DETAIL */
.service-detail-content { max-width: 900px; margin: 0 auto; }
.service-detail-content h2 { margin-top: 3rem; margin-bottom: 1.25rem; }
.service-detail-content h2:first-child { margin-top: 0; }
.service-detail-content h3 { margin-top: 2rem; font-size: 1.3rem; }
.service-detail-content p { font-size: 1.05rem; line-height: 1.75; color: var(--text-dark); }
.service-detail-content ul:not(.no-style) { margin: 1rem 0 1.5rem 1.5rem; }
.service-detail-content ul:not(.no-style) li { list-style: disc; padding-left: 0.5rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.service-detail-content ul.check-list { margin-left: 0; }
.service-detail-content ul.check-list li {
  list-style: none; padding-left: 2rem; position: relative; margin-bottom: 0.75rem;
}
.service-detail-content ul.check-list li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 2px;
  color: var(--accent);
  width: 22px; height: 22px; background: rgba(255, 107, 53, 0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
}

.info-box {
  background: var(--bg-light); border-left: 4px solid var(--accent);
  padding: 1.5rem 1.75rem; border-radius: var(--radius); margin: 2rem 0;
}
.info-box h4 { margin-bottom: 0.5rem; }
.info-box p { margin: 0; }

/* 23. SCROLL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* 24. RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { height: 420px; max-width: 540px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .header-cta { display: none; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--header-h) + 2.5rem) 0 3.5rem; }
  .hero-inner { gap: 2.5rem; }
  .hero-visual { height: 380px; }
  .hero-slot-1, .hero-slot-2, .hero-slot-3 { width: 200px; }
  .hero-slot-main { width: 240px; margin-left: -120px; }
  .hero-stats { gap: 1rem; }
  .hero-stat .number { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .breadcrumb { padding-top: calc(var(--header-h) + 1rem); }
  .breadcrumb ul { font-size: 0.8rem; }
  .page-header { padding: calc(var(--header-h) + 2.5rem) 0 3rem; }
  .sticky-cta { display: block; }
  body { padding-bottom: 70px; }
  .wa-float { bottom: 84px; }
  .reviews-summary .big-rating { font-size: 2.5rem; }
  .contact-info, .contact-form { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .header-inner { padding: 0 1rem; }
  .header-logo .logo-mark { width: 38px; height: 38px; font-size: 1rem; }
  .header-logo .logo-name { font-size: 1rem; }
  .header-logo .logo-tag { font-size: 0.6rem; }
  .btn { padding: 0.85rem 1.5rem; font-size: 0.78rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-visual { height: 340px; }
  .hero-slot-1, .hero-slot-2, .hero-slot-3 { width: 180px; }
  .hero-slot-1 .hero-card, .hero-slot-2 .hero-card, .hero-slot-3 .hero-card { padding: 1.25rem; }
  .hero-slot-main { width: 220px; margin-left: -110px; }
  .hero-slot-main .hero-card { padding: 1.25rem; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
  .feature-card, .service-card .service-body { padding: 1.5rem; }
  .cta-section .cta-buttons { flex-direction: column; }
  .cta-section .cta-buttons .btn { width: 100%; }
  .heading-section { margin-bottom: 2rem; }
  .heading-section p { font-size: 0.95rem; }
}

@media (max-width: 380px) {
  h1 { font-size: 1.75rem; }
  .hero-slot-1, .hero-slot-2, .hero-slot-3 { width: 160px; font-size: 0.85rem; }
  .hero-slot-1 .hero-card, .hero-slot-2 .hero-card, .hero-slot-3 .hero-card { padding: 1rem; }
  .hero-slot-main { width: 200px; margin-left: -100px; }
}

@supports (-webkit-touch-callout: none) {
  input, textarea, select { font-size: 16px !important; }
  body { -webkit-tap-highlight-color: transparent; }
}

@media (hover: none) and (pointer: coarse) {
  .feature-card:hover, .service-card:hover, .testimonial-card:hover, 
  .team-card:hover, .portfolio-card:hover { transform: none; }
  .dropdown:hover .dropdown-menu { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  #site-header, .wa-float, .sticky-cta, footer { display: none; }
  body { background: #fff; color: #000; }
}

/* ============================================
   PORTFOLIO GRID
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.portfolio-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15,38,56,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(15,38,56,0.15);
}
.portfolio-image {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.portfolio-icon {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.portfolio-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.portfolio-category {
  display: inline-block;
  background: rgba(255,107,53,0.1);
  color: #ff6b35;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}
.portfolio-content h3 {
  font-size: 1.15rem;
  color: #1a3a52;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.portfolio-content p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.portfolio-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #64748b;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.team-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(15,38,56,0.08);
  transition: transform 0.3s;
  text-align: center;
}
.team-card:hover {
  transform: translateY(-4px);
}
.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(15,38,56,0.2);
}
.team-info h3 {
  color: #1a3a52;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.team-role {
  display: block;
  color: #ff6b35;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.team-info p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.team-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.team-contact a {
  color: #1a3a52;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.team-contact a:hover { color: #ff6b35; }

/* ============================================
   REVIEWS GRID
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(15,38,56,0.08);
  position: relative;
  border-top: 4px solid #ff6b35;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}
.review-meta strong {
  display: block;
  color: #1a3a52;
  font-size: 1.05rem;
}
.review-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
  margin: 0.2rem 0;
}
.review-date {
  color: #94a3b8;
  font-size: 0.8rem;
}
.review-text {
  color: #475569;
  font-style: italic;
  line-height: 1.7;
  font-size: 0.98rem;
}

/* ============================================
   LEGAL CONTENT (Terms, Privacy)
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  color: #334155;
  line-height: 1.8;
}
.legal-content h2 {
  color: #1a3a52;
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ff6b35;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  color: #2c5572;
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}
.legal-content p {
  margin-bottom: 1rem;
}
.legal-content ul {
  margin: 1rem 0 1rem 1.5rem;
  padding-left: 1rem;
}
.legal-content li {
  margin-bottom: 0.5rem;
}
.legal-content a {
  color: #ff6b35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: #1a3a52; }

@media (max-width: 768px) {
  .portfolio-grid, .team-grid, .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .legal-content h2 { font-size: 1.35rem; }
  .legal-content h3 { font-size: 1.1rem; }
}

/* ============================================
   B2B MATERIALS NOTE (homepage)
   ============================================ */
.materials-note {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(26,58,82,0.04), rgba(255,107,53,0.06));
  border-left: 4px solid #ff6b35;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
}
.materials-icon {
  font-size: 3rem;
  flex-shrink: 0;
}
.materials-content h3 {
  color: #1a3a52;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.materials-content p {
  color: #475569;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 640px) {
  .materials-note {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}

/* ============================================
   HEADER FIXES (no-wrap, responsive sizing)
   ============================================ */
.header-phone,
.header-phone span,
.header-phone i { white-space: nowrap; }
.header-phone { flex-shrink: 0; }
.header-cta .btn { white-space: nowrap; flex-shrink: 0; }
.main-nav > a, .main-nav .dropdown > a { white-space: nowrap; }

/* Compact main-nav at narrow desktop sizes */
@media (max-width: 1280px) {
  .main-nav { gap: 1.25rem; }
  .header-cta { gap: 0.65rem; }
  .header-cta .btn { padding: 0.65rem 1rem; font-size: 0.78rem; }
  .header-phone span { font-size: 0.85rem; }
  .header-inner { padding: 0 1rem; }
}

@media (max-width: 1140px) {
  .header-logo .logo-tag { display: none; }
  .main-nav { gap: 1rem; }
  .lang-switcher { padding-left: 0.5rem; margin-left: 0.25rem; }
}

@media (max-width: 1080px) {
  .header-phone span { display: none; }
  .header-phone { padding: 0.5rem; }
  .header-phone i { font-size: 1.1rem; }
}

/* ============================================
   ADDITIONAL MOBILE RESPONSIVENESS
   ============================================ */
@media (max-width: 1024px) {
  .header-cta { display: none; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  /* Hero responsiveness */
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.05rem; }
  /* Sections padding */
  section { padding: 3.5rem 0; }
  .container { padding: 0 1rem; }
}

@media (max-width: 768px) {
  .header-logo .logo-mark { width: 40px; height: 40px; font-size: 1rem; }
  .header-logo .logo-name { font-size: 1.05rem; }
  .header-logo .logo-tag { display: none; }
  .hero h1 { font-size: 2rem; line-height: 1.15; }
  .hero p { font-size: 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat { flex: 1 1 30%; min-width: 80px; }
  .hero-stat .number { font-size: 1.8rem; }
  .hero-stat .label { font-size: 0.7rem; }
  /* Headings */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  .heading-section h2 { font-size: 1.6rem; }
  .heading-section p { font-size: 0.95rem; }
  /* Page header */
  .page-header h1 { font-size: 1.85rem; }
  .page-header .page-subtitle { font-size: 1rem; }
  /* Grids stack */
  .services-grid, .features-grid, .process-grid,
  .footer-grid, .stats-grid, .portfolio-grid,
  .team-grid, .reviews-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  /* Service cards */
  .service-card, .feature-card { padding: 1.5rem; }
  /* Materials note */
  .materials-note { flex-direction: column; text-align: center; padding: 1.5rem; }
  /* FAQ */
  .faq-question { font-size: 0.95rem; padding: 1rem 1.25rem; }
  .faq-answer { padding: 0 1.25rem 1rem; font-size: 0.9rem; }
  /* CTA blocks */
  .cta-box { padding: 2rem 1.5rem; }
  .cta-box h3 { font-size: 1.35rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  /* Footer */
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .legal-links { justify-content: center; flex-wrap: wrap; }
  /* Contact */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  /* WhatsApp float - smaller on mobile */
  .wa-float { width: 52px; height: 52px; bottom: 1rem; right: 1rem; }
  .wa-float i { font-size: 1.5rem; }
  /* Breadcrumbs */
  .breadcrumbs ol { font-size: 0.8rem; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .header-logo .logo-mark { width: 36px; height: 36px; font-size: 0.9rem; }
  .header-logo .logo-name { font-size: 0.95rem; }
  .header-inner { padding: 0 0.85rem; }
  .hamburger { width: 40px; height: 40px; }
  /* Hero */
  .hero { padding: calc(var(--header-h) + 1.5rem) 0 2.5rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 0.92rem; }
  .hero-stat .number { font-size: 1.5rem; }
  /* Page header */
  .page-header { padding: 3rem 0 2rem; }
  .page-header h1 { font-size: 1.55rem; }
  /* Section spacing */
  section { padding: 2.5rem 0; }
  /* Cards */
  .service-card, .feature-card, .review-card, .team-card, .portfolio-card { padding: 1.25rem; }
  /* Buttons */
  .btn { padding: 0.8rem 1.25rem; font-size: 0.85rem; }
  .btn-lg { padding: 0.95rem 1.5rem; font-size: 0.9rem; }
  /* Footer */
  .footer-grid { gap: 2rem; }
  /* Legal pages */
  .legal-content { padding: 0 0.5rem; }
  .legal-content h2 { font-size: 1.2rem; }
  /* Container padding */
  .container { padding: 0 0.85rem; }
}

/* Mobile menu specific fixes */
#mobile-menu { padding-top: 4.5rem; }
#mobile-menu .mobile-cta .btn { font-size: 0.9rem; }
/* Ensure header logo is single line and properly aligned */
.header-logo { flex-shrink: 0; }

/* Print: hide mobile menu */
@media print {
  #mobile-menu, .menu-overlay, .hamburger { display: none !important; }
}
