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

:root {
  --color-bg: #F1F5F9;
  --color-text: #0F172A;
  --color-accent: #94A3B8;
  --color-hover: #E2E8F0;
  --color-white: #FFFFFF;
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', 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(15, 23, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.16);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-luxury: 0.8s 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);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-smooth);
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

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

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-luxury);
}

.header.scrolled {
  position: fixed;
  background: rgba(241, 245, 249, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
}

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

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

.logo:hover {
  transform: translateY(-2px);
}

.nav {
  display: flex;
  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-text);
  transition: width var(--transition-smooth);
}

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

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

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

.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-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg canvas {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: var(--space-md);
  transform: translateY(30px);
  animation: fadeInUp 1s var(--transition-luxury) forwards;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  transform: translateY(30px);
  animation: fadeInUp 1s var(--transition-luxury) 0.2s forwards;
}

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

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-text);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

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

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

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

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

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  transform: translateY(20px);
  transition: all var(--transition-luxury);
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  transform: translateY(30px);
}

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

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

.card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--transition-luxury);
}

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

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

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

.card-text {
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
}

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

.asymmetric-section:nth-child(even) {
  grid-template-columns: 0.8fr 1.2fr;
}

.asymmetric-section:nth-child(even) .asymmetric-content {
  order: 2;
}

.asymmetric-section:nth-child(even) .asymmetric-img {
  order: 1;
}

.asymmetric-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform: rotate(-2deg);
  transition: all var(--transition-luxury);
}

.asymmetric-img:hover {
  transform: rotate(0deg) scale(1.02);
}

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

.overlap-section {
  position: relative;
  margin: var(--space-xl) 0;
}

.overlap-bg {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 40%;
  height: 80%;
  background: var(--color-hover);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.overlap-content {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  padding: var(--space-lg);
  max-width: 70%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 2px solid var(--color-hover);
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  background: var(--color-bg);
}

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

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

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

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

.checkbox-group label {
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: normal;
}

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

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

.footer {
  background: var(--color-text);
  color: var(--color-white);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.8rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  opacity: 0.8;
  transition: opacity var(--transition-smooth);
}

.footer-links a:hover {
  opacity: 1;
}

.popup {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  z-index: 2000;
  transform: translateY(150%);
  transition: transform var(--transition-luxury);
}

.popup.show {
  transform: translateY(0);
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.popup-title {
  font-size: 1rem;
  font-weight: 600;
}

.popup-close {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-accent);
  transition: color var(--transition-smooth);
}

.popup-close:hover {
  color: var(--color-text);
}

.popup-text {
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.popup-buttons {
  display: flex;
  gap: var(--space-sm);
}

.popup-buttons .btn {
  flex: 1;
  padding: 0.7rem 1.5rem;
  font-size: 0.8rem;
}

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

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

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

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

.error-content {
  max-width: 600px;
}

.error-number {
  font-size: 8rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.policy-section {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.policy-section h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.policy-section h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.policy-section p,
.policy-section ul {
  margin-bottom: var(--space-sm);
}

.policy-section ul {
  padding-left: var(--space-md);
}

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

@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .asymmetric-section {
    grid-template-columns: 1fr;
  }
  
  .asymmetric-section:nth-child(even) {
    grid-template-columns: 1fr;
  }
  
  .asymmetric-section:nth-child(even) .asymmetric-content {
    order: 1;
  }
  
  .asymmetric-section:nth-child(even) .asymmetric-img {
    order: 2;
  }
  
  .overlap-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    transition: right var(--transition-smooth);
    box-shadow: var(--shadow-lg);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav a {
    font-size: 1.2rem;
  }
  
  .burger {
    display: flex;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .popup {
    left: var(--space-sm);
    right: var(--space-sm);
    max-width: none;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.75rem 2rem;
    font-size: 0.8rem;
  }
  
  .card-img {
    height: 200px;
  }
}

@media (max-width: 320px) {
  :root {
    --space-xs: 0.4rem;
    --space-sm: 0.6rem;
    --space-md: 1.2rem;
    --space-lg: 2rem;
    --space-xl: 2.5rem;
  }
  
  body {
    font-size: 0.85rem;
  }
  
  h1 {
    font-size: 1.4rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .hero p {
    font-size: 0.85rem;
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.75rem;
  }
  
  .card-img {
    height: 180px;
  }
  
  .card-content {
    padding: var(--space-sm);
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-text {
    font-size: 0.8rem;
  }
  
  .nav a {
    font-size: 1rem;
  }
  
  .footer {
    font-size: 0.75rem;
  }
  
  .popup {
    left: var(--space-xs);
    right: var(--space-xs);
    bottom: var(--space-xs);
    padding: var(--space-sm);
  }
  
  .popup-title {
    font-size: 0.9rem;
  }
  
  .popup-text {
    font-size: 0.8rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
  
  .policy-section {
    padding: 70px 20px;
  }
  
  .policy-section h1 {
    font-size: 1.5rem;
  }
  
  .policy-section h2 {
    font-size: 1.3rem;
  }
  
  .policy-section h3 {
    font-size: 1.1rem;
  }
  
  .policy-section p,
  .policy-section li {
    font-size: 0.85rem;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .overlap-content {
    padding: var(--space-md);
  }
  
  .contact-section {
    padding: var(--space-md);
  }
  
  .map-container {
    height: 300px;
  }
}