:root {
  --bg-main: #252c36;
  --accent: #ff6b5a;
  --accent-soft: rgba(255, 107, 90, 0.6);
  --text-light: #f8f9fb;
  --text-muted: #c5c7d0;
  --nav-bg: rgba(10, 12, 18, 0.9);
  --thumb-size: 78px;
  --thumb-radius: 18px;
  --thumb-border: 2px;
}

/* RESET / BASE */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* background differs per page */
body.home {
  background: var(--bg-main);
}

body.portfolio {
  background: radial-gradient(circle at 10% 0%, #2f3745, #181b24 60%, #10131a);
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER / NAV */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 14px;
  text-transform: uppercase;
}

.brand-logo {
  width: 65px;
  height: 65px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand span:last-child {
  font-size: 15px;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 18px;
  font-size: 14px;
  flex-wrap: wrap;
}

nav a {
  position: relative;
  padding-bottom: 4px;
  font-weight: 850;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fcb045, #fd1d1d, #833ab4);
  border-radius: 999px;
  transition: width 0.25s ease;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #ffffff;
}

nav a[aria-current="page"]::after,
nav a:hover::after {
  width: 100%;
}

/* CTA in header */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, #f97316, #ec4899, #6366f1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
}

/* language switch (if used) */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch button.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* MAIN & FOOTER */

main {
  flex: 1;
  padding-top: 90px; /* more space for logo + menu + button */
}

footer {
  padding: 16px 20px 18px;
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(5, 7, 12, 0.92);
}

/* ========== HOME / HERO ========== */

.hero-section {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wave-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.wave-bg span {
  position: absolute;
  width: 260vh;
  height: 260vh;
  top: 0;
  left: 50%;
  transform: translate(-50%, -75%);
  border-radius: 45%;
  animation: wave-spin 14s linear infinite;
}

.wave-bg span:nth-child(1) {
  background: radial-gradient(circle at 30% 20%, rgba(252, 117, 89, 0.34), rgba(24, 26, 32, 1));
  animation-duration: 18s;
}

.wave-bg span:nth-child(2) {
  background: radial-gradient(circle at 70% 80%, rgba(88, 204, 237, 0.32), rgba(18, 21, 30, 1));
  animation-duration: 28s;
}

.wave-bg span:nth-child(3) {
  background: radial-gradient(circle at 10% 90%, rgba(244, 210, 102, 0.25), rgba(15, 18, 24, 1));
  animation-duration: 36s;
}

@keyframes wave-spin {
  0% { transform: translate(-50%, -75%) rotate(0deg); }
  100% { transform: translate(-50%, -75%) rotate(360deg); }
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  width: 100%;
  padding: 32px 18px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.15fr);
  gap: 30px;
  z-index: 1;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.5vw, 46px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-copy h1 span {
  color: #ffd38a;
}

.hero-copy p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 20px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-meta span::before {
  content: "•";
  font-size: 16px;
  color: var(--accent);
}

.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-photo-frame {
  position: relative;
  border-radius: 32px;
  padding: 14px;
  backdrop-filter: blur(22px);
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.72));
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-photo-inner {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

#heroPhoto {
  width: 100%;
  height: min(420px, 60vh);
  object-fit: cover;
  display: block;
  transform-origin: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#heroPhoto.show {
  opacity: 1;
  transform: scale(1);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 46%);
  pointer-events: none;
}

.hero-quote {
  position: absolute;
  left: 18px;
  bottom: 14px;
  right: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: #fefefe;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.hero-quote small {
  display: block;
  opacity: 0.85;
  margin-top: 4px;
  font-size: 12px;
}

.hero-thumbs-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.hero-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.hero-thumbs::-webkit-scrollbar {
  height: 4px;
}
.hero-thumbs::-webkit-scrollbar-track {
  background: transparent;
}
.hero-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.32);
  border-radius: 999px;
}

.thumb {
  position: relative;
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius: var(--thumb-radius);
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-origin: center;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.65),
    0 0 0 var(--thumb-border) rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.7));
}

.thumb::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 180deg,
    rgba(255, 184, 108, 0.8),
    rgba(255, 105, 180, 0.8),
    rgba(114, 203, 255, 0.9),
    rgba(255, 184, 108, 0.8)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.thumb img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.35s ease;
  z-index: 1;
}

.thumb:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.9),
    0 0 0 var(--thumb-border) rgba(255, 255, 255, 0.12);
}

.thumb:hover::before {
  opacity: 1;
}

