/*
Theme Name: DG Materials
Theme URI: https://dgmaterials.com
Author: DG Group
Author URI: https://dgmaterials.com
Description: Custom WordPress theme for DG Materials - Premium architectural surface materials. Built with ACF Pro flexible content.
Version: 1.0.0
License: GPL v2 or later
Text Domain: dg-materials
*/

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  --color-white: #FFFFFF;
  --color-alabaster: #FCFBF8;
  --color-bunker: #14181F;
  --color-pale-sky: #676F7E;
  --color-ebb: #F4F2F1;
  --color-navy: #1a2d4a;
  --color-border: rgba(20, 24, 31, 0.15);
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 36px;
  --text-3xl: 48px;
  --text-4xl: 60px;
  
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 120px;
  --space-5xl: 160px;
  
  --container-narrow: 960px;
  --container-wide: 1400px;
  
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================
   BASE STYLES
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-bunker);
  background-color: var(--color-alabaster);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3.6px;
  color: var(--color-pale-sky);
}

.heading-section {
  font-size: var(--text-4xl);
  text-transform: uppercase;
  letter-spacing: -1.5px;
  line-height: 1;
}

.heading-subsection {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.75px;
  line-height: 1.2;
}

.body-large {
  font-size: var(--text-lg);
  line-height: 1.4;
  color: var(--color-pale-sky);
}

.body-text {
  font-size: var(--text-base);
  line-height: 1.625;
  color: var(--color-pale-sky);
}

/* ========================================
   LAYOUT
   ======================================== */
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
}

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

.btn-outline:hover {
  background: var(--color-bunker);
  color: var(--color-white);
}

.btn-outline-light {
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-bunker);
}

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

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

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition-base);
}

.site-header.scrolled {
  background: var(--color-white);
  box-shadow: 0 1px 0 var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.site-logo__text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
}

.site-logo__tagline {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-pale-sky);
}

.site-logo__image {
  max-width: 140px;
  height: auto;
}

.site-logo__scrolled {
  display: none;
}

.site-header.scrolled .site-logo__default {
  display: none;
}

.site-header.scrolled .site-logo__scrolled {
  display: block;
}

/* Force black logo on contact page (white background header) */
.page-template-template-contact .site-logo__default {
  display: none;
}

.page-template-template-contact .site-logo__scrolled {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.main-nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-bunker);
  position: relative;
}

.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-bunker);
  transition: var(--transition-base);
}

.main-nav__link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.main-nav__mobile-cta {
  display: none;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.language-switcher .lang-item {
  color: var(--color-pale-sky);
  padding: 4px 6px;
  border-radius: 3px;
  transition: var(--transition-base);
}

.language-switcher .lang-item.active,
.language-switcher .lang-item:hover {
  color: var(--color-bunker);
  font-weight: 600;
}

.language-switcher .lang-item + .lang-item::before {
  content: '/';
  margin-right: 8px;
  color: var(--color-border);
  font-weight: 400;
}

.language-switcher--mobile {
  display: none;
}

/* ========================================
   HAMBURGER MENU
   ======================================== */
.btn-hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  gap: 6px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--color-bunker);
  transition: var(--transition-base);
  border-radius: 1px;
}

.btn-hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.btn-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.btn-hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.hero-section__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
  padding-top: 80px;
}

.hero-section__title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--color-white);
  max-width: 800px;
  margin-bottom: var(--space-lg);
}

.hero-section__text {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.9);
  max-width: 500px;
  margin-bottom: var(--space-xl);
}

/* ========================================
   IMAGE + TEXT
   ======================================== */
.image-text-section {
  background: var(--color-alabaster);
}

.image-text-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.image-text-section__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.image-text-section__image {
  position: relative;
  overflow: hidden;
}

.image-text-section__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.image-text-section__image:hover img {
  transform: scale(1.03);
}

.image-text-section.image-right .image-text-section__grid {
  direction: rtl;
}

