/**
 * Tonino Lamborghini Residences - Core CSS
 * Design tokens and layout
 */

:root {
  --background: #ffffff;
  --foreground: #14110f;
  /* Rich Black */
  --card: #ffffff;
  --primary: #14110f;
  /* Rich Black */
  --primary-foreground: #ffffff;
  --secondary: #f6f1e7;
  --muted: #faf7f0;
  --muted-foreground: #6b6154;
  --accent: #c9a24b;
  /* Brand Gold — primary */
  --accent-foreground: #14110f;
  --border: #e6dcc4;
  --input: #e6dcc4;
  --ring: #c9a24b;
  --radius: 0.5rem;
  --gold: #a3812f;
  /* Deep Gold — secondary highlight */
  --gold-light: #ddbb6e;
  --gold-dark: #7a5f21;
  --brand-green: #7a5f21;
  /* Deep Gold (gradient partner) */
  --charcoal: #14110f;
  /* Rich Black */
  --shadow-luxury: 0 10px 40px -10px rgba(20, 17, 15, 0.25);
}

* {
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Utilities */
.text-accent {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-accent {
  background: linear-gradient(135deg, var(--accent), #7a5f21);
}

.font-medium {
  font-weight: 500;
}

.text-muted {
  color: var(--muted-foreground);
}

/* Layout */
.min-h-screen {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.main-offset {
  padding-top: 4rem;
}

.container-sections {
  padding-top: 0;
}

/* Offset in-page anchors so the fixed header doesn't cover the section heading */
html {
  scroll-padding-top: 2rem;
}

section[id],
.anchor-offset {
  scroll-margin-top: 2rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-luxury);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.header-brand:hover {
  color: inherit;
}

.header-brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .header-brand-logo {
    height: 36px;
  }
}

@media (min-width: 1024px) {
  .header-brand-logo {
    height: 40px;
  }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

@media (min-width: 1180px) {
  .header-nav {
    display: flex;
    gap: 1.5rem;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-tlr-logo {
  height: 30px;
  width: auto;
  display: none;
  flex-shrink: 0;
}

.header-tlr-logo-mobile {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .header-tlr-logo {
    display: block;
    height: 36px;
  }

  .header-tlr-logo-mobile {
    display: none;
  }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), #7a5f21);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(140, 189, 63, 0.3);
}

.header-cta .icon {
  flex-shrink: 0;
}

.cta-text-mobile {
  display: inline;
}

.cta-text {
  display: none;
}

@media (min-width: 640px) {
  .cta-text-mobile {
    display: none;
  }

  .cta-text {
    display: inline;
  }
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .banner {
    min-height: 700px;
  }
}

.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .banner-bg {
    object-position: 25% center;
  }
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 57, 85, 0.85), rgba(3, 57, 85, 0.85));
}

@media (min-width: 768px) {
  .banner-overlay {
    background: linear-gradient(to right, rgba(3, 57, 85, 0.95), rgba(3, 57, 85, 0.8), rgba(3, 57, 85, 0.4));
  }
}

.banner-content {
  position: relative;
  z-index: 10;
  padding-top: 4rem;
  padding-bottom: 4rem;
  height: 100%;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .banner-content {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.banner-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .banner-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.banner-left {
  max-width: 36rem;
}

.banner-location {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-sm {
  flex-shrink: 0;
}

.banner-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary-foreground);
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .banner-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .banner-title {
    font-size: 3.75rem;
  }
}

.banner-desc {
  color: rgba(255, 253, 250, 0.75);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 32rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .banner-desc {
    font-size: 1.125rem;
  }
}

.banner-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (min-width: 1024px) {
  .banner-stats {
    margin-left: 0;
  }
}

.stat-card {
  background: rgba(255, 253, 250, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 253, 250, 0.15);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
}

.stat-icon {
  color: var(--gold-light);
  margin: 0 auto 0.375rem;
  display: block;
}

.stat-value {
  color: var(--primary-foreground);
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0;
}

.stat-label {
  color: rgba(255, 253, 250, 0.6);
  font-size: 0.75rem;
  margin: 0;
}

.banner-form-wrap {
  width: 100%;
  max-width: 28rem;
}

@media (min-width: 1024px) {
  .banner-form-wrap {
    margin-left: auto;
  }
}

.banner-form-card,
.enquiry-form-card {
  background: rgba(255, 253, 250, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-luxury);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .banner-form-card {
    padding: 2rem;
  }
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.25rem;
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0 0 1.25rem;
}

.form-success {
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 1rem;
}

.form-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin: 0 0 0.5rem;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.enquiry-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--input);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
}

.enquiry-form input::placeholder {
  color: var(--muted-foreground);
}

.enquiry-form input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent), #7a5f21);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.35);
}

