/*
Theme Name: PrimeTech Astra Child
Theme URI: https://www.primetechappliance.repair/
Description: Astra child theme for PrimeTech Appliance Repair redesign.
Author: PrimeTech
Template: astra
Version: 1.2.0
Text Domain: prime-tech-astra-child
*/

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --pt-navy:    #0b1220;
  --pt-navy-2:  #111b2e;
  --pt-blue:    #1d4ed8;
  --pt-blue-2:  #2563eb;
  --pt-blue-3:  #3b82f6;
  --pt-sky:     #eff6ff;
  --pt-bg-alt:  #f5f8ff;
  --pt-text:    #172033;
  --pt-muted:   #64748b;
  --pt-line:    #e2e8f0;
  --pt-white:   #ffffff;
  --pt-radius:  20px;
  --pt-radius-sm: 12px;
  --pt-shadow:  0 20px 48px rgba(15, 23, 42, 0.10);
  --pt-shadow-sm: 0 6px 20px rgba(15, 23, 42, 0.07);
  --pt-max:     1180px;
  --pt-transition: 160ms ease;
}

/* ─── Base ──────────────────────────────────────────────────── */
body {
  color: var(--pt-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a { text-underline-offset: 3px; }

.ast-container,
.site-content .ast-container {
  max-width: var(--pt-max);
}

.pt-home { overflow: hidden; }

/* ─── Sections ──────────────────────────────────────────────── */
.pt-section {
  padding: 80px 20px;
}

.pt-alt-section {
  background: var(--pt-bg-alt);
}

.pt-section-inner {
  max-width: var(--pt-max);
  margin: 0 auto;
}

.pt-section-header {
  max-width: 700px;
  margin: 0 auto 52px;
  text-align: center;
}

.pt-section-header .pt-lead {
  margin-top: 14px;
}

/* ─── Typography ─────────────────────────────────────────────── */
.pt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--pt-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pt-h1,
.pt-h2,
.pt-h3 {
  color: var(--pt-navy);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.pt-h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 900;
  font-style: normal;
}

.pt-h1-em {
  font-style: italic;
  color: var(--pt-blue-2);
}

.pt-h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 850;
}

.pt-h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pt-lead {
  margin: 0;
  color: var(--pt-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.pt-muted { color: var(--pt-muted); }

/* ─── Buttons ────────────────────────────────────────────────── */
.pt-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pt-button-row-center {
  justify-content: center;
}

.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: transform var(--pt-transition), box-shadow var(--pt-transition), background var(--pt-transition), border-color var(--pt-transition);
  cursor: pointer;
}

.pt-btn:hover { transform: translateY(-2px); }
.pt-btn:active { transform: translateY(0); }

.pt-btn-primary {
  color: #fff !important;
  background: var(--pt-blue-2);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.30);
}
.pt-btn-primary:hover {
  background: var(--pt-blue);
  color: #fff !important;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.38);
}

.pt-btn-outline {
  color: var(--pt-navy) !important;
  background: transparent;
  border-color: rgba(15, 23, 42, 0.18);
}
.pt-btn-outline:hover {
  color: var(--pt-navy) !important;
  border-color: rgba(15, 23, 42, 0.36);
  background: rgba(15, 23, 42, 0.04);
}

.pt-btn-white {
  color: var(--pt-blue-2) !important;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.pt-btn-white:hover {
  color: var(--pt-blue) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.20);
}

.pt-btn-outline-white {
  color: #fff !important;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.40);
}
.pt-btn-outline-white:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.10);
}

/* ─── Lists ──────────────────────────────────────────────────── */
.pt-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pt-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

