/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1E3A5F;
  --blue-light: #2a5298;
  --gray:    #5A6470;
  --gray-light: #f4f5f7;
  --orange:  #E8762C;
  --orange-dark: #c95f1a;
  --white:   #ffffff;
  --text:    #2c2c2c;
  --border:  #dde1e7;
  --radius:  8px;
  --shadow:  0 4px 20px rgba(30,58,95,.12);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.25; }
h3 { font-size: 1.25rem; line-height: 1.35; }
h4 { font-size: 1rem; }

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  color: var(--blue);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 48px;
}

section { padding: 80px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,118,44,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(30,58,95,.1);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
  line-height: 1.2;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg { width: 24px; height: 24px; fill: var(--white); }

.logo-text span {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: .05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--gray-light);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--orange-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue) 0%, #2a5298 60%, #1a3050 100%);
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
  opacity: .15;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,118,44,.2);
  border: 1px solid rgba(232,118,44,.4);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: #ffaa5e;
  margin-bottom: 20px;
}

.hero h1 { color: var(--white); margin-bottom: 12px; }

.hero-slogan {
  font-size: 1.2rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero-subtitle {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.stat { color: var(--white); }
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}

.hero-image {
  position: relative;
}

.hero-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 32px 64px rgba(0,0,0,.35);
}

