/* ══════════════════════════════════════
   PAGE LOADER
══════════════════════════════════════ */

@keyframes loaderRingSpin {
  to { transform: rotate(360deg); }
}
@keyframes loaderIconPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(245,200,76,.5)); }
  50%       { filter: drop-shadow(0 0 22px rgba(245,200,76,.95)); }
}
@keyframes loaderSparkFly {
  0%   { transform: rotate(var(--a)) translateX(32px) scale(1); opacity: 1; }
  70%  { opacity: .6; }
  100% { transform: rotate(var(--a)) translateX(64px) scale(0); opacity: 0; }
}
@keyframes loaderBrandReveal {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to   { clip-path: inset(0 0% 0 0);   opacity: 1; }
}
@keyframes loaderTagReveal {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loaderBarFill {
  from { width: 0%; }
  to   { width: 100%; }
}
@keyframes loaderOut {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}
@keyframes loaderCurtainOut {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #090d17;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

#page-loader.done {
  animation: loaderOut 0.75s cubic-bezier(0.76, 0, 0.24, 1) 0.05s forwards;
  pointer-events: none;
}

.loader-curtain {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,200,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}

#page-loader.done .loader-curtain {
  animation: loaderCurtainOut 0.75s cubic-bezier(0.76, 0, 0.24, 1) 0s forwards;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  animation: loaderTagReveal 0.5s ease 0.1s both;
}

/* Icon */
.loader-icon-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo-img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 18px;
  position: relative;
  z-index: 1;
  animation: loaderIconPulse 1.8s ease-in-out infinite;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(245,200,76,0.9);
  border-right-color: rgba(245,200,76,0.3);
  animation: loaderRingSpin 1.2s linear infinite;
}

.loader-ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-bottom-color: rgba(245,200,76,0.4);
  animation: loaderRingSpin 1.8s linear infinite reverse;
}

/* Sparks */
.loader-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loader-sparks span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px;
  background: #f5c84c;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(245,200,76,0.8);
  animation: loaderSparkFly 1s ease-out var(--d) infinite;
  opacity: 0;
}

/* Brand */
.loader-brand {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #eef1f7;
  letter-spacing: -0.02em;
  clip-path: inset(0 100% 0 0);
  animation: loaderBrandReveal 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.loader-tagline {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(168,177,196,0.7);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: loaderTagReveal 0.5s ease 0.85s forwards;
}

/* Progress bar */
.loader-bar-track {
  width: 160px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.4rem;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(245,200,76,0.6), #f5c84c, rgba(245,200,76,0.6));
  border-radius: 2px;
  animation: loaderBarFill 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
  box-shadow: 0 0 8px rgba(245,200,76,0.6);
}

/* ══ END LOADER ══ */

:root {
  --bg: #101217;
  --surface: #171b23;
  --surface-2: #1e2430;
  --text: #eef1f7;
  --muted: #a8b1c4;
  --accent: #f5c84c;
  --accent-strong: #ffdd6f;
  --border: #2a3242;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(31, 47, 73, 0.6) 0%, rgba(31, 47, 73, 0) 55%),
    radial-gradient(ellipse 70% 50% at 90% 30%, rgba(245, 200, 76, 0.08) 0%, rgba(245, 200, 76, 0) 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(74, 120, 202, 0.1) 0%, rgba(74, 120, 202, 0) 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 0 5.5rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: rgba(245, 200, 76, 0.2);
  top: 8%;
  right: 8%;
  animation: heroPulse 10s ease-in-out infinite;
}

.hero::after {
  width: 260px;
  height: 260px;
  background: rgba(74, 120, 202, 0.15);
  bottom: 15%;
  left: 5%;
  animation: heroPulse 12s ease-in-out infinite reverse;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand span {
  font-size: 1.28rem;
  font-weight: 800;
  color: #fff5d1;
  text-shadow: 0 0 12px rgba(245, 200, 76, 0.45), 0 0 26px rgba(245, 200, 76, 0.2);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.brand:hover span {
  color: #ffe082;
  text-shadow: 0 0 14px rgba(245, 200, 76, 0.65), 0 0 34px rgba(245, 200, 76, 0.34);
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent-strong);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin-top: 4.4rem;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.85s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.08s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.32s; }
.hero-content > *:nth-child(4) { animation-delay: 0.44s; }

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(245, 200, 76, 0.35);
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.88rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.subtitle {
  margin: 1.15rem 0 0;
  color: var(--muted);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.74rem 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.28s ease, background-color 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #141414;
  box-shadow: 0 10px 20px rgba(245, 200, 76, 0.2);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(245, 200, 76, 0.5);
}

.section {
  padding: 4.2rem 0;
  position: relative;
}

.section:first-of-type {
  padding-top: 0;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-head p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 700px;
}

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

.card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: 16px;
  padding: 1.2rem;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: cardFadeIn 0.6s ease forwards;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: left 0.6s ease;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.25s; }
.card:nth-child(3) { animation-delay: 0.4s; }

@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(245, 200, 76, 0.5);
  box-shadow: 0 20px 40px rgba(245, 200, 76, 0.15), 0 16px 32px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
  left: 100%;
}

.card h3 {
  font-size: 1.1rem;
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
  display: inline-block;
}

.card:hover h3 {
  color: var(--accent-strong);
  transform: translateX(4px);
}

.card h3::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.card:hover h3::after {
  width: 100%;
}

.card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  transition: color 0.25s ease;
}