.pt-list li::before {
  content: "";
  display: block;
  flex: 0 0 18px;
  height: 18px;
  margin-top: 1px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.pt-list-navy li {
  color: var(--pt-text);
}

.pt-list-navy li::before {
  background-color: rgba(37, 99, 235, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ─── Hero ───────────────────────────────────────────────────── */
.pt-hero {
  position: relative;
  padding: 96px 20px 60px;
  background:
    radial-gradient(ellipse at 75% 10%, rgba(37, 99, 235, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 25% 90%, rgba(59, 130, 246, 0.07) 0%, transparent 45%),
    linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
}

.pt-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 52px;
  align-items: start;
  max-width: var(--pt-max);
  margin: 0 auto;
}


.pt-hero-content { }

.pt-hero-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--pt-muted);
}

.pt-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pt-hero-card-dark,
.pt-hero-card-light {
  padding: 26px;
  border-radius: 24px;
}

.pt-hero-card-dark {
  background: var(--pt-navy);
  color: #fff;
  box-shadow: var(--pt-shadow);
}

.pt-hero-card-light {
  background: #fff;
  border: 1px solid var(--pt-line);
  box-shadow: var(--pt-shadow-sm);
}

.pt-card-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.pt-card-label-dark {
  color: var(--pt-muted);
}

.pt-phone-large {
  display: block;
  margin: 2px 0 0;
  color: #fff !important;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-decoration: none !important;
  transition: opacity var(--pt-transition);
}

.pt-phone-large:hover { opacity: 0.85; }

.pt-hero-card-dark .pt-btn-white {
  margin-top: 20px;
  width: 100%;
}

/* ─── Hero blurred background ────────────────────────────────── */
.pt-hero-has-bg {
  background: var(--pt-navy) !important;
  overflow: hidden;
}

.pt-hero-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center top;
  filter: blur(18px);
  transform: scale(1.08);
  z-index: 0;
  opacity: 0.55;
}

.pt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(11, 18, 32, 0.82) 0%,
    rgba(11, 18, 32, 0.65) 55%,
    rgba(11, 18, 32, 0.50) 100%
  );
  z-index: 1;
}

.pt-hero-has-bg .pt-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 20px;
}

.pt-hero-has-bg .pt-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.20);
}

.pt-hero-has-bg .pt-h1 {
  color: #fff;
}

.pt-hero-has-bg .pt-h1-em {
  color: var(--pt-blue-3);
}

.pt-hero-has-bg .pt-lead {
  color: rgba(255, 255, 255, 0.78);
}

.pt-hero-has-bg .pt-btn-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.pt-hero-has-bg .pt-btn-outline:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.14);
}

.pt-hero-has-bg .pt-hero-note {
  color: rgba(255, 255, 255, 0.52);
}

/* ─── Trust bar ──────────────────────────────────────────────── */
.pt-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--pt-max);
  margin: -28px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.pt-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius-sm);
  background: #fff;
  box-shadow: var(--pt-shadow-sm);
}

.pt-trust-icon {
  flex: 0 0 auto;
  color: var(--pt-blue-2);
}

.pt-trust-item > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pt-trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--pt-navy);
  line-height: 1.2;
}

.pt-trust-item span {
  display: block;
  font-size: 12px;
  color: var(--pt-muted);
}

/* ─── Services grid ──────────────────────────────────────────── */
.pt-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pt-service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1.5px solid var(--pt-line);
  border-radius: var(--pt-radius);
  background: #fff;
  box-shadow: var(--pt-shadow-sm);
  transition: transform var(--pt-transition), box-shadow var(--pt-transition), border-color var(--pt-transition);
}

.pt-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pt-shadow);
  border-color: rgba(37, 99, 235, 0.20);
}

.pt-service-card-premium {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(135deg, #f0f6ff 0%, #fff 100%);
}

.pt-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--pt-sky);
  color: var(--pt-blue-2);
  margin-bottom: 18px;
  transition: background var(--pt-transition), color var(--pt-transition);
}

.pt-service-icon svg {
  width: 28px;
  height: 28px;
}

.pt-service-card:hover .pt-service-icon {
  background: var(--pt-blue-2);
  color: #fff;
}

.pt-service-card .pt-h3 {
  margin-bottom: 10px;
}

.pt-service-card p {
  margin: 0 0 20px;
  color: var(--pt-muted);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

.pt-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pt-blue-2) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: gap var(--pt-transition);
}

.pt-service-link:hover { gap: 10px; }

/* ─── How it works ───────────────────────────────────────────── */
.pt-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 12px;
}

.pt-step {
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--pt-radius);
  background: #fff;
  border: 1px solid var(--pt-line);
  box-shadow: var(--pt-shadow-sm);
}

.pt-step .pt-h3 {
  margin-top: 16px;
  margin-bottom: 10px;
}