.thumb:hover img {
  filter: grayscale(0%);
}

.thumb.active {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.85),
    0 0 0 var(--thumb-border) rgba(255, 255, 255, 0.22);
}

.thumb.active img {
  filter: grayscale(0%);
}

.hero-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #fcb045, #fd1d1d);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-arrow-btn span {
  display: block;
  transform: translateY(1px);
}

.hero-arrow-btn:hover {
  transform: translateY(-1px) scale(1.05);
  filter: brightness(1.05);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.8);
}

.hero-arrow-btn:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

/* ========== PORTFOLIO ========== */

body.portfolio header {
  position: sticky;
}

body.portfolio main {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 18px 40px; /* top padding matches main */
}

body.portfolio h1 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 8px;
}

.intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 26px;
  max-width: 560px;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted);
  font: 500 13px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
}

.filter-btn.active {
  background: linear-gradient(120deg, #fcb045, #fd1d1d, #833ab4);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.85);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: radial-gradient(circle at 10% 0%, rgba(255,255,255,0.12), rgba(0,0,0,0.9));
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 180deg,
    rgba(255, 184, 108, 0.9),
    rgba(255, 105, 180, 0.9),
    rgba(114, 203, 255, 0.9),
    rgba(255, 184, 108, 0.9)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.card-inner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  z-index: 1;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: grayscale(10%);
}

.card-caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #fefefe;
  text-shadow: 0 1px 4px rgba(0,0,0,0.85);
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.card:hover::before {
  opacity: 1;
}

.card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 46px rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
}

.lightbox-img-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  object-fit: contain;
}

