/* ============================================
   POWERHOUSE HCS — SHARED CRO STYLESHEET
   Floating CTAs, Forms, FAQ, City Pages
   ============================================
   Brand Colors:
     Navy:       #003A65
     Dark Navy:  #1a2744
     Blue:       #2EA3F2
     Green:      #b5c33a
     Bg:         #f4f5f7
     Text Light: #666
   Fonts: Inter (body), Sora (headings)
   ============================================ */

/* ============================================
   BASE / RESET HELPERS
   ============================================ */

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

/* ============================================
   1. FLOATING CALL BUTTON (desktop only)
   ============================================ */

.floating-call-btn {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #003A65;
  color: #fff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 58, 101, 0.45);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  animation: pulse-glow 2.8s ease-in-out infinite;
  white-space: nowrap;
}

.floating-call-btn:hover {
  background: #1a2744;
  box-shadow: 0 6px 28px rgba(0, 58, 101, 0.6);
  transform: translateY(-2px);
  animation: none;
}

.floating-call-btn .fcb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #2EA3F2;
  border-radius: 50%;
  flex-shrink: 0;
}

.floating-call-btn .fcb-icon svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

.floating-call-btn .fcb-label {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.floating-call-btn .fcb-label.label-hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%   { box-shadow: 0 4px 20px rgba(0, 58, 101, 0.45); }
  45%  { box-shadow: 0 4px 32px rgba(46, 163, 242, 0.75), 0 0 0 6px rgba(46, 163, 242, 0.15); }
  55%  { box-shadow: 0 4px 32px rgba(46, 163, 242, 0.75), 0 0 0 6px rgba(46, 163, 242, 0.15); }
  100% { box-shadow: 0 4px 20px rgba(0, 58, 101, 0.45); }
}

/* Hide floating button on mobile — sticky bar replaces it */
@media (max-width: 767px) {
  .floating-call-btn {
    display: none !important;
  }
}

/* ============================================
   2. GLOBAL IMG FALLBACK
   ============================================ */

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   3. URGENCY / ANNOUNCEMENT BANNER
   ============================================ */

.urgency-banner {
  background: #c0392b;
  color: #fff;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 44px 9px 16px;
  letter-spacing: 0.01em;
  line-height: 1.4;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

/* Pages with the urgency banner need body padding-top so content
   doesn't hide behind the fixed banner.
   The .phcs-banner-dismissed class is added by shared.js when the user
   closes the banner — it cancels the padding so layout reflows cleanly. */
body:has(.urgency-banner) {
  padding-top: 40px;
}
@media (max-width: 767px) {
  body:has(.urgency-banner) {
    padding-top: 64px;
  }
}
@media (max-width: 480px) {
  body:has(.urgency-banner) {
    padding-top: 72px;
  }
}
body.phcs-banner-dismissed {
  padding-top: 0 !important;
}

.urgency-banner span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
  max-width: 100%;
}

.urgency-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.urgency-banner a:hover {
  opacity: 0.85;
}

.urgency-banner .ub-highlight {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  margin: 0 4px;
}

.urgency-banner-dismiss {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}

.urgency-banner-dismiss:hover,
.urgency-banner-dismiss:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  outline: none;
}

@media (max-width: 480px) {
  .urgency-banner {
    font-size: 13px;
    padding: 8px 38px 8px 12px;
  }
  .urgency-banner-dismiss {
    right: 6px;
    font-size: 16px;
    padding: 5px 8px;
  }
}

/* ============================================
   4. INLINE SERVICE FORM
   ============================================ */

/* .svc-inline-form — campo-level styling only.
   Card visual (bg, border, shadow, padding) is owned by .form-cta-form */
.svc-inline-form {
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.svc-inline-form h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #003A65;
  margin: 0 0 6px;
}

.svc-inline-form .svc-form-subhead {
  font-size: 14px;
  color: #666;
  margin: 0 0 20px;
}

.svc-inline-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) {
  .svc-inline-form .form-row {
    grid-template-columns: 1fr;
  }
}

.svc-inline-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.svc-inline-form label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.svc-inline-form input,
.svc-inline-form select,
.svc-inline-form textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #d4d8e0;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #222;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
}

.svc-inline-form input:focus,
.svc-inline-form select:focus,
.svc-inline-form textarea:focus {
  border-color: #2EA3F2;
  box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.15);
}

.svc-inline-form textarea {
  resize: vertical;
  min-height: 90px;
}

.svc-inline-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.svc-inline-form .btn-submit {
  width: 100%;
  padding: 13px 20px;
  background: #b5c33a;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: 4px;
}

.svc-inline-form .btn-submit:hover {
  background: #003A65;
}

.svc-inline-form .btn-submit:active {
  transform: scale(0.98);
}

.svc-inline-form .btn-submit:disabled {
  background: #aaa;
  cursor: not-allowed;
}

/* Form success state — hidden until JS reveals it */
.form-success {
  display: none;
  text-align: center;
  padding: 24px 16px;
  font-family: 'Inter', sans-serif;
}

.form-success .fs-icon {
  font-size: 44px;
  margin-bottom: 10px;
  line-height: 1;
}

.form-success h4 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  color: #b5c33a;
  margin: 0 0 8px;
}

.form-success p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.form-success.visible {
  display: block;
}

/* ============================================
   6. FORM CTA STRIP
   ============================================ */

/* form-cta-strip styles → see SERVICE PAGE FORM CTA STRIP block below */

