/*
Theme Name: Hashi Smart Pet Solutions
Theme URI: http://43.131.9.110
Author: Hashi Team
Author URI: http://43.131.9.110
Description: Custom WordPress theme for Hashi Smart Pet Solutions - Smart Pet Device Manufacturing & OEM/ODM Partner
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hashi-theme
Tags: one-column, two-columns, right-sidebar, custom-background, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, post-formats, theme-options, translation-ready

Hashi Smart Pet Solutions Theme - Built for Pets. Engineered for Brands.
*/

/* ==========================================================================
   Design Tokens (from HASHI UI规范)
   ========================================================================== */

:root {
  /* Color System */
  --color-primary: #F97316;
  --color-primary-dark: #EA580C;
  --color-primary-soft: #FFF1E8;
  --color-charcoal: #17191C;
  --color-body: #667085;
  --color-warm-white: #FCFBF8;
  --color-surface: #FFFFFF;
  --color-soft-gray: #F3F4F2;
  --color-border: #E6E7E4;
  --color-input: #D7D9D6;
  --color-success: #18864B;
  --color-error: #B42318;

  /* Typography */
  --font-primary: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: 60px;
  --font-h1: 60px;
  --font-h2: 48px;
  --font-h3: 32px;
  --font-h4: 24px;
  --font-body-large: 18px;
  --font-body: 16px;
  --font-small: 14px;
  --font-button: 16px;
  --font-data: 64px;
  --font-eyebrow: 13px;

  /* Spacing System (8pt) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-btn: 8px;
  --radius-card: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Container */
  --container: 1280px;
  --container-padding: 40px;
  --header-height: 90px;

  /* Motion */
  --motion-fast: 160ms;
  --motion-base: 220ms;
  --motion-ui: 300ms;
  --motion-reveal: 480ms;
  --motion-image: 600ms;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

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

body {
  font-family: var(--font-primary);
  font-size: var(--font-body);
  line-height: 1.65;
  color: var(--color-body);
  background-color: var(--color-warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--color-charcoal);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

h1 {
  font-size: var(--font-h1);
  line-height: 1.1;
}

h2 {
  font-size: var(--font-h2);
  line-height: 1.15;
}

h3 {
  font-size: var(--font-h3);
}

h4 {
  font-size: var(--font-h4);
  font-weight: 650;
}

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--motion-fast) ease-out;
}

a:hover {
  color: var(--color-primary-dark);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: min(var(--container), calc(100% - var(--container-padding) * 2));
  margin-inline: auto;
}

@media (max-width: 1199px) {
  .container {
    width: min(1024px, calc(100% - 56px));
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 40px);
  }
}

.section {
  padding: var(--space-9) 0;
}

@media (max-width: 767px) {
  .section {
    padding: var(--space-8) 0;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 var(--space-6);
  font-size: var(--font-button);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all var(--motion-base) ease-out;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-surface);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-surface);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-charcoal);
  border: 1px solid var(--color-charcoal);
}

.btn-secondary:hover {
  background-color: var(--color-soft-gray);
}

.btn-dark {
  background-color: var(--color-charcoal);
  color: var(--color-surface);
}

.btn-dark:hover {
  background-color: #2a2d31;
  color: var(--color-surface);
}

.btn:focus {
  outline: 3px solid rgba(249, 115, 22, 0.28);
  outline-offset: 2px;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 24px rgba(23, 25, 28, 0.06);
  transition: box-shadow var(--motion-base) ease-out;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(23, 25, 28, 0.10);
}

.card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--motion-image) ease-out;
}

.card:hover .card-image {
  transform: scale(1.03);
}

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

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(252, 251, 248, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: box-shadow var(--motion-base) ease-out;
}

/* Account for WordPress admin bar */
body.admin-bar .site-header {
  top: 32px;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(23, 25, 28, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--container-padding);
  gap: var(--space-8);
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-img {
  height: 44px;
  width: auto;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: var(--space-4);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex: 1;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
}

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-charcoal);
  transition: color var(--motion-fast) ease-out;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

