/* =========================================================
   Laptop Expert · Aleksandar Electronics LLC — redesign
   ========================================================= */

:root {
  --bg: #0b1220;
  --bg-elevated: #111a2e;
  --bg-card: #141f36;
  --bg-alt: #0e1628;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(56, 189, 248, 0.35);
  --text: #e8eef9;
  --text-muted: #9aacc6;
  --text-soft: #6b7f9c;
  --accent: #38bdf8;
  --accent-2: #22d3ee;
  --accent-deep: #0ea5e9;
  --success: #34d399;
  --danger: #f87171;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe57;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", var(--font);
  --max: 1120px;
  --transition: 0.22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-2);
}

strong {
  font-weight: 600;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--accent);
  color: #041018;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.text-accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 55%, #a5f3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-2));
  color: #041018;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.28);
}

.btn-primary:hover {
  color: #041018;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.4);
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--accent-2);
  background: rgba(56, 189, 248, 0.06);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #04210f;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #04210f;
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 18, 32, 0.94);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  min-width: 0;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  color: var(--accent);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent) !important;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.nav-cta:hover {
  background: rgba(56, 189, 248, 0.2) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  max-width: 640px;
  max-height: 640px;
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22), transparent 65%);
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-lead strong {
  color: var(--text);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  list-style: none;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.hero-card {
  background: linear-gradient(160deg, rgba(20, 31, 54, 0.95), rgba(17, 26, 46, 0.98));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 1rem;
}

.status-pill.is-closed {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.25);
  color: var(--danger);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
  animation: pulse 2s ease infinite;
}

.status-pill.is-closed .status-dot {
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
  animation: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero-card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.hero-meta {
  margin: 0 0 1.25rem;
}

.hero-meta > div {
  padding: 0.7rem 0;
  border-top: 1px solid var(--border);
}

.hero-meta dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  margin-bottom: 0.2rem;
}

.hero-meta dd {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.hero-meta a {
  color: var(--text);
}

.hero-meta a:hover {
  color: var(--accent);
}

/* Workshop showcase */
.showcase {
  padding: 0 0 clamp(2.5rem, 6vw, 3.5rem);
}

.showcase-inner {
  position: relative;
}

.showcase-figure {
  margin: 0;
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-card);
  aspect-ratio: 16 / 9;
  max-height: 480px;
}

.showcase-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  transition: transform 0.6s ease;
}

.showcase-figure:hover img {
  transform: scale(1.03);
}

.showcase-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(
    to top,
    rgba(7, 12, 22, 0.92) 0%,
    rgba(7, 12, 22, 0.72) 55%,
    transparent 100%
  );
  color: var(--text);
}

.showcase-caption h2 {
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  margin-bottom: 0.4rem;
  max-width: 28ch;
}

.showcase-caption p {
  margin: 0;
  max-width: 48ch;
  font-size: 0.95rem;
  color: rgba(232, 238, 249, 0.85);
}

.showcase-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

@media (max-width: 560px) {
  .showcase-figure {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .showcase-caption p {
    font-size: 0.88rem;
  }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* Uniform service photos — same crop frame on every card */
.service-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a101c;
  border-bottom: 1px solid var(--border);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.04);
}

/* Subtle top-edge polish so bright photos settle into dark UI */
.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(11, 18, 32, 0.08) 0%,
    transparent 35%,
    rgba(11, 18, 32, 0.12) 100%
  );
}

.service-body {
  padding: 1.35rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-body > p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent);
  margin-bottom: 1rem;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip-list li {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Repair tabs */
.repair-tabs {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow: hidden;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.tab-btn:hover {
  color: var(--text);
  border-color: rgba(56, 189, 248, 0.3);
}

.tab-btn.is-active {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--accent-2);
}

.tab-panel[hidden] {
  display: none;
}

.repair-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.repair-item {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(11, 18, 32, 0.55);
  border: 1px solid var(--border);
}

.repair-item h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.repair-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
}

.feature-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* Process */
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
}

.step-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-2));
  color: #041018;
  margin-bottom: 1rem;
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.95rem;
}

/* Location */
.location-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: stretch;
}

.address-block {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  line-height: 1.55;
}

.address-block strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.35rem;
}

.contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--border);
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.contact-list a {
  color: var(--text);
  font-weight: 500;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-wrap {
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-intro {
  margin-bottom: 0;
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

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

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.65);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-soft);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.form-field select {
  cursor: pointer;
}

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

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--danger);
}

.field-error {
  display: block;
  min-height: 1.1em;
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.25rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.25rem 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-check input {
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.form-status {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 1.3em;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Footer */
.site-footer {
  background: #070c16;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.95rem;
}

.footer-legal {
  margin-top: 0.75rem;
  max-width: 32rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.footer-cols h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  margin-bottom: 0.85rem;
}

.footer-cols ul {
  list-style: none;
}

.footer-cols li {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-cols a {
  color: var(--text-muted);
}

.footer-cols a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.1rem 0;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* Floating WhatsApp */
.fab-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform var(--transition), background var(--transition);
}

.fab-whatsapp:hover {
  color: #fff;
  background: var(--whatsapp-dark);
  transform: scale(1.06);
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner,
  .location-layout,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .repair-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 300px;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: flex;
  }

  .header-actions .btn-whatsapp {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(11, 18, 32, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    border-bottom: none !important;
  }

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

  .logo-text span {
    max-width: 140px;
  }
}

@media (max-width: 560px) {
  .form-row,
  .features-grid,
  .repair-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1rem 1.5rem;
  }

  .tab-list {
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
