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

:root {
  --bg-panna: #f9f7f4;
  --text-grafite: #2d2d2d;
  --accent-blu: #1a2b4d;
  --accent-grigio: #b8a89c;
  --highlight-rame: #c97d4f;
  --dark-nero: #0d0d0d;
  --border-color: #e0d9d4;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-panna);
  color: var(--text-grafite);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-grafite);
  letter-spacing: 0.5px;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-grafite);
}

a {
  color: var(--accent-blu);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--highlight-rame);
}

header {
  background-color: var(--bg-panna);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-grafite);
  text-decoration: none;
}

.navbar-menu {
  display: none;
  list-style: none;
  gap: 2rem;
}

.navbar-menu.active {
  display: flex;
}

.navbar-menu a {
  font-size: 0.95rem;
  color: var(--text-grafite);
  text-decoration: none;
}

.navbar-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-grafite);
}

.btn-catalog {
  background-color: var(--accent-blu);
  color: white;
  border: 2px solid var(--accent-blu);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-catalog:hover {
  background-color: transparent;
  color: var(--accent-blu);
  transform: scale(1.02);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-blu);
  border: 2px solid var(--accent-blu);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: rgba(26, 43, 77, 0.05);
  transform: scale(1.02);
}

.hero {
  background-color: var(--dark-nero);
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/hero-bathroom-mirror.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  min-height: 500px;
  gap: 2rem;
  text-align: center;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
  color: rgba(255,255,255,0.95);
}

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

.featured-card {
  background: white;
  border: 2px solid var(--accent-blu);
  border-radius: 4px;
  padding: 1.5rem;
  max-width: 280px;
  text-align: center;
  margin-top: 2rem;
}

.featured-card img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.featured-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-grafite);
}

.featured-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--accent-grigio);
}

.featured-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--highlight-rame);
}

.section {
  padding: 3rem 2rem;
  background-color: var(--bg-panna);
}

.section-dark {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--dark-nero) 0%, #1a1a1a 100%);
  color: white;
}

.section-dark h2,
.section-dark h3 {
  color: white;
}

.section-dark p {
  color: rgba(255,255,255,0.9);
}

.quick-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tile {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tile:hover {
  border-color: var(--accent-blu);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(26,43,77,0.1);
}

.tile-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.tile-content {
  padding: 1.5rem;
}

.tile-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.tile-content p {
  font-size: 0.95rem;
  color: var(--accent-grigio);
  margin-bottom: 0.75rem;
}

.tile-subtitle {
  font-size: 0.85rem;
  color: var(--text-grafite);
  font-weight: 500;
}

.quick-notes {
  background-color: var(--accent-blu);
  color: white;
  padding: 2rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.quick-notes h3 {
  color: white;
  margin-bottom: 1.5rem;
  text-align: center;
}

.notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.note-item {
  background: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent-blu);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(26,43,77,0.15);
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--highlight-rame);
  color: white;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 4px;
  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;
  color: var(--text-grafite);
}

.product-meta {
  font-size: 0.85rem;
  color: var(--accent-grigio);
  margin-bottom: 0.75rem;
}

.product-description {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-grafite);
  flex-grow: 1;
}

.product-availability {
  font-size: 0.85rem;
  color: var(--accent-grigio);
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--highlight-rame);
  margin-bottom: 1rem;
}

.btn-contact {
  background-color: var(--accent-blu);
  color: white;
  border: 2px solid var(--accent-blu);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.22s ease;
  text-align: center;
  display: block;
  text-decoration: none;
}

.btn-contact:hover {
  background-color: transparent;
  color: var(--accent-blu);
  transform: scale(1.02);
}

.faq-section {
  margin: 2rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.5rem;
}

.faq-item h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--accent-blu);
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-grafite);
}

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

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

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

.footer-block p, .footer-block a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}

.footer-block a:hover {
  color: var(--highlight-rame);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.contact-form {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-grafite);
}

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

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

.form-checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.form-checkbox label {
  font-size: 0.9rem;
  margin: 0;
  font-weight: normal;
}

.form-checkbox a {
  color: var(--accent-blu);
}

.btn-submit {
  background-color: var(--accent-blu);
  color: white;
  border: 2px solid var(--accent-blu);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.22s ease;
  width: 100%;
}

.btn-submit:hover {
  background-color: transparent;
  color: var(--accent-blu);
  transform: scale(1.02);
}

.thank-you-container {
  background-color: white;
  border: 2px solid var(--highlight-rame);
  border-radius: 4px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 600px;
  margin: 3rem auto;
}

.thank-you-container h1 {
  color: var(--accent-blu);
  margin-bottom: 1rem;
}

.thank-you-container p {
  font-size: 1.1rem;
  color: var(--text-grafite);
  margin-bottom: 2rem;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.product-detail-image {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.product-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-detail-content {
  padding: 1rem;
}

.product-specs {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.specs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.spec-label {
  font-weight: 600;
  color: var(--accent-blu);
  font-size: 0.9rem;
}

.spec-value {
  color: var(--text-grafite);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 900px;
  margin: 2rem auto;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-blu);
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-grafite);
}

.legal-content ul, .legal-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }

  .navbar-toggle {
    display: none;
  }

  h1 {
    font-size: 3.5rem;
  }

  .hero {
    flex-direction: row;
    padding: 5rem 2rem;
    min-height: 550px;
    text-align: left;
  }

  .hero-content {
    align-items: flex-start;
    flex: 1.2;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .featured-card {
    margin-top: 0;
    max-width: 320px;
  }

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

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

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

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

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

  .product-detail {
    grid-template-columns: 1fr 1fr;
  }

  .product-detail-image {
    order: 2;
  }

  .product-detail-content {
    order: 1;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 4rem;
  }

  .navbar {
    padding: 0 3rem;
  }

  .section {
    padding: 4rem 3rem;
  }

  .section-dark {
    padding: 4rem 3rem;
  }

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

  .legal-content {
    padding: 3rem;
  }
}

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

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.text-muted {
  color: var(--accent-grigio);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-nero);
  color: white;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

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

.cookie-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin: 0;
}

.cookie-banner a {
  color: var(--highlight-rame);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: all 0.2s ease;
}

.cookie-btn-accept {
  background-color: var(--highlight-rame);
  color: white;
}

.cookie-btn-accept:hover {
  background-color: rgba(201, 125, 79, 0.8);
  transform: scale(1.02);
}

.cookie-btn-reject {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-reject:hover {
  background-color: rgba(255,255,255,0.1);
  transform: scale(1.02);
}