.card:hover p {
  color: var(--text);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.gallery-item {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  cursor: zoom-in;
  padding: 0;
  position: relative;
  transition: transform 0.3s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.gallery-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item-before-after img {
  object-position: center;
  transform: scale(1.12);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 200, 76, 0.4);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-before-after:hover img {
  transform: scale(1.2);
}

.gallery-item {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: galleryFadeIn 0.5s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }
.gallery-item:nth-child(7) { animation-delay: 0.35s; }
.gallery-item:nth-child(8) { animation-delay: 0.4s; }
.gallery-item:nth-child(9) { animation-delay: 0.45s; }

@keyframes galleryFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.price-wrap {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.88rem 1rem;
  border-bottom: 1px solid var(--border);
}

.price-table th {
  background: var(--surface-2);
  font-size: 1rem;
}

.price-table td:last-child,
.price-table th:last-child {
  width: 190px;
  font-weight: 700;
}

.price-table tbody tr {
  transition: background-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.price-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(245, 200, 76, 0.08), rgba(245, 200, 76, 0.02));
  transform: scale(1.01);
}

.price-table tbody tr:hover td {
  color: var(--text);
}

.price-table tbody tr:hover td:last-child {
  color: var(--accent-strong);
  text-shadow: 0 0 10px rgba(245, 200, 76, 0.3);
}

.price-table tbody tr {
  opacity: 0;
  animation: priceRowFadeIn 0.4s ease forwards;
}

.price-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.price-table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.price-table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.price-table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.price-table tbody tr:nth-child(5) { animation-delay: 0.25s; }
.price-table tbody tr:nth-child(6) { animation-delay: 0.3s; }
.price-table tbody tr:nth-child(7) { animation-delay: 0.35s; }
.price-table tbody tr:nth-child(8) { animation-delay: 0.4s; }
.price-table tbody tr:nth-child(9) { animation-delay: 0.45s; }
.price-table tbody tr:nth-child(10) { animation-delay: 0.5s; }
.price-table tbody tr:nth-child(11) { animation-delay: 0.55s; }

@keyframes priceRowFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Contact Grid ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.contact-card,
.contact-form {
  border: 1px solid rgba(245, 200, 76, 0.15);
  border-radius: 24px;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, var(--surface) 50%);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}

.contact-card::before,
.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 200, 76, 0.7), rgba(245, 200, 76, 0.3), transparent);
  animation: borderGlow 3s ease-in-out infinite;
  border-radius: 24px 24px 0 0;
}

.contact-card::after,
.contact-form::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: rgba(245, 200, 76, 0.09);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(50px);
  transform: translateZ(0);
}

.contact-card:hover,
.contact-form:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 200, 76, 0.3), 0 0 30px rgba(245, 200, 76, 0.08);
  border-color: rgba(245, 200, 76, 0.4);
}

/* ── Card Header ── */
.contact-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-card-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.contact-card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 200, 76, 0.2), rgba(245, 200, 76, 0.08));
  border: 1px solid rgba(245, 200, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 200, 76, 0.15);
}

/* ── Contact Rows ── */
.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
}

a.contact-row:hover {
  background: rgba(245, 200, 76, 0.07);
  border-color: rgba(245, 200, 76, 0.22);
  transform: translateX(6px);
  box-shadow: 0 4px 16px rgba(245, 200, 76, 0.08);
}

.contact-row-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

a.contact-row:hover .contact-row-icon {
  background: rgba(245, 200, 76, 0.18);
  border-color: rgba(245, 200, 76, 0.35);
  box-shadow: 0 0 12px rgba(245, 200, 76, 0.2);
}

