@import url("shared.css");

/* Laptop Repair Specific Styling */
.repair-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 52px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.repair-hero h1 {
  font-size: clamp(2.7rem, 4.45vw, 4.4rem);
  margin-bottom: 20px;
  color: #0f0e17;
}
.repair-hero h1 em {
  font-style: normal;
  color: var(--pink);
}
.hero-kicker {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--violet);
  margin-bottom: 16px;
}
.repair-hero .lead {
  font-size: 1.15rem;
  color: #0f0e17;
  line-height: 1.65;
  margin-bottom: 26px;
}
.repair-hero .microcopy {
  font-size: 0.92rem;
  color: #0f0e17;
  margin-top: 14px;
  font-weight: 600;
}

.repair-hero-art {
  height: 480px;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: #f5edf4;
  box-shadow: 0 14px 40px rgba(39, 16, 46, 0.12);
}
.repair-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Problem Grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.problem-card {
  position: relative;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.problem-card:hover {
  border-color: #d8bcd1;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.problem-number {
  position: absolute;
  right: 22px;
  top: 22px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--pink);
}
.problem-symbol {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: #f8eaf3;
  border-radius: 14px;
  color: var(--pink);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.problem-card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
  color: #0f0e17;
  font-weight: 700;
}
.problem-card p {
  font-size: 1rem;
  color: #0f0e17;
  line-height: 1.6;
}

/* Technical Expertise & Motherboard */
.expertise-section {
  padding-block: 85px;
  background: #faf7fa;
  border-block: 1px solid var(--line);
}
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8%;
}
.expertise-grid > div:first-child > p:not(.eyebrow) {
  color: #0f0e17;
  font-size: 1.08rem;
  line-height: 1.68;
}
.check-list {
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 13px 0 13px 36px;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f0e17;
}
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #15803d;
  font-weight: 900;
  font-size: 1.25rem;
}
.expertise-photo {
  min-height: 480px;
  height: 100%;
  background: #e4dce6;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(39, 16, 46, 0.12);
}
.expertise-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Repair Process */
.process-section {
  padding-block: 85px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
}
.process-grid li {
  position: relative;
  border-top: 3px solid #d9c8d9;
  padding-top: 24px;
}
.process-grid li:before {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  top: -7.5px;
  left: 0;
  background: var(--pink);
  border-radius: 50%;
}
.process-grid li span {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--pink);
}
.process-grid li h3 {
  font-size: 1.22rem;
  margin: 14px 0 9px;
  color: #0f0e17;
  font-weight: 700;
}
.process-grid li p {
  font-size: 1rem;
  color: #0f0e17;
  line-height: 1.6;
}
.process-note {
  font-size: 0.94rem;
  color: #0f0e17;
  margin-top: 24px;
  font-weight: 600;
}

