:root {
  color-scheme: light;
  --green: #16794b;
  --green-dark: #0f5f3a;
  --green-soft: #eaf7f0;
  --navy: #10233f;
  --blue-soft: #eef5ff;
  --gold: #b7791f;
  --gold-soft: #fff7df;
  --ink: #142033;
  --muted: #5c6879;
  --line: #dce4ec;
  --surface: #ffffff;
  --page: #f4f7f9;
  --danger: #b42318;
  --shadow: 0 12px 28px rgba(15, 35, 63, 0.09);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.service-contact-button.booking,
.service-contact-button.gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.15;
}

.service-contact-button.booking {
  background: #0b70e0;
  border-color: #0b70e0;
  color: #fff;
}

.service-contact-button.gift {
  background: linear-gradient(135deg, #8e3dc0, #c0448b);
  border-color: transparent;
  color: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  min-width: 0;
}

body.lightbox-open,
body.quote-open {
  overflow: hidden;
}

button,
input,
select,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #2b8ee6;
  outline-offset: 3px;
}

.services-header {
  position: sticky;
  z-index: 60;
  top: 0;
  border-bottom: 1px solid rgba(220, 228, 236, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.services-header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.services-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.services-brand img {
  display: block;
  width: auto;
  height: 51px;
  object-fit: contain;
}

.services-header nav,
.services-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.services-header nav a {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.services-header nav a:hover,
.services-header nav a.active {
  color: var(--green-dark);
  background: var(--green-soft);
}

main {
  min-height: calc(100vh - 180px);
}

.services-hero {
  min-height: 390px;
  padding: 70px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 56px;
  color: #fff;
  background: var(--navy);
}

.services-hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.services-hero .eyebrow {
  color: #8fe0b5;
}

.services-hero h1,
.profile-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

.services-hero-copy > p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: #dce8f5;
  font-size: 19px;
  line-height: 1.55;
}

.services-hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.services-hero-visual span {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 750;
}

.services-hero-visual span:nth-child(2) {
  background: rgba(22, 121, 75, 0.38);
}

.services-hero-visual span:nth-child(3) {
  background: rgba(183, 121, 31, 0.28);
}

.services-search-band,
.services-results,
.profile-layout {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.services-search-band {
  position: relative;
  z-index: 4;
  margin-top: -38px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading h2,
.profile-info-panel h2,
.security-notice h2 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.results-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.services-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(180px, 0.75fr) minmax(200px, 0.9fr);
  gap: 16px;
}

.services-filters label > span,
.services-filter-toggles legend {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
}

.services-filters input[type="search"],
.services-filters select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd6e1;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
}

.services-filters input:focus,
.services-filters select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 121, 75, 0.13);
  outline: none;
}

.services-filter-toggles {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  background: #f8fafc;
}

.services-filter-toggles legend {
  padding: 0 5px;
}

.services-filter-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #354154;
  font-size: 14px;
  font-weight: 650;
}

.services-filter-toggles input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.services-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-button,
.secondary-button,
.icon-text-button,
.services-pagination button {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.primary-button {
  color: #fff;
  background: var(--green);
}

.primary-button:hover {
  background: var(--green-dark);
}

.secondary-button,
.services-pagination button {
  color: var(--navy);
  border-color: #cbd6e1;
  background: #fff;
}

.secondary-button:hover,
.services-pagination button:hover:not(:disabled) {
  border-color: var(--green);
  color: var(--green-dark);
}

.icon-text-button {
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.92);
}

.inline-button {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
}

.services-results {
  padding: 54px 0 72px;
}

.services-state {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.services-state strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 18px;
}

.services-state p {
  margin: 0 0 12px;
}

.error-state {
  border-color: #f2b8b5;
  color: var(--danger);
  background: #fff7f7;
}

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

.provider-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 35, 63, 0.07);
}

.provider-card-media {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #e6edf4;
}

.provider-card-media > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.provider-card-media .provider-logo {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 14px;
  width: 58px;
  height: 58px;
  padding: 4px;
  border: 2px solid #fff;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.provider-image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy);
  font-size: 40px;
  font-weight: 850;
}

