/* Dmistudio — clean, Tesla-inspired home */

:root {
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --soft: #f6f6f6;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ——— Nav ——— */

#mainNav {
  background: transparent;
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#mainNav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

#mainNav .navbar-brand {
  color: var(--white);
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

#mainNav .nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.2s ease;
}

#mainNav .nav-link:hover, #mainNav .nav-link.active {
  color: var(--white);
}

#mainNav .navbar-toggler-icon {
  filter: invert(1);
}

/* ——— Hero ——— */

.hero {
  min-height: 100vh;
  background: var(--ink);
  padding: 5.25rem 0 4.5rem;
  position: relative;
}

/* Home hero only — shorter height, content vertically centered */

.hero:not(.hero-page) {
  min-height: 85vh;
  align-items: center !important;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem !important;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 32rem;
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 1.75rem !important;
}

.hero .btn-light {
  border: none;
  font-weight: 560;
  border-radius: 999px;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.hero .btn-outline-light {
  border-width: 2px;
  font-weight: 560;
  border-radius: 999px;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.hero .btn-outline-light:hover {
  background: var(--white);
  color: var(--ink);
}

/* ——— Shared buttons ——— */

.btn-dark {
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-bg: var(--ink-soft);
  --bs-btn-hover-border-color: var(--ink-soft);
  --bs-btn-active-bg: var(--ink-soft);
  --bs-btn-active-border-color: var(--ink-soft);
  border-radius: 999px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.btn-dark.btn-lg {
  padding: 0.85rem 1.6rem;
}

.btn-light {
  border-radius: 999px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.btn-outline-light {
  border-radius: 999px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

/* ——— Sections ——— */

.section-pad {
  padding: 7rem 0;
}

.bg-soft {
  background: var(--soft);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.section-label-light {
  color: rgba(255, 255, 255, 0.55);
}

.section-heading, .section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.section-subtext, .section-lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.section-lead {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Home feature panels ——— */

.feature-panel {
  border-radius: 1.5rem;
  min-height: 22rem;
  overflow: hidden;
}

.feature-panel-dark {
  background: linear-gradient(160deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.75) 100%), linear-gradient(145deg, #2a2a2a 0%, #5c534a 50%, #cfc6bb 100%);
}

.feature-panel-light {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.15) 0%, rgba(246, 246, 246, 0.92) 100%), linear-gradient(145deg, #d7d7d7 0%, #9aa3ad 48%, #2c3136 100%);
  border: 1px solid var(--line);
}

.badge-soft {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

.badge-soft-dark {
  color: var(--ink);
  background: rgba(10, 10, 10, 0.06);
  border-color: rgba(10, 10, 10, 0.08);
}

.feature-list li {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.feature-list icon, .feature-list i {
  color: var(--ink);
  flex-shrink: 0;
}

.stat-card {
  background: var(--soft);
  border-radius: 1rem;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.stat-card:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}

.stat-value {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.stat-label {
  font-size: 0.9rem;
}

/* ——— Home gallery cards ——— */

.gallery-card {
  transition: transform 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
}

.gallery-thumb {
  border-radius: 1rem;
  height: 240px;
  background-size: cover;
  background-position: center;
}

.gallery-thumb-1 {
  background: linear-gradient(145deg, #2c2c2c 0%, #8a8178 48%, #d6d0c8 100%);
}

.gallery-thumb-2 {
  background: linear-gradient(160deg, #1a1a1a 0%, #5c6670 50%, #c5cdd4 100%);
}

.gallery-thumb-3 {
  background: linear-gradient(135deg, #0f0f0f 0%, #2a2a2a 40%, #6b6b6b 100%);
}

.gallery-meta h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ——— Home contact CTA ——— */

.cta-section {
  background: var(--ink-soft);
}

.cta-section .btn-outline-light {
  border-width: 2px;
}

.cta-section .btn-outline-light:hover {
  background: var(--white);
  color: var(--ink);
}

/* ——— Hero extras ——— */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(40, 40, 40, 0.35) 0%, rgba(10, 10, 10, 0.2) 100%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.65rem !important;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.25rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-scroll:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ——— Service cards (Remodeling) ——— */

.remodel-services {
  background: var(--white);
}

.remodel-service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.85rem 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.remodel-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
  border-color: #dedede;
}

.remodel-service-title {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.remodel-service-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.remodel-services-note {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1200px) {
  .remodel-service-card {
    padding: 2rem 1.75rem;
  }
}

@media (min-width: 1200px) {
  .remodel-service-title {
    font-size: 1.15rem;
    min-height: 2.6em;
  }
}

/* ——— Partners (Remodeling) ——— */

.partners-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.partners-intro {
  max-width: 34rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  height: 100%;
  padding: 1.6rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
  border-color: #dedede;
  color: inherit;
}

.partner-logo {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  border-radius: 0.85rem;
  overflow: hidden;
  padding: 1.1rem;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partner-logo:has(img) .brand-logo-label {
  display: none;
}

.partner-name {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.3;
}

@media (min-width: 992px) {
  .partner-card {
    padding: 1.85rem 1.35rem;
  }
}

/* ——— Entertainment focus (Electronics) ——— */

.entertainment-section {
  background: var(--white);
}

.entertainment-card {
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 1.25rem;
  padding: 2.25rem 1.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.entertainment-card:hover {
  transform: translateY(-3px);
  background: var(--white);
  border-color: var(--line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
}

.entertainment-card-title {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
  .entertainment-card {
    padding: 2.5rem 2.15rem;
  }
}

@media (min-width: 992px) {
  .entertainment-card-title {
    font-size: 1.28rem;
    min-height: 2.6em;
  }
}

/* ——— Brand grid (Electronics) ——— */

.brands-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.brands-intro {
  max-width: 36rem;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  border-color: #dedede;
}

/* Drop a logo image inside .brand-logo — it will scale to fit */

.brand-logo {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  border-radius: 0.85rem;
  overflow: hidden;
  padding: 1.25rem;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-logo:has(img) .brand-logo-label {
  display: none;
}

.brand-logo-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b0b0b0;
  user-select: none;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

@media (min-width: 992px) {
  .brand-card {
    padding: 2rem 1.5rem;
    gap: 1.15rem;
  }
}

@media (min-width: 992px) {
  .brand-name {
    font-size: 1.05rem;
  }
}

/* ——— Additional brands wall (Electronics) ——— */

.additional-brands-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.additional-brands-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.additional-brand-tile {
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.additional-brand-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  border-color: #dedede;
}

.additional-brand-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.additional-brand-tile:has(img) .brand-logo-label {
  display: none;
}

@media (min-width: 768px) {
  .additional-brands-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* ——— Security section (Electronics) ——— */

.security-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.security-subtitle {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.security-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.security-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
  border-color: #dedede;
}

.security-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.security-card-title {
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.35rem;
  line-height: 1.2;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.security-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.35;
}

.security-note {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .security-card {
    padding: 2.75rem 2.5rem;
  }
}

/* ——— CTA banner ——— */

.cta-banner {
  background: var(--ink-soft);
  padding: 7rem 0;
}

.cta-heading {
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.cta-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.15rem;
  max-width: 28rem;
}

.cta-banner .btn-light {
  border: none;
  font-weight: 560;
  border-radius: 999px;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

/* ——— Footer ——— */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--ink);
  font-weight: 650;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.footer-brand:hover {
  color: var(--ink);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.55;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* ——— Page hero (inner pages) ——— */

.hero-page {
  min-height: 52vh;
  padding: 9rem 0 5rem;
}

.hero-page .hero-title {
  max-width: 18ch;
}

/* ——— Gallery page ——— */

.gallery-filters {
  gap: 0.5rem !important;
}

.gallery-filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gallery-filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--soft);
}

.gallery-filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.gallery-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item.is-hidden {
  display: none !important;
}

.gallery-tile {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  background: var(--soft);
}

.gallery-tile-image {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.gallery-tile:hover .gallery-tile-image {
  transform: scale(1.04);
}

.gallery-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.2) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-tile:hover .gallery-tile-overlay {
  opacity: 1;
}

.gallery-tile-title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.gallery-tile-meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* Placeholder project images — calm gradients */

.gallery-img-1 {
  background: linear-gradient(145deg, #2c2c2c 0%, #8a8178 48%, #d6d0c8 100%);
}

.gallery-img-2 {
  background: linear-gradient(160deg, #1a1a1a 0%, #5c6670 50%, #c5cdd4 100%);
}

.gallery-img-3 {
  background: linear-gradient(135deg, #0f0f0f 0%, #2a2a2a 40%, #6b6b6b 100%);
}

.gallery-img-4 {
  background: linear-gradient(150deg, #242018 0%, #6e6558 45%, #e0d8cc 100%);
}

.gallery-img-5 {
  background: linear-gradient(145deg, #1c1c1c 0%, #4a4540 50%, #b8b0a6 100%);
}

.gallery-img-6 {
  background: linear-gradient(160deg, #2a2522 0%, #7a7168 48%, #efe8e0 100%);
}

.gallery-img-7 {
  background: linear-gradient(135deg, #101418 0%, #3a4550 50%, #9aabba 100%);
}

.gallery-img-8 {
  background: linear-gradient(150deg, #181818 0%, #3d3d3d 40%, #a8a8a8 100%);
}

.gallery-img-9 {
  background: linear-gradient(145deg, #1a1410 0%, #5c4030 48%, #c4a882 100%);
}

.gallery-img-10 {
  background: linear-gradient(160deg, #222526 0%, #6a7276 50%, #dfe4e6 100%);
}

.gallery-img-11 {
  background: linear-gradient(135deg, #0c0c0c 0%, #252525 45%, #555555 100%);
}

.gallery-img-12 {
  background: linear-gradient(150deg, #141820 0%, #3a424e 48%, #8b95a3 100%);
}

/* ——— Contact page ——— */

.contact-aside {
  background: var(--soft);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  border: 1px solid var(--line);
}

.contact-aside-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 28rem;
}

.contact-label-field {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.contact-input {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.9rem 1.05rem;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
  min-height: 3.15rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
  color: var(--ink);
  background: var(--white);
}

.contact-input::placeholder {
  color: #a3a3a3;
}

.contact-textarea {
  resize: vertical;
  min-height: 10rem;
}

.contact-submit {
  border: none;
  font-weight: 560;
  border-radius: 999px;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  letter-spacing: -0.01em;
  min-width: 12rem;
}

.contact-submit:hover {
  background: var(--ink-soft);
}

.contact-detail-list {
  max-width: 24rem;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: var(--white);
  color: var(--ink);
  font-size: 1.15rem;
  border: 1px solid var(--line);
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-detail-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  transition: opacity 0.2s ease;
  word-break: break-word;
}

.contact-detail-link:hover {
  opacity: 0.55;
  color: var(--ink);
}

.contact-detail-text {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ——— Payments page ——— */

.payments-section {
  background: var(--white);
}

.payment-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2.75rem 2rem;
}

.payment-card-title {
  font-size: clamp(1.45rem, 2.5vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
}

.payment-card-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.paypal-button-wrap {
  width: 100%;
  max-width: 22rem;
  margin: 2rem auto 1.75rem;
  padding: 0;
}

.paypal-button-wrap #paypal-container-BPNFHPP8WMQNC {
  width: 100%;
  min-height: 4.5rem;
}

.payment-note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .payment-card {
    padding: 3.25rem 2.75rem;
  }
}

@media (min-width: 768px) {
  .paypal-button-wrap {
    margin-top: 2.25rem;
    margin-bottom: 2rem;
  }
}

/* ——— Responsive ——— */

@media (max-width: 991.98px) {
  .contact-aside {
    margin-top: 0.25rem;
  }
}

@media (max-width: 991.98px) {
  .contact-submit {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .feature-panel {
    min-height: 18rem;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 4.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .cta-banner {
    padding: 4.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 5rem 0 3.5rem;
    min-height: 92vh;
  }
}

@media (max-width: 767.98px) {
  .hero:not(.hero-page) {
    min-height: 78vh;
    align-items: center !important;
    padding-top: 5rem;
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-page {
    min-height: 42vh;
    padding: 7.5rem 0 3.5rem;
  }
}

@media (max-width: 767.98px) {
  .gallery-tile-image {
    height: 260px;
  }
}

@media (max-width: 767.98px) {
  .gallery-tile-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.15) 55%, transparent 75%);
  }
}

@media (max-width: 575.98px) {
  .contact-aside {
    padding: 1.75rem 1.35rem;
  }
}

