@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-onyx: #050505;
  --color-mist: #94A3B8;
  --color-slate: #111111;
  --color-lead: #334155;
  --color-flare: #FFFFFF;
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --shadow-sm: 0 2px 8px rgba(148, 163, 184, 0.1);
  --shadow-md: 0 4px 16px rgba(148, 163, 184, 0.15);
  --shadow-lg: 0 8px 32px rgba(148, 163, 184, 0.2);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-luxury: 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--color-onyx);
  color: var(--color-mist);
  line-height: 1.6;
  font-size: 0.9rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-flare);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
  color: var(--color-mist);
  text-decoration: none;
  transition: all var(--transition-base);
}

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

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-luxury);
  width: 90%;
  max-width: 1200px;
}

header.hidden {
  transform: translateX(-50%) translateY(-120%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-flare);
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
}

.logo:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  align-items: center;
}

nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: var(--space-xs) 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-flare);
  transition: width var(--transition-base);
}

nav a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-xs);
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--color-flare);
  transition: all var(--transition-base);
}

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

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

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  animation: fadeInUp var(--transition-luxury) ease-out;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: var(--space-md);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  color: var(--color-mist);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--color-flare);
  color: var(--color-onyx);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-mist);
  border: 1px solid var(--color-lead);
}

.btn-secondary:hover {
  background: var(--color-slate);
  border-color: var(--color-mist);
  color: var(--color-flare);
}

section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--color-slate);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--color-lead);
  box-shadow: var(--shadow-lg);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.card h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.5rem;
}

.card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-mist);
}

.price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-flare);
  margin: var(--space-sm) 0;
}

.asymmetric-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.asymmetric-section:nth-child(even) {
  direction: rtl;
}

.asymmetric-section:nth-child(even) > * {
  direction: ltr;
}

.overlap-container {
  position: relative;
  padding: var(--space-lg) 0;
}

.overlap-item {
  position: relative;
  z-index: 1;
}

.overlap-item:nth-child(2) {
  margin-top: -4rem;
  margin-left: 3rem;
}

.angled-section {
  transform: skewY(-2deg);
  padding: var(--space-xl) 0;
  background: var(--color-slate);
  margin: var(--space-xl) 0;
}

.angled-section > * {
  transform: skewY(2deg);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-mist);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: var(--color-slate);
  border: 1px solid var(--color-lead);
  border-radius: var(--radius-md);
  color: var(--color-flare);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-mist);
  box-shadow: var(--shadow-md);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin: var(--space-sm) 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
}

.checkbox-group label {
  font-size: 0.8rem;
  margin: 0;
}

.contact-info {
  background: var(--color-slate);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-mist);
}

.contact-info h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.3rem;
}

.contact-info p {
  margin-bottom: var(--space-xs);
  font-size: 0.85rem;
}

.contact-info a {
  color: var(--color-flare);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-md);
  border: 1px solid var(--color-lead);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

footer {
  background: var(--color-slate);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid var(--color-lead);
}

footer p {
  margin: var(--space-xs) 0;
}

.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-slate);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 90%;
  z-index: 2000;
  transition: bottom var(--transition-luxury);
  border: 1px solid var(--color-lead);
}

.cookie-popup.show {
  bottom: var(--space-md);
}

.cookie-popup p {
  margin-bottom: var(--space-sm);
  font-size: 0.85rem;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
}

.cookie-buttons button {
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content h1 {
  font-size: 8rem;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--color-mist), var(--color-flare));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-content h2 {
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.luxury-icon-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-slate), var(--color-lead));
  box-shadow: var(--shadow-lg);
}

.luxury-icon-wrapper i {
  font-size: 4rem;
  color: var(--color-mist);
}

.luxury-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-mist), transparent);
  margin: var(--space-md) auto;
}

.luxury-number {
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-mist), var(--color-flare));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.thank-you-actions,
.error-actions {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.policy-page {
  padding-top: 8rem;
  min-height: 100vh;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
}

.policy-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-lead);
}

.policy-header h1 {
  margin-bottom: var(--space-sm);
  font-weight: 300;
}

.policy-date {
  font-size: 0.85rem;
  color: var(--color-mist);
  font-style: italic;
}

.policy-content {
  background: var(--color-slate);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-lead);
  box-shadow: var(--shadow-md);
}

.policy-content h2 {
  font-size: 1.8rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-weight: 400;
  color: var(--color-flare);
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  font-size: 1.3rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  font-weight: 400;
  color: var(--color-mist);
}