/* Dropdown Menu - Desktop hover to expand */
.nav-menu .menu-item-has-children {
  position: relative;
}

.nav-menu .menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu .menu-item-has-children > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--motion-fast) ease;
}

.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -10px;
  min-width: 220px;
  background-color: var(--color-surface);
  border-radius: var(--radius-btn);
  box-shadow: 0 12px 32px rgba(23, 25, 28, 0.15);
  padding: var(--space-3) 0;
  list-style: none;
  z-index: 1000;
}

/* Desktop: show on hover */
.nav-menu .menu-item-has-children:hover > .sub-menu {
  display: block;
}

.nav-menu .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

.nav-menu .sub-menu li {
  margin: 0;
  position: relative;
}

.nav-menu .sub-menu a {
  display: block;
  padding: var(--space-3) var(--space-5);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-body);
  transition: all var(--motion-fast) ease-out;
  white-space: nowrap;
}

.nav-menu .sub-menu a:hover {
  background-color: var(--color-soft-gray);
  color: var(--color-primary);
}

.header-cta {
  margin-left: var(--space-6);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--color-charcoal);
  color: var(--color-surface);
  padding: var(--space-9) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}

.footer h4 {
  color: var(--color-surface);
  font-size: 16px;
  margin-bottom: var(--space-5);
}

.footer p,
.footer a {
  color: #A8ADB5;
  font-size: 14px;
  line-height: 1.8;
}

.footer a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-5);
  text-align: center;
}

.footer-col p {
  color: #A8ADB5;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: var(--space-3);
}

.footer-col a {
  color: #A8ADB5;
  text-decoration: none;
  transition: color var(--motion-fast) ease;
}

.footer-col a:hover {
  color: var(--color-primary);
}

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

.footer-menu li {
  margin-bottom: var(--space-3);
}

.footer-menu a {
  color: #A8ADB5;
  font-size: 14px;
  text-decoration: none;
  transition: color var(--motion-fast) ease;
}

.footer-menu a:hover {
  color: var(--color-primary);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #A8ADB5;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--motion-fast) ease;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-surface);
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-newsletter .form-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-surface);
}

.footer-newsletter .form-input::placeholder {
  color: #667085;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #667085;
  font-size: 13px;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-5);
}

.footer-bottom-links a {
  color: #667085;
  font-size: 13px;
  text-decoration: none;
  transition: color var(--motion-fast) ease;
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

/* Partner Logos (text-based) */
.partner-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-charcoal);
  opacity: 0.4;
  transition: opacity var(--motion-base) ease;
  white-space: nowrap;
}

.partner-logo:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-10);
  background-color: var(--color-warm-white);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.hero-content {
  flex: 45%;
}

