/*
Theme Name: Alsius
Theme URI: https://alsius.com.au
Author: Alsius
Author URI: https://alsius.com.au
Description: Custom theme for Alsius — luxury integrated refrigeration. Content managed via ACF.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: alsius
*/

/* ===========================================================
   Alsius — global stylesheet
   =========================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #0d0d0d;
  --card: #141414;
  --line: #1D2126;
  --text: #eaeaea;
  --muted: #6B8AA5;
  --muted-2: #6B8AA5;
  --accent: #6B8AA5;
  --accent-soft: rgba(107, 138, 165, 0.18);
}

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

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px
}

/* ====================  HEADER  ==================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 12px 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.25) 60%,
      rgba(0, 0, 0, 0) 100%),
    rgba(0, 0, 0, 0.55);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  /* background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 100%); */
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .5px;
  color: #f0f0f0;
}

.brand-mark {
  width: 22px;
  height: 22px;
  display: inline-block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 54px;
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 500;
  margin-right: 80px;
}

.nav-links a {
  color: #fff;
  transition: color .2s;
  padding-bottom: 6px;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent)
}

.nav-links a.active {
  color: var(--accent)
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
}

/* Cart icon in header */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #fff;
  margin-left: 18px;
  padding: 6px;
  transition: color .2s;
}

.cart-link:hover {
  color: var(--accent);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s, transform .2s;
}

.cart-count.has-items {
  opacity: 1;
  transform: scale(1);
}

.deposit-btn.added::after {
  content: "  ✓";
}

.deposit-btn.loading {
  opacity: .7;
  pointer-events: none;
}

/* mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle svg {
  width: 26px;
  height: 26px
}

/* ====================  HERO  ==================== */
.hero {
  position: relative;
  height: 760px;
  min-height: 600px;
  background: linear-gradient(rgba(8, 8, 8, .45), rgba(8, 8, 8, .35)),
    url('images/hero.png') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 560px
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: "— ";
  color: var(--accent)
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 74px;
  line-height: 1.05;
  letter-spacing: -.5px;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
  display: block;
}

.hero p {
  color: #c8c8c8;
  font-size: 14.5px;
  max-width: 430px;
  margin-bottom: 36px
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent)
}

.btn-primary:hover {
  background: #587595;
  border-color: #587595
}

.btn-ghost {
  background: transparent;
  color: #dcdcdc;
  border-color: rgba(255, 255, 255, .25)
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff
}

/* ====================  SECTION BASE  ==================== */
section {
  padding: 120px 0
}

.label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.label::before {
  content: "— ";
  color: var(--accent)
}

h2.heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -.3px;
}

/* Philosophy */
.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start
}

.philosophy p {
  color: #bdbdbd;
  font-size: 14.5px;
  margin-bottom: 18px;
  max-width: 460px
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 460px;
  margin-top: 18px
}

.meta-row a {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase
}

.meta-row .phone {
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 1px
}

/* Featured products */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px
}

.section-head .view-all {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase
}

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.product {
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.product-img {
  aspect-ratio: 4/5;
  background: #181818 center/cover no-repeat
}

.product-body {
  padding: 22px 22px 0;
  flex: 1;
  display: flex;
  flex-direction: column
}

.product .tag {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 10px
}

.product h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 6px
}

.product .desc {
  font-size: 13.5px;
  color: #FFFFFF;
  margin-bottom: 14px
}

.product .price {
  font-size: 14px;
  color: #cfcfcf;
  margin-bottom: 18px
}

.deposit-btn {
  display: block;
  text-align: center;
  padding: 13px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: auto;
  transition: background .25s;
}

.deposit-btn:hover {
  background: #587595
}

/* Why Alsius */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 46px
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 34px 28px
}

.feature .ic {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
}

.feature h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #fff
}

.feature p {
  font-size: 13px;
  color: #9d9d9d;
  line-height: 1.65
}

/* Testimonial */
.testimonial {
  text-align: center;
  padding: 140px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonial blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  line-height: 1.3;
  font-weight: 400;
  max-width: 880px;
  margin: 0 auto 32px;
  color: #f0f0f0;
}

.testimonial cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--muted-2);
  text-transform: uppercase;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 130px 0
}

.final-cta h2 {
  margin-bottom: 18px
}

.final-cta h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400
}

.final-cta p {
  color: #FFFFFF;
  font-size: 14px;
  max-width: 520px;
  margin: 0 auto 40px
}

.final-cta .cta-row {
  justify-content: center
}