/* ============================================
   7. CITY BADGE
   ============================================ */

.city-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(46, 163, 242, 0.12);
  color: #003A65;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 30px;
  border: 1.5px solid rgba(46, 163, 242, 0.3);
}

.city-badge svg {
  width: 13px;
  height: 13px;
  fill: #2EA3F2;
}

/* ============================================
   8. LOCATION HERO
   ============================================ */

.loc-hero {
  background: linear-gradient(135deg, #003A65 0%, #1a2744 100%);
  color: #fff;
  padding: 80px 24px 72px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.loc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232EA3F2' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.loc-hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.loc-hero .city-badge {
  background: rgba(46, 163, 242, 0.18);
  border-color: rgba(46, 163, 242, 0.4);
  color: #fff;
  margin-bottom: 20px;
}

.loc-hero .city-badge svg {
  fill: #2EA3F2;
}

.loc-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.15;
}

.loc-hero h1 span {
  color: #2EA3F2;
}

.loc-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .loc-hero p {
    font-size: 16px;
  }
}

.loc-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.loc-hero-actions .btn-primary {
  background: #b5c33a;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.loc-hero-actions .btn-primary:hover {
  background: #22955e;
  transform: translateY(-1px);
}

.loc-hero-actions .btn-outline {
  background: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 7px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.loc-hero-actions .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================
   9. SERVICE AREA LINKS GRID
   ============================================ */

.loc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 480px) {
  .loc-services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .loc-services-grid a {
    font-size: 13px;
    padding: 12px 10px;
    gap: 8px;
  }
  .loc-services-grid a .lsg-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
}

.loc-services-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid #e0e4ea;
  border-radius: 8px;
  padding: 14px 16px;
  color: #1a2744;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.loc-services-grid a:hover {
  border-color: #2EA3F2;
  box-shadow: 0 3px 14px rgba(46, 163, 242, 0.14);
  color: #003A65;
}

.loc-services-grid a .lsg-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #f4f5f7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.loc-services-grid a:hover .lsg-icon {
  background: rgba(46, 163, 242, 0.1);
}

.loc-services-grid a .lsg-icon svg {
  width: 18px;
  height: 18px;
  fill: #003A65;
}

/* City hub area links */
.area-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 400px) {
  .area-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.area-links-grid a {
  background: #f4f5f7;
  border: 1.5px solid transparent;
  border-radius: 6px;
  padding: 11px 14px;
  color: #003A65;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.area-links-grid a:hover {
  background: #fff;
  border-color: #2EA3F2;
}

/* ============================================
   10. REVIEWS / RATING STARS
   ============================================ */

.rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
}

.rating-bar .rb-stars {
  display: flex;
  gap: 2px;
}

.rating-bar .rb-stars svg {
  width: 18px;
  height: 18px;
}

.rating-bar .rb-stars .star-filled {
  fill: #f5a623;
}