.contact-row-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  flex: 1;
  min-width: 0;
}

.contact-row-label {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.contact-row-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

a.contact-row:hover .contact-row-value {
  color: var(--accent-strong);
}

.contact-row-arrow {
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  flex-shrink: 0;
}

a.contact-row:hover .contact-row-arrow {
  opacity: 1;
  transform: translateX(0);
}

.contact-row-addr {
  cursor: default;
}

/* ── Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-field:nth-child(4) {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form .form-field:nth-child(4) textarea {
  flex: 1;
  min-height: 90px;
}

.form-field {
  position: relative;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.2rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.consent-row input[type="checkbox"] {
  margin-top: 0.14rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.consent-row a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-row a:hover {
  color: #ffe79a;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1.05rem 1rem 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
  resize: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.form-field label {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--muted);
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.form-field textarea ~ label {
  top: 1rem;
  transform: none;
}

.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
  top: 0.4rem;
  transform: none;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 200, 76, 0.14), inset 0 2px 4px rgba(0,0,0,0.1);
  background: rgba(245, 200, 76, 0.04);
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.25rem;
}

.form-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

/* placeholder trick */
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: transparent;
}

.map-wrap {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  margin-top: 0.8rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.legal-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(4px);
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.legal-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-dialog {
  width: min(980px, 96vw);
  height: min(86vh, 760px);
  background: #11161f;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.legal-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #141a24;
}

.legal-modal-head h3 {
  font-size: 1rem;
}

.legal-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
}

#legalModalFrame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0f141d;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 7, 12, 0.88);
  backdrop-filter: blur(6px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1rem;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  width: auto;
  max-width: min(1200px, 95vw);
  max-height: min(84vh, 1200px);
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid #394155;
  box-shadow: var(--shadow);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox img.portrait {
  max-width: min(62vw, 680px);
}

.lightbox p {
  margin: 0.75rem 0 0;
  color: #cdd5e4;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes heroPulse {
  0%,
  100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

@keyframes riseIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@media (max-width: 1024px) {
  .cards,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero::before {
    width: 220px;
    height: 220px;
    right: 5%;
  }

  .hero::after {
    width: 180px;
    height: 180px;
    left: 3%;
  }

  h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }
}

@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
  }

  .hero {
    padding: 1rem 0 3rem;
  }

  .hero-content {
    margin-top: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-head h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .price-table th,
  .price-table td {
    padding: 0.6rem 0.5rem;
    font-size: 0.9rem;
  }

  .price-table td:last-child,
  .price-table th:last-child {
    width: auto;
    min-width: 100px;
  }

  .contact-card,
  .contact-form {
    padding: 0.9rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    text-align: center;
  }

  .map-wrap iframe {
    min-height: 240px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    font-size: 1.05rem;
  }

  .lightbox img {
    max-width: 98vw;
    max-height: 70vh;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1140px, 96vw);
  }

  .nav {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1rem;
    border-top: none;
    order: 0;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 0.3rem 0.5rem;
  }

  .hero {
    padding: 0.8rem 0 2rem;
  }

  .hero-content {
    margin-top: 1.5rem;
    text-align: center;
  }

  .hero-content > * {
    text-align: center;
  }

  .eyebrow {
    font-size: 0.8rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .card {
    padding: 1rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-head {
    text-align: center;
    margin-bottom: 1rem;
  }

  .section-head h2 {
    font-size: 1.3rem;
  }

  .section-head p {
    font-size: 0.9rem;
  }

  .price-wrap {
    border-radius: 12px;
  }

  .price-table {
    font-size: 0.85rem;
  }

  .price-table th,
  .price-table td {
    padding: 0.5rem 0.4rem;
  }

  .price-table th {
    font-size: 0.9rem;
  }

  .contact-card p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
  }

  .contact-form label {
    font-size: 0.9rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.6rem;
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .btn {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-inner p {
    font-size: 0.85rem;
  }

  .map-wrap {
    border-radius: 12px;
    min-height: 200px;
  }

  .map-wrap iframe {
    min-height: 200px;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 38px;
    height: 38px;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .gallery-item {
    cursor: pointer;
  }

  .card:hover {
    transform: none;
  }

  .gallery-item:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }
}

/* Landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 0.5rem 0 1.5rem;
  }

  .hero-content {
    margin-top: 1rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav {
    flex-direction: row;
  }

  .nav-links {
    order: 0;
    width: auto;
    border-top: none;
  }
}

/* High DPI / Retina screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .brand img {
    image-rendering: -webkit-optimize-contrast;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}