.pt-step p {
  margin: 0;
  color: var(--pt-muted);
  font-size: 15px;
  line-height: 1.6;
}

.pt-step p a {
  color: var(--pt-blue-2);
  font-weight: 700;
}

.pt-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pt-blue-2);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.30);
}

.pt-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 54px;
  color: var(--pt-blue-3);
  opacity: 0.5;
}

/* ─── Benefits (dark section) ────────────────────────────────── */
.pt-dark-section {
  background: var(--pt-navy);
  color: #fff;
}

.pt-dark-section .pt-h2,
.pt-dark-section .pt-h3 {
  color: #fff;
}

.pt-dark-section .pt-lead {
  color: rgba(255, 255, 255, 0.65);
}

.pt-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pt-benefit {
  padding: 28px;
  border-radius: var(--pt-radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--pt-transition);
}

.pt-benefit:hover {
  background: rgba(255, 255, 255, 0.10);
}

.pt-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.25);
  color: var(--pt-blue-3);
  margin-bottom: 18px;
}

.pt-benefit .pt-h3 {
  color: #fff;
  margin-bottom: 10px;
}

.pt-benefit p {
  margin: 0;
  color: rgba(255, 255, 255, 0.60);
  font-size: 15px;
  line-height: 1.6;
}

/* ─── Service areas ──────────────────────────────────────────── */
.pt-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.pt-area-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius-sm);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--pt-navy);
  transition: border-color var(--pt-transition), background var(--pt-transition);
}

.pt-area-item:hover {
  border-color: rgba(37, 99, 235, 0.25);
  background: var(--pt-sky);
}

.pt-area-item svg {
  flex: 0 0 auto;
  color: var(--pt-blue-2);
}

.pt-areas-note {
  margin: 24px 0 0;
  font-size: 15px;
  color: var(--pt-muted);
  text-align: center;
}

.pt-areas-note a {
  color: var(--pt-blue-2);
  font-weight: 700;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.pt-faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.pt-faq-list details {
  padding: 0;
  border: 1.5px solid var(--pt-line);
  border-radius: var(--pt-radius-sm);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--pt-transition);
}

.pt-faq-list details[open] {
  border-color: rgba(37, 99, 235, 0.25);
}

.pt-faq-list summary {
  padding: 20px 24px;
  cursor: pointer;
  color: var(--pt-navy);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.4;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.pt-faq-list summary::-webkit-details-marker { display: none; }

.pt-faq-list summary::after {
  content: "";
  display: block;
  flex: 0 0 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 200ms ease;
}

.pt-faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.pt-faq-list details p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--pt-muted);
  font-size: 15px;
  line-height: 1.65;
}

.pt-faq-list details p a {
  color: var(--pt-blue-2);
  font-weight: 700;
}

/* ─── Final CTA ──────────────────────────────────────────────── */
.pt-cta-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--pt-navy-2) 0%, #0f2050 100%);
  position: relative;
  overflow: hidden;
}

.pt-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37, 99, 235, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.pt-cta-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.pt-cta-heading {
  color: #fff !important;
}

.pt-cta-lead {
  color: rgba(255, 255, 255, 0.70) !important;
  margin-top: 14px;
}

