/* 
 * Maxicode Panel - Modern CSS Architecture
 * Standardized according to modern web development practices.
 * 
 * Sections:
 * 1. Reset & Base
 * 2. Variables & Tokens
 * 3. Typography
 * 4. Layout & Utilities
 * 5. Components
 * 6. Forms & Feedback
 * 7. Animations & Effects
 * 8. Responsive Overrides
 */

/* ==========================================================================
   1. Reset & Base Styles (Modern CSS Reset)
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--brand-marble-white); /* Consistent Background */
  color: var(--brand-charcoal-grey);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* ==========================================================================
   2. Variables & Tokens
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&family=Noto+Serif:wght@400;500&display=swap');

:root {
  /* Colors - Base Palettes */
  --color-background: #faf9f9;
  --color-on-background: #1b1c1c;
  
  --color-surface: #faf9f9;
  --color-surface-dim: #dbdad9;
  --color-surface-bright: #faf9f9;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f4f3f3;
  --color-surface-container: #efeded;
  --color-surface-container-high: #e9e8e8;
  --color-surface-container-highest: #e3e2e2;
  
  --color-on-surface: #1b1c1c;
  --color-on-surface-variant: #444748;
  
  /* Colors - Functional */
  --color-primary: #1e1e1e;
  --color-on-primary: #ffffff;
  --color-primary-container: #333333;
  --color-on-primary-container: #9c9b9b;
  
  --color-secondary: #735c00;
  --color-on-secondary: #ffffff;
  --color-secondary-container: #fed65b;
  --color-on-secondary-container: #745c00;

  --color-error: #c0392b;
  --color-on-error: #ffffff;
  --color-success: #27ae60;
  --color-on-success: #ffffff;
  
  /* Colors - Brand specific */
  --brand-marble-white: #f8f7f2; /* Noble Pearl White / Soft Travertine */
  --brand-charcoal-grey: #2c2a29;
  --brand-gold-accent: #a68a64;
  --brand-border: rgba(44, 42, 41, 0.05);
  
  /* Typography - Fonts */
  --font-headline: 'Noto Serif', serif;
  --font-body: 'Manrope', sans-serif;

  /* Typography - Sizes (Fluid with clamp) */
  --text-headline-lg: clamp(2.5rem, 6vw, 4rem);
  --text-headline-md: clamp(1.8rem, 4vw, 2.5rem);
  --text-headline-sm: clamp(1.3rem, 3vw, 1.6rem);
  --text-headline-xs: 1.25rem;
  
  --text-body-lg: 1.125rem;
  --text-body-md: 1rem;
  --text-label-caps: 0.75rem;

  /* Spacing */
  --space-unit: 8px;
  --space-gutter: clamp(1.5rem, 3vw, 2.5rem);
  --space-margin-edge: clamp(1.25rem, 5vw, 4rem);
  --space-section-gap: clamp(4rem, 12vw, 10rem);
  --container-max: 1400px;
  
  /* Shapes & Effects */
  --radius-none: 0px;
  --radius-sm: 8px; /* Modern touch */
  --radius-lg: 50px;
  --shadow-ambient: 0 4px 20px rgba(44, 42, 41, 0.06);
  --shadow-hover: 0 15px 45px rgba(44, 42, 41, 0.12);
  --transition-base: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, .headline-lg {
  font-family: var(--font-headline);
  font-size: var(--text-headline-lg);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--brand-charcoal-grey);
}

h2, .headline-md {
  font-family: var(--font-headline);
  font-size: var(--text-headline-md);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em; /* Monumental feel */
  color: var(--brand-charcoal-grey);
}

h3, .headline-sm {
  font-family: var(--font-headline);
  font-size: var(--text-headline-sm);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--brand-charcoal-grey);
}

.headline-xs {
  font-family: var(--font-headline);
  font-size: var(--text-headline-xs);
  font-weight: 600;
  color: var(--brand-gold-accent);
}

.body-lg { font-size: var(--text-body-lg); }
.body-md { font-size: var(--text-body-md); }

.label-caps {
  font-family: var(--font-body);
  font-size: var(--text-label-caps);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   4. Layout & Utilities
   ========================================================================== */

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

.container-narrow {
  max-width: 1100px !important;
}

.section {
  padding-top: var(--space-section-gap);
  padding-bottom: var(--space-section-gap);
}

/* Unified background */
.section:nth-of-type(even) {
  background-color: transparent;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-gutter);
}

.divider {
  width: 100%;
  height: 1px;
  background-color: var(--brand-border);
  position: relative;
  margin: 1rem 0; /* Reduced margin */
}

.divider + section.section {
  padding-top: 2rem; /* Pull section closer to hero */
}

.divider::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--brand-marble-white);
  padding: 0 1rem;
  color: var(--brand-gold-accent);
}

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 4rem 0; /* Equal Top & Bottom Spacing */
  opacity: 0.8;
}

.section-ornament::before,
.section-ornament::after {
  content: '';
  height: 1px;
  width: 100px;
  background: linear-gradient(90deg, transparent, var(--brand-gold-accent), transparent);
}

