/*
Theme Name: Cabo Verde Apartment
Theme URI: https://www.seudominio.com
Description: Tema personalizado para site de apartamento em Cabo Verde
Version: 2.0
Author: Seu Nome
Author URI: https://www.seudominio.com
Text Domain: cabo-verde-apartment
*/


:root {
  --primary-color: #274257;
  --primary-dark: #274257;
  --secondary-color: #caae99;
  --accent-color: #caae99;
  --accent-light: #d9c4b0;
  --text-dark: #1a2a35;
  --text-light: #5a6a74;
  --text-white: #ffffff;
  --bg-light: #f7f4f1;
  --bg-white: #ffffff;
  --bg-gradient: linear-gradient(135deg, #274257 0%, #274257 100%);
  --shadow-sm: 0 2px 8px rgba(39, 66, 87, 0.08);
  --shadow-md: 0 4px 16px rgba(39, 66, 87, 0.12);
  --shadow-lg: 0 8px 32px rgba(39, 66, 87, 0.15);
  --shadow-xl: 0 16px 64px rgba(39, 66, 87, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--primary-color);
  color: var(--text-white);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: var(--text-dark);
}

.btn-accent:hover {
  box-shadow: 0 8px 24px rgba(202, 174, 153, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text-white);
  color: var(--text-white);
}

.btn-outline:hover {
  background: var(--text-white);
  color: var(--primary-color);
}

header {
  background: var(--primary-color);
  backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

header.scrolled {
  padding: 12px 0;
  background: var(--primary-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo svg {
  width: 40px;
  height: 40px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo a img {
  max-height: 60px;
  width: auto;
  display: block;
}

#site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  justify-content: center;
}

nav ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

nav ul li a:hover::after {
  width: 60%;
}

.hero {
  background: linear-gradient(135deg, rgba(39, 66, 87, 0.88) 0%, rgba(202, 174, 153, 0.55) 100%),
    url('https://images.unsplash.com/photo-1600596542815-2a4d9f6facb7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-white);
  position: relative;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero h1 {
  font-size: 64px;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons .btn {
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease,
    color 0.3s ease;
}

.hero-buttons .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.hero-buttons .btn:hover::after {
  transform: translateX(100%);
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 32px rgba(39, 66, 87, 0.55), 0 0 0 2px rgba(202, 174, 153, 0.4);
  background: linear-gradient(135deg, #2f5068 0%, #22404f 100%);
}

.hero-buttons .btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--text-white);
  backdrop-filter: blur(4px);
}

.hero-buttons .btn-outline:hover {
  transform: translateY(-4px) scale(1.03);
  background: rgba(202, 174, 153, 0.2);
  border-color: var(--secondary-color);
  color: var(--text-white);
  box-shadow: 0 12px 32px rgba(202, 174, 153, 0.3), 0 0 0 1px rgba(202, 174, 153, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Scroll Reveal ───────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ── Scroll Indicator ────────────────────────────────────────── */

.scroll-indicator {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
  animation: scroll-bounce 2.2s ease-in-out infinite;
  transition: opacity 0.4s ease, color 0.3s;
}

.scroll-indicator:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@media (min-width: 769px) {
  .scroll-indicator {
    bottom: 100px;
  }
}

/* Hero Carousel Styles */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
}

.hero-carousel-slide.active {
  opacity: 1;
}

/* Carousel Arrows */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--text-white);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.hero-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel-prev {
  left: 20px;
}

.hero-carousel-next {
  right: 20px;
}

/* Carousel Dots */
.hero-carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
}

.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.hero-carousel-dot.active {
  background: var(--text-white);
  border-color: var(--text-white);
  width: 14px;
  height: 14px;
}

/* Adjust hero content z-index */
.hero[data-carousel-enabled="true"] .container {
  position: relative;
  z-index: 5;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* Heading + customizer edit button side-by-side */
.cvl-heading-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cvl-heading-wrap h1,
.cvl-heading-wrap h2,
.cvl-heading-wrap h3 {
  margin: 0;
}
.section-header .cvl-heading-wrap {
  justify-content: center;
}

.section-header h2 {
  font-size: 48px;
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.features {
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}




.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(39, 66, 87, 0.08) 0%, rgba(202, 174, 153, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary-color);
}


.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 15px;
}

.gallery {
  background: var(--bg-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

/* Every 7th item (start of a new visual block) also gets featured treatment */
.gallery-item:nth-child(7n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-item:hover::before {
  opacity: 1;
}

.pricing {
  background: linear-gradient(135deg, rgba(39, 66, 87, 0.04) 0%, rgba(202, 174, 153, 0.08) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-white);
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 3px solid var(--secondary-color);
  background: linear-gradient(135deg, var(--bg-white) 0%, rgba(202, 174, 153, 0.08) 100%);
}

.pricing-card.featured::before {
  content: 'Mais Popular';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--primary-dark);
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 700;
  color: var(--primary-color);
  margin: 24px 0;
  line-height: 1.2;
  word-break: break-word;
}

.pricing-price span {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  margin: 32px 0;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  color: #22c55e;
  flex-shrink: 0;
}

.contact {
  background: var(--bg-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info,
.contact-form-wrapper {
  height: 100%;
  box-sizing: border-box;
}

.contact-info {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  color: var(--text-white);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  margin-bottom: 32px;
  color: var(--text-white);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
}

.contact-map {
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-height: 180px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
}

.contact-form-wrapper {
  background: var(--bg-light);
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-feedback.success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-white);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(39, 66, 87, 0.1);
}

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

.form-group label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 16px;
  pointer-events: none;
  transition: var(--transition);
  background: var(--bg-white);
  padding: 0 8px;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
  top: 0;
  font-size: 12px;
  color: var(--primary-color);
}

.testimonials {
  background: linear-gradient(135deg, rgba(39, 66, 87, 0.04) 0%, rgba(202, 174, 153, 0.08) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 48px;
  height: 48px;
  opacity: 0.1;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary, #2843a1);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

.testimonial-info p {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.testimonial-rating svg {
  width: 16px;
  height: 16px;
  color: var(--accent-color);
}

footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 60px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text-white);
}

.footer-brand p {
  opacity: 0.8;
  line-height: 1.8;
  max-width: 400px;
}

.footer-section h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--text-white);
}

.footer-section ul {
  list-style: none;
}

.footer-section--quick-links ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--accent-light);
  padding-left: 8px;
}

/* ── Cookie Banner ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--primary-color);
  color: var(--text-white);
  padding: 16px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cookie-banner__content p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.9;
  flex: 1;
}

.cookie-banner__actions {
  flex-shrink: 0;
}

.cookie-banner__accept {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cookie-banner__accept:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie-banner__accept {
    width: 100%;
    text-align: center;
  }
}

/* ── Footer Bottom ───────────────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  opacity: 0.6;
  font-size: 14px;
}

/* ── Lightbox ────────────────────────────────────────────────── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  animation: lb-fade-in 0.25s ease;
}

.lightbox.open {
  display: flex;
}

@keyframes lb-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  animation: lb-zoom-in 0.25s ease;
}

@keyframes lb-zoom-in {
  from {
    transform: scale(0.92);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 22px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 32px;
  line-height: 1;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(202, 174, 153, 0.5);
  border-color: var(--secondary-color);
  transform: translateY(0) scale(1.08);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Make gallery items show a cursor pointer */
.gallery-item {
  cursor: zoom-in;
}

/* ── Language Switcher ───────────────────────────────────────── */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-switcher a:hover {
  color: var(--text-white);
}

.lang-switcher a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.15);
}

.lang-switcher span {
  color: rgba(255, 255, 255, 0.4);
  opacity: 0.4;
}

/* ── Mobile Menu ────────────────────────────────────────────── */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    margin-left: auto;
    margin-right: 8px;
  }

  #site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    padding: 16px 24px 24px;
  }

  #site-nav.open {
    display: block;
  }

  #site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  #site-nav ul li a {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
  }

  #site-nav ul li a::after {
    display: none;
  }

  #site-nav ul li a:hover::after {
    display: block;
    width: 40%;
  }
}