.provider-card-body {
  min-height: 330px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.provider-card-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.provider-card-description {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tag-list,
.profile-badges,
.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 750;
}

.tag.green {
  color: var(--green-dark);
  background: var(--green-soft);
}

.tag.gold {
  color: #81500d;
  background: var(--gold-soft);
}

.provider-services {
  margin: 15px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.provider-services li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #354154;
  font-size: 13px;
}

.provider-services strong {
  color: var(--navy);
  font-weight: 700;
}

.provider-services span {
  flex-shrink: 0;
  color: var(--green-dark);
  font-weight: 750;
}

.provider-card-action {
  min-height: 44px;
  margin-top: auto;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.services-pagination {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.services-pagination span {
  min-width: 82px;
  text-align: center;
  font-size: 14px;
  font-weight: 750;
}

.services-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.profile-view {
  padding-bottom: 72px;
}

.profile-view > .services-state {
  width: min(920px, calc(100% - 32px));
  margin: 42px auto;
}

.profile-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  color: #fff;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
}

.profile-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 23, 42, 0.68);
}

.profile-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 500px;
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
}

.profile-back-link {
  position: absolute;
  top: 34px;
  left: 0;
  padding: 9px 12px;
  border-radius: 6px;
  color: #fff;
  background: rgba(15, 35, 63, 0.72);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.profile-logo {
  width: 96px;
  height: 96px;
  padding: 7px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.profile-heading {
  min-width: 0;
}

.profile-heading .eyebrow {
  color: #9ce6bd;
}

.profile-hero h1 {
  font-size: clamp(32px, 5vw, 58px);
}

.profile-description {
  max-width: 720px;
  margin: 13px 0 17px;
  color: #e5edf6;
  font-size: 17px;
  line-height: 1.5;
}

.profile-badges .tag {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.profile-main-actions {
  width: 235px;
  display: grid;
  gap: 9px;
}

.profile-main-actions a,
.profile-main-actions button {
  width: 100%;
}

.profile-layout {
  padding-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 28px;
}

.profile-main-column {
  min-width: 0;
}

.profile-section {
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--line);
}

.profile-section:first-child {
  padding-top: 0;
}

.offered-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #fff;
}

.service-card.featured {
  border-left-color: var(--gold);
}

.service-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.service-card > p {
  margin: 9px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.service-card-footer {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-price {
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 850;
}

.service-contact-button {
  min-height: 38px;
  padding: 8px 11px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.service-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.service-contact-button.secondary {
  color: var(--green-dark);
  background: var(--green-soft);
}

.portfolio-grid {
  display: grid;
  gap: 18px;
}

.portfolio-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  background: #fff;
}

.portfolio-card-media {
  min-height: 260px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: #e5ecf2;
}

.portfolio-image-button {
  position: relative;
  min-height: 128px;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #e5ecf2;
}

.portfolio-image-button:first-child:nth-last-child(1) {
  grid-column: 1 / -1;
}

.portfolio-image-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.portfolio-image-button:hover img {
  transform: scale(1.025);
}

.image-moment {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 4px;
  color: #fff;
  background: rgba(15, 35, 63, 0.8);
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
}

.portfolio-placeholder {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #e8eef3;
  font-weight: 750;
}

.portfolio-card-copy {
  padding: 22px;
}

.portfolio-card-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 21px;
}

.portfolio-card-copy > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.portfolio-details {
  margin: 17px 0 0;
  display: grid;
  gap: 8px;
}

.portfolio-details div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}

.portfolio-details dt {
  color: var(--muted);
  font-size: 13px;
}

.portfolio-details dd {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.profile-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.profile-product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.profile-product-media {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f3f6f9;
}

.profile-product-card img,
.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  color: #64748b;
  background: #f3f6f9;
}

.profile-product-copy {
  min-height: 170px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.profile-product-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.3;
}

.profile-product-price {
  margin: 8px 0;
  color: var(--green-dark);
  font-weight: 850;
}

.profile-product-status {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.profile-product-copy a {
  min-height: 38px;
  margin-top: auto;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.profile-product-copy a.unavailable {
  pointer-events: none;
  color: #657080;
  background: #e7ecf1;
}

.text-link {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 750;
}

.profile-side-column {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.profile-info-panel,
.security-notice {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.profile-info-panel h2,
.security-notice h2 {
  margin-bottom: 15px;
  font-size: 18px;
}

.profile-facts {
  margin: 0;
  display: grid;
  gap: 13px;
}

.profile-facts div {
  display: grid;
  gap: 3px;
}

.profile-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-facts dd {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.4;
}

.credentials-list {
  display: grid;
  gap: 10px;
}

.credential-item {
  padding: 12px;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
}

.credential-item strong {
  display: block;
  color: #72500d;
  font-size: 14px;
}

.credential-item span {
  display: block;
  margin-top: 3px;
  color: #6d5b36;
  font-size: 12px;
}

.contact-list {
  display: grid;
  gap: 9px;
}

.contact-link,
.contact-value {
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  background: #f8fafc;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.social-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  min-height: 38px;
  padding: 9px 11px;
  border-radius: 6px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.security-notice {
  border-color: #efdaa2;
  background: var(--gold-soft);
}

.security-notice p {
  margin: 0;
  color: #6f5729;
  font-size: 13px;
  line-height: 1.5;
}

.contact-quote-button {
  width: 100%;
  min-height: 44px;
  margin: 0 0 12px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.quote-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: min(92vh, 920px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: auto;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 35, 63, 0.28);
}

.quote-dialog::backdrop {
  background: rgba(5, 15, 29, 0.72);
}

.quote-form {
  padding: 24px;
}

.quote-dialog-header {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.quote-dialog-header h2 {
  margin: 2px 0 6px;
  color: var(--navy);
  font-size: 25px;
}

.quote-dialog-header p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.quote-close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  font-size: 25px;
}

.quote-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.quote-fields > label,
.quote-files {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.quote-fields label > span,
.quote-files label > span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
}

.quote-fields small,
.quote-files small {
  color: var(--muted);
  font-weight: 550;
}

.quote-fields input,
.quote-fields select,
.quote-fields textarea,
.quote-files input {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
}

.quote-fields textarea {
  min-height: 118px;
  resize: vertical;
}

.quote-field-wide {
  grid-column: 1 / -1;
}

.quote-files {
  padding: 14px;
  border: 1px dashed #aab8c8;
  border-radius: 7px;
  background: #f8fafc;
}

.quote-files > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.quote-previews {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.quote-preview {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.quote-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.quote-preview button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(180, 35, 24, 0.92);
  cursor: pointer;
  font-weight: 850;
}

.quote-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.quote-privacy {
  padding: 13px;
  border-radius: 6px;
  grid-template-columns: auto 1fr !important;
  align-items: start;
  background: var(--green-soft);
}

.quote-privacy input {
  width: 20px;
  min-height: 20px;
  margin: 1px 0 0;
}

.quote-privacy a {
  color: var(--green-dark);
  font-weight: 800;
}

.quote-message {
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #991b1b;
  background: #fff1f2;
}

.quote-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.quote-actions button {
  min-width: 150px;
}

.quote-success {
  padding: 32px 10px 20px;
  text-align: center;
}

.quote-success > strong {
  display: block;
  color: var(--green-dark);
  font-size: 25px;
}

.quote-success b {
  color: var(--navy);
  letter-spacing: 0.03em;
}

.portfolio-lightbox {
  position: fixed;
  z-index: 200;
  inset: 0;
  padding: 22px 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 15, 29, 0.92);
}

.portfolio-lightbox figure {
  max-width: min(1040px, 86vw);
  max-height: 92vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.portfolio-lightbox figcaption {
  width: 100%;
  padding: 12px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  font-size: 14px;
}

.portfolio-lightbox figcaption span {
  color: #bcc9d8;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 35, 63, 0.8);
  cursor: pointer;
  font-size: 32px;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.previous {
  left: 16px;
}

.lightbox-nav.next {
  right: 16px;
}

.services-footer {
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #dce8f5;
  background: #0b1729;
}

.services-footer > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.services-footer img {
  width: auto;
  height: 46px;
  object-fit: contain;
}

.services-footer p {
  margin: 0;
  font-size: 13px;
}

.services-footer nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .services-header-inner {
    align-items: flex-start;
    padding: 10px 0;
    flex-direction: column;
    gap: 6px;
  }

  .services-header nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 3px;
  }

  .services-header nav a {
    white-space: nowrap;
  }

  .services-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .services-hero-visual {
    max-width: 620px;
  }

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

  .search-field {
    grid-column: 1 / -1;
  }

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

  .profile-hero-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .profile-main-actions {
    width: 100%;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-side-column {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel,
  .security-notice {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .services-header-inner,
  .services-search-band,
  .services-results,
  .profile-layout,
  .profile-hero-inner {
    width: min(100% - 20px, 1180px);
  }

  .services-brand img {
    height: 45px;
  }

  .services-header nav a {
    min-height: 38px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .services-hero {
    min-height: auto;
    padding: 44px 16px 76px;
    gap: 28px;
  }

  .services-hero h1 {
    font-size: 36px;
  }

  .services-hero-copy > p:last-child {
    font-size: 16px;
  }

  .services-hero-visual span {
    min-height: 68px;
    padding: 13px;
    font-size: 13px;
  }

  .services-search-band {
    margin-top: -36px;
    padding: 18px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

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

  .search-field,
  .services-filter-toggles,
  .services-filter-actions {
    grid-column: 1;
  }

  .services-filter-toggles {
    align-items: stretch;
    flex-direction: column;
  }

  .services-filter-actions button {
    flex: 1;
  }

  .services-results {
    padding: 40px 0 56px;
  }

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

  .provider-card-body {
    min-height: 0;
  }

  .profile-hero,
  .profile-hero-inner {
    min-height: 550px;
  }

  .profile-hero-inner {
    padding: 82px 0 28px;
    grid-template-columns: 1fr;
    align-content: end;
  }

  .profile-logo {
    width: 78px;
    height: 78px;
  }

  .profile-hero h1 {
    font-size: 36px;
  }

  .profile-main-actions {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .offered-services-grid,
  .profile-side-column {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    grid-template-columns: 1fr;
  }

  .portfolio-card-media {
    min-height: 220px;
  }

  .profile-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-product-copy {
    min-height: 165px;
  }

  .services-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-footer > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-lightbox {
    padding: 64px 12px 20px;
  }

  .portfolio-lightbox figure {
    max-width: 100%;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .portfolio-lightbox figcaption {
    padding-inline: 58px;
    flex-direction: column;
    gap: 3px;
  }

  .quote-form {
    padding: 18px;
  }

  .quote-fields {
    grid-template-columns: 1fr;
  }

  .quote-field-wide {
    grid-column: 1;
  }

  .quote-previews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .quote-actions button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .services-hero h1,
  .profile-hero h1 {
    font-size: 31px;
  }

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

  .services-hero-visual span {
    min-height: 56px;
  }

  .services-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-products-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-details div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Directorio de servicios v2 */
:root {
  --services-blue: #073b86;
  --services-blue-dark: #042b68;
  --services-lime: #7bdc4f;
}

body {
  background: #f7faff;
}

.services-header-inner {
  width: min(1200px, calc(100% - 32px));
  min-height: 76px;
}

.services-header nav {
  gap: 12px;
}

.services-header nav a {
  padding-inline: 15px;
  border-radius: 999px;
}

.services-hero {
  position: relative;
  isolation: isolate;
  min-height: 455px;
  padding: 58px max(24px, calc((100vw - 1200px) / 2)) 108px;
  display: block;
  overflow: hidden;
  color: #fff;
  background-color: var(--services-blue-dark);
  background-image:
    linear-gradient(90deg, rgba(3, 34, 82, 0.98) 0%, rgba(3, 45, 108, 0.95) 34%, rgba(5, 55, 130, 0.58) 54%, rgba(4, 44, 103, 0.05) 78%),
    url("/brand/services/services-hero-v2.webp");
  background-position: center, right center;
  background-repeat: no-repeat;
  background-size: cover, auto 125%;
}

.services-hero::after {
  position: absolute;
  z-index: -1;
  inset: auto -3% -115px -3%;
  height: 155px;
  border-radius: 50% 50% 0 0;
  background: #f7faff;
  content: "";
}

.services-hero-copy {
  max-width: 670px;
}

.services-hero .eyebrow {
  margin-bottom: 15px;
  color: var(--services-lime);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.services-hero h1 {
  max-width: 670px;
  font-size: clamp(44px, 4vw, 60px);
  line-height: 1.01;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.services-hero-copy > p:last-of-type {
  max-width: 590px;
  margin: 20px 0 0;
  color: #e5efff;
  font-size: 18px;
  line-height: 1.55;
}

.services-hero-highlights {
  margin-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.services-hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.services-hero-highlights svg,
.services-search-assurance svg,
.services-filter-actions svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.services-hero-highlights svg {
  color: var(--services-lime);
}

.services-search-band,
.services-results,
.profile-layout {
  width: min(1200px, calc(100% - 32px));
}

.services-search-band {
  margin-top: -78px;
  padding: 25px 30px 24px;
  border: 1px solid rgba(205, 216, 231, 0.9);
  border-radius: 15px;
  box-shadow: 0 18px 45px rgba(15, 35, 63, 0.14);
}

.services-search-band .section-heading {
  align-items: center;
  margin-bottom: 18px;
}

.services-search-band .eyebrow,
.services-results .eyebrow {
  color: #098a47;
}

.services-search-band .section-heading h2,
.services-results .section-heading h2 {
  color: #083a7a;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.services-search-status {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 5px;
}

.services-search-assurance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #31506f;
  font-size: 13px;
  font-weight: 700;
}

.services-search-assurance svg {
  color: #0b9b51;
}

.services-filters {
  grid-template-columns: minmax(280px, 1.45fr) minmax(210px, 0.9fr) minmax(220px, 0.95fr);
  gap: 17px 20px;
}

.services-filters label > span,
.services-filter-toggles legend {
  color: #0c3974;
  font-size: 13px;
}

.services-filters input[type="search"],
.services-filters select {
  min-height: 50px;
  padding-inline: 14px;
  border-color: #cfd9e7;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 35, 63, 0.03);
}

.services-filter-toggles {
  padding: 13px 17px;
  border-radius: 9px;
  gap: 10px 24px;
  background: #fbfcfe;
}

.services-filter-toggles label {
  font-size: 13px;
}

.services-filter-actions {
  gap: 14px;
}

.services-filter-actions button {
  min-height: 46px;
  padding-inline: 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.services-search-button {
  min-width: 122px;
  background: linear-gradient(135deg, #0b9c51, #087c40);
  box-shadow: 0 8px 17px rgba(8, 124, 64, 0.2);
}

.services-search-button:hover {
  background: linear-gradient(135deg, #087c40, #066835);
}

.services-clear-button {
  min-width: 155px;
}

.services-clear-button svg {
  width: 18px;
  height: 18px;
}

.services-results {
  padding-top: 38px;
}

.providers-grid {
  gap: 17px;
}

.provider-card {
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(15, 48, 89, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.provider-card:hover {
  border-color: #b8cce5;
  box-shadow: 0 16px 34px rgba(15, 48, 89, 0.14);
  transform: translateY(-3px);
}

.provider-card-media {
  height: 158px;
}

.provider-card-media .provider-logo {
  left: 14px;
  bottom: 12px;
  width: 54px;
  height: 54px;
  border-radius: 10px;
}

.provider-card-body {
  min-height: 300px;
  padding: 16px;
}

.provider-card-category {
  margin: 0 0 6px;
  color: #0a4389;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.provider-card-title {
  display: flex;
  align-items: center;
  gap: 7px;
}

.provider-card-title h3 {
  min-width: 0;
}

.provider-verified {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1689ed;
  font-size: 12px;
  font-weight: 900;
  flex: 0 0 auto;
}

.provider-card-description {
  margin-block: 8px 11px;
  -webkit-line-clamp: 2;
}

.provider-services {
  margin-block: 12px;
}

.provider-card-action {
  border-radius: 8px;
  background: linear-gradient(135deg, #0b9c51, #087c40);
}

@media (min-width: 1200px) {
  .providers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .services-header-inner {
    min-height: auto;
  }

  .services-hero {
    min-height: 480px;
    padding-bottom: 115px;
    background-image:
      linear-gradient(90deg, rgba(3, 34, 82, 0.99) 0%, rgba(3, 45, 108, 0.95) 44%, rgba(5, 55, 130, 0.38) 72%, rgba(4, 44, 103, 0.08) 100%),
      url("/brand/services/services-hero-v2.webp");
    background-position: center, right center;
    background-size: cover, auto 118%;
  }

  .services-hero-copy {
    max-width: 560px;
  }

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

@media (max-width: 720px) {
  .services-header-inner,
  .services-search-band,
  .services-results,
  .profile-layout,
  .profile-hero-inner {
    width: min(100% - 20px, 1200px);
  }

  .services-header nav {
    gap: 3px;
  }

  .services-header nav a {
    padding-inline: 11px;
  }

  .services-hero {
    min-height: 620px;
    padding: 42px 16px 285px;
    background-image:
      linear-gradient(180deg, rgba(3, 35, 84, 1) 0%, rgba(3, 45, 108, 0.99) 51%, rgba(3, 45, 108, 0.28) 76%, rgba(3, 36, 86, 0.05) 100%),
      url("/brand/services/services-hero-v2.webp");
    background-position: center, 72% bottom;
    background-size: 100% 100%, auto 340px;
  }

  .services-hero::after {
    bottom: -126px;
  }

  .services-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.02;
  }

  .services-hero-copy > p:last-of-type {
    font-size: 16px;
  }

  .services-hero-highlights {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .services-search-band {
    margin-top: -48px;
    padding: 20px 17px;
    border-radius: 13px;
  }

  .services-search-band .section-heading {
    align-items: flex-start;
  }

  .services-search-status {
    align-items: flex-start;
  }

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

  .services-filter-actions button {
    flex: 1 1 0;
    padding-inline: 14px;
  }

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

  .provider-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .provider-card-media {
    height: 100%;
    min-height: 250px;
  }

  .provider-card-body {
    min-height: 250px;
  }

  .provider-card-media .provider-logo {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 420px) {
  .services-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .services-filter-actions button {
    width: 100%;
  }

  .provider-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .provider-card-body {
    padding: 14px;
  }
}