.image-text-section.image-right .image-text-section__content,
.image-text-section.image-right .image-text-section__image {
  direction: ltr;
}

/* Single image layout - full height */
.image-text-section__image {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.image-text-section__image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.image-text-section__image:hover img {
  transform: scale(1.03);
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-section {
  background: var(--color-alabaster);
}

.services-section__header {
  margin-bottom: var(--space-2xl);
}

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

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.service-card__image {
  position: absolute;
  inset: 0;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}

.service-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  color: var(--color-white);
}

.service-card__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  margin-bottom: var(--space-xs);
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.service-card__link {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.service-card:hover .service-card__link {
  opacity: 1;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
  background: var(--color-alabaster);
}

.testimonials-section__header {
  margin-bottom: var(--space-2xl);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.testimonial-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.testimonial-item:nth-child(even) {
  direction: rtl;
}

.testimonial-item:nth-child(even) > * {
  direction: ltr;
}

.testimonial-item__image {
  position: relative;
  overflow: hidden;
}

.testimonial-item__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.testimonial-item:hover .testimonial-item__image img {
  transform: scale(1.03);
}

.testimonial-item__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Featured Collections - Single Image Layout */
.collections-section {
  background: var(--color-alabaster);
}

.collections-section__header {
  margin-bottom: var(--space-3xl);
}

.collections-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xl);
}

.collection-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* Text Left, Image Right (default) */
.collection-row.layout-text-left {
  direction: ltr;
}

/* Text Right, Image Left */
.collection-row.layout-text-right {
  direction: rtl;
}

.collection-row > * {
  direction: ltr;
}

/* Text Content */
.collection-row__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 480px;
}

.collection-row__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-pale-sky);
  margin: 0;
}

.collection-row__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.collection-row__description {
  font-size: var(--text-base);
  color: var(--color-pale-sky);
  line-height: 1.7;
  margin: 0;
}

.collection-row__button {
  margin-top: var(--space-sm);
  align-self: flex-start;
}

/* Single Image */
.collection-row__image {
  overflow: hidden;
  max-height: 400px;
}

.collection-row__image img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.collection-row__image:hover img {
  transform: scale(1.03);
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-section {
  position: relative;
  padding: var(--space-4xl) 0;
  background: var(--color-navy);
  text-align: center;
}

.cta-section__title {
  font-size: var(--text-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-section__text {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-xl);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: #252b36;
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.site-footer__brand {
  max-width: 300px;
}

.site-footer__logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.site-footer__tagline {
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-lg);
}

.site-footer__nav {
  list-style: none;
}

.site-footer__nav li {
  margin-bottom: var(--space-sm);
}

.site-footer__nav a {
  color: rgba(255,255,255,0.7);
}

.site-footer__nav a:hover {
  color: var(--color-white);
}

.site-footer__contact p {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-sm);
}

.site-footer__languages {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.site-footer__languages a {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
}

.site-footer__languages a.active,
.site-footer__languages a:hover {
  color: var(--color-white);
  font-weight: 600;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.site-footer__copyright {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
}

.site-footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.site-footer__legal a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
}

.site-footer__legal a:hover {
  color: var(--color-white);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
  background: var(--color-white);
}

.features-section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
}

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

.feature-item__icon {
  font-size: 32px;
  width: 32px;
  height: 32px;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.feature-item__title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-item__text {
  font-size: var(--text-sm);
  color: var(--color-pale-sky);
  line-height: 1.6;
}

/* ========================================
   APPLICATIONS SECTION
   ======================================== */
.applications-section {
  background: #252b36;
  color: var(--color-white);
}

.applications-section__header {
  margin-bottom: var(--space-2xl);
}

.applications-section__header .heading-section {
  color: var(--color-white);
}

.applications-section__header .body-large {
  color: rgba(255,255,255,0.7);
  margin-top: var(--space-sm);
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.application-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.application-card__image {
  position: absolute;
  inset: 0;
}

.application-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.application-card:hover .application-card__image img {
  transform: scale(1.05);
}

.application-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}

.application-card__title {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  font-size: var(--text-xl);
  color: var(--color-white);
  margin: 0;
}

/* ========================================
   SHAPES SECTION
   ======================================== */
.shapes-section {
  background: var(--color-alabaster);
}

.shapes-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.shapes-section__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.shapes-section__subtitle {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-pale-sky);
}

.shapes-section__description {
  font-size: var(--text-base);
  color: var(--color-pale-sky);
  line-height: 1.7;
}

.shapes-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  align-items: end;
}