.btn-gold.btn-sm {
  padding: 0.5rem 1.25rem;
  display: inline-block;
  text-align: center;
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin: 1rem 0 0;
}

/* Sections */
.section {
  width: 100%;
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.section-alt {
  background-color: var(--secondary);
  background-image: none;
}

.section-inner {
  max-width: 100%;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-underline {
  width: 4rem;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--brand-green));
  border-radius: 9999px;
  margin-bottom: 2rem;
}

/* Overview */
.overview-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.overview-text {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.overview-text p {
  margin: 0 0 1rem;
}

.overview-text .overview-quote-text {
  margin: 0;
}

.overview-text strong {
  color: var(--foreground);
}

.overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1rem;
}

.overview-stat {
  background: var(--secondary);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-caption {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.overview-image-wrap {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  height: 100%;
  min-height: 20rem;
  display: block;
  cursor: zoom-in;
}

.overview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.overview-image-wrap:hover .overview-img {
  transform: scale(1.06);
}

/* Overview Quote */
.overview-quote {
  position: relative;
  margin: 0 0 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--secondary);
  border-left: 4px solid var(--accent);
  border-radius: 0 0.375rem 0.375rem 0;
  box-shadow: inset 0 0 0 1px var(--border);
  display: block;
  margin-inline: 0;
  width: 100%;
}

.overview-quote-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.5;
  color: var(--charcoal);
  margin: 0;
  letter-spacing: 0.015em;
  text-align: center;
}

@media (min-width: 768px) {
  .overview-quote-text {
    font-size: 1.25rem;
  }
}

.quote-break { display: inline; }
@media (min-width: 768px) { .quote-break { display: none; } }

/* Pricing */
.table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  table-layout: fixed;
}

.pricing-table thead tr {
  background: var(--primary);
  color: var(--primary-foreground);
}

.pricing-table th,
.pricing-table td {
  width: 33.3333%;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  vertical-align: middle;
}

.pricing-table th {
  font-weight: 600;
}

.pricing-table td {
  border-bottom: 1px solid var(--border);
}

.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* Per-column alignment: header always matches its content */
.pricing-table th:nth-child(1),
.pricing-table td:nth-child(1) {
  text-align: left;
}

.pricing-table th:nth-child(1) .th-col-label,
.pricing-table td:nth-child(1) .td-col-value {
  display: inline-block;
  width: 10rem;
  text-align: center;
}

.pricing-table th:nth-child(2),
.pricing-table td:nth-child(2) {
  text-align: center;
}

.pricing-table th:nth-child(3),
.pricing-table td:nth-child(3) {
  text-align: right;
}

.pricing-table th:nth-child(3) .th-btn-label {
  display: inline-block;
  width: 10rem;
  text-align: center;
}

.pricing-table td:last-child .btn-gold {
  min-width: 10rem;
}

.pricing-cta-wrap {
  margin-top: 1.5rem;
  text-align: center;
}

.pricing-cta-wrap .btn-gold {
  min-width: 12rem;
}

.pricing-price-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pricing-price-text {
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
}

/* Mobile: pricing cards (reference layout, our styles) */
.pricing-cards {
  display: none;
}

.pricing-desktop {
  display: block;
}

