/* ============================================
   PHUQUOC-VILLA.COM — Custom Styles
   Luxury Villa Rental — Phu Quoc Island
   Palette: Navy (#0f172a) + Gold (#d4a853) + White
   ============================================ */

/* --- CSS Variables --- */
:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --navy-dark: #020617;
  --gold: #d4a853;
  --gold-light: #e8c87a;
  --gold-dark: #b8922f;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --green: #22c55e;
  --red: #ef4444;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1280px;
  --header-height: 80px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

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

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

/* --- Section Spacing --- */
.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
  background: var(--off-white);
}

.section-dark {
  padding: 4rem 0;
  background: var(--navy);
  color: var(--white);
}

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

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

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

/* Nav */
.nav {
  display: none;
  gap: 2rem;
}

.nav a {
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.nav a:hover, .nav a.active {
  color: var(--gold);
}

@media (min-width: 1024px) {
  .nav { display: flex; }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 0.25rem;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 2px;
}

.lang-switch a {
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  border-radius: 4px;
  transition: all var(--transition);
}

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

.lang-switch a.active {
  background: var(--gold);
  color: var(--navy);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 999;
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--white);
  font-size: 1.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a:hover {
  color: var(--gold);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 168, 83, 0.4);
}

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

.btn-secondary:hover {
  background: var(--gold);
  color: var(--navy);
}

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

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

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #128c7e;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.8) 100%),
              url('../img/hero/hero-villa.webp') center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem 1rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}

.hero-price {
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--navy);
  padding: 1rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(212, 168, 83, 0.3);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--gray-300);
  font-size: 0.9rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item strong {
  color: var(--gold);
}

/* --- Villa Cards --- */
.villas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .villas-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .villas-grid { grid-template-columns: repeat(3, 1fr); }
}

.villa-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all var(--transition);
}

.villa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.villa-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.villa-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.villa-card:hover .villa-card-img img {
  transform: scale(1.05);
}

.villa-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.villa-card-body {
  padding: 1.25rem;
}

.villa-card-location {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.villa-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.villa-card-features {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.villa-card-feature {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.villa-card-amenities {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.villa-card-amenity {
  padding: 2px 8px;
  background: var(--gray-100);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--gray-600);
}

.villa-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.villa-card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.villa-card-price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-500);
}

.villa-card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
}

/* --- USP Section --- */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(4, 1fr); }
}

.usp-item {
  text-align: center;
  padding: 2rem 1rem;
}

.usp-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 83, 0.1);
  border-radius: 16px;
  font-size: 2rem;
}

.usp-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.usp-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* --- Areas Grid --- */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
}

.area-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.area-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.area-card:hover img {
  transform: scale(1.05);
}

.area-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,23,42,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.area-card-overlay h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.area-card-overlay p {
  font-size: 0.85rem;
  color: var(--gray-300);
}

/* --- Amenities Grid --- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .amenities-grid { grid-template-columns: repeat(4, 1fr); }
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.amenity-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.amenity-item span {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* --- Reviews --- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(4, 1fr); }
}

.review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.review-stars {
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.review-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.review-flag {
  font-size: 1.2rem;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.comparison-table thead {
  background: var(--navy);
  color: var(--white);
}

.comparison-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.comparison-table td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-200);
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--gray-100);
}

.comparison-table .check {
  color: var(--green);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--red);
}

.comparison-table .highlight {
  background: rgba(212, 168, 83, 0.1);
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  font-family: var(--font-body);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* --- CTA Section --- */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

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

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
}

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

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--gray-400);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.8rem;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.breadcrumbs a {
  color: var(--gray-500);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs span {
  margin: 0 0.5rem;
}

/* --- Sticky CTA (Mobile) --- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: var(--navy);
  z-index: 998;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

.sticky-cta-inner {
  display: flex;
  gap: 0.75rem;
}

.sticky-cta .btn {
  flex: 1;
  justify-content: center;
}

@media (max-width: 767px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 70px; }
}

/* --- Scroll Padding for fixed header --- */
main {
  padding-top: var(--header-height);
}

/* --- Utility --- */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* --- Responsive table wrapper --- */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- Price Tag --- */
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-tag .from {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.price-tag .amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.price-tag .period {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* --- Filter Bar --- */
.filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.filter-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
}

.filter-group select,
.filter-group input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--navy);
}

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

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

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

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

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

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