/* ── Stats Bar ───────────────────────────────────────────────── */

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stats-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: var(--bg-white);
  border-right: 1px solid rgba(39, 66, 87, 0.08);
  text-align: center;
}

.stats-bar-item:last-child {
  border-right: none;
}

.stats-bar-value {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stats-bar-label {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* ── Sticky CTA ──────────────────────────────────────────────── */

.sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 999;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(39, 66, 87, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}

.sticky-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none !important;
  }
}

/* ── Footer Social ───────────────────────────────────────────── */

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--secondary-color);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-logo a {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo img {
  max-height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ── Single Post ─────────────────────────────────────────────── */

.post-meta {
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Page Template ─────────────────────────────────────────── */

.page-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  background-size: cover;
  background-position: center;
  padding: 140px 0 64px;
  color: var(--text-white);
  text-align: center;
  position: relative;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-light), transparent);
}

.page-banner h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.page-main {
  padding: 80px 0 100px;
  background: var(--bg-light);
}

.page-content {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  box-shadow: var(--shadow-md);
}

/* Content typography */
.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--primary-color);
  margin-top: 2rem;
}

.page-content h2 {
  font-size: 32px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--secondary-color);
  margin-bottom: 1.25rem;
}

.page-content h3 {
  font-size: 24px;
  margin-bottom: 1rem;
}