.shape-item {
  position: relative;
  text-align: center;
}

.shape-item__badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #e53935;
  color: var(--color-white);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 8px;
  z-index: 2;
}

.shape-item__image {
  margin-bottom: var(--space-sm);
}

.shape-item__image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.shape-item__name {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
  background: var(--color-white);
  min-height: calc(100vh - 200px);
  padding-top: 160px;
  padding-bottom: 80px;
}

/* Header underline on contact page */
.page-template-template-contact .site-header {
  border-bottom: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  padding-top: 0;
}

.contact-title {
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1;
}

.contact-subtitle {
  font-size: var(--text-lg);
  color: var(--color-pale-sky);
  margin-bottom: 80px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-item:first-of-type {
  border-top: 1px solid var(--color-border);
}

.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-pale-sky);
  margin-bottom: 8px;
}

.contact-value {
  font-size: var(--text-base);
  margin: 0;
}

.contact-value a {
  color: var(--color-bunker);
  transition: var(--transition-base);
}

.contact-value a:hover {
  color: var(--color-navy);
}

/* Contact Form 7 Styling */
.contact-form-wrapper {
  padding-top: 10px;
}

.contact-form-wrapper .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form-wrapper .wpcf7-form p {
  margin: 0;
}

.contact-form-wrapper .wpcf7-form label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-pale-sky);
  margin-bottom: 8px;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form textarea {
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-bunker);
  transition: var(--transition-base);
  margin-top: 4px;
}

.contact-form-wrapper .wpcf7-form input[type="text"]:focus,
.contact-form-wrapper .wpcf7-form input[type="email"]:focus,
.contact-form-wrapper .wpcf7-form input[type="tel"]:focus,
.contact-form-wrapper .wpcf7-form textarea:focus {
  outline: none;
  border-bottom-color: var(--color-navy);
}

.contact-form-wrapper .wpcf7-form textarea {
  min-height: 60px !important;
  height: 60px !important;
  resize: vertical;
}

.contact-form-wrapper .wpcf7-form input[type="submit"] {
  display: block;
  padding: 20px var(--space-xl);
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--color-navy);
  cursor: pointer;
  transition: var(--transition-base);
  margin-top: 16px;
  width: 100%;
}

.contact-form-wrapper .wpcf7-form input[type="submit"]:hover {
  background: #0f1c2e;
  border-color: #0f1c2e;
}

.contact-form-wrapper .wpcf7-not-valid-tip {
  font-size: var(--text-sm);
  color: #e53935;
  margin-top: var(--space-xs);
}