.rating-bar .rb-stars .star-half {
  fill: url(#halfStarGrad);
}

.rating-bar .rb-stars .star-empty {
  fill: #ddd;
}

.rating-bar .rb-score {
  font-size: 16px;
  font-weight: 700;
  color: #1a2744;
  line-height: 1;
}

.rating-bar .rb-count {
  font-size: 13px;
  color: #666;
  line-height: 1;
}

/* Compact inline variant */
.rating-bar.rating-sm .rb-stars svg {
  width: 14px;
  height: 14px;
}

.rating-bar.rating-sm .rb-score {
  font-size: 13px;
}

.rating-bar.rating-sm .rb-count {
  font-size: 12px;
}

/* Centered hero variant */
.rating-bar.rating-hero {
  justify-content: center;
}

.rating-bar.rating-hero .rb-stars svg {
  width: 22px;
  height: 22px;
}

.rating-bar.rating-hero .rb-score {
  font-size: 20px;
  color: #fff;
}

.rating-bar.rating-hero .rb-count {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* Review card grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 480px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: #fff;
  border: 1.5px solid #e0e4ea;
  border-radius: 10px;
  padding: 22px 20px;
  transition: box-shadow 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.review-card .rc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-card .rc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #003A65;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Sora', sans-serif;
}

.review-card .rc-meta {
  flex: 1;
  min-width: 0;
}

.review-card .rc-name {
  font-weight: 700;
  font-size: 14px;
  color: #1a2744;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card .rc-date {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.review-card .rc-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.review-card .rc-stars svg {
  width: 15px;
  height: 15px;
  fill: #f5a623;
}

.review-card .rc-text {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-navy    { color: #003A65; }
.text-blue    { color: #2EA3F2; }
.text-green   { color: #b5c33a; }
.text-light   { color: #666; }
.bg-light     { background: #f4f5f7; }
.bg-navy      { background: #003A65; }
.bg-dark-navy { background: #1a2744; }

.section-pad {
  padding: 72px 24px;
}

@media (max-width: 600px) {
  .section-pad {
    padding: 48px 20px;
  }
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

/* ============================================
   CLASS ALIASES
   HTML uses .floating-call and .mobile-cta-bar
   shared.css defines .floating-call-btn and .mobile-sticky-bar
   These aliases ensure both work.
   ============================================ */

.floating-call {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #003A65;
  color: #fff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,58,101,.45);
  transition: background .25s, transform .2s;
  animation: pulse-glow 2.8s ease-in-out infinite;
  white-space: nowrap;
}

.floating-call:hover {
  background: #1a2744;
  transform: translateY(-2px);
  animation: none;
}

.floating-call svg {
  width: 20px;
  height: 20px;
  fill: #2EA3F2;
  flex-shrink: 0;
}

.floating-call span {
  font-weight: 700;
}

@media (max-width: 767px) {
  .floating-call { display: none !important; }
}

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #003A65;
  padding: 10px 16px;
  box-shadow: 0 -3px 16px rgba(0,0,0,.18);
  gap: 10px;
  align-items: center;
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    display: flex;
  }

  .mobile-cta-bar .cta-row {
    display: contents;
  }

  .mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    min-height: 46px;
  }

  .mobile-cta-bar a:first-child {
    background: #b5c33a;
    color: #003A65;
  }

  .mobile-cta-bar a:last-child {
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.28);
  }

  .mobile-cta-bar svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex-shrink: 0;
  }
}

/* ============================================================
   SERVICE PAGE FORM CTA STRIP — UNIFICADO v2
   Layout: texto (izq) + tarjeta de formulario (der)
   Desktop: 2 columnas | Tablet/Mobile: 1 columna
   ============================================================ */

.form-cta-strip {
  background: linear-gradient(135deg, #1a2744 0%, #003A65 100%);
  padding: 80px 0;
}

/* El .container dentro de form-cta-strip maneja el layout */
.form-cta-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Alias: form-cta-inner (usado por el HTML existente) */
.form-cta-inner {
  display: contents; /* transparente — deja que .container sea el grid */
}

/* ---- Columna izquierda: texto + trust ---- */
.form-cta-text {
  color: #fff;
}

.form-cta-text h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.2;
}

.form-cta-text p {
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 24px;
}

/* Lista de checkmarks */
.form-trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-trust-list li {
  color: rgba(255, 255, 255, .88);
  font-size: .92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-trust-list li svg {
  flex-shrink: 0;
}

/* Badge garantía */
.form-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(0, 58, 101, .4);
  border-left: 3px solid #b5c33a;
  border-radius: 0 6px 6px 0;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
}

.form-guarantee svg {
  flex-shrink: 0;
  fill: #b5c33a;
}

/* ---- Columna derecha: tarjeta de formulario ---- */
.form-cta-form {
  background: #fff;
  border-radius: 12px;
  border-top: 4px solid #b5c33a;
  padding: 28px 28px 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
  width: 100%;
}

/* El phcs-form dentro de form-cta-form hereda el estilo de la tarjeta */
.form-cta-form .phcs-form,
.form-cta-form .svc-inline-form {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  max-width: 100%;
}

/* Labels en fondo blanco (no dark) */
.form-cta-form .phcs-form-group label {
  color: #444;
}

/* Submit button usa verde en este contexto */
.form-cta-form .form-cta-form .phcs-form-submit {
  background: #003A65;
}

.form-cta-form .phcs-form-submit:hover {
  background: #1a2744;
}
/* ---- Form card header (title inside .form-cta-form) ---- */
.form-cta-form__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b5c33a;
  margin: 0 0 6px;
}

.form-cta-form__title {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2744;
  margin: 0 0 4px;
  line-height: 1.25;
}

.form-cta-form__sub {
  font-size: 13px;
  color: #666;
  margin: 0 0 18px;
}


/* ---- Responsive ---- */
@media (max-width: 960px) {
  .form-cta-strip .container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }

  .form-cta-text h2 {
    font-size: 1.7rem;
  }

  .form-cta-form {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .form-cta-strip {
    padding: 56px 0;
  }

  .form-cta-strip .container {
    padding: 0 20px;
  }

  .form-cta-text h2 {
    font-size: 1.5rem;
  }

  .form-cta-form {
    padding: 22px 18px 20px;
    max-width: 100%;
  }

  .phcs-form-row {
    grid-template-columns: 1fr !important;
  }
}

/* ---- Alias legacy: form-cta-strip-inner y cta-text ---- */
.form-cta-strip-inner {
  display: contents;
}

.form-cta-strip .cta-text h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  color: #fff;
  margin: 0 0 12px;
  font-weight: 700;
}

.form-cta-strip .cta-text p {
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.form-cta-strip .trust-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-cta-strip .trust-list li {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-cta-strip .trust-list li::before {
  content: '✓';
  display: inline-flex;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: #b5c33a;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
}

/* svc-inline-form legacy — sin efecto visual propio, lo maneja form-cta-form */
.form-cta-strip .svc-inline-form {
  max-width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}


/* FAQ system → see PHCS FAQ SYSTEM block below */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-guarantee{display:flex;align-items:center;gap:10px;margin-top:20px;padding:12px 16px;background:rgba(0,58,101,.06);border-left:3px solid var(--navy,#003A65);border-radius:0 6px 6px 0;font-size:.9rem;font-weight:600;color:#003A65;}

/* ============================================
   FOOTER — IMPROVED UX
   Overrides inline styles in all pages.
   ============================================ */
.footer {
  color: rgba(255,255,255,.8);
}
.footer-logo svg {
  height: 44px;
}
.footer-brand p {
  line-height: 1.8;
  color: rgba(255,255,255,.75);
}
.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.12);
  transition: background .25s, transform .2s;
}
.footer-social a:hover {
  background: var(--blue, #2EA3F2);
  transform: translateY(-3px);
}
.footer h4 {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 20px;
  color: rgba(255,255,255,.95);
}
.footer ul {
  display: flex;
  flex-direction: column;
}
.footer ul li {
  margin-bottom: 0;
}
.footer ul a {
  display: block;
  padding: 7px 0;
  color: rgba(255,255,255,.72);
  transition: color .2s, padding-left .2s;
}
.footer ul a:hover {
  color: var(--blue, #2EA3F2);
  padding-left: 6px;
}
.footer-bottom {
  color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Mobile: separators between stacked columns */
@media (max-width: 768px) {
  .footer-grid {
    gap: 0;
  }
  .footer-grid > div {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .footer-grid > div:first-child {
    padding-top: 0;
  }
  .footer-grid > div:last-child {
    border-bottom: none;
    padding-bottom: 40px;
  }
}

/* ============================================================
   PROPERTY MANAGERS CALLOUT — SEO + UX
   Replaces inline-styled border-left boxes on service pages.
   ============================================================ */
.pm-callout {
  margin: 48px 0;
  background: linear-gradient(135deg, #003A65 0%, #1a2744 100%);
  color: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(0, 58, 101, 0.18);
}

.pm-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(46, 163, 242, 0.22) 0, transparent 50%),
    radial-gradient(circle at 12% 90%, rgba(181, 195, 58, 0.14) 0, transparent 45%);
  pointer-events: none;
}

.pm-callout-inner {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: start;
  max-width: 900px;
}

.pm-callout-icon {
  width: 64px;
  height: 64px;
  background: rgba(46, 163, 242, 0.16);
  border: 1.5px solid rgba(46, 163, 242, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pm-callout-icon svg {
  width: 32px;
  height: 32px;
  fill: #2EA3F2;
}

.pm-callout-body {
  min-width: 0;
}

.pm-callout-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b5c33a;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.pm-callout-badge svg {
  width: 12px;
  height: 12px;
  fill: #b5c33a;
}

.pm-callout h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.3;
}

.pm-callout p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

@media (max-width: 600px) {
  .pm-callout {
    padding: 26px 22px;
    margin: 32px 0;
    border-radius: 12px;
  }
  .pm-callout-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pm-callout-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
  .pm-callout-icon svg {
    width: 26px;
    height: 26px;
  }
  .pm-callout h3 {
    font-size: 1.2rem;
  }
  .pm-callout p {
    font-size: 0.92rem;
  }
}

/* ============================================================
   PHCS FAQ SYSTEM — ÚNICO, UNIFICADO, v2
   SEO friendly (schema-ready), AEO friendly, mobile-first
   ============================================================ */

/* --- Sección wrapper --- */
.faq-section {
  padding: 96px 0;
  background: #f4f5f7;
}

/* --- Header del bloque FAQ --- */
.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 163, 242, .12);
  color: #2EA3F2;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.faq-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a2744;
  margin: 0 0 14px;
  line-height: 1.2;
}

.faq-intro {
  font-size: .97rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.faq-intro a {
  color: #2EA3F2;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Lista de ítems --- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- FAQ item card --- */
.faq-item {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #e8eaed;
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease;
  margin-bottom: 0;
}

.faq-item.open {
  border-color: #003A65;
  box-shadow: 0 3px 16px rgba(0, 58, 101, .1);
}

/* --- Botón pregunta --- */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: .97rem;
  font-weight: 600;
  color: #1a2744;
  cursor: pointer;
  line-height: 1.45;
  transition: color .18s, background .18s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.faq-question:hover {
  color: #003A65;
  background: #f8f9fb;
}

.faq-item.open .faq-question {
  color: #003A65;
  background: #f0f6fb;
}

.faq-question span {
  flex: 1;
}

/* --- Icono chevron SVG (modo unificado) --- */
.faq-chevron-svg,
.faq-question > svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  stroke: #003A65;
  fill: none;
  flex-shrink: 0;
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}

.faq-item.open .faq-chevron-svg,
.faq-item.open .faq-question > svg {
  transform: rotate(180deg);
}

/* --- Respuesta (colapso con max-height, soporte universal) --- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .34s cubic-bezier(.4, 0, .2, 1);
}

.faq-item.open .faq-answer {
  max-height: 1500px;
}

.faq-answer-inner {
  padding: 0 22px;
  transition: padding .22s ease;
}

.faq-item.open .faq-answer-inner {
  padding: 0 22px 20px;
}

/* --- Contenido de la respuesta --- */
.faq-answer-inner p {
  font-size: .95rem;
  color: #555;
  line-height: 1.78;
  margin: 12px 0 0;
}

.faq-answer-inner p:first-child {
  margin-top: 14px;
}

.faq-answer-inner ul,
.faq-answer-inner ol {
  font-size: .95rem;
  color: #555;
  line-height: 1.78;
  margin: 12px 0 0 18px;
  padding: 0;
}

.faq-answer-inner ul li {
  list-style: disc;
  margin-bottom: 6px;
}

.faq-answer-inner ol li {
  list-style: decimal;
  margin-bottom: 6px;
}

.faq-answer-inner strong {
  color: #1a2744;
  font-weight: 600;
}

.faq-answer-inner a {
  color: #2EA3F2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- CTA al final del bloque FAQ --- */
.faq-cta {
  text-align: center;
  margin-top: 36px;
}

.faq-cta p {
  font-size: .95rem;
  color: #666;
  margin-bottom: 16px;
}

.faq-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #003A65;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}

.faq-cta a:hover {
  background: #1a2744;
  transform: translateY(-1px);
}

/* --- Número de resultados (para páginas con muchas preguntas) --- */
.faq-count {
  text-align: center;
  font-size: .8rem;
  color: #999;
  margin-top: 20px;
  font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .faq-section {
    padding: 64px 0;
  }

  .faq-header {
    margin-bottom: 32px;
  }

  .faq-header h2 {
    font-size: 1.75rem;
  }

  .faq-question {
    padding: 18px 18px;
    font-size: .93rem;
    min-height: 56px; /* tap target ≥44px */
  }

  .faq-answer-inner {
    padding: 0 18px;
  }

  .faq-item.open .faq-answer-inner {
    padding: 0 18px 18px;
  }

  .faq-answer-inner p {
    font-size: .92rem;
  }
}

@media (max-width: 480px) {
  .faq-header h2 {
    font-size: 1.55rem;
  }
}

/* ============================================================
   PHCS UNIFIED FORM SYSTEM v2
   — Reemplaza .inline-contact-form, .mini-form, .form-cta-form
   — Diseño único, mobile-first, accesible, orientado a conversión
   ============================================================ */

/* --- Variables del sistema de formularios --- */
:root {
  --form-navy:       #003A65;
  --form-green:      #b5c33a;
  --form-blue-focus: #2EA3F2;
  --form-border:     #d0d5de;
  --form-radius:     8px;
  --form-font:       'Inter', sans-serif;
  --form-success:    #2d8a4e;
  --form-error:      #c0392b;
}

/* ---- BASE CARD (todos los formularios) ---- */
.phcs-form-card {
  background: #fff;
  border-radius: 12px;
  border-top: 4px solid var(--form-navy);
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
  padding: 28px 28px 24px;
  width: 100%;
  font-family: var(--form-font);
  position: relative;
}

.phcs-form-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--form-green);
  margin: 0 0 6px;
}

.phcs-form-card__title {
  font-family: 'Sora', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--form-navy);
  margin: 0 0 4px;
  line-height: 1.25;
}

.phcs-form-card__subtitle {
  font-size: 13px;
  color: #666;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* ---- FORM GRID ---- */
.phcs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 767px) {
  .phcs-form-row {
    grid-template-columns: 1fr;
  }
  .phcs-form-card {
    padding: 22px 18px 20px;
  }
}

/* ---- FORM GROUP ---- */
.phcs-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.phcs-form-group:last-of-type {
  margin-bottom: 0;
}

.phcs-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #444;
  letter-spacing: .01em;
}

.phcs-form-group .required-star {
  color: var(--form-error);
  margin-left: 2px;
}

/* ---- INPUTS, SELECTS, TEXTAREA ---- */
.phcs-form-group input,
.phcs-form-group select,
.phcs-form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--form-border);
  border-radius: var(--form-radius);
  font-family: var(--form-font);
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px; /* touch target mínimo */
}

.phcs-form-group input::placeholder,
.phcs-form-group textarea::placeholder {
  color: #aaa;
}

.phcs-form-group input:focus,
.phcs-form-group select:focus,
.phcs-form-group textarea:focus {
  border-color: var(--form-blue-focus);
  box-shadow: 0 0 0 3px rgba(46,163,242,.14);
}

/* Validation states */
.phcs-form-group input:invalid:not(:placeholder-shown),
.phcs-form-group select:invalid:not(:placeholder-shown) {
  border-color: #e8a0a0;
}

.phcs-form-group input.phcs-valid,
.phcs-form-group select.phcs-valid {
  border-color: #6dbd8a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236dbd8a' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.phcs-form-group input.phcs-error,
.phcs-form-group select.phcs-error {
  border-color: var(--form-error);
  box-shadow: 0 0 0 3px rgba(192,57,43,.10);
}

.phcs-field-error {
  font-size: 11px;
  color: var(--form-error);
  margin-top: 2px;
  display: none;
}

.phcs-field-error.visible {
  display: block;
}

/* Select arrow */
.phcs-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Textarea */
.phcs-form-group textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.5;
}

/* ---- SUBMIT BUTTON ---- */
.phcs-form-submit {
  width: 100%;
  margin-top: 16px;
  padding: 15px 20px;
  background: var(--form-navy);
  color: #fff;
  font-family: var(--form-font);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .15s, box-shadow .2s;
  min-height: 52px;
  letter-spacing: .01em;
}

.phcs-form-submit:hover {
  background: #00527a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,58,101,.22);
}

.phcs-form-submit:active {
  transform: scale(0.98);
}

.phcs-form-submit:disabled {
  background: #8ca3b5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.phcs-form-submit svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Loading state */
.phcs-form-submit.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: phcs-spin .7s linear infinite;
  margin-left: 8px;
}

@keyframes phcs-spin {
  to { transform: rotate(360deg); }
}

/* ---- TRUST MICRO-COPY DEBAJO DEL BOTÓN ---- */
.phcs-form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.phcs-form-trust span {
  font-size: 11px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 5px;
}

.phcs-form-trust svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ---- SUCCESS STATE ---- */
.phcs-form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}

.phcs-form-success.visible {
  display: block;
}

.phcs-form-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: block;
}

.phcs-form-success__title {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--form-navy);
  margin: 0 0 8px;
}