.lightbox-caption {
  padding: 10px 14px;
  font-size: 13px;
  color: #f2f2f2;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}

.lightbox-close{
  position: fixed;            /* stays above the image on mobile */
  top: 12px;
  right: 12px;
  z-index: 99999;             /* always on top */
  border: none;
  background: rgba(0,0,0,0.65);
  color: #fff;
  width: 40px;                /* a bit bigger for touch */
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.35);
  transition: background 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.lightbox-close:hover{
  transform: scale(1.04);
}

@media (max-width: 600px){
  .lightbox-close{
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}


.lightbox-close:hover {
  background: rgba(0,0,0,0.85);
  transform: translateY(-1px);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
  .nav-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 14px;
    text-align: center;
  }

  nav ul {
    justify-content: center;
  }

  .nav-cta {
    margin-top: 16px;
  }

  main {

    padding-inline: 14px;
    padding-top: 10rem; /* extra top space on smaller screens */
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .hero-copy {
    order: 2;
  }
  .hero-showcase {
    order: 1;
  }
  .hero-photo-frame {
    border-radius: 24px;
    padding: 10px;
  }
  .hero-photo-inner {
    border-radius: 18px;
  }
  #heroPhoto {
    height: min(360px, 55vh);
  }
  .hero-quote {
    font-size: 12px;
  }
  .hero-thumbs-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-thumbs {
    justify-content: flex-start;
  }
  .hero-arrow-btn {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .card img {
    height: 190px;
  }
  .lightbox-inner {
    border-radius: 12px;
  }

  .about-layout,
  .contact-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 600px) {
  
  .hero-inner {
    padding-inline: 14px;
  }
  .hero-copy h1 {
    font-size: 30px;
  }
  .hero-meta span {
    font-size: 12px;
    
  }
  :root {
    --thumb-size: 66px;
    --thumb-radius: 15px;
  }
  
}

/* === PAGE BACKGROUNDS FOR SUBPAGES === */

body.offer {
  background: radial-gradient(circle at 20% 0%, #30384a, #161921 60%, #0e1016);
}

body.about {
  background: radial-gradient(circle at 80% 0%, #293343, #161821 60%, #0b0d13);
}

body.contact {
  background: radial-gradient(circle at 20% 100%, #273547, #161821 60%, #090b10);
}

body.legal {
  background: #0f1117;
}

/* === GENERIC PAGE SECTIONS === */

.page-section {
  max-width: 1120px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.page-section-top {
  margin-top: 16px;
}

.page-header-block {

  margin: 50px 0;
 
}

.page-title {
  font-size: clamp(28px, 3vw, 34px);
  margin-bottom: 8px;
  color: #f9fafb;
}

.page-intro {
  max-width: 680px;
  color: var(--text-muted);
  font-size: 15px;
  padding: 10px 0;
   border-bottom: 1px solid whitesmoke;
  border-radius: 3px;
 
  
}

.page-intro.note {
  margin-top: 10px;
  padding: 1rem 0rem;
  font-size: 13px;
  opacity: 0.9;
  border-bottom: 1px solid whitesmoke;
  border-radius: 3px;
}

/* === FOOTER (improved with social links) === */

.site-footer {
  padding: 16px 20px 18px;
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.02), rgba(3, 7, 18, 0.98));
}

.site-footer .footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-bottom-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-links a {
  font-size: 12px;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.si-ig {
  background: radial-gradient(circle at 0 100%, #f97316, #ec4899, #6366f1);
  color: #fff;
  border-color: transparent;
}

.si-fb {
  background: #1877f2;
  color: #fff;
  border-color: transparent;
}

@media (max-width: 640px) {
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === OFERTA === */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.offer-card {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.04), rgba(3, 7, 18, 0.98));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}

.offer-card h2 {
  font-size: 17px;
  margin-bottom: 4px;
}

.offer-price {
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 8px;
}

.offer-list {
  padding-left: 20px;
  margin: 6px 0 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.offer-list li + li {
  margin-top: 4px;
}

.offer-tag {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.9;
}

.offer-cta {
  margin: 50px 0;
  text-align: center;
  padding: 10px 0;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  background: linear-gradient(120deg, #f97316, #ec4899, #6366f1);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  text-decoration: none;
  margin-top: 1rem;
}

.primary-btn:hover {
  transform: translateY(-1px);
}

/* === ABOUT PAGE === */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 26px;
  
}


.about-main p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  
}

.about-main h2 {
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 18px;
  
}

.about-list {
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.about-list li + li {
  margin-top: 4px;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-card {
  padding: 30px 25px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.05), rgba(3, 7, 18, 0.98));
  font-size: 13px;
  color: var(--text-muted);
}

.about-card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

/* === CONTACT PAGE === */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 26px;
}

.contact-card {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.04), rgba(3, 7, 18, 0.98));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7);
}

.contact-card h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  font-size: 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-rodo {
  font-size: 11px;
  color: var(--text-muted);
  margin: 8px 0 10px;
}

.contact-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-info h3 {
  font-size: 14px;
  margin-top: 12px;
}

.contact-note {
  font-size: 11px;
  opacity: 0.85;
}

/* === LEGAL PAGE === */

.legal-wrapper {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 4px;
  color: #e5e7eb;
  font-size: 14px;
}

.legal-text h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.legal-text h2 {
  font-size: 17px;
  margin-top: 18px;
  margin-bottom: 6px;
}

.legal-text p,
.legal-text ul {
  margin-bottom: 6px;
}

.legal-text ul {
  padding-left: 20px;
}

.legal-note {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.lang-switch-legal {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.lang-switch-legal button {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(156, 163, 175, 0.7);
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
}

.lang-switch-legal button.active {
  background: rgba(148, 163, 184, 0.8);
  color: #020617;
}

.legal-en {
  display: none;
}

/* === COOKIE BANNER === */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 40;
  font-size: 13px;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1120px;
  margin: 0 auto 14px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.98));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.85);
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-inner p {
  margin: 0;
  color: #e5e7eb;
}

.cookie-inner a {
  text-decoration: underline;
}

.cookie-actions {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
}

.cookie-actions button {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

#cookieAcceptAll {
  background: linear-gradient(120deg, #f97316, #ec4899, #6366f1);
  color: #fff;
}

#cookieNecessary {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

@media (max-width: 640px) {
  .page-section {
    margin-bottom: 26px;
  }

  .offer-card {
    padding: 14px 14px 16px;
  }
}
/* ===== Page Loader Overlay ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(7, 10, 16, 0.75);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.page-loader.show {
  opacity: 1;
  pointer-events: all;
}

.loader-card {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at 0 0, rgba(255,255,255,0.08), rgba(15,23,42,0.95));
  box-shadow: 0 18px 46px rgba(0,0,0,0.85);
  color: #e5e7eb;
  font-size: 13px;
}

.spinner {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.22);
  border-top-color: rgba(255,255,255,0.9);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Faster image painting ===== */
img {
  content-visibility: auto;
}

.hero-thumbs img,
.card img {
  display: block;
}

/* FORCE: stack About + Contact on mobile */
@media (max-width: 768px) {

  .about-layout,
  .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* prevents weird overflow / squeezing inside grid items */
  .about-layout > *,
  .contact-grid > * {
    min-width: 0 !important;
    width: 100% !important;
  }
}