.page-content p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.page-content a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.page-content a:hover {
  color: var(--secondary-color);
}

.page-content ul,
.page-content ol {
  color: var(--text-light);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.9;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content blockquote {
  border-left: 4px solid var(--secondary-color);
  background: rgba(202, 174, 153, 0.08);
  margin: 2rem 0;
  padding: 20px 28px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-light);
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.page-content hr {
  border: none;
  border-top: 2px solid rgba(202, 174, 153, 0.3);
  margin: 2.5rem 0;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 15px;
}

.page-content th {
  background: var(--primary-color);
  color: var(--text-white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.page-content td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-light);
}

.page-content tr:nth-child(even) td {
  background: rgba(202, 174, 153, 0.06);
}

@media (max-width: 768px) {
  .page-content {
    padding: 36px 24px;
  }

  .page-banner {
    padding: 120px 0 48px;
  }
}

/* ── End Page Template ──────────────────────────────────────── */

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

  .gallery-item:first-child {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Carousel responsive adjustments */
  .hero-carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-carousel-arrow svg {
    width: 20px;
    height: 20px;
  }

  .hero-carousel-dots {
    bottom: 30px;
  }

  .hero-carousel-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 768px) {

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 18px;
  }

  .section-header h2 {
    font-size: 36px;
  }

  nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-item {
    aspect-ratio: 4/3;
  }

  .gallery-item:first-child,
  .gallery-item:nth-child(7n + 1) {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  /* Carousel mobile adjustments */
  .hero-carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-carousel-arrow svg {
    width: 18px;
    height: 18px;
  }

  .hero-carousel-prev {
    left: 10px;
  }

  .hero-carousel-next {
    right: 10px;
  }

  .hero-carousel-dots {
    bottom: 25px;
    gap: 8px;
  }

  .hero-carousel-dot {
    width: 8px;
    height: 8px;
  }

  .hero-carousel-dot.active {
    width: 10px;
    height: 10px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  .footer-content {
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-section ul li a:hover {
    padding-left: 0;
  }

  .contact-item {
    justify-content: flex-start;
  }

  .section-header p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  /* Carousel small mobile adjustments */
  .hero-carousel-arrow {
    width: 32px;
    height: 32px;
  }

  .hero-carousel-arrow svg {
    width: 16px;
    height: 16px;
  }

  .hero-carousel-prev {
    left: 8px;
  }

  .hero-carousel-next {
    right: 8px;
  }

  .hero-carousel-dots {
    bottom: 20px;
    gap: 6px;
  }

  .hero-carousel-dot {
    width: 6px;
    height: 6px;
  }

  .hero-carousel-dot.active {
    width: 8px;
    height: 8px;
  }
}