.phcs-form-success__msg {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 16px;
}

.phcs-form-success__call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--form-green);
  color: var(--form-navy);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity .2s;
}

.phcs-form-success__call:hover {
  opacity: .88;
}

/* ---- ERROR MESSAGE ---- */
.phcs-form-error-msg {
  background: #fdf0ef;
  border-left: 3px solid var(--form-error);
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--form-error);
  margin-top: 12px;
  display: none;
}

.phcs-form-error-msg.visible {
  display: block;
}

/* ---- MINI-FORM (hero CTAs — solo nombre + teléfono) ---- */
.phcs-mini-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.phcs-mini-form .phcs-mini-input {
  flex: 1 1 180px;
  padding: 14px 18px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.14);
  color: #fff;
  font-family: var(--form-font);
  font-size: .95rem;
  outline: none;
  min-height: 50px;
  transition: border .18s, background .18s;
  -webkit-appearance: none;
  appearance: none;
}

.phcs-mini-form .phcs-mini-input::placeholder {
  color: rgba(255,255,255,.62);
}

.phcs-mini-form .phcs-mini-input:focus {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.22);
}

.phcs-mini-form .phcs-mini-btn {
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--form-green);
  color: var(--form-navy);
  font-family: var(--form-font);
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  min-height: 50px;
  min-width: 150px;
  transition: opacity .18s, transform .15s;
}