@media (max-width: 768px) {
  .pricing-desktop {
    display: none;
  }

  .pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .pricing-card {
    background: var(--card);
    border-radius: 0.5rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-luxury);
    border: 1px solid var(--border);
  }

  .pricing-card-chip {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--foreground);
    background: var(--secondary);
    border: 1px solid var(--border);
    margin-bottom: 1.25rem;
  }

  .pricing-card-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
  }

  .pricing-card-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
  }

  .pricing-card-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
    font-family: 'Playfair Display', serif;
  }

  .pricing-card-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
  }

  .pricing-card-btn {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--accent), var(--brand-green));
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: opacity 0.2s, transform 0.2s;
  }

  .pricing-card-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
  }
}

.badge-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--accent-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Floor plans */
.floor-plans-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .floor-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .floor-plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.floor-plan-card {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
}

.floor-plan-img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  filter: blur(6px);
}

.floor-plan-card:hover .floor-plan-img {
  filter: blur(4px);
}

.floor-plan-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 57, 85, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.floor-plan-bhk {
  color: var(--primary-foreground);
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.floor-plan-area {
  color: rgba(255, 253, 250, 0.7);
  font-size: 0.875rem;
  margin: 0 0 1rem;
}

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@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-card {
  background: var(--card);
  border-radius: 0.5rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.amenity-card:hover {
  box-shadow: var(--shadow-luxury);
}

.amenity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.amenity-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  stroke: currentColor;
}

.amenity-icon i {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
}

.amenity-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-align: center;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  border-radius: 0.5rem;
  overflow: hidden;
  display: block;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

@media (min-width: 768px) {
  .gallery-item img {
    height: 14rem;
  }
}

/* Location */
.location-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.location-image-wrap {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  height: 100%;
  min-height: 18rem;
  display: block;
  cursor: zoom-in;
  background: #1a1a1a;
}

@media (min-width: 768px) {
  .location-image-wrap {
    min-height: 20rem;
  }
}

.location-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.location-image-wrap:hover .location-img {
  transform: scale(1.04);
}

.location-intro {
  color: var(--muted-foreground);
  margin: 0 0 1.25rem;
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.location-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pin-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-list span {
  font-size: 0.875rem;
  color: var(--foreground);
}

/* About developer */
.about-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.about-text {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.about-text p {
  margin: 0 0 1rem;
}

/* Disclaimer */
.disclaimer {
  padding: 2rem 0;
  background: var(--muted);
  border-top: 1px solid var(--border);
}

.disclaimer-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}

.disclaimer-text {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--primary);
  padding: 1.5rem 0;
}

.footer-text {
  font-size: 0.875rem;
  color: rgba(255, 253, 250, 0.7);
  text-align: center;
  margin: 0;
}

.footer-marketed {
  font-size: 0.8125rem;
  color: rgba(255, 253, 250, 0.7);
  text-align: center;
  margin: 0.4rem 0 0;
}

.footer-credit {
  font-size: 0.8125rem;
  color: rgba(255, 253, 250, 0.6);
  text-align: center;
  margin: 0.5rem 0 0;
}

.footer-credit-link {
  color: rgba(255, 253, 250, 0.85);
  text-decoration: none;
}

.footer-credit-link:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0 0;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links-sep {
  color: rgba(255, 253, 250, 0.4);
}

/* Legal pages (Disclaimer, Privacy Policy) */
.legal-page {
  max-width: 56rem;
  margin: 0 auto;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.legal-page .legal-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}

.legal-page .legal-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 2rem 0 0.5rem;
}

.legal-page p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
}

.legal-page strong {
  color: var(--foreground);
}

.legal-page a {
  color: var(--brand-green);
  text-decoration: underline;
}

.legal-page a:hover {
  color: var(--accent);
}

/* Slider form popup — top on desktop, bottom on mobile */
.slider-form-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 57, 85, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.slider-form-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.slider-form-panel {
  position: fixed;
  left: 50%;
  z-index: 101;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.4s, box-shadow 0.4s;
  visibility: hidden;
  margin-left: auto;
  margin-right: auto;
}

