/* ============================================
   Dysis House — Modern Minimal Design System
   Inspired by clean construction/real-estate themes
   ============================================ */

:root {
  --color-primary: #1a1a1a;
  --color-secondary: #6b6b6b;
  --color-accent: #c9a96e;
  --color-accent-hover: #b8944f;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f5f2;
  --color-bg-dark: #1a1a1a;
  --color-text: #2d2d2d;
  --color-text-light: #6b6b6b;
  --color-border: #e8e4df;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --radius: 4px;
  --max-width: 1200px;
  --header-height: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color var(--transition) !important;
}

ul {
  list-style: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  color: var(--color-text-light);
  margin-top: 1rem;
}

/* ---- Header / Navigation ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header .logo--image {
  display: flex;
  align-items: center;
}

.header .logo--image img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

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

.header__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ---- Language Switcher ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding-left: 1rem;
  border-left: 1px solid var(--color-border);
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity var(--transition), border-color var(--transition), transform var(--transition);
  overflow: hidden;
}

.lang-switcher__btn:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.lang-switcher__btn--active {
  opacity: 1;
  border-color: var(--color-accent);
}

.lang-switcher__btn svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 2px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-accent);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2d2d2d;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 6rem;
  color: #fff;
  max-width: 700px;
}

.hero__content h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero__content p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn--outline:hover {
  background: #fff;
  color: var(--color-primary);
}

.btn--dark {
  background: var(--color-primary) !important;
  color: #fff !important;
}

.btn--dark:hover {
  background: #333 !important;
  transform: translateY(-2px) !important;
}

/* ---- Gallery Grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---- About page space carousel ---- */
.space-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
}

.space-carousel__viewport {
  overflow: hidden;
  min-width: 0;
}

.space-carousel__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.45s ease;
}

.space-carousel__slide {
  flex: 0 0 calc((100% - 2rem) / 3);
  aspect-ratio: 4 / 3;
}

.space-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.space-carousel__btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), opacity var(--transition);
}

.space-carousel__btn:hover:not(:disabled) {
  background: var(--color-bg-alt);
  border-color: var(--color-accent);
  transform: scale(1.05);
}

.space-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.space-carousel__btn--hidden {
  visibility: hidden;
  pointer-events: none;
}

.space-carousel__empty {
  text-align: center;
  color: var(--color-text-light);
  padding: 3rem 1rem;
  grid-column: 1 / -1;
}

@media (max-width: 991.98px) {
  .space-carousel__slide {
    flex: 0 0 calc((100% - 1rem) / 2);
  }
}

@media (max-width: 575.98px) {
  .space-carousel {
    gap: 0.5rem;
  }

  .space-carousel__slide {
    flex: 0 0 100%;
  }

  .space-carousel__btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Bootstrap gallery (home page) */
.gallery-bootstrap .gallery-item {
  aspect-ratio: unset;
}

.gallery-bootstrap__row--tall {
  min-height: 520px;
}

.gallery-bootstrap__stack {
  min-height: 520px;
}

.gallery-bootstrap__stack-item {
  flex: 1 1 0;
  min-height: 240px;
}

.gallery-item--featured {
  min-height: 520px;
}

.gallery-item--wide-short {
  min-height: 320px;
}

@media (max-width: 991.98px) {
  .gallery-bootstrap__row--tall,
  .gallery-bootstrap__stack,
  .gallery-item--featured {
    min-height: auto;
  }

  .gallery-bootstrap__stack-item {
    min-height: 280px;
  }

  .gallery-item--wide-short {
    min-height: 280px;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item--panorama {
  min-height: 260px;
  cursor: grab;
}

.gallery-item--panorama:active {
  cursor: grabbing;
}

.gallery-item--panorama .panorama-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gallery-item--panorama .pnlm-container {
  border-radius: var(--radius);
}

.gallery-item__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: var(--radius);
  pointer-events: none;
}

.gallery-item__hint {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius);
  pointer-events: none;
}

.panorama-viewer__error {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-light);
  background: var(--color-bg-alt);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
}

.gallery-item__caption h3 {
  color: #fff;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.gallery-item__caption p {
  font-size: 0.875rem;
  opacity: 0.85;
  margin: 0;
}