/* Documented Work Stories / Case Studies */
.stories-section {
  background: #faf7fa;
  border-block: 1px solid var(--line);
  padding-block: 85px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.story-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(39, 16, 46, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.story-photo {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #e9e1e9;
}
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-grid article > div:last-child {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.story-grid article span.case-tag {
  color: var(--pink);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}
.story-grid h3 {
  font-size: 1.28rem;
  margin: 4px 0 10px;
  color: #0f0e17;
  font-weight: 700;
}
.story-grid p {
  font-size: 0.98rem;
  color: #0f0e17;
  line-height: 1.62;
  flex: 1;
}
.review-slot {
  margin-top: 24px;
  border: 1px dashed #cbb9cb;
  border-radius: 16px;
  padding: 22px 24px;
  background: #fff;
  display: flex;
  gap: 16px;
  align-items: center;
}
.review-slot strong {
  font-size: 0.98rem;
  color: var(--violet);
  font-weight: 800;
}
.review-slot span {
  font-size: 0.92rem;
  color: #0f0e17;
  font-weight: 600;
}

/* AMC Section */
.amc-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding-block: 80px;
}
.amc-section .eyebrow {
  margin-bottom: 12px;
}
.amc-section h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 10px;
  color: #0f0e17;
}
.amc-section p:not(.eyebrow) {
  font-size: 1.06rem;
  color: #0f0e17;
  max-width: 720px;
  line-height: 1.65;
}
.amc-section .button {
  white-space: nowrap;
}

/* Visit Section */
.visit-section {
  padding-block: 85px;
  background: var(--violet);
  color: #fff;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.visit-grid h2 {
  color: #fff;
  margin-bottom: 14px;
}
.visit-grid p {
  color: #f1e9f2;
  font-size: 1.05rem;
  line-height: 1.65;
}
.visit-detail {
  margin-top: 20px;
}
.visit-detail span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #e5b3dc;
  font-weight: 800;
  margin-bottom: 4px;
}
.visit-detail strong {
  font-size: 1.08rem;
  line-height: 1.5;
  color: #fff;
}
.visit-note {
  font-size: 0.9rem !important;
  color: #e5b3dc !important;
  margin-top: 18px;
}
.map-placeholder {
  min-height: 420px;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
  background: #25092d;
  position: relative;
}
.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FAQs */
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}
.faq-list summary {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f0e17;
  cursor: pointer;
}
.faq-list p {
  margin-top: 12px;
  font-size: 1.02rem;
  color: #0f0e17;
  line-height: 1.65;
}

/* Floating WhatsApp Button */
.floating-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  background: #078c62;
  color: #fff;
  border-radius: 999px;
  padding: 14px 22px;
  box-shadow: 0 14px 30px rgba(0, 70, 50, 0.25);
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 0.2s, transform 0.2s;
}
.floating-wa:hover {
  background: #056e4d;
  transform: translateY(-2px);
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .repair-hero {
    gap: 32px;
  }
  .repair-hero-art {
    height: 420px;
  }
  .expertise-grid {
    gap: 5%;
  }
  .expertise-photo {
    min-height: 420px;
  }
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-grid article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .repair-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 50px;
  }
  .repair-hero h1 {
    font-size: clamp(2.4rem, 8vw, 3.4rem);
  }
  .repair-hero-art {
    height: 340px;
  }
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expertise-section, .stories-section, .process-section, .visit-section {
    padding-block: 60px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .expertise-photo {
    min-height: 320px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-grid article:last-child {
    grid-column: auto;
  }
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .map-placeholder {
    min-height: 300px;
  }
  .amc-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 50px;
  }
  .amc-section .button {
    width: max-content;
  }
  .floating-wa {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 520px) {
  .repair-hero-art {
    height: 280px;
  }
  .problem-grid, .process-grid, .story-grid {
    grid-template-columns: 1fr;
  }
  .problem-card {
    min-height: 0;
  }
  .expertise-photo {
    min-height: 260px;
  }
  .story-photo {
    height: 180px;
  }
  .review-slot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .amc-section .button {
    width: 100%;
    text-align: center;
  }
}




.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.02);
  opacity: 0.95;
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 38px;
    max-width: 145px;
  }
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand .brand-logo-img {
  height: 44px;
  max-width: 175px;
  margin-bottom: 8px;
}

/* ENFORCED PROPER LOGO SIZING (NEVER PERMIT BLOWN UP INTRINSIC DIMENSIONS) */
.site-header .brand,
.brand-logo-wrap {
  display: inline-flex !important;
  align-items: center !important;
  height: 52px !important;
  max-height: 52px !important;
  text-decoration: none !important;
}

.brand-logo-img {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 175px !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.02);
  opacity: 0.95;
}

@media (max-width: 768px) {
  .site-header .brand,
  .brand-logo-wrap {
    height: 40px !important;
    max-height: 40px !important;
  }
  .brand-logo-img {
    height: 38px !important;
    max-height: 38px !important;
    max-width: 140px !important;
  }
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand .brand-logo-img {
  height: 44px !important;
  max-height: 44px !important;
  max-width: 160px !important;
  margin-bottom: 8px !important;
}
