/**
 * BRIGHTWAY INTERIOR / MRITTIK — SERVICES PAGE STYLESHEET
 * Luxury Dark Architectural Aesthetic
 */

:root {
  --services-bg: #0d0e11;
  --services-card-bg: #141519;
  --services-card-border: rgba(197, 168, 128, 0.22);
  --services-accent: #c5a880;
  --services-accent-glow: rgba(197, 168, 128, 0.15);
  --services-text-primary: #f0f0f2;
  --services-text-muted: #9598a0;
  --services-font-serif: 'Cinzel', serif;
  --services-font-sans: 'Montserrat', sans-serif;
}

body.services-page {
  background-color: var(--services-bg);
  color: var(--services-text-primary);
  font-family: var(--services-font-sans);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   STICKY HEADER
   -------------------------------------------------------------------------- */
.services-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(13, 14, 17, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  box-sizing: border-box;
}

.services-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--services-font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.services-brand-logo span {
  color: var(--services-accent);
}

.services-nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-nav-link {
  color: #aaa;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s ease;
  position: relative;
  padding: 6px 0;
}

.services-nav-link:hover,
.services-nav-link.active {
  color: var(--services-accent);
}

.services-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--services-accent);
}

.services-header-cta {
  background: transparent;
  color: var(--services-accent);
  border: 1px solid var(--services-accent);
  padding: 10px 22px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.services-header-cta:hover {
  background: var(--services-accent);
  color: #121316;
  box-shadow: 0 4px 20px rgba(197, 168, 128, 0.35);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.services-hero-section {
  position: relative;
  padding: 110px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, #0d0e11 0%, #121317 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.services-hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--services-font-serif);
  font-size: clamp(4rem, 14vw, 13rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.25em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.services-hero-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  z-index: 2;
}

.services-hero-badge {
  display: inline-block;
  text-align: center;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.35);
  color: var(--services-accent);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  max-width: 94%;
  box-sizing: border-box;
  line-height: 1.45;
}

.services-hero-badge i {
  margin-right: 6px;
  vertical-align: middle;
}

.services-hero-title {
  font-family: var(--services-font-serif);
  font-size: clamp(1.85rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0 0 20px;
  word-break: normal;
  overflow-wrap: break-word;
}

.services-hero-title span {
  color: var(--services-accent);
  font-style: italic;
}

.services-hero-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #a2a5b0;
  max-width: 820px;
  margin: 0 auto 36px;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   FILTER PILLS
   -------------------------------------------------------------------------- */
.services-pills-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.service-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #aaa;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--services-font-sans);
}

.service-pill-btn:hover {
  background: rgba(197, 168, 128, 0.15);
  border-color: rgba(197, 168, 128, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.service-pill-btn.active {
  background: var(--services-accent);
  border-color: var(--services-accent);
  color: #0d0e11;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(197, 168, 128, 0.35);
}

/* --------------------------------------------------------------------------
   SERVICES MAIN GRID
   -------------------------------------------------------------------------- */
.services-grid-section {
  padding: 80px 24px 100px;
  max-width: 1360px;
  margin: 0 auto;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.service-card {
  background: var(--services-card-bg);
  border: 1px solid var(--services-card-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 168, 128, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px var(--services-accent-glow);
}

.service-card-media {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #000;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

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

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(20,21,25,0.92) 100%);
  pointer-events: none;
}

.service-card-num-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(13, 14, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--services-accent);
  color: var(--services-accent);
  font-family: var(--services-font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 4px;
}

.service-card-domain-badge {
  position: absolute;
  bottom: 16px;
  left: 20px;
  background: rgba(197, 168, 128, 0.2);
  border: 1px solid rgba(197, 168, 128, 0.5);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
}

.service-card-body {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-title {
  font-family: var(--services-font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.service-card-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--services-text-muted);
  margin: 0 0 20px;
  flex: 1;
}

.service-card-capabilities-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--services-accent);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-card-capabilities {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
}

.service-card-capabilities li {
  font-size: 0.8rem;
  color: #c5c7d0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.service-card-capabilities li i {
  color: var(--services-accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-action-btn {
  background: transparent;
  color: var(--services-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px 18px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--services-font-sans);
}

.service-card-action-btn:hover {
  background: var(--services-accent);
  color: #121316;
  border-color: var(--services-accent);
  box-shadow: 0 4px 14px rgba(197, 168, 128, 0.3);
}

/* --------------------------------------------------------------------------
   FEATURED MEP & FITOUT HIGHLIGHT BANNER
   -------------------------------------------------------------------------- */
.services-highlight-section {
  background: linear-gradient(135deg, #18191f 0%, #121317 100%);
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 12px;
  padding: 60px 48px;
  margin: 40px auto 90px;
  max-width: 1360px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.services-highlight-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.services-highlight-content h3 {
  font-family: var(--services-font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.3;
}

.services-highlight-content h3 span {
  color: var(--services-accent);
}

.services-highlight-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #a4a7b4;
  margin: 0 0 28px;
}

.services-highlight-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin-bottom: 32px;
}

.services-highlight-point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eaeaea;
  font-size: 0.86rem;
  font-weight: 500;
}

.services-highlight-point i {
  color: var(--services-accent);
  font-size: 1.1rem;
}

.services-highlight-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-highlight-primary {
  background: var(--services-accent);
  color: #121316;
  border: 1px solid var(--services-accent);
  padding: 13px 28px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-highlight-primary:hover {
  background: #d8be99;
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.4);
  transform: translateY(-2px);
}

.btn-highlight-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 13px 26px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-highlight-outline:hover {
  border-color: var(--services-accent);
  color: var(--services-accent);
}

.services-highlight-media {
  position: relative;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(197, 168, 128, 0.3);
}

.services-highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   CONSULTATION INQUIRY FORM SECTION
   -------------------------------------------------------------------------- */
.services-inquiry-section {
  padding: 80px 24px 100px;
  background: #0f1014;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.services-inquiry-container {
  max-width: 860px;
  margin: 0 auto;
  background: #15161b;
  border: 1px solid rgba(197, 168, 128, 0.3);
  border-radius: 10px;
  padding: 48px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.services-inquiry-header {
  text-align: center;
  margin-bottom: 36px;
}

.services-inquiry-header h3 {
  font-family: var(--services-font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 10px;
}

.services-inquiry-header p {
  color: var(--services-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.services-inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group-full {
  grid-column: span 2;
}

.services-form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--services-accent);
  margin-bottom: 8px;
}

.services-form-input,
.services-form-select,
.services-form-textarea {
  width: 100%;
  background: #1c1e24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-family: var(--services-font-sans);
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.25s ease;
}

.services-form-input:focus,
.services-form-select:focus,
.services-form-textarea:focus {
  border-color: var(--services-accent);
  box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.2);
}

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

.services-form-submit-btn {
  grid-column: span 2;
  background: var(--services-accent);
  color: #121316;
  border: none;
  padding: 15px 32px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--services-font-sans);
  margin-top: 10px;
}

.services-form-submit-btn:hover {
  background: #d8be99;
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.4);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.services-footer {
  background: #08090b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 40px 30px;
  color: #777;
  font-size: 0.8rem;
}

.services-footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.services-footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-footer-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
  .services-highlight-section {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
  .services-highlight-media {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .services-navbar {
    padding: 0 20px;
    height: 68px;
  }
  .services-nav-menu {
    display: none;
  }
  .services-card-capabilities {
    grid-template-columns: 1fr;
  }
  .services-inquiry-container {
    padding: 30px 20px;
  }
  .services-inquiry-form {
    grid-template-columns: 1fr;
  }
  .form-group-full,
  .services-form-submit-btn {
    grid-column: span 1;
  }
}

/* ==========================================================================
   SERVICES VISUAL EDITOR & INLINE EDITING STYLES
   ========================================================================== */

/* Edit Mode Visual Cues */
body.edit-mode [data-editable="text"] {
  outline: 1px dashed rgba(197, 168, 128, 0.45);
  outline-offset: 4px;
  cursor: text;
  border-radius: 2px;
  transition: outline-color 0.2s, background-color 0.2s;
}

body.edit-mode [data-editable="text"]:hover,
body.edit-mode [data-editable="text"]:focus {
  outline: 1.5px solid var(--services-accent);
  background: rgba(197, 168, 128, 0.08);
}

body.edit-mode .service-card-media {
  cursor: pointer;
  position: relative;
}

body.edit-mode .service-card-media:hover .service-card-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.edit-media-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  background: rgba(18, 19, 22, 0.88);
  border: 1px solid var(--services-accent);
  color: var(--services-accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.service-card-media:hover .edit-media-hint {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

/* Capability Edit Buttons */
.capability-item {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.btn-remove-cap {
  background: transparent;
  border: none;
  color: #ff6b6b;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
  margin-left: auto;
}

.btn-remove-cap:hover {
  opacity: 1;
  color: #ff3333;
}

.btn-add-cap {
  background: rgba(197, 168, 128, 0.08);
  border: 1px dashed var(--services-accent);
  color: var(--services-accent);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
}

.btn-add-cap:hover {
  background: var(--services-accent);
  color: #121316;
}

/* Services Image Replacement Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #141519;
  border: 1px solid rgba(197, 168, 128, 0.3);
  border-radius: 12px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--services-font-serif);
  letter-spacing: 0.1em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title span {
  color: var(--services-accent);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #888;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
  flex: 1;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Modal Dropzone */
.dropzone {
  border: 2px dashed rgba(197, 168, 128, 0.4);
  background: rgba(197, 168, 128, 0.03);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--services-accent);
  background: rgba(197, 168, 128, 0.09);
}

.dropzone i {
  font-size: 2.4rem;
  color: var(--services-accent);
  margin-bottom: 8px;
  display: inline-block;
}

.dropzone h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
}

/* Preset Chips */
.services-preset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 5px;
}

.preset-image-chip {
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d0e11;
  transition: all 0.2s ease;
  position: relative;
}

.preset-image-chip:hover {
  border-color: var(--services-accent);
  transform: translateY(-2px);
}

.preset-image-chip.active {
  border-color: var(--services-accent);
  box-shadow: 0 0 0 2px var(--services-accent);
}

.preset-image-chip img {
  width: 100%;
  height: 65px;
  object-fit: cover;
  display: block;
}

.preset-image-chip span {
  display: block;
  padding: 4px 6px;
  font-size: 0.65rem;
  color: #aaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Toast Notifications */
.services-toast {
  position: fixed;
  bottom: 85px;
  right: 25px;
  background: rgba(18, 19, 22, 0.96);
  border: 1px solid var(--services-accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 100000;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.services-toast.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   SERVICES MOBILE & IPHONE RESPONSIVENESS
   ========================================================================== */
.services-navbar {
  padding-top: max(env(safe-area-inset-top, 0px), 0px);
}

.services-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-mobile-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .services-navbar {
    padding: 0 18px;
    height: 68px;
  }

  .services-nav-menu {
    display: none;
  }

  .services-mobile-toggle {
    display: flex;
  }

  .services-header-cta {
    display: none;
  }

  /* Horizontal swipeable pills */
  .services-pills-wrap {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 8px;
    padding: 6px 16px 12px;
    margin: 0 -16px;
    scrollbar-width: none;
  }

  .services-pills-wrap::-webkit-scrollbar {
    display: none;
  }

  .service-pill-btn {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 44px;
    padding: 8px 16px;
    font-size: 0.74rem;
  }

  .services-hero-section {
    padding: 50px 18px 35px;
  }

  .mobile-break {
    display: block;
  }

  .services-hero-badge {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    margin-bottom: 16px;
    max-width: 95%;
    line-height: 1.45;
  }

  .services-hero-title {
    font-size: 1.25rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
  }

  .services-hero-desc {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .services-grid-section {
    padding: 30px 16px 60px;
  }

  .service-card-media {
    height: 210px;
  }

  .service-card-body {
    padding: 22px 18px;
  }

  .service-card-title {
    font-size: 1.25rem;
  }

  .service-card-desc {
    font-size: 0.85rem;
  }

  .service-card-capabilities {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .service-card-action-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .services-highlight-section {
    grid-template-columns: 1fr;
    padding: 35px 18px;
    margin: 0 16px 60px;
    border-radius: 12px;
  }

  .services-highlight-content h3 {
    font-size: 1.45rem;
  }

  .services-highlight-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-highlight-primary,
  .btn-highlight-outline {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .services-highlight-media {
    height: 220px;
  }

  .services-inquiry-section {
    padding: 0 16px 70px;
  }

  .services-inquiry-container {
    padding: 28px 18px;
    border-radius: 12px;
  }

  .services-inquiry-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-group-full,
  .services-form-submit-btn {
    grid-column: span 1;
    min-height: 48px;
  }

  .services-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .services-footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  #services-editor-dock {
    left: 10px;
    right: 10px;
    bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  }
}

@media (max-width: 480px) {
  .services-hero-badge {
    font-size: 0.52rem;
    letter-spacing: 0.02em;
    padding: 5px 10px;
    margin-bottom: 14px;
    line-height: 1.4;
    max-width: 96%;
    white-space: normal;
  }
  .services-hero-title {
    font-size: 1.15rem;
    line-height: 1.35;
    letter-spacing: 0;
  }
  .service-card-title {
    font-size: 1.15rem;
  }
  .services-highlight-content h3 {
    font-size: 1.25rem;
  }
}
