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

:root {
  --bg-primary: #f8f9fa;
  --bg-dark: #0a0e1a;
  --text-primary: #1a1a2e;
  --text-light: #6b6b7d;
  --accent-primary: #0066cc;
  --accent-secondary: #c0c0d0;
  --highlight: #fafafa;
  --border-light: #e0e0e8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.25rem;
  }
}

header {
  background-color: white;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 220ms ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width 220ms ease;
}

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

.btn {
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--text-primary);
  background-color: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
}

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

.btn-filled {
  background-color: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.btn-filled:hover {
  background-color: #0052a3;
  border-color: #0052a3;
  color: white;
}

.hero {
  position: relative;
  min-height: 500px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 245, 255, 0.9) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background-image: url('images/hero-bathroom.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text h1 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-cta .btn {
  flex: 1;
  text-align: center;
}

.featured-product {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  transition: all 220ms ease;
  cursor: pointer;
}

.featured-product:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.featured-product img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.featured-product h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.featured-product-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.featured-product-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.quick-tiles {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tile {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: all 220ms ease;
  cursor: pointer;
}

.tile:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.tile h3 {
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.tile-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tile-subtitle {
  font-size: 0.85rem;
  color: var(--accent-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.tile img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.375rem;
}

.quick-notes {
  background-color: var(--bg-dark);
  color: white;
  padding: 3rem 2rem;
  margin: 4rem 0;
}

.quick-notes-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}

.note-item {
  padding: 1.5rem 1rem;
}

.note-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.note-item span {
  font-size: 0.85rem;
  color: var(--accent-secondary);
}

.section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.section h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 220ms ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.product-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-availability {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.product-card .btn {
  width: 100%;
  text-align: center;
}

.faq-section {
  margin-top: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  transition: color 220ms ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-answer {
  color: var(--text-light);
  margin-top: 1rem;
  line-height: 1.7;
  display: none;
}

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

.toggle-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease;
}

.faq-item.active .toggle-icon {
  transform: rotate(180deg);
}

footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-block h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-block p {
  font-size: 0.9rem;
  color: var(--accent-secondary);
  line-height: 1.8;
}

.footer-block a {
  display: block;
  color: var(--accent-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 220ms ease;
}

.footer-block a:hover {
  color: white;
}

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

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 220ms ease;
}

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

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
  cursor: pointer;
}

.privacy-link {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 220ms ease;
}

.privacy-link:hover {
  text-decoration: underline;
}

.intro-block {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.intro-block p {
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.points-list {
  list-style: none;
  padding: 0;
}

.points-list li {
  padding: 0.75rem 0;
  color: var(--text-primary);
  font-weight: 500;
}

.points-list li::before {
  content: '→ ';
  color: var(--accent-primary);
  margin-right: 0.5rem;
}

.thank-you-page {
  max-width: 600px;
  margin: 6rem auto;
  padding: 0 2rem;
  text-align: center;
}

.thank-you-page h1 {
  margin-bottom: 1rem;
}

.thank-you-page p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  nav {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero::before {
    width: 100%;
    opacity: 0.2;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

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

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

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

  .quick-tiles {
    grid-template-columns: 1fr;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-dark);
  color: white;
  padding: 1.5rem 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-text a {
  color: var(--accent-primary);
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.cookie-buttons button {
  padding: 0.5rem 1.25rem;
  border: 1px solid white;
  background: transparent;
  color: white;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 220ms ease;
}

.cookie-buttons button:first-child {
  background-color: white;
  color: var(--bg-dark);
}

.cookie-buttons button:hover {
  transform: scale(1.04);
}