/* --- Booking Widget --- */
.booking-widget {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.booking-widget h3 {
  margin-bottom: 1rem;
}

.booking-widget .price-display {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.booking-widget .price-display small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray-500);
}

.booking-form-group {
  margin-bottom: 1rem;
}

.booking-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.booking-form-group input,
.booking-form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.95rem;
}

/* --- Page Hero (Interior pages) --- */
.page-hero {
  padding: 6rem 0 3rem;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--gray-300);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Animation (subtle) --- */
@media (prefers-reduced-motion: no-preference) {
  .villa-card, .blog-card, .area-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
  }

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

/* --- Print --- */
@media print {
  .header, .footer, .sticky-cta, .mobile-nav { display: none; }
  main { padding-top: 0; }
}

/* --- Lead Quiz --- */
#quiz-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:9999;align-items:center;justify-content:center;padding:1rem}
#quiz-modal{background:var(--white);border-radius:16px;max-width:500px;width:100%;padding:2rem;position:relative;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.3)}
#quiz-close{position:absolute;top:12px;right:16px;background:none;border:none;font-size:2rem;color:var(--gray-400);cursor:pointer;line-height:1}
#quiz-close:hover{color:var(--navy)}
#quiz-progress{height:6px;background:var(--gray-200);border-radius:3px;margin-bottom:1.5rem;overflow:hidden}
#quiz-bar{height:100%;background:var(--gold);border-radius:3px;transition:width .3s ease;width:25%}
#quiz-title{font-family:var(--font-heading);font-size:1.5rem;margin-bottom:.5rem;text-align:center}
#quiz-subtitle{text-align:center;color:var(--gray-500);font-size:.9rem;margin-bottom:1.5rem}
#quiz-step-info{text-align:center;font-size:.8rem;color:var(--gray-400);margin-bottom:1rem}
#quiz-question{font-size:1.1rem;font-weight:600;text-align:center;margin-bottom:1rem}
#quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1.5rem}
.quiz-opt{padding:1rem;border:2px solid var(--gray-200);border-radius:10px;background:var(--white);cursor:pointer;font-size:.9rem;text-align:center;transition:all .2s;font-family:var(--font-body)}
.quiz-opt:hover{border-color:var(--gold);background:rgba(212,168,83,.05)}
.quiz-opt.selected{border-color:var(--gold);background:rgba(212,168,83,.1);font-weight:600}
#quiz-nav{display:flex;justify-content:space-between;gap:1rem}
#quiz-nav .btn{flex:1}
#quiz-result{text-align:center}
#quiz-result h2{font-size:1.5rem;margin-bottom:1rem}
#quiz-result p{color:var(--gray-500);margin-bottom:1.5rem}
#quiz-messengers{display:grid;grid-template-columns:1fr;gap:.75rem}
#quiz-messengers .btn{font-size:1rem;padding:1rem}
@media(max-width:500px){#quiz-options{grid-template-columns:1fr}#quiz-modal{padding:1.5rem}}

/* ============================================
   MOBILE FIX — Prevent horizontal overflow
   ============================================ */

/* Global overflow prevention */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Force all content to respect viewport */
*, *::before, *::after {
  max-width: 100%;
}

/* Tables must scroll horizontally, not break layout */
table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Table wrapper for comparison tables */
.table-responsive,
.comparison-table,
.pricing-table,
.price-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin: 0 -1rem;
  padding: 0 1rem;
}

/* Images must never overflow */
img, video, iframe, embed, object, svg {
  max-width: 100%;
  height: auto;
}

