/* ==========================================================================
   Requesta Decoración - Premium Ergonomic Executive & Modern Home Furniture
   Design Tokens & Utility System
   ========================================================================== */

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

:root {
  /* Color Palette */
  --primary-navy: #1E3A8A;
  --primary-navy-dark: #0F172A;
  --accent-tan: #D97706;
  --accent-tan-hover: #B45309;
  --titanium-gray: #64748B;
  --titanium-light: #F1F5F9;
  --titanium-dark: #334155;
  --pure-white: #FFFFFF;
  --bg-cream: #FAFAF9;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  /* Transitions */
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--titanium-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy-dark);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 6rem 0;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-tan);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--titanium-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent-tan);
  color: var(--pure-white);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-tan-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}

.btn-navy {
  background-color: var(--primary-navy);
  color: var(--pure-white);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.35);
}

.btn-navy:hover {
  background-color: var(--primary-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
  background-color: var(--primary-navy);
  color: var(--pure-white);
  transform: translateY(-2px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: var(--transition-fast);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo svg {
  width: 38px;
  height: 38px;
  fill: var(--primary-navy);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
}

.brand-text span {
  color: var(--accent-tan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--titanium-dark);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-tan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-tan);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 130px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  color: var(--pure-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 6, 0.2);
  color: var(--accent-tan);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.hero-title {
  font-size: 3.5rem;
  color: var(--pure-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--accent-tan);
}

.hero-desc {
  font-size: 1.15rem;
  color: #94A3B8;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

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

.hero-img-wrapper {
  position: relative;
}

.hero-img-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-img-card svg {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--pure-white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent-tan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--titanium-gray);
  font-size: 0.95rem;
}

/* Ergonomic Showcase Section */
.ergonomic-showcase {
  background: #F8FAFC;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.showcase-spec-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.spec-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.spec-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.spec-text p {
  color: var(--titanium-gray);
  font-size: 0.9rem;
}

/* Review / Testimonial Cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--pure-white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-stars {
  color: var(--accent-tan);
  margin-bottom: 1rem;
  display: flex;
  gap: 4px;
}

.review-quote {
  font-style: italic;
  color: var(--titanium-dark);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--titanium-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-navy);
  border: 2px solid var(--accent-tan);
}

.author-info h5 {
  font-size: 1rem;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--titanium-gray);
}

/* Footer */
.footer {
  background: var(--primary-navy-dark);
  color: #94A3B8;
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-title {
  color: var(--pure-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-tan);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-tan);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-tan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* GDPR Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.98);
  border-top: 2px solid var(--accent-tan);
  color: var(--pure-white);
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.3);
  transition: bottom 0.5s ease-in-out;
}

.cookie-banner.active {
  bottom: 0;
}

.cookie-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text p {
  font-size: 0.9rem;
  color: #CBD5E1;
}

.cookie-text a {
  color: var(--accent-tan);
  text-decoration: underline;
}

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

/* Dynamic Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Product Catalogue Specifics */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--pure-white);
  border: 1px solid #CBD5E1;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--titanium-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-navy);
  color: var(--pure-white);
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--pure-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.product-img {
  position: relative;
  background: #F1F5F9;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-tan);
  color: var(--pure-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
}

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

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--titanium-gray);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--titanium-gray);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F1F5F9;
  padding-top: 1rem;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Floating Label Form (Contact) */
.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  background: var(--pure-white);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--titanium-gray);
  pointer-events: none;
  transition: var(--transition-fast);
  background: var(--pure-white);
  padding: 0 0.25rem;
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.8rem;
  color: var(--primary-navy);
  font-weight: 600;
}

.error-msg {
  color: #DC2626;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.invalid .form-control {
  border-color: #DC2626;
}

.form-group.invalid .error-msg {
  display: block;
}

/* Legal Pages Styling */
.legal-content {
  background: var(--pure-white);
  padding: 4rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #E2E8F0;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-navy);
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--titanium-dark);
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.25rem;
  color: #475569;
  font-size: 0.98rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  list-style: disc;
}

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

.consent-box {
  background: var(--titanium-light);
  border-left: 4px solid var(--accent-tan);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 1.5rem 0;
}

.consent-id-val {
  font-family: monospace;
  font-weight: 700;
  color: var(--primary-navy);
  background: #E2E8F0;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-grid, .showcase-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: var(--pure-white);
    flex-direction: column;
    padding: 3rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .cookie-flex {
    flex-direction: column;
    text-align: center;
  }

  .legal-content {
    padding: 2rem 1.5rem;
  }
}