.phcs-mini-form .phcs-mini-btn:hover {
  opacity: .92;
  transform: translateY(-1px);
}

.phcs-mini-success {
  display: none;
  color: rgba(255,255,255,.95);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 14px;
  background: rgba(255,255,255,.12);
  border-radius: 50px;
  padding: 12px 24px;
  text-align: center;
}

.phcs-mini-success.visible {
  display: block;
}

@media (max-width: 480px) {
  .phcs-mini-form {
    flex-direction: column;
  }
  .phcs-mini-form .phcs-mini-input,
  .phcs-mini-form .phcs-mini-btn {
    width: 100%;
    flex: none;
  }
}

/* ---- VARIANT: Dark background form (en secciones navy) ---- */
.phcs-form-card.phcs-form-card--dark {
  background: rgba(255,255,255,.06);
  border-top-color: var(--form-green);
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}

.phcs-form-card.phcs-form-card--dark .phcs-form-card__title {
  color: #fff;
}

.phcs-form-card.phcs-form-card--dark .phcs-form-card__subtitle {
  color: rgba(255,255,255,.7);
}

.phcs-form-card.phcs-form-card--dark .phcs-form-group label {
  color: rgba(255,255,255,.85);
}

.phcs-form-card.phcs-form-card--dark .phcs-form-group input,
.phcs-form-card.phcs-form-card--dark .phcs-form-group select,
.phcs-form-card.phcs-form-card--dark .phcs-form-group textarea {
  background: rgba(255,255,255,.95);
}