.hero-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-img-badge-icon {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-badge-icon svg { width: 20px; height: 20px; stroke: white; fill: none; }
.hero-img-badge strong { display: block; color: var(--blue); font-size: .9rem; }
.hero-img-badge span { font-size: .78rem; color: var(--gray); }

/* ===== SERVICES GRID ===== */
.services-section { background: var(--gray-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(30,58,95,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.8; }

.service-card h3 {
  color: var(--blue);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.service-card p { color: var(--gray); font-size: .88rem; line-height: 1.6; }

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-image {
  position: relative;
}

.why-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

.why-experience-badge {
  position: absolute;
  top: 24px;
  right: -20px;
  background: var(--orange);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(232,118,44,.4);
}

.why-experience-badge .big { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.why-experience-badge .small { font-size: .8rem; opacity: .9; }

.why-features { display: flex; flex-direction: column; gap: 24px; }

.why-feature {
  display: flex;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.why-feature:hover {
  background: var(--gray-light);
}

.why-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(30,58,95,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; }

.why-feature h4 { color: var(--blue); margin-bottom: 4px; font-size: .95rem; }
.why-feature p { color: var(--gray); font-size: .85rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #2a5298 100%);
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner h2 { color: var(--white); margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.75); font-size: .95rem; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #2a5298 100%);
  padding: 120px 0 64px;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1400&q=60') center/cover no-repeat;
  opacity: .08;
}

.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 560px; font-size: 1.05rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.85); }

/* ===== SERVICES DETAIL PAGE ===== */
.service-detail {
  padding: 80px 0;
}

.service-detail:nth-child(even) { background: var(--gray-light); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid { direction: rtl; }
.service-detail:nth-child(even) .service-detail-grid > * { direction: ltr; }

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

.service-detail-content h2 { color: var(--blue); margin-bottom: 16px; }
.service-detail-content p { color: var(--gray); margin-bottom: 20px; font-size: .95rem; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.service-tag {
  background: rgba(30,58,95,.08);
  color: var(--blue);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
}

/* ===== ABOUT PAGE ===== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.about-story-content h2 { color: var(--blue); margin-bottom: 20px; }
.about-story-content p { color: var(--gray); margin-bottom: 16px; font-size: .95rem; }

.credentials-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--orange);
}

.credential-item svg { width: 18px; height: 18px; stroke: var(--orange); fill: none; flex-shrink: 0; margin-top: 2px; }
.credential-item p { font-size: .88rem; color: var(--gray); margin: 0; }

/* Team */
.team-section { background: var(--gray-light); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

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

.team-card:hover { transform: translateY(-6px); }

.team-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
}

.team-card-body { padding: 24px; }
.team-card-body h3 { color: var(--blue); margin-bottom: 4px; }
.team-card-role {
  font-size: .82rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.team-card-body p { color: var(--gray); font-size: .85rem; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover { border-color: var(--orange); transform: translateY(-4px); }

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(232,118,44,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.value-icon svg { width: 26px; height: 26px; stroke: var(--orange); fill: none; stroke-width: 1.8; }
.value-card h4 { color: var(--blue); margin-bottom: 8px; }
.value-card p { color: var(--gray); font-size: .82rem; }

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

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

.project-card:hover { transform: translateY(-6px); }

.project-img-wrap {
  position: relative;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .4s ease;
}

.project-card:hover .project-img { transform: scale(1.06); }

.project-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 100px;
}

.project-body { padding: 24px; }
.project-body h3 { color: var(--blue); margin-bottom: 8px; font-size: 1rem; }
.project-body p { color: var(--gray); font-size: .85rem; line-height: 1.6; }

.project-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--gray);
}

.project-meta span { display: flex; align-items: center; gap: 5px; }
.project-meta svg { width: 14px; height: 14px; stroke: var(--gray); fill: none; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { color: var(--blue); margin-bottom: 16px; }
.contact-info > p { color: var(--gray); margin-bottom: 32px; font-size: .95rem; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(30,58,95,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.8; }

.contact-item h4 { font-size: .82rem; color: var(--gray); font-weight: 500; margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: .92rem; color: var(--blue); font-weight: 600; }
.contact-item a:hover { color: var(--orange); }

.social-links { display: flex; gap: 12px; margin-top: 32px; }

.social-link {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--orange); transform: translateY(-2px); }
.social-link svg { width: 18px; height: 18px; stroke: white; fill: none; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form-wrap h3 { color: var(--blue); margin-bottom: 24px; font-size: 1.3rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 6px;
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  font-family: inherit;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,58,95,.1);
}

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

.form-group select { cursor: pointer; }

.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }

/* Map */
.map-section { padding: 0; }
.map-section iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: none;
}

/* ===== FOOTER ===== */
.footer {
  background: #0f2240;
  color: rgba(255,255,255,.75);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .logo-icon { background: rgba(255,255,255,.1); }
.footer-brand p { font-size: .85rem; line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--orange); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  margin-bottom: 12px;
}
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--orange); fill: none; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--orange); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ===== NAVBAR SCROLLED ===== */
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(30,58,95,.18);
}

/* ===== PROCESS SECTION ===== */
.process-section { background: var(--gray-light); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: process-counter;
}

.process-step {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--orange);
}

.process-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(30,58,95,.08);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.process-step h3 { color: var(--blue); margin-bottom: 10px; font-size: 1.05rem; }
.process-step p { color: var(--gray); font-size: .88rem; line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(232,118,44,.15);
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card > p {
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; color: var(--blue); font-size: .92rem; }
.testimonial-author span { font-size: .78rem; color: var(--gray); }

/* ===== PORTFOLIO FILTERS ===== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--gray);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.project-card.hidden {
  display: none;
}

/* ===== WHATSAPP TOOLTIP ===== */
.whatsapp-float {
  position: relative;
}

.whatsapp-float::before {
  content: 'Escríbenos';
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a1a;
  color: white;
  font-size: .75rem;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.whatsapp-float:hover::before {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid,
  .why-grid,
  .about-story,
  .contact-grid,
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero-image { display: none; }
  .service-detail:nth-child(even) .service-detail-grid { direction: ltr; }

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 56px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .portfolio-filters { gap: 8px; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    gap: 4px;
  }

  .nav-links.open a { padding: 12px 16px; border-radius: var(--radius); }
  .hero { min-height: auto; padding: 40px 0; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
}

/* ===================================================================
   MOTION / VISUAL UPGRADE PASS (matches manufacturas-cendal quality bar)
   =================================================================== */

/* SCROLL PROGRESS BAR */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), #ffb37a);
  z-index: 2000;
  transition: width .1s linear;
}

/* NAVBAR SHRINK + UNDERLINE */
.navbar-inner { transition: height .3s ease; }
.navbar.scrolled .navbar-inner { height: 60px; }
.navbar.scrolled .logo-icon { width: 36px; height: 36px; }

.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { transform: scaleX(1); }

/* HERO AMBIENT LAYERS (index hero) */
.hero { --mx: 60%; --my: 30%; }
.hero-lines {
  position: absolute; inset: -2px; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 75% 35%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 75% 35%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-blob {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,118,44,.28), transparent 65%);
  filter: blur(10px);
  top: -160px; right: -140px;
  z-index: 0;
  pointer-events: none;
}
.hero-spotlight {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.10), transparent 60%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-glow-blob { animation: glowDrift 9s ease-in-out infinite; }
}
@keyframes glowDrift {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-30px, 20px); }
}

