/*
Theme Name: Electronic Evolution — Logo Fix
Description: Larger hero logo with original lettering and the first lower slogan placement.
Template: electronic-evolution
Version: 1.4.0
Text Domain: electronic-evolution-logo-fix
*/
/* Paste into WordPress Appearance > Customize > Additional CSS. */
.hero .wrap { grid-template-columns: 1.08fr 1fr; gap: 32px; }
.hero-logo { width: 100%; max-width: 560px; }
.hero-logo img { content: url("assets/logo-hero-corrected.svg"); display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  .hero-logo { width: 100%; max-width: 480px; margin-inline: auto; }
}

/* Gallery, header and contact refinements */
header img { width: 190px; height: 112px; }
header { padding-block: 12px; }
#repairs .grid, .ee-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.repair .ee-repair-photo { aspect-ratio: 1 / 1; background: #eef3f2; }
.repair .ee-repair-photo:not(.ee-photo-turn) img {
  inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain;
}
.repair h3 { font-size: 19px; overflow-wrap: anywhere; }
.repair .cardbody { padding: 20px; }
.ee-floating-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 1000;
  display: flex; align-items: center; gap: 9px;
  min-height: 52px; padding: 12px 18px; border-radius: 32px;
  background: #075e54; color: #fff; box-shadow: 0 4px 18px #0003;
  text-decoration: none; font-size: 14px; font-weight: 700;
}
.ee-floating-whatsapp:hover { background: #064b43; }
.ee-floating-whatsapp svg { width: 25px; height: 25px; flex-shrink: 0; }
footer { padding-bottom: 95px; }
@media (min-width: 1100px) {
  #repairs .grid, .ee-archive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 760px) {
  header img { width: 145px; height: 85px; }
  header { gap: 16px; }
  #repairs .grid, .ee-archive-grid { grid-template-columns: 1fr; }
  .repair .ee-repair-photo { aspect-ratio: 4 / 3; }
  .ee-floating-whatsapp { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 12px; }
  .ee-floating-whatsapp span { display: none; }
}
@media (max-width: 420px) {
  header { flex-direction: column; align-items: center; padding-inline: 20px; gap: 10px; }
  header nav { justify-content: center; }
  .hero h1 { letter-spacing: -1px; }
  .buttons .button { min-height: 48px; }
}