.contact-form-wrapper .wpcf7-response-output {
  margin: var(--space-md) 0;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.contact-form-placeholder {
  padding: var(--space-2xl);
  background: var(--color-alabaster);
  text-align: center;
  color: var(--color-pale-sky);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .heading-section {
    font-size: var(--text-3xl);
  }
  
  .image-text-section__grid,
  .testimonial-item {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-item:nth-child(even) {
    direction: ltr;
  }
  
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Collections responsive */
  .collection-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
  
  /* Features tablet */
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Shapes tablet */
  .shapes-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  /* Contact tablet */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .contact-title {
    font-size: 64px;
  }
  
  .contact-subtitle {
    margin-bottom: 60px;
  }
}

@media (min-width: 769px) {
  .btn-hamburger {
    display: none !important;
  }
  
  .main-nav {
    position: static !important;
    max-height: none !important;
    background: transparent !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    transition: none !important;
  }
  
  .main-nav.active {
    max-height: none !important;
    flex-direction: row !important;
  }
  
  .main-nav__list {
    flex-direction: row !important;
    padding: 0 !important;
  }
  
  .main-nav__mobile-cta {
    display: none !important;
  }
  
  .header-actions .btn {
    display: block !important;
  }
  
  .language-switcher {
    display: flex !important;
  }
  
  .language-switcher--mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  :root {
    --space-5xl: 100px;
    --space-4xl: 80px;
    --space-3xl: 60px;
  }
  
  .heading-section {
    font-size: var(--text-2xl);
  }
  
  .btn-hamburger {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .main-nav__mobile-cta {
    display: block;
    padding: var(--space-xl) var(--space-md) 0;
    border-top: none;
  }

  .main-nav__mobile-cta .btn {
    min-width: 200px;
    text-align: center;
  }
  
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
  }
  
  .main-nav.active {
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
  }
  
  .main-nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding: 0;
  }
  
  .main-nav__list li {
    border-bottom: none;
  }
  
  .main-nav__list li:last-child {
    border-bottom: none;
  }
  
  .main-nav__link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-lg);
    text-align: center;
  }
  
  .main-nav__link::after {
    display: none;
  }

  .language-switcher {
    display: none;
  }

  .language-switcher--mobile {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: var(--space-md) 0 var(--space-sm);
  }

  .language-switcher--mobile .lang-item {
    color: var(--color-pale-sky);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 10px;
  }

  .language-switcher--mobile .lang-item.active,
  .language-switcher--mobile .lang-item:hover {
    color: var(--color-bunker);
    font-weight: 600;
  }

  .language-switcher--mobile .lang-item + .lang-item::before {
    content: '/';
    margin-right: 14px;
    color: var(--color-border);
    font-weight: 400;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .site-footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  /* Collections mobile */
  .collection-row,
  .collection-row.layout-text-right {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  
  .collection-row__text {
    max-width: 100%;
  }
  
  .collection-row__image {
    max-height: 300px;
  }
  
  .collection-row__image img {
    max-height: 300px;
  }
  
  /* Features mobile */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Applications mobile */
  .applications-grid {
    grid-template-columns: 1fr;
  }
  
  /* Shapes mobile */
  .shapes-grid {
    grid-template-columns: 1fr;
  }
  
  .shapes-list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA section mobile */
  .cta-section {
    padding: var(--space-2xl) 0;
  }

  .cta-section__title {
    font-size: var(--text-2xl);
  }

  .cta-section__text {
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
  }
}


/* ========================================
   PRODUCTS ARCHIVE PAGE
   ======================================== */
.page-template-template-products .site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.products-archive {
  background: var(--color-alabaster);
  padding-top: 80px;
}

.products-archive__header {
  padding: var(--space-2xl) 0 var(--space-2xl);
}

.products-archive__title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--color-bunker);
  margin-bottom: var(--space-md);
}

.products-archive__subtitle {
  font-size: var(--text-lg);
  color: var(--color-pale-sky);
  max-width: 600px;
}

.products-archive__grid-wrapper {
  padding-bottom: var(--space-4xl);
}

.products-archive__empty {
  text-align: center;
  padding: var(--space-4xl) 0;
  color: var(--color-pale-sky);
  font-size: var(--text-lg);
}

/* Products Archive - Responsive */
@media (max-width: 1024px) {
  .products-archive__header {
    padding: var(--space-3xl) 0 var(--space-xl);
  }
}

@media (max-width: 768px) {
  .products-archive {
    padding-top: 60px;
  }
  
  .products-archive__title {
    font-size: var(--text-3xl);
  }
}