/* HERO IMAGE 3D TILT FRAME */
.hero-image { perspective: 1000px; }
.hero-img-frame {
  position: relative;
  border-radius: 16px;
  transform-style: preserve-3d;
  transition: transform .3s ease, box-shadow .3s ease;
}
.hero-img-frame .corner { position: absolute; width: 18px; height: 18px; border-color: var(--orange); z-index: 3; opacity: .95; }
.hero-img-frame .corner.tl { top: 10px; left: 10px; border-top: 2px solid; border-left: 2px solid; }
.hero-img-frame .corner.tr { top: 10px; right: 10px; border-top: 2px solid; border-right: 2px solid; }
.hero-img-frame .corner.bl { bottom: 10px; left: 10px; border-bottom: 2px solid; border-left: 2px solid; }
.hero-img-frame .corner.br { bottom: 10px; right: 10px; border-bottom: 2px solid; border-right: 2px solid; }

/* GENERIC IMAGE ZOOM WRAPPER (about/why/service-detail images) */
.img-zoom-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.img-zoom-wrap img { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.img-zoom-wrap:hover img { transform: scale(1.06); }
.img-zoom-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,34,64,0) 55%, rgba(15,34,64,.32) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.img-zoom-wrap:hover::after { opacity: 1; }
.img-zoom-wrap::before {
  content: '';
  position: absolute; left: 0; right: 0; height: 2px; top: -10%; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
}
.img-zoom-wrap:hover::before { opacity: .9; animation: imgScan 1.6s ease-in-out infinite; }
@keyframes imgScan { 0% { top: 0; } 100% { top: 100%; } }

/* PROJECT / SERVICE-DETAIL IMAGE SCAN + OVERLAY */
.project-img-wrap { cursor: zoom-in; }
.project-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,34,64,0) 60%, rgba(15,34,64,.35) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.project-card:hover .project-img-wrap::after { opacity: 1; }
.project-img-wrap::before {
  content: '';
  position: absolute; left: 0; right: 0; height: 2px; top: -10%; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
}
.project-card:hover .project-img-wrap::before { opacity: .9; animation: imgScan 1.6s ease-in-out infinite; }

/* CARD LIFT + STAGGERED DETAIL ROWS */
.service-card, .project-card, .team-card, .value-card, .process-step, .testimonial-card {
  will-change: transform;
}
.project-meta span,
.service-tags .service-tag {
  transition: opacity .3s ease, transform .3s ease;
}
.project-card:hover .project-meta span,
.service-detail-content:hover .service-tags .service-tag {
  transform: translateY(-1px);
}
.service-tags .service-tag { transition-delay: 0s; }
.service-detail-content:hover .service-tags .service-tag:nth-child(1) { transition-delay: .03s; }
.service-detail-content:hover .service-tags .service-tag:nth-child(2) { transition-delay: .06s; }
.service-detail-content:hover .service-tags .service-tag:nth-child(3) { transition-delay: .09s; }
.service-detail-content:hover .service-tags .service-tag:nth-child(4) { transition-delay: .12s; }
.service-detail-content:hover .service-tags .service-tag:nth-child(5) { transition-delay: .15s; }
.service-detail-content:hover .service-tags .service-tag:nth-child(6) { transition-delay: .18s; }

/* PULSING / FLOATING BADGES */
@media (prefers-reduced-motion: no-preference) {
  .hero-img-badge-icon { animation: iconPulse 3s ease-in-out infinite; }
  .why-experience-badge { animation: badgeFloat 4s ease-in-out infinite; }
  .cert-badge, .value-icon { animation: iconPulse 4s ease-in-out infinite; }
}
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* PROCESS SECTION CONNECTING LINE */
@media (min-width: 769px) {
  .process-grid { position: relative; }
  .process-grid::before {
    content: '';
    position: absolute;
    top: 26px; left: 0; right: 0; height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
    z-index: 0;
  }
  .process-grid::after {
    content: '';
    position: absolute;
    top: 26px; left: 0; height: 2px; width: 0%;
    background: var(--orange);
    transition: width 1.4s ease;
    z-index: 0;
  }
  .process-grid.in-view::after { width: 100%; }
}
.process-step { position: relative; z-index: 1; }

/* CLIENT / COVERAGE MARQUEE */
.clients-marquee { background: var(--gray-light); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 24s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-pill {
  padding: 12px 22px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-weight: 600;
  font-size: .85rem;
  color: var(--blue);
  border-radius: 100px;
  white-space: nowrap;
  flex: none;
  transition: var(--transition);
}
.client-pill:hover { border-color: var(--orange); color: var(--orange-dark); transform: translateY(-2px); }

/* PORTFOLIO LIGHTBOX */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(15,20,30,.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
  max-width: min(900px, 92vw);
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transform: scale(.94);
  transition: transform .3s ease;
  display: block;
}
.lightbox-overlay.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox-caption {
  position: absolute;
  bottom: 24px; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow-blob, .hero-img-badge-icon, .why-experience-badge, .cert-badge, .value-icon,
  .marquee-track { animation: none !important; }
}