.phcs-form-card.phcs-form-card--dark .phcs-form-submit {
  background: var(--form-green);
  color: var(--form-navy);
}

.phcs-form-card.phcs-form-card--dark .phcs-form-submit:hover {
  background: #c8d84a;
}

.phcs-form-card.phcs-form-card--dark .phcs-form-trust span {
  color: rgba(255,255,255,.55);
}

/* ---- STICKY MOBILE CTA BAR ---- */
.phcs-mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--form-navy);
  padding: 10px 16px;
  box-shadow: 0 -3px 16px rgba(0,0,0,.18);
  gap: 10px;
  align-items: center;
}

@media (max-width: 767px) {
  .phcs-mobile-cta-bar {
    display: flex;
  }
}

.phcs-mobile-cta-bar a {
  flex: 1;
  text-align: center;
  padding: 12px 10px;
  border-radius: 50px;
  font-family: var(--form-font);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
}

.phcs-mobile-cta-bar a svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.phcs-mobile-cta-call {
  background: var(--form-green);
  color: var(--form-navy) !important;
}

.phcs-mobile-cta-quote {
  background: rgba(255,255,255,.1);
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.25);
}

/* ---- SAFE AREA para iOS (evitar que CTA tape contenido) ---- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .phcs-mobile-cta-bar {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 78px;
  }
}
/* END PHCS UNIFIED FORM SYSTEM v2 */

/* Property Managers nav highlight */
.nav-pm-link {
  color: #b5c33a !important;
  font-weight: 700 !important;
}
.mobile-nav .nav-pm-link {
  color: #b5c33a !important;
  font-weight: 700 !important;
  border-bottom-color: rgba(181,195,58,.3) !important;
}

/* ============================================
   AI CHATBOT WIDGET
   ============================================ */