.policy-content p {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.policy-content ul,
.policy-content ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.policy-content li {
  margin-bottom: var(--space-xs);
}

.policy-content a {
  color: var(--color-flare);
  text-decoration: underline;
}

.policy-content a:hover {
  color: var(--color-mist);
}

.policy-contact {
  background: var(--color-onyx);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  border-left: 3px solid var(--color-mist);
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-content h1 {
  margin-bottom: var(--space-md);
  font-size: 3rem;
}

.icon {
  font-size: 1rem;
  margin-right: 0.3rem;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn var(--transition-slow) ease-out;
}

.slide-in-left {
  animation: slideInLeft var(--transition-luxury) ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight var(--transition-luxury) ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.stagger-item {
  opacity: 0;
  animation: fadeInUp var(--transition-slow) ease-out forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  header {
    width: 95%;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--space-xl) var(--space-md);
    transition: right var(--transition-base);
    z-index: 999;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  nav a {
    font-size: 1.2rem;
  }
  
  .burger {
    display: flex;
    z-index: 1001;
  }
  
  .asymmetric-section {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .asymmetric-section:nth-child(even) {
    direction: ltr;
  }
  
  .overlap-item:nth-child(2) {
    margin-top: 0;
    margin-left: 0;
  }
  
  .angled-section {
    transform: none;
  }
  
  .angled-section > * {
    transform: none;
  }
  
  .error-content h1 {
    font-size: 5rem;
  }
  
  .luxury-number {
    font-size: 6rem;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.85rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.8rem;
  }
  
  .card img {
    height: 200px;
  }
  
  .luxury-number {
    font-size: 5rem;
  }
  
  .luxury-icon-wrapper {
    width: 90px;
    height: 90px;
  }
  
  .luxury-icon-wrapper i {
    font-size: 3rem;
  }
  
  .policy-content {
    padding: var(--space-md);
  }
  
  nav {
    width: 85%;
  }
}

/* 320px – small phones (e.g. iPhone SE, narrow viewports) */
@media (max-width: 320px) {
  :root {
    --space-xs: 0.4rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 2.5rem;
  }

  html {
    font-size: 14px; /* base scale down for readability without overflow */
  }

  body {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }
  h5, h6 { font-size: 1rem; }

  .container {
    padding: 0 var(--space-sm);
    max-width: 100%;
  }

  /* Header – full width, compact */
  header {
    width: 100%;
    max-width: 100%;
    padding: var(--space-sm) var(--space-sm);
    border-radius: 0;
  }

  .logo {
    font-size: 1.2rem;
  }

  /* Nav (mobile menu) – full drawer, touch-friendly */
  nav {
    width: 100%;
    padding: var(--space-xl) var(--space-sm);
  }

  nav a {
    font-size: 1rem;
    padding: var(--space-sm) 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .burger {
    padding: var(--space-xs);
  }

  .burger span {
    width: 22px;
  }

  /* Hero */
  .hero {
    padding: var(--space-lg) 0;
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
  }

  .hero p {
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
  }

  /* Buttons – full width for primary actions, touch target */
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
    min-height: 44px;
    width: 100%;
    text-align: center;
  }

  .thank-you-actions .btn,
  .error-actions .btn {
    width: auto;
    min-width: 120px;
  }

  /* Sections */
  section {
    padding: var(--space-lg) 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
  }

  /* Grid & cards */
  .grid {
    gap: var(--space-sm);
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .card {
    padding: var(--space-sm);
  }

  .card img {
    height: 180px;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.8rem;
  }

  .price {
    font-size: 1.4rem;
  }

  /* Asymmetric / overlap */
  .asymmetric-section {
    gap: var(--space-md);
  }

  .overlap-container {
    padding: var(--space-md) 0;
  }

  /* Forms – compact but usable */
  .form-group input,
  .form-group textarea {
    padding: 0.7rem;
    font-size: 16px; /* prevents zoom on focus on iOS */
  }

  .form-group textarea {
    min-height: 100px;
  }

  .contact-info {
    padding: var(--space-sm);
  }

  .contact-info h3 {
    font-size: 1.1rem;
  }

  .map-container {
    height: 280px;
  }

  /* Cookie popup */
  .cookie-popup {
    width: 100%;
    max-width: 100%;
    padding: var(--space-sm);
    left: 0;
    transform: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .cookie-popup.show {
    bottom: 0;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }

  /* Error & thank-you pages */
  .error-content h1 {
    font-size: 4rem;
  }

  .error-content h2 {
    font-size: 1.25rem;
  }

  .luxury-number {
    font-size: 3.5rem;
  }

  .luxury-icon-wrapper {
    width: 64px;
    height: 64px;
  }

  .luxury-icon-wrapper i {
    font-size: 1.75rem;
  }

  .thank-you-content h1 {
    font-size: 1.75rem;
  }

  .thank-you-actions,
  .error-actions {
    gap: var(--space-sm);
    flex-direction: column;
    align-items: stretch;
  }

  .thank-you-actions .btn,
  .error-actions .btn {
    width: 100%;
  }

  /* Policy page */
  .policy-page {
    padding-top: 5rem;
  }

  .policy-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
  }

  .policy-content {
    padding: var(--space-sm);
  }

  .policy-content h2 {
    font-size: 1.35rem;
  }

  .policy-content h3 {
    font-size: 1rem;
  }

  /* Prevent overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  .card,
  .grid > * {
    min-width: 0;
  }

  footer {
    padding: var(--space-sm) var(--space-sm);
    font-size: 0.75rem;
  }
}