/* ====================  FOOTER  ==================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 30px;
  background: var(--bg);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.site-footer .footer-grid p {
  color: #9a9a9a;
  font-size: 13.5px;
  max-width: 340px;
  margin-top: 20px;
}

.footer-col h5 {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #cfcfcf
}

.footer-col li a:hover {
  color: var(--accent)
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #777;
  text-align: left;
}

/* ====================  INNER PAGE HERO  ==================== */
.page-hero {
  padding: 160px 0 40px;
  position: relative;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 74px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.5px;
  margin-bottom: 24px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.page-hero p {
  color: #bdbdbd;
  font-size: 14.5px;
  max-width: 520px;
  margin-bottom: 40px;
}

/* ====================  CONTACT PAGE  ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 40px 0 130px;
}

.contact-info-block {
  margin-bottom: 56px;
}

.info-list {
  margin-top: 16px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 14px;
  color: #dcdcdc;
}

.info-item img {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  opacity: .85;
}

.info-item .info-text {
  line-height: 1.55;
}

.info-item .info-text small {
  display: block;
  color: var(--muted-2);
  font-size: 13px;
  margin-top: 2px;
}

.contact-form-card {
  background: #161A208F;
  border: 1px solid var(--line);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #22262B;
  border: 1px solid #33353B;
  color: #fff;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  gap: 10px;
}

.form-submit img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

/* ====================  FAQ PAGE  ==================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.faq-item {
  border-bottom: 1px solid #1f1f1f;
}

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  text-align: left;
}

.faq-q .chev {
  transition: transform .25s;
  color: var(--muted-2);
  flex-shrink: 0;
}

.faq-item.open .faq-q .chev {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.75;
  padding: 0;
}

.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 0 26px;
}

.faq-cta {
  text-align: center;
  padding: 80px 0 100px;
  border-top: 1px solid var(--line);
}

.faq-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 14px;
}

.faq-cta p {
  color: #FFFFFF;
  margin-bottom: 30px;
  font-size: 14.5px;
}

/* ====================  ABOUT PAGE  ==================== */
.about-craft {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 30px 0 80px;
}

.about-craft img {
  width: 100%;
  height: auto;
  display: block;
}

.about-craft h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 22px;
  color: #fff;
}

.about-craft p {
  color: #bdbdbd;
  font-size: 14.5px;
  margin-bottom: 18px;
  max-width: 480px;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 78px;
  line-height: 1;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 500;
}

.stat .num em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 1px;
  margin-left: 4px;
}

.stat .desc {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.6;
}

.about-end {
  text-align: center;
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.about-end h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-end .cta-row {
  justify-content: center;
}

/* ====================  PRODUCTS PAGE  ==================== */
.filters {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 50px;
}

.filter-btn {
  padding: 13px 28px;
  background: transparent;
  color: #fff;
  border: 1px solid #2a2f36;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.products-page-grid {
  padding: 0 0 80px;
}

/* ====================  RESPONSIVE  ==================== */
@media (max-width:960px) {
  .container {
    padding: 0 24px
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, .97);
    padding: 20px 24px;
    border-top: 1px solid var(--line);
    margin-right: 0;
    display: none;
  }

  .nav-links.open {
    display: flex
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
  }

  .nav-links a:last-child {
    border-bottom: none
  }

  .nav-links a.active::after {
    display: none
  }

  .menu-toggle {
    display: inline-flex
  }

  .hero {
    height: auto;
    padding: 160px 0 100px
  }

  .hero h1 {
    font-size: 48px
  }

  section {
    padding: 80px 0
  }

  .philosophy {
    grid-template-columns: 1fr;
    gap: 24px
  }

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

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

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  h2.heading {
    font-size: 34px
  }

  .testimonial blockquote {
    font-size: 24px
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px
  }

  .page-hero {
    padding: 140px 0 60px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 20px 0 80px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 24px;
  }

  .about-craft {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 0 40px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 60px 0;
  }

  .stat .num {
    font-size: 60px;
  }

  .about-end h2 {
    font-size: 28px;
  }

  .faq-q {
    font-size: 18px;
  }

  .faq-cta h3 {
    font-size: 28px;
  }

  .filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 11px 18px;
    font-size: 10px;
  }
}

@media (max-width:520px) {
  .features {
    grid-template-columns: 1fr
  }

  .hero h1 {
    font-size: 38px
  }

  .cta-row .btn {
    flex: 1;
    min-width: 140px
  }
}