.phcs-chatbot { position: fixed; right: 28px; bottom: 108px; z-index: 10000; font-family: 'Inter', sans-serif; }
.phcs-chatbot-panel[hidden] { display: none !important; }
.phcs-chatbot-toggle {
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #003A65 0%, #2EA3F2 100%);
  color: #fff; box-shadow: 0 10px 28px rgba(0,58,101,.45);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.phcs-chatbot-toggle:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 34px rgba(0,58,101,.55); }
.phcs-chatbot-toggle:focus-visible { outline: 3px solid #b5c33a; outline-offset: 3px; }
.phcs-chatbot-badge {
  position: absolute; top: -6px; right: -6px;
  background: #b5c33a; color: #1a2744; font-weight: 700; font-size: 10px;
  padding: 3px 7px; border-radius: 10px; letter-spacing: .3px;
}
.phcs-chatbot-panel {
  position: absolute; right: 0; bottom: 78px;
  width: 340px; max-width: calc(100vw - 32px); height: 460px; max-height: calc(100vh - 120px);
  background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,58,101,.25), 0 2px 8px rgba(0,0,0,.08);
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(0,58,101,.08);
  animation: phcs-chatbot-in .28s ease-out;
}
@keyframes phcs-chatbot-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.phcs-chatbot-header {
  background: linear-gradient(135deg, #003A65 0%, #1a2744 100%);
  color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between;
}
.phcs-chatbot-title { display: flex; align-items: center; gap: 10px; }
.phcs-chatbot-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: #2EA3F2;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; letter-spacing: .5px;
}
.phcs-chatbot-title strong { display: block; font-size: 14px; font-family: 'Sora', sans-serif; }
.phcs-chatbot-title small { display: block; font-size: 11px; opacity: .8; }
.phcs-chatbot-close {
  background: transparent; border: 0; color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; padding: 4px 8px; border-radius: 6px;
}
.phcs-chatbot-close:hover { background: rgba(255,255,255,.12); }
.phcs-chatbot-log {
  flex: 1; overflow-y: auto; padding: 14px; background: #f4f5f7;
  display: flex; flex-direction: column; gap: 8px;
}
.phcs-chatbot-msg {
  max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45;
  word-wrap: break-word; animation: phcs-msg-in .25s ease-out;
}
@keyframes phcs-msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.phcs-chatbot-msg-bot { align-self: flex-start; background: #fff; color: #1a2744; border: 1px solid rgba(0,58,101,.08); border-bottom-left-radius: 4px; }
.phcs-chatbot-msg-user { align-self: flex-end; background: #003A65; color: #fff; border-bottom-right-radius: 4px; }
.phcs-chatbot-form {
  display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #eef0f3; background: #fff;
}
.phcs-chatbot-input {
  flex: 1; border: 1px solid #d8dce3; border-radius: 20px; padding: 10px 14px;
  font-size: 13.5px; font-family: inherit; outline: none; color: #1a2744;
}
.phcs-chatbot-input:focus { border-color: #2EA3F2; box-shadow: 0 0 0 3px rgba(46,163,242,.18); }
.phcs-chatbot-send {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: #003A65; color: #fff; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s ease;
}
.phcs-chatbot-send:hover { background: #2EA3F2; }
.phcs-chatbot-send:focus-visible { outline: 3px solid #b5c33a; outline-offset: 2px; }
@media (max-width: 767px) {
  .phcs-chatbot { right: 12px; bottom: 84px; }
  .phcs-chatbot-panel { width: calc(100vw - 24px); height: calc(100vh - 180px); max-height: calc(100vh - 180px); right: 0; bottom: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  .phcs-chatbot-panel, .phcs-chatbot-msg { animation: none; }
  .phcs-chatbot-toggle { transition: none; }
}

/* ============================================
   INDEX 2026 REDESIGN (layout/visual only)
   ============================================ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.idx26-mesh {
  position: relative;
  background-image:
    radial-gradient(at 15% 20%, rgba(46,163,242,.18) 0, transparent 45%),
    radial-gradient(at 85% 10%, rgba(181,195,58,.18) 0, transparent 50%),
    radial-gradient(at 75% 85%, rgba(0,58,101,.18) 0, transparent 55%);
}
.idx26-bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}
.idx26-bento > * {
  grid-column: span 12;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(0,58,101,.05), 0 10px 30px rgba(0,58,101,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.idx26-bento > *:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,58,101,.08), 0 18px 44px rgba(0,58,101,.14);
}
@media (min-width: 768px) {
  .idx26-bento > .idx26-b-lg { grid-column: span 8; }
  .idx26-bento > .idx26-b-md { grid-column: span 4; }
  .idx26-bento > .idx26-b-sm { grid-column: span 4; }
}
.idx26-glass {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,58,101,.12);
}
.idx26-marquee {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.idx26-marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: idx26-marq 32s linear infinite;
  align-items: center;
}
.idx26-marquee-track > * { opacity: .7; font-weight: 600; color: #1a2744; white-space: nowrap; }
@keyframes idx26-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .idx26-marquee-track { animation: none; } }

.idx26-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, #2EA3F2, #b5c33a);
  z-index: 9998; transition: width .1s linear;
}
.idx26-trust-row {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center;
  margin: 14px 0;
}
.idx26-trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.8); border: 1px solid rgba(0,58,101,.12);
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #1a2744;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.idx26-trust-pill svg { width: 14px; height: 14px; fill: #b5c33a; }

.idx26-float-svg {
  position: absolute; pointer-events: none; opacity: .4;
  animation: idx26-float 9s ease-in-out infinite;
}
@keyframes idx26-float {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-18px) rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) { .idx26-float-svg { animation: none; } }

/* Skip-to-content link (accessibility) */
.phcs-skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #003A65; color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 0; z-index: 100001; font-weight: 600;
}
.phcs-skip-link:focus { left: 0; }

/* Global focus-visible */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #b5c33a;
  outline-offset: 2px;
}


/* PM Callout Section */
.pm-callout{background:linear-gradient(135deg,#003A65 0%,#1a2744 100%);padding:48px 0;}
.pm-callout-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:flex-start;gap:32px;}
.pm-callout-icon{width:64px;height:64px;background:rgba(255,255,255,.1);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.pm-callout-icon svg{fill:#2EA3F2;}
.pm-callout-body{flex:1;}
.pm-callout-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.1);color:rgba(255,255,255,.9);font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:6px 14px;border-radius:50px;margin-bottom:12px;}
.pm-callout-badge svg{fill:#2EA3F2;}
.pm-callout-body h3{font-family:'Sora',sans-serif;font-size:1.5rem;color:#fff;margin-bottom:12px;}
.pm-callout-body p{color:rgba(255,255,255,.8);font-size:.95rem;line-height:1.7;}

/* Mobile fixes */
@media(max-width:768px){
  .logo svg{height:48px !important;}
  .hero h1{font-size:1.8rem !important;line-height:1.2;}
  .hero{min-height:auto;padding:40px 0;}
}

/* ===== MOBILE OPTIMIZATIONS (max-width: 768px) ===== */
@media(max-width:768px){

  /* Ocultar top bar azul */
  .top-bar{display:none !important;}

  /* Ocultar botones hero duplicados */
  .hero-buttons{display:none !important;}

  /* Ocultar trust pills del hero */
  .idx26-trust-row{display:none !important;}

  /* Hero más compacto */
  .hero{min-height:60vh !important;padding:24px 0 !important;}
  .hero h1{font-size:1.9rem !important;line-height:1.15 !important;margin-bottom:16px !important;}
  .hero p{font-size:1rem !important;margin-bottom:0 !important;}

  /* Logo más pequeño */
  .logo svg{height:44px !important;}

  /* Mostrar imagen del carrusel */
  .hero-carousel{display:block !important;aspect-ratio:16/9;border-radius:12px;overflow:hidden;margin-top:20px;}

  /* Priorizar barra sticky de abajo */
  .phcs-mobile-cta-bar,.mobile-cta-bar{display:flex !important;z-index:9999;}

  /* Ocultar floating call button en móvil (ya está la barra de abajo) */
  .floating-call{display:none !important;}

}

/* ===== MOBILE FIXES - OVERFLOW ===== */
@media(max-width:768px){

  /* Fix overflow general */
  body{overflow-x:hidden !important;}
  .container{padding:0 16px !important;}

  /* Emergency section */
  .emergency .container{flex-direction:column !important;text-align:center !important;gap:24px !important;}
  .emergency-phone{font-size:1rem !important;padding:14px 24px !important;white-space:normal !important;}
  .emergency-content h2{font-size:1.6rem !important;}

  /* Contact form - una columna */
  .contact-wrapper{grid-template-columns:1fr !important;}
  .form-row{grid-template-columns:1fr !important;}
  .phcs-form-row{grid-template-columns:1fr !important;}

  /* Sections padding */
  .section-pad{padding:60px 0 !important;}
  .contact-section{padding:60px 0 !important;}

}

/* ===== WHY US SECTION MOBILE ===== */
@media(max-width:768px){

  /* Why row - una columna */
  .why-row{grid-template-columns:1fr !important;gap:24px !important;}
  .why-row.reverse .why-img{order:0 !important;}
  .why-row.reverse .why-text{order:1 !important;}
  .why-img img{min-height:220px !important;max-height:260px !important;}
  .why-text h2{font-size:1.6rem !important;}
  .why-text p{font-size:.95rem !important;}

}

/* ===== SERVICE PAGES MOBILE ===== */
@media(max-width:768px){

  /* Service overview grid - una columna */
  .svc-overview .grid{grid-template-columns:1fr !important;gap:32px !important;}
  
  /* Service form inline - una columna */
  .svc-inline-form{width:100% !important;margin-top:24px !important;}
  .form-cta-strip{grid-template-columns:1fr !important;gap:24px !important;}
  .form-cta-inner{grid-template-columns:1fr !important;gap:24px !important;}
  
  /* Stats grid */
  .svc-stats-grid{grid-template-columns:repeat(2,1fr) !important;}
  
  /* Process grid */
  .process-grid{grid-template-columns:1fr 1fr !important;}
  
  /* Offerings grid */
  .offerings-grid{grid-template-columns:1fr !important;}
  
  /* Advantages grid */
  .advantages-grid{grid-template-columns:1fr !important;}

  /* Service hero */
  .svc-hero{padding:48px 0 36px !important;}
  .svc-hero h1{font-size:1.7rem !important;}

}

/* ===== PROOF CREDENTIALS MOBILE ===== */
@media(max-width:768px){

  /* Credentials - una columna limpia */
  .proof-credentials{flex-direction:column !important;gap:0 !important;}
  .proof-cred{width:100% !important;justify-content:flex-start !important;padding:14px 16px !important;border-bottom:1px solid #e8e9ec;}
  .proof-divider{display:none !important;}

  /* Stats grid - 2 columnas */
  .proof-stats{grid-template-columns:1fr 1fr !important;gap:24px !important;}
  .proof-stat{border-right:none !important;border-bottom:none !important;padding:0 !important;}
  .proof-stat-num{font-size:2rem !important;}

}

/* ===== SERVICE CARDS MOBILE ===== */
@media(max-width:768px){

  /* Service cards - una columna */
  .services-grid{grid-template-columns:1fr !important;}
  .pm-services-grid{grid-template-columns:1fr !important;}
  
  /* Cards de sectores */
  .dual-grid{grid-template-columns:1fr !important;}
  
  /* Section headers */
  .section-header h2{font-size:1.7rem !important;}
  .section-header p{font-size:.95rem !important;}

}