.hero-content .eyebrow {
  font-size: var(--font-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.hero-content h1 {
  margin-bottom: var(--space-5);
}

.hero-content .hero-body {
  font-size: var(--font-body-large);
  color: var(--color-body);
  max-width: 560px;
  margin-bottom: var(--space-6);
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.hero-proof {
  display: flex;
  gap: var(--space-6);
  flex-wrap: nowrap;
}

.hero-proof .proof-item {
  text-align: center;
  min-width: 90px;
}

.hero-proof .proof-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1.2;
}

.hero-proof .proof-label {
  font-size: 12px;
  color: var(--color-body);
  white-space: nowrap;
}

.hero-image {
  flex: 55%;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */

.stats-bar {
  background-color: var(--color-soft-gray);
  padding: var(--space-7) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.stat-item .stat-value {
  font-size: var(--font-data);
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.stat-item .stat-label {
  font-size: var(--font-small);
  color: var(--color-body);
}

/* ==========================================================================
   Section Labels
   ========================================================================== */

.section-label {
  font-size: var(--font-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

/* ==========================================================================
   Dark Section
   ========================================================================== */

.section-dark {
  background-color: var(--color-charcoal);
  color: var(--color-surface);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-surface);
}

.section-dark p {
  color: #A8ADB5;
}

.section-dark .section-label {
  color: var(--color-primary);
}

/* ==========================================================================
   Product Grid
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow var(--motion-base) ease-out;
}

.product-card:hover {
  box-shadow: 0 12px 32px rgba(23, 25, 28, 0.10);
}

.product-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

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

.product-card-category {
  font-size: var(--font-small);
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.product-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-3);
}

.product-card-desc {
  font-size: var(--font-small);
  color: var(--color-body);
  margin-bottom: var(--space-4);
}

.product-card-link {
  font-size: var(--font-small);
  font-weight: 500;
  color: var(--color-primary);
}

/* ==========================================================================
   Why Choose Grid
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 767px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-item h4 {
  margin-bottom: var(--space-3);
}

.why-item p {
  font-size: var(--font-small);
  color: #A8ADB5;
}

/* ==========================================================================
   Form Styles
   ========================================================================== */

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

.form-label {
  display: block;
  font-size: var(--font-small);
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  height: 52px;
  padding: 0 var(--space-4);
  font-size: var(--font-body);
  font-family: var(--font-primary);
  color: var(--color-charcoal);
  background-color: var(--color-surface);
  border: 1px solid var(--color-input);
  border-radius: var(--radius-btn);
  transition: border-color var(--motion-fast) ease-out;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.form-textarea {
  min-height: 140px;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  resize: vertical;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1023px) {
  :root {
    --font-h1: 52px;
    --font-h2: 42px;
    --font-h3: 28px;
    --font-data: 56px;
    --header-height: 80px;
  }

  /* Tablet Header */
  .header-inner {
    gap: var(--space-5);
  }

  .main-navigation {
    gap: var(--space-5);
  }

  .nav-menu {
    gap: var(--space-5);
  }

  .nav-menu a {
    font-size: 14px;
  }

  .header-cta {
    margin-left: var(--space-4);
  }

  .btn {
    height: 44px;
    padding: 0 var(--space-5);
    font-size: 14px;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-content,
  .hero-image {
    flex: 100%;
    max-width: 100%;
  }

  .hero-content h1 {
    max-width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

@media (max-width: 767px) {
  :root {
    --font-h1: 40px;
    --font-h2: 32px;
    --font-h3: 24px;
    --font-data: 42px;
    --header-height: 64px;
  }

  /* Mobile Header */
  .header-inner {
    padding: 8px var(--space-4);
  }

  .site-logo-img {
    height: 44px !important;
  }

  .site-logo .site-title {
    font-size: 20px;
  }

  .site-logo .site-title small {
    font-size: 10px;
  }

  /* Admin bar on mobile */
  body.admin-bar .site-header {
    top: 0;
  }

  body.admin-bar .hero {
    padding-top: calc(var(--header-height) + var(--space-8));
  }

  .hero-proof {
    flex-wrap: wrap;
    gap: var(--space-5);
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

  .footer-social {
    justify-content: center;
  }

  .footer-newsletter .form-input {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Mobile navigation fixes */
  .nav-menu {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    z-index: 999;
    overflow-y: auto;
    padding: 0 var(--space-5);
  }

  body.admin-bar .mobile-menu {
    top: calc(var(--header-height));
  }

  /* Mobile Nav Menu - Click only, no hover */
  .mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav-menu > li {
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-nav-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--color-charcoal);
    text-decoration: none;
  }

  /* Arrow icon for parent items only */
  .mobile-nav-menu > .menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--color-body);
    transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease;
  }

  /* Active state: orange text + arrow up */
  .mobile-nav-menu > .menu-item-has-children.active > a {
    color: var(--color-primary) !important;
  }

  .mobile-nav-menu > .menu-item-has-children.active > a::after {
    transform: rotate(180deg);
    border-top-color: var(--color-primary);
  }

  /* Submenu: inline expand, click only */
  .mobile-nav-menu .sub-menu {
    list-style: none;
    padding: 0 0 var(--space-3) var(--space-5) !important;
    margin: 0;
    display: none !important;
  }

  .mobile-nav-menu .menu-item-has-children.active > .sub-menu {
    display: block !important;
  }

  .mobile-nav-menu .sub-menu li {
    border-bottom: none;
  }

  .mobile-nav-menu .sub-menu a {
    display: block;
    padding: var(--space-4) 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--color-body);
    text-decoration: none;
  }

  /* Disable all hover visual effects on mobile - do NOT use all:unset (breaks display) */
  .mobile-nav-menu .sub-menu a:hover,
  .mobile-nav-menu .sub-menu a:focus {
    background: transparent !important;
    color: var(--color-body) !important;
    outline: none !important;
  }
  
  .mobile-cta-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4);
    background: var(--color-surface);
    box-shadow: 0 -4px 18px rgba(23, 25, 28, 0.1);
    z-index: 1000;
  }
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

/* ==========================================================================
   Quote Modal
   ========================================================================== */

.quote-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.quote-modal.active {
  display: flex;
}

.quote-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.quote-modal-content {
  position: relative;
  background: var(--color-surface);
  border-radius: 16px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quote-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--color-soft-gray);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  color: var(--color-charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--motion-fast) ease;
}

.quote-modal-close:hover {
  background: var(--color-border);
}

.quote-modal-body {
  display: flex;
  min-height: 450px;
}

.quote-modal-left {
  flex: 1;
  background: linear-gradient(135deg, #E8F4F8 0%, #D1E8F0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.quote-modal-left h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-charcoal);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.quote-modal-map {
  width: 100%;
  max-width: 300px;
}

.quote-modal-map img {
  width: 100%;
  height: auto;
}

.quote-modal-right {
  flex: 1;
  padding: 40px;
}

.quote-modal-right h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 24px;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-form .cf-field {
  margin-bottom: 0;
}

.quote-form .cf-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: 6px;
}

.quote-form .cf-field input,
.quote-form .cf-field textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-input);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-primary);
  transition: border-color var(--motion-fast) ease;
}

.quote-form .cf-field input:focus,
.quote-form .cf-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.quote-form .cf-field textarea {
  height: auto;
  min-height: 120px;
  padding: 12px 16px;
  resize: vertical;
}

.quote-form .btn {
  margin-top: 8px;
  height: 52px;
  font-size: 16px;
  font-weight: 600;
}

/* Mobile Modal */
@media (max-width: 767px) {
  .quote-modal-content {
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
  }

  .quote-modal-body {
    flex-direction: column;
    min-height: auto;
    max-height: 85vh;
    overflow-y: auto;
  }

  .quote-modal-left {
    padding: 0;
    flex-shrink: 0;
  }

  .quote-modal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .quote-modal-right {
    padding: 24px;
  }
}

/* ==========================================================================
   Product Categories Section
   ========================================================================== */

.product-categories-section {
  padding: var(--space-9) 0;
  background: var(--color-warm-white);
}

.pc-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.pc-header-left {
  flex: 1;
}

.pc-label {
  display: block;
  font-size: var(--font-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.pc-header h2 {
  text-align: left;
  margin: 0;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 var(--space-6);
  font-size: var(--font-button);
  font-weight: 600;
  color: var(--color-charcoal);
  background: transparent;
  border: 2px solid var(--color-charcoal);
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: all var(--motion-base) ease-out;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--color-charcoal);
  color: var(--color-surface);
}

/* Grid Layout */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1023px) {
  .pc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .pc-grid {
    grid-template-columns: 1fr;
  }

  .pc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
}

/* Card */
.pc-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(23, 25, 28, 0.06);
  transition: transform var(--motion-base) ease-out, box-shadow var(--motion-base) ease-out;
}

.pc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(23, 25, 28, 0.12);
}

/* Card Image - Background image */
.pc-card-image {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.pc-card:hover .pc-card-image {
  transform: scale(1.03);
}

/* Card Body */
.pc-card-body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pc-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
  text-align: left;
}

.pc-desc {
  font-size: var(--font-small);
  color: var(--color-body);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.active {
  animation: fadeInUp var(--motion-reveal) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}