.section-ornament span {
  font-size: 1.2rem;
  color: var(--brand-gold-accent);
  display: flex;
  align-items: center;
}

.section-ornament span::before {
  content: '◆'; /* Monumental diamond shape */
  letter-spacing: 0.3em;
}

.section-ornament span::after {
  content: '◆';
  margin-left: 0.3em;
}

.map-section {
  padding: 0 0 4rem;
}

.map-embed-frame {
  border: 1px solid var(--brand-border);
  background-color: var(--color-surface-container-lowest);
  overflow: hidden;
}

.map-embed-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.mobile-only {
  display: none;
}

/* ==========================================================================
   5. Components
   ========================================================================== */

/* Header & Nav */
.main-header {
  padding: 0;
  border-bottom: 1px solid var(--brand-border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.logo, .header-action {
  flex: 1; /* Equal space on both sides to push nav to center */
}

.header-action {
  display: flex;
  justify-content: flex-end;
}

.header-action .btn {
  border-radius: 50px; /* Fully Oval */
  padding: 0.6rem 1.5rem;
}

.logo img {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  flex: 0 auto;
  justify-content: center;
}

/* Reset flex on mobile to keep Logo Left - Hamburger Right */
@media (max-width: 768px) {
  .logo, .header-action {
    flex: initial;
  }
}

.nav-link {
  color: var(--brand-charcoal-grey);
  text-decoration: none;
  font-size: var(--text-body-md);
  font-weight: 600;
  transition: color var(--transition-base);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-gold-accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-body-md);
  text-decoration: none;
  border-radius: var(--radius-none);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  outline-offset: 2px;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--brand-gold-accent);
}

.btn-primary {
  background-color: var(--brand-charcoal-grey);
  color: var(--color-surface-container-lowest);
}

.btn-primary:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--brand-gold-accent);
  border-color: var(--brand-gold-accent);
}

.btn-secondary:hover {
  background-color: rgba(197, 160, 40, 0.05);
  transform: translateY(-2px);
  border-color: var(--brand-gold-accent);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn:disabled {
  pointer-events: none;
}

/* Cards */
.card {
  background-color: var(--color-surface-container-lowest);
  border: 1px solid var(--brand-border);
  padding: 2rem;
  box-shadow: var(--shadow-ambient);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(176, 155, 113, 0.2);
}

.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: sepia(5%) contrast(95%);
  margin-bottom: 1.5rem;
  transition: all var(--transition-base);
  border-radius: calc(var(--radius-sm) - 4px);
}

.card:hover .card-image {
  filter: sepia(0%) contrast(100%);
  transform: scale(1.05);
}

.card .btn {
  margin-top: auto;
}

.product-card {
  cursor: pointer;
}

/* Product Detail */
.product-detail-card {
  background-color: var(--color-surface-container-lowest);
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-ambient);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  padding: 2.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  align-items: start;
}

.product-detail-media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.product-image-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--brand-gold-accent);
  color: white;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 2;
}

.product-detail-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-detail-media:hover .product-detail-image {
  transform: scale(1.05);
}

.product-detail-content {
  display: flex;
  flex-direction: column;
}