.slider-form-panel.is-open {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Mobile: slide from bottom, centered */
.slider-form-panel {
  bottom: 0;
  top: auto;
  transform: translate(-50%, 100%);
  border-radius: 1.25rem 1.25rem 0 0;
}

.slider-form-panel.is-open {
  transform: translate(-50%, 0);
  visibility: visible;
}

/* Desktop: slide from top, centered */
@media (min-width: 769px) {
  .slider-form-panel {
    top: 0;
    bottom: auto;
    transform: translate(-50%, -100%);
    border-radius: 0 0 1rem 1rem;
  }

  .slider-form-panel.is-open {
    transform: translate(-50%, 0);
  }
}

.slider-form-inner {
  position: relative;
  padding: 0;
  max-width: 28rem;
  margin: 0 auto;
}

.slider-form-header {
  position: relative;
  padding: 1.75rem 1.25rem 1.25rem;
  padding-right: 3.25rem;
  background: linear-gradient(180deg, #f8f9fa 0%, var(--card) 100%);
  border-bottom: 3px solid;
  border-bottom-color: var(--accent);
}

.slider-form-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--secondary);
  color: var(--muted-foreground);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.slider-form-close:hover {
  background: var(--muted);
  color: var(--foreground);
  transform: scale(1.05);
}

.slider-form-close:active {
  transform: scale(0.98);
}

.slider-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.slider-form-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.4;
}

.slider-form-body {
  padding: 1.25rem 1.25rem 1.75rem;
}

.slider-form-panel .enquiry-form {
  gap: 1rem;
}

.slider-form-panel .enquiry-form input {
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--input);
  background: var(--background);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.slider-form-panel .enquiry-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(140, 189, 63, 0.2);
}

.slider-form-panel .btn-gold {
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  border-radius: 0.5rem;
  margin-top: 0.25rem;
  box-shadow: 0 4px 14px rgba(140, 189, 63, 0.35);
}

.slider-form-panel .btn-gold:hover {
  box-shadow: 0 6px 20px rgba(140, 189, 63, 0.4);
}

.slider-form-panel .form-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
}

.slider-form-panel .form-success,
.slider-form-panel .form-error {
  margin-bottom: 0.5rem;
}

.slider-form-fields {
  margin-bottom: 0;
}

body.slider-form-open {
  overflow: hidden;
}

/* Mobile only: fixed bottom "Download Brochure" bar — opens slider modal */
.mobile-brochure-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-brochure-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 85;
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }

  .mobile-brochure-btn {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, var(--accent), #7a5f21);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.05s;
  }

  .mobile-brochure-btn:hover {
    opacity: 0.95;
  }

  .mobile-brochure-btn:active {
    transform: scale(0.98);
  }

  /* Prevent content from sitting under the fixed bar */
  .main-offset {
    padding-bottom: 5rem;
  }
}

/* Fixed floating buttons — bottom right */
.floating-buttons {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .floating-buttons {
    bottom: 5rem;
  }
}

.float-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.float-btn-scroll {
  background: linear-gradient(135deg, var(--accent), #7a5f21);
}

.float-btn-scroll.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.float-btn-whatsapp {
  background: #25d366;
}

.float-btn-call {
  background: #7a5f21;
}
/* ==========================================================================
   Thank You Page
   ========================================================================== */
.thankyou-section {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--background) 60%);
}

.thankyou-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-luxury);
}

.thankyou-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.thankyou-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.75rem;
}

@media (min-width: 768px) {
  .thankyou-title {
    font-size: 2.125rem;
  }
}

.thankyou-desc {
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 2rem;
}

.thankyou-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 560px) {
  .thankyou-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.thankyou-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

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

.thankyou-btn-call {
  background: linear-gradient(135deg, var(--accent), var(--gold-dark));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.35);
}

.thankyou-btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.thankyou-btn-website {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.thankyou-btn-website:hover {
  background: var(--muted);
}

.thankyou-note {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}
