/* ===== Variables ===== */
:root {
  /* Navy blue + light blue palette */
  --primary: #0a2540;
  --primary-dark: #061828;
  --primary-light: #e8f1f8;
  --accent: #3b82c4;
  --text: #0f172a;
  --text-muted: #5a6a7a;
  --bg: #ffffff;
  --bg-alt: #f0f6fb;
  --border: #d6e4f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-brand: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --transition: 0.25s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.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);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 37, 64, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
}
.logo-icon { font-size: 1.5rem; }
.logo-mark { display: none; }
.logo-text { display: none; }
.logo-text strong {
  color: var(--primary);
  font-weight: 700;
}
.logo strong { color: var(--primary); font-weight: 700; }
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.925rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  transition: all var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.header-cta { display: none; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 58% 48% at 84% 16%, rgba(59, 130, 196, 0.72) 0%, rgba(59, 130, 196, 0) 70%),
    radial-gradient(ellipse 50% 42% at 10% 92%, rgba(18, 62, 104, 0.95) 0%, rgba(18, 62, 104, 0) 72%),
    radial-gradient(ellipse 42% 36% at 94% 84%, rgba(158, 201, 234, 0.5) 0%, rgba(158, 201, 234, 0) 70%),
    radial-gradient(ellipse 46% 40% at 46% 48%, rgba(36, 94, 146, 0.45) 0%, rgba(36, 94, 146, 0) 72%),
    #0a2540;
}
.hero-bg svg { display: none; }
.hero-mark {
  position: absolute;
  right: 4%;
  top: 54%;
  transform: translateY(-50%);
  width: min(460px, 38vw);
  height: auto;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0) invert(1);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-text { max-width: 640px; }
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #d7ebf8;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ===== Sections ===== */
.section {
  padding: 90px 0;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== About ===== */
.about { background: var(--bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.about-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: -8px 0 16px;
}
.about-photo,
.about-photo-slot {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
}
.about-photo {
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center 32%;
  margin: 0;
}
.about-photo-lab { object-position: center 58%; }
.about-photo-right {
  grid-column: 1 / -1;
  aspect-ratio: 1;
  height: auto;
  object-position: right center;
}
.about-photo-cerec {
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.about-photo-slot {
  background: var(--bg-alt);
}
.about-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-alt);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.service-card:hover {
  background: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.service-photo {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 14px;
}
.service-photo-fill {
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ===== Team ===== */
.team { background: var(--bg-alt); }
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: none;
  margin: 0;
  height: 100%;
}
.team-card .team-info {
  width: 100%;
}
.team-leads > .team-card .team-info {
  max-width: 640px;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.team-leads {
  display: grid;
  gap: 16px;
}
.team-named {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
  min-width: 0;
}
.team-leads,
.about-grid,
.services-grid,
.about-photos,
.team-grid,
.contact-grid {
  min-width: 0;
}
.team-card,
.about-card,
.service-card,
.team-mini {
  min-width: 0;
  max-width: 100%;
}
.team-leads .team-avatar {
  width: 200px;
  height: 250px;
}
.team-avatar-pinto,
.team-avatar-escobar,
.team-avatar-ale,
.team-avatar-bea,
.team-avatar-segu {
  width: 168px;
  height: 210px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.16);
  border: 3px solid #fff;
  outline: 1px solid rgba(10, 37, 64, 0.14);
}
.team-avatar {
  flex-shrink: 0;
  width: 280px;
  height: 320px;
  border-radius: 16px;
  background: transparent;
  overflow: hidden;
}
.team-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-role {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.team-info p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.team-card-portrait .team-info p {
  line-height: 1.6;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}
.team-tags span {
  padding: 5px 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 50px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  align-items: stretch;
}
.team-mini {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.team-mini h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.team-mini .team-role { margin-bottom: 8px; }
.team-mini p:last-child {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 72px 0;
  text-align: center;
  color: #fff;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.cta p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-item a {
  color: var(--primary);
  font-weight: 500;
}
.contact-item a:hover { text-decoration: underline; }
.contact-form {
  background: var(--bg-alt);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,138,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: #061828;
  color: rgba(255,255,255,0.85);
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand .logo strong { color: #7eb8e0; }
.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.75;
  max-width: 280px;
}
.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-links a {
  display: block;
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 8px;
  transition: opacity var(--transition);
}
.footer-links a:hover { opacity: 1; }
.footer-contact p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #7eb8e0;
  font-weight: 500;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}
.footer-resolution {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-resolution img {
  width: min(440px, 100%);
  height: auto;
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.6;
}
.visit-count {
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.visit-count strong {
  font-weight: 600;
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: var(--shadow);
    z-index: 999;
  }
  .nav.open {
    display: flex;
  }
  .nav-link { width: 100%; text-align: center; padding: 12px; color: var(--text-muted); }
  .nav-link:hover,
  .nav-link.active { color: var(--primary); background: var(--primary-light); }
  .menu-toggle { display: flex; flex-shrink: 0; }
  .header-cta { display: inline-flex; }
  .header-inner { height: 72px; gap: 8px; }
  .logo { min-width: 0; flex: 1; gap: 8px; }
  .logo-img { width: auto; height: 52px; flex-shrink: 0; }
  .logo-text { font-size: 1.15rem; white-space: nowrap; }
  .header-cta {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    gap: 0;
  }
  .header-cta svg { width: 20px; height: 20px; }
  .hero { min-height: auto; padding: 110px 0 60px; }
  .hero-stats { gap: 24px; }
  .hero-mark {
    width: 240px;
    right: auto;
    left: 50%;
    top: 58%;
    opacity: 0.1;
    transform: translate(-50%, -50%);
  }
  .team-leads { grid-template-columns: 1fr; }
  .team-named { grid-template-columns: 1fr 1fr; }
  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }
  .team-tags { justify-content: center; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .contact-form { padding: 28px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 280px; }
}


/* ===== WhatsApp green buttons ===== */
.btn-whatsapp {
  background: #25D366 !important;
  color: #fff !important;
  border-color: #25D366 !important;
}
.btn-whatsapp:hover {
  background: #1da851 !important;
  border-color: #1da851 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp svg {
  fill: currentColor;
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: wa-pulse 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}
@keyframes wa-pulse {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0.15); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
}
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}

/* ===== Google Maps embed ===== */
.map-embed {
  margin-top: 8px;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  justify-content: flex-start;
}

.logo-img {
  width: auto;
  height: 72px;
  object-fit: contain;
  border-radius: 0;
  filter: brightness(0) invert(1);
}
.hero-logo {
  display: block;
  width: min(340px, 78vw);
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
  border-radius: 0;
  filter: brightness(0) invert(1);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.35);
  transform-origin: center 32%;
  display: block;
}
.team-avatar.team-avatar-pinto img {
  object-position: center 22%;
  transform: none;
}
.team-avatar.team-avatar-escobar img {
  object-position: center top;
  transform: scale(1.08);
  transform-origin: center top;
}
.team-avatar.team-avatar-ale img,
.team-avatar.team-avatar-bea img {
  object-position: center 22%;
  transform: none;
}
.team-avatar.team-avatar-segu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
}
.team-avatar.team-avatar-bea img {
  object-position: center 18%;
  transform: none;
}
.team-card-portrait {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-card-portrait .team-info {
  width: 100%;
}
.team-card-portrait .team-info p {
  line-height: 1.6;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 901px) {
  .team-named {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-card-portrait .team-info p {
    font-size: 1.02rem;
  }
}
.team-card-portrait .team-tags {
  justify-content: center;
}
.footer-brand .logo-img {
  width: auto;
  height: 88px;
  filter: brightness(0) invert(1);
  opacity: 1;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.footer-brand .logo-text {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.footer-brand .logo-text strong {
  color: #7eb8e0;
  font-weight: 700;
}

@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .section-header { margin-bottom: 32px; }
  .about-grid,
  .services-grid,
  .team-named,
  .team-grid,
  .footer-inner { grid-template-columns: 1fr; }
  .about-card:has(.about-photos) { grid-column: auto; }
  .about-card { padding: 22px 18px; }
  .about-photos { grid-template-columns: 1fr 1fr; max-width: none; }
  .about-photo,
  .about-photo-slot { aspect-ratio: 1; }
  .about-photo-right { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .hero { padding: 92px 0 44px; }
  .hero h1 { font-size: clamp(1.85rem, 8.2vw, 2.35rem); }
  .hero-lead { font-size: 1rem; margin-bottom: 22px; }
  .hero-actions { margin-bottom: 28px; }
  .hero-stats { gap: 14px 22px; }
  .team-leads .team-avatar { width: min(200px, 70vw); height: 240px; }
  .contact-form { padding: 22px 16px; }
  .map-embed iframe { height: 210px; }
  .cta { padding: 52px 0; }
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
}
@media (hover: none) {
  .about-card:hover,
  .service-card:hover,
  .team-card:hover { transform: none; }
}
.whatsapp-float {
  bottom: max(20px, env(safe-area-inset-bottom));
  right: max(16px, env(safe-area-inset-right));
}

@media (min-width: 681px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-card:has(.about-photos) { grid-column: 1 / -1; }
  .about-photos {
    grid-template-columns: repeat(5, 1fr);
    max-width: none;
    margin-top: 0;
  }
  .about-photo,
  .about-photo-slot,
  .about-photo-right {
    aspect-ratio: 4 / 3;
    grid-column: auto;
    height: auto;
  }
}
@media (min-width: 1100px) {
  .about-card:has(.about-photos) .about-photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .about-card:has(.about-photos) .about-photo,
  .about-card:has(.about-photos) .about-photo-slot,
  .about-card:has(.about-photos) .about-photo-right {
    width: calc((100% - 24px) / 3);
    aspect-ratio: 1;
    grid-column: auto;
  }
}
.team-avatar-initials {
  width: 168px;
  height: 210px;
  margin: 0 auto;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.16);
}

@media (max-width: 900px) {
  .header-inner { height: 68px; }
  .nav { top: 68px; }
  .logo { flex: 1 1 auto; gap: 8px; min-width: 0; }
  .logo-lockup { display: none; }
  .logo-mark {
    display: block;
    height: 44px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
  }
  .logo-text {
    display: block;
    font-size: clamp(0.95rem, 3.6vw, 1.12rem);
    line-height: 1.05;
    white-space: nowrap;
    color: #fff;
  }
  .logo-text strong { color: #fff; }
  .hero-logo {
    width: min(300px, 84vw);
    margin-left: 0;
    margin-bottom: 20px;
  }
  .hero-mark { width: 160px; opacity: 0.07; }
  .footer-brand .logo-img {
    height: 78px;
    max-width: 220px;
    padding: 0;
    background: transparent;
  }
}