.breadcrumb-nav {
  font-size: 0.8rem;
  color: var(--color-on-surface-variant);
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumb-nav a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-nav a:hover {
  color: var(--brand-gold-accent);
}

.breadcrumb-nav .active {
  color: var(--brand-gold-accent);
}

.product-price {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  color: var(--brand-charcoal-grey);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.product-price small {
  font-size: 0.9rem;
  color: var(--color-on-surface-variant);
  font-weight: 400;
}

.product-price-request {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  color: var(--brand-gold-accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.detail-subtitle {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-on-surface-variant);
  margin-bottom: 0.75rem;
}

.product-detail-description {
  margin-bottom: 2rem;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-charcoal-grey);
}

.feature-item i {
  color: var(--brand-gold-accent);
  font-size: 1.25rem;
}

.detail-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.detail-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 1rem;
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.product-spec-table {
  background: var(--color-surface-container-low);
  border-radius: 12px;
  padding: 1.5rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-on-surface-variant);
}

.spec-value {
  font-size: 0.85rem;
  color: var(--brand-charcoal-grey);
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  text-align: center;
  padding: 250px 0;
  border-radius: 40px; /* Curved Rectangle */
  margin: 24px 5%; /* Contained within screen */
  color: white;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hero-container {
  max-width: 1100px !important;
}

.hero-section h1 {
  margin-bottom: var(--space-gutter);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-margin-edge);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gold {
  background-color: var(--brand-gold-accent) !important;
  color: var(--color-surface-container-lowest) !important;
  border-color: var(--brand-gold-accent) !important;
}

.btn-white {
  border-color: white !important;
  color: white !important;
}

/* Category Filter */
.category-filter-section {
  padding: 4rem 0 1.25rem 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

#category-filter-container {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.category-btn {
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.6rem;
  font-size: 0.875rem;
  background-color: white;
  color: var(--brand-charcoal-grey);
  border: 1px solid var(--brand-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: var(--brand-gold-accent);
}

.category-btn.active {
  background-color: var(--brand-gold-accent);
  border-color: var(--brand-gold-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Chips */
.chip {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-surface-container);
  border-radius: var(--radius-none);
  font-size: var(--text-label-caps);
}

/* ==========================================================================
   6. Forms & Feedback
   ========================================================================== */

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

.input-ghost {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--brand-charcoal-grey);
  padding: 0.75rem 0;
  color: var(--color-on-background);
  transition: border-color var(--transition-base);
}

.input-ghost:focus {
  outline: none;
  border-bottom: 2px solid var(--brand-gold-accent);
}

.input-premium {
  width: 100%;
  background: #fdfdfd;
  border: 1px solid rgba(44, 42, 41, 0.1);
  padding: 1rem 1.25rem;
  color: var(--brand-charcoal-grey);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.input-premium:focus {
  outline: none;
  border-color: var(--brand-gold-accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(166, 138, 100, 0.1);
}

.input-premium::placeholder {
  color: #a0a0a0;
  font-size: 0.9rem;
}

.input-premium.invalid {
  border-color: var(--color-error);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

.input-ghost::placeholder {
  color: var(--color-on-surface-variant);
}

.input-ghost.invalid {
  border-bottom-color: var(--color-error);
  color: var(--color-error);
}

.field-error {
  display: block;
  font-size: 0.7rem;
  color: var(--color-error);
  margin-top: 4px;
}

.settings-warning {
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-size: var(--text-body-md);
}

.form-message--success {
  background-color: #eafaf1;
  border-left: 3px solid var(--color-success);
  color: #1e8449;
}

.form-message--error {
  background-color: #fdedec;
  border-left: 3px solid var(--color-error);
  color: #922b21;
}

/* ==========================================================================
   7. Animations & Effects
   ========================================================================== */

.animate-on-scroll {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform, visibility;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.fade-in-up { transform: translateY(30px); }
.fade-in-left { transform: translateX(-30px); }
.fade-in-right { transform: translateX(30px); }
.scale-in { transform: scale(0.95); }

/* Stagger Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ==========================================================================
   8. Footer
   ========================================================================== */

.main-footer {
  background-color: var(--brand-charcoal-grey);
  color: #d1cfc9;
  padding: 80px 0 0;
  margin-top: var(--space-section-gap);
}

.footer-brand-text {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-top: 1.5rem;
}

.footer-heading {
  color: white;
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 2rem;
  position: relative;
  letter-spacing: 0.05em;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--brand-gold-accent);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-link {
  color: #d1cfc9;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--brand-gold-accent);
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--brand-gold-accent);
  font-size: 1.1rem;
}

.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

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

.admin-link {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.3s ease;
}

.admin-link:hover {
  color: var(--brand-gold-accent);
}

/* ==========================================================================
   9. Responsive Overrides
   ========================================================================== */

@media (max-width: 992px) {
  .grid-12 > [style*="grid-column: span 4"],
  .grid-12 > .card {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .grid-12 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .grid-12 > [style*="grid-column"],
  .grid-12 > .card {
    grid-column: 1 / -1;
  }

  .main-nav {
    position: fixed;
    top: 89px;
    left: 0;
    width: 100%;
    max-height: 0;
    background: var(--brand-charcoal-grey);
    flex-direction: column;
    align-items: center;
    padding: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s;
    border-bottom: 1px solid var(--brand-border);
    opacity: 0;
    pointer-events: none;
  }

  .main-nav.is-active {
    max-height: calc(100vh - 89px);
    padding: 2.5rem 0;
    opacity: 1;
    pointer-events: all;
  }

  .header-action {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand-charcoal-grey);
    transition: transform 0.3s, opacity 0.3s;
  }

  /* Hamburger to X animation */
  .menu-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

  .mobile-only {
    display: block;
  }
  
  .hero-section {
    margin: 20px 12px !important;
    padding: 170px 0 !important;
    border-radius: 20px !important;
  }

  .hero-section h1 {
    font-size: 1.75rem !important;
    padding: 0 10px;
  }

  .hero-section p {
    font-size: 1rem !important;
    padding: 0 15px;
  }

  .main-footer .grid-12 {
    gap: 3rem;
    text-align: center;
  }

  .main-footer .grid-12 > div {
    grid-column: 1 / -1 !important;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-bottom-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .product-detail-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1rem;
  }

  .product-detail-image {
    max-height: 360px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-actions .btn {
    width: 100%;
  }

  .map-embed-frame iframe {
    height: 320px;
  }

  /* Professional Service Module Mobile Fix */
  .card[style*="flex-direction: row"] {
    flex-direction: column !important;
  }

  .service-info-column, .service-form-column {
    flex: none !important;
    width: 100% !important;
  }

  .service-info-column {
    padding: 3rem 1.5rem !important;
  }

  .service-form-column {
    padding: 3rem 1.5rem !important;
  }
}