/* ─── Mobile sticky CTA ──────────────────────────────────────── */
.pt-sticky-call { display: none; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pt-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 10px;
  }

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

  .pt-step-arrow {
    padding-top: 0;
    transform: rotate(90deg);
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .pt-hero {
    padding-top: 64px;
  }

  .pt-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .pt-areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .pt-section {
    padding: 60px 18px;
  }

  .pt-cta-section {
    padding: 72px 18px;
  }

  .pt-hero {
    padding: 56px 18px 40px;
  }

  .pt-h1 {
    font-size: 40px;
  }

  .pt-button-row {
    flex-direction: column;
  }

  .pt-btn {
    width: 100%;
  }

  .pt-trust-bar {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

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

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

  .pt-hero-card-dark,
  .pt-hero-card-light {
    padding: 20px;
    border-radius: 18px;
  }

  .pt-sticky-call {
    display: flex;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    border-radius: 999px;
    background: var(--pt-blue-2);
    color: #fff !important;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.40);
  }

  body {
    padding-bottom: 76px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   APPOINTMENT PAGE — NEW SIMPLIFIED LAYOUT
═══════════════════════════════════════════════════════════════ */

.pt-appt-hero {
  padding: 80px 20px 56px;
  text-align: center;
  background:
    radial-gradient(ellipse at 60% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
}

/* Hero content */
.pt-appt-h1 { margin-top: 18px; }

.pt-appt-lead {
  max-width: 540px;
  margin: 0 auto;
}

.pt-appt-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.pt-appt-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--pt-line);
  box-shadow: var(--pt-shadow-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--pt-navy);
}

.pt-appt-badge svg { color: var(--pt-blue-2); flex: 0 0 auto; }

/* Body — centered single column */
.pt-appt-body {
  padding: 48px 20px 80px;
  background: var(--pt-bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Call alternative strip */
.pt-appt-or-call {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--pt-muted);
  flex-wrap: wrap;
  justify-content: center;
}

.pt-appt-or-call a {
  color: var(--pt-blue-2) !important;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none !important;
}

.pt-appt-hours {
  color: var(--pt-muted);
  font-size: 13px;
}

/* Form card */
.pt-appt-form-card {
  width: 100%;
  max-width: 680px;
  background: #fff;
  border: 1.5px solid var(--pt-line);
  border-radius: var(--pt-radius);
  box-shadow: var(--pt-shadow);
  overflow: hidden;
}

.pt-appt-form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--pt-line);
  font-size: 16px;
  font-weight: 800;
  color: var(--pt-navy);
}

.pt-appt-form-header svg { color: var(--pt-blue-2); }

.pt-appt-form-body {
  padding: 28px;
}

/* CF7 form styles */
.pt-appt-form-body .wpcf7-form {
  display: block;
}

.pt-appt-form-body .wpcf7-form p {
  margin: 0 0 16px;
}

.pt-appt-form-body label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.pt-appt-form-body .wpcf7-select,
.pt-appt-form-body .wpcf7-text,
.pt-appt-form-body .wpcf7-email,
.pt-appt-form-body .wpcf7-tel,
.pt-appt-form-body .wpcf7-date,
.pt-appt-form-body .wpcf7-textarea,
.pt-appt-form-body select,
.pt-appt-form-body input[type="text"],
.pt-appt-form-body input[type="email"],
.pt-appt-form-body input[type="tel"],
.pt-appt-form-body textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--pt-line);
  border-radius: var(--pt-radius-sm);
  background: var(--pt-bg-alt);
  color: var(--pt-text);
  font-size: 15px;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--pt-transition), box-shadow var(--pt-transition);
  outline: none;
  box-sizing: border-box;
}

.pt-appt-form-body .wpcf7-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.pt-appt-form-body .wpcf7-select:focus,
.pt-appt-form-body .wpcf7-text:focus,
.pt-appt-form-body .wpcf7-email:focus,
.pt-appt-form-body .wpcf7-tel:focus,
.pt-appt-form-body .wpcf7-textarea:focus,
.pt-appt-form-body select:focus,
.pt-appt-form-body input:focus,
.pt-appt-form-body textarea:focus {
  border-color: var(--pt-blue-2);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.pt-appt-form-body .wpcf7-textarea,
.pt-appt-form-body textarea {
  min-height: 100px;
  resize: vertical;
}

.pt-appt-form-body .wpcf7-submit,
.pt-appt-form-body input[type="submit"] {
  width: 100%;
  min-height: 54px;
  padding: 15px 28px;
  border: none;
  border-radius: 999px;
  background: var(--pt-blue-2);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.28);
  transition: background var(--pt-transition), transform var(--pt-transition), box-shadow var(--pt-transition);
}

.pt-appt-form-body .wpcf7-submit:hover,
.pt-appt-form-body input[type="submit"]:hover {
  background: var(--pt-blue);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.38);
}

.pt-appt-form-body .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
}

.pt-appt-form-body .wpcf7-response-output {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--pt-radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none !important;
}