/* Pre/code blocks */
pre, code {
  overflow-x: auto;
  max-width: 100%;
  word-wrap: break-word;
}

/* ============================================
   MOBILE — Small screens (< 640px)
   ============================================ */
@media (max-width: 639px) {

  /* Base */
  body {
    font-size: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Container tighter padding */
  .container {
    padding: 0 0.75rem;
  }

  /* Sections less padding */
  .section, .section-alt, .section-dark {
    padding: 2.5rem 0;
  }

  /* Header compact */
  .header {
    height: 60px;
  }

  .header-inner {
    padding: 0 0.75rem;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  main {
    padding-top: 60px;
  }

  /* Lang switch smaller */
  .lang-switch a {
    padding: 3px 6px;
    font-size: 0.7rem;
  }

  /* Hero section */
  .hero {
    padding: 3rem 0 2rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .hero-price {
    font-size: 0.9rem;
  }

  /* Hero buttons stack on very small */
  .hero-buttons,
  .hero .btn-group,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-buttons .btn,
  .hero .btn-group .btn,
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Trust bar */
  .trust-bar {
    padding: 0.75rem 0;
  }

  .trust-bar-inner {
    gap: 0.5rem 1rem;
    font-size: 0.75rem;
    justify-content: center;
  }

  .trust-item {
    gap: 0.25rem;
    font-size: 0.7rem;
  }

  /* Section titles */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  /* Villa cards */
  .villa-card-features {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .villa-card-body {
    padding: 1rem;
  }

  .villa-card-title {
    font-size: 1rem;
  }

  /* USP section */
  .usp-item {
    padding: 1.5rem 0.75rem;
  }

  .usp-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  /* Amenities smaller grid */
  .amenities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .amenity-item {
    padding: 0.75rem;
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .amenity-icon {
    font-size: 1.25rem;
  }

  /* Filter bar stacked */
  .filter-bar {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }

  .filter-group {
    width: 100%;
  }

  .filter-group select,
  .filter-group input {
    width: 100%;
  }

  /* Booking widget */
  .booking-widget {
    position: static;
    margin-bottom: 2rem;
    padding: 1.25rem;
  }

  .booking-widget .price-display {
    font-size: 1.5rem;
  }

  /* Page hero */
  .page-hero {
    padding: 4rem 0 2rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  /* CTA section */
  .cta-section {
    padding: 3rem 0;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  /* Comparison tables */
  table th,
  table td {
    padding: 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* Breadcrumbs */
  .breadcrumbs {
    font-size: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Villa detail page */
  .villa-info-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
  }

  /* Sticky CTA bigger touch targets */
  .sticky-cta .btn {
    padding: 0.85rem;
    font-size: 0.85rem;
    min-height: 48px;
  }

  /* Buttons min touch target */
  .btn {
    min-height: 44px;
    padding: 0.65rem 1.25rem;
  }

  /* Blog content */
  .blog-content {
    font-size: 0.95rem;
  }

  .blog-content h2 {
    font-size: 1.3rem;
  }

  .blog-content h3 {
    font-size: 1.1rem;
  }

  /* Reviews */
  .review-card {
    padding: 1.25rem;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.9rem;
    padding: 1rem 0;
  }

  .faq-answer {
    font-size: 0.85rem;
  }

  /* Prose / long text */
  .prose, .content, article {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  /* Fix any inline styles that may cause overflow */
  [style*="width"] {
    max-width: 100% !important;
  }

  /* Area cards smaller aspect */
  .area-card {
    aspect-ratio: 3/3;
  }
}

/* ============================================
   MOBILE — Extra small (< 380px)
   ============================================ */
@media (max-width: 379px) {
  .hero h1 {
    font-size: 1.5rem;
  }

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

  .trust-bar-inner {
    flex-direction: column;
    gap: 0.35rem;
  }

  .lang-switch {
    gap: 1px;
  }

  .lang-switch a {
    padding: 2px 5px;
    font-size: 0.65rem;
  }

  .villa-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