/* Placeholder images */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e4df 0%, #d4cfc8 100%);
  color: var(--color-text-light);
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem;
}

/* ---- Features / Highlights ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 50%;
  color: var(--color-accent);
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

/* ---- Contact Info Bar ---- */
.contact-bar {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 4rem 0;
}

.contact-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-bar__item {
  text-align: center;
}

.contact-bar__item h3 {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.contact-bar__item p,
.contact-bar__item a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.contact-bar__item a:hover {
  color: var(--color-accent);
}

/* ---- Page Header (inner pages) ---- */
.page-hero {
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: var(--color-bg-alt);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- About / Two Column ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-col__image .placeholder-img {
  min-height: 400px;
}

.two-col__content h2 {
  margin-bottom: 1.5rem;
}

.two-col__content p {
  color: var(--color-text-light);
}

/* ---- Timeline / History ---- */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--color-border);
}

.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  transform: translateX(-5px);
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.timeline__item h3 {
  margin-bottom: 0.5rem;
}

.timeline__item p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

/* ---- Video tours ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-thumb {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.video-thumb__media {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--color-bg-dark);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.video-thumb__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.video-thumb__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background var(--transition);
}

.video-thumb__play .bx {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  font-size: 1.75rem;
  padding-left: 4px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), background var(--transition);
}

.video-thumb:hover .video-thumb__media {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-thumb:hover .video-thumb__media img {
  transform: scale(1.03);
}

.video-thumb:hover .video-thumb__play {
  background: rgba(0, 0, 0, 0.35);
}

.video-thumb:hover .video-thumb__play .bx {
  transform: scale(1.08);
  background: #fff;
}

.video-thumb__caption {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.4;
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(calc((100vh - 4rem) * 9 / 16), 95vw, 720px);
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.video-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}

.video-modal__close:hover {
  background: rgba(0, 0, 0, 0.75);
}

.video-modal video {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 5rem);
  border-radius: var(--radius);
  background: #000;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.video-modal__caption {
  text-align: center;
  color: #fff;
  font-size: 1rem;
  margin: 0;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-thumb__media {
    aspect-ratio: 16 / 10;
  }
}

/* ---- Reviews ---- */
.reviews-source {
  margin-bottom: 4rem;
}

.reviews-source__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.reviews-source__logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff;
}

.reviews-source__logo--airbnb {
  background: #ff5a5f;
}

.reviews-source__logo--booking {
  background: #003580;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow);
}

.review-card__stars {
  color: var(--color-accent);
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-accent);
}

.review-card__name {
  font-weight: 600;
  font-size: 0.875rem;
}

.review-card__date {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* ---- Audio Testimonials ---- */
.audio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.audio-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.audio-card__info {
  flex: 1;
  min-width: 0;
}

.audio-card__info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.audio-card__info p {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin: 0;
}

.audio-card audio {
  width: 100%;
  margin-top: 0.75rem;
  height: 36px;
}

/* ---- Contact Form ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  color: var(--color-accent);
}

.contact-info__item h3 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info__item p,
.contact-info__item a {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.form-success--visible {
  display: block;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__brand .logo {
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer__brand .logo--footer img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer__links li {
  margin-bottom: 0.625rem;
}

.footer__links a {
  font-size: 0.875rem;
  transition: color var(--transition) !important;
}

.footer__links a:hover {
  color: var(--color-accent) !important;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff !important;
  transition: color var(--transition), border-color var(--transition), transform var(--transition), background var(--transition) !important;
}

.footer__social a:hover {
  color: var(--color-accent) !important;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.footer__social .bx {
  font-size: 1.375rem;
  line-height: 1;
}

.footer__social-logo {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

/* ---- WhatsApp Float Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox--open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox__close:hover {
  opacity: 1;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .features-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-bar__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
  }

  .header__right {
    gap: 0.75rem;
  }

  .lang-switcher {
    padding-left: 0;
    border-left: none;
    order: 2;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .nav {
    order: 1;
  }

  .nav-toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle--active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .gallery-grid,
  .features-grid,
  .reviews-grid,
  .audio-grid,
  .two-col,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .gallery-item--large {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero__content {
    padding-bottom: 4rem;
  }
}