.pt-appt-form-body .wpcf7-mail-sent-ok { background: #f0fdf4; color: #15803d; }
.pt-appt-form-body .wpcf7-mail-sent-ng,
.pt-appt-form-body .wpcf7-spam-blocked  { background: #fef2f2; color: #dc2626; }
.pt-appt-form-body .wpcf7-validation-errors { background: #fffbeb; color: #92400e; }

/* Info row below form */
.pt-appt-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 680px;
}

.pt-appt-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius-sm);
  box-shadow: var(--pt-shadow-sm);
}

.pt-appt-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pt-sky);
  color: var(--pt-blue-2);
  margin-bottom: 4px;
}

.pt-appt-info-item strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--pt-navy);
}

.pt-appt-info-item span {
  font-size: 13px;
  color: var(--pt-muted);
}

/* Responsive */
@media (max-width: 640px) {
  .pt-appt-hero { padding: 56px 18px 36px; }
  .pt-appt-body  { padding: 28px 16px 60px; }

  .pt-appt-badges { flex-direction: column; align-items: center; }

  .pt-appt-form-body { padding: 20px; }

  .pt-appt-info-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════════ */

.pt-contact-hero {
  padding: 72px 20px 52px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.11) 0%, transparent 60%),
    linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
}

.pt-contact-h1 { margin-top: 16px; }

.pt-contact-lead {
  max-width: 520px;
  margin: 0 auto;
}

/* Body */
.pt-contact-body {
  padding: 48px 20px 80px;
  background: var(--pt-bg-alt);
}

.pt-contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  max-width: var(--pt-max);
  margin: 0 auto;
  align-items: start;
}

/* Map card */
.pt-contact-map-card {
  background: #fff;
  border: 1.5px solid var(--pt-line);
  border-radius: var(--pt-radius);
  box-shadow: var(--pt-shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pt-contact-map-wrap {
  width: 100%;
  height: 380px;
  background: var(--pt-bg);
}
.pt-contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.pt-contact-map-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--pt-muted);
  border-top: 1px solid var(--pt-line);
}
.pt-contact-map-caption svg {
  flex-shrink: 0;
  color: var(--pt-blue);
}

/* Info sidebar */
.pt-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 24px;
}

/* Call card */
.pt-contact-call-card {
  padding: 28px;
  border-radius: var(--pt-radius);
  background: var(--pt-navy);
  box-shadow: var(--pt-shadow);
  text-align: center;
}

.pt-contact-call-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
}

.pt-contact-call-number {
  display: block;
  color: #fff !important;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-decoration: none !important;
  margin-bottom: 20px;
  transition: opacity var(--pt-transition);
}

.pt-contact-call-number:hover { opacity: 0.85; }

.pt-contact-call-btn {
  width: 100%;
  justify-content: center;
}

/* Details card */
.pt-contact-details-card {
  background: #fff;
  border: 1.5px solid var(--pt-line);
  border-radius: var(--pt-radius);
  padding: 8px 0;
  box-shadow: var(--pt-shadow-sm);
}

.pt-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--pt-line);
}

.pt-contact-detail:last-child {
  border-bottom: none;
}

.pt-contact-detail-icon {
  flex: 0 0 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--pt-sky);
  color: var(--pt-blue-2);
  margin-top: 2px;
}

.pt-contact-detail > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pt-contact-detail strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--pt-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pt-contact-detail span {
  font-size: 14px;
  color: var(--pt-muted);
  line-height: 1.4;
}

.pt-contact-detail a {
  font-size: 14px;
  color: var(--pt-blue-2) !important;
  font-weight: 600;
  text-decoration: none !important;
  word-break: break-all;
}

.pt-contact-detail a:hover {
  text-decoration: underline !important;
}

/* Responsive */
@media (max-width: 900px) {
  .pt-contact-grid {
    grid-template-columns: 1fr;
  }

  .pt-contact-info {
    position: static;
    order: -1;
  }

  .pt-contact-call-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    text-align: left;
  }

  .pt-contact-call-number {
    margin-bottom: 0;
  }

  .pt-contact-call-btn {
    width: auto;
  }
}

@media (max-width: 640px) {
  .pt-contact-hero { padding: 52px 18px 36px; }
  .pt-contact-body  { padding: 28px 16px 60px; }

  .pt-contact-call-card {
    flex-direction: column;
    text-align: center;
  }

  .pt-contact-call-btn { width: 100%; }
}
