/* ICeramic GT — visual refinement (site-beautify). Loaded last. */

:root {
  --ic-brand: #b42318;
  --ic-brand-dark: #8f1c13;
  --ic-ink: #1a1a1f;
  --ic-muted: #5c5c66;
  --ic-surface: #ffffff;
  --ic-surface-2: #f6f4f2;
  --ic-border: #e4e0dc;
  --ic-radius: 8px;
  --ic-radius-lg: 12px;
  --ic-shadow: 0 8px 30px rgba(26, 26, 31, 0.08);
  --ic-container: min(1140px, 100% - 2rem);
  --ic-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ic-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ic-ink);
  background: var(--ic-surface);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ic-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

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

h1, h2, h3, h4, .elementor-heading-title {
  font-family: var(--ic-font);
  color: var(--ic-ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1.elementor-heading-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

/* Elementor layout (theme CSS missing) */
.elementor-section {
  position: relative;
}

.elementor-container {
  display: flex;
  flex-wrap: wrap;
  width: var(--ic-container);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}

.elementor-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.elementor-col-100 { flex: 0 0 100%; max-width: 100%; }
.elementor-col-50 { flex: 0 0 50%; max-width: 50%; }
.elementor-col-33 { flex: 0 0 33.333%; max-width: 33.333%; }

@media (max-width: 767px) {
  .elementor-col-50,
  .elementor-col-33 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.elementor-widget-wrap {
  width: 100%;
}

.elementor-hidden-mobile {
  display: block;
}

.elementor-hidden-desktop {
  display: none;
}

@media (max-width: 767px) {
  .elementor-hidden-mobile {
    display: none !important;
  }
  .elementor-hidden-desktop {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .elementor-hidden-desktop {
    display: none !important;
  }
}

/* Reveal content hidden by Elementor / Wonder Blocks animations */
.elementor-invisible,
.nfd-wb-animate,
[class*="nfd-wb-fade-in"],
[class*="nfd-wb-zoom-in"],
.nfd-wb-twist-in {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  visibility: visible !important;
}

/* Header */
#masthead {
  background: var(--ic-surface);
  border-bottom: 1px solid var(--ic-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

#masthead .elementor-section:first-child {
  background: var(--ic-surface-2);
  font-size: 0.9rem;
}

.elementor-icon-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.elementor-icon-list-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ic-muted);
  text-decoration: none;
  font-weight: 500;
}

.elementor-icon-list-item a:hover {
  color: var(--ic-brand);
}

.elementor-icon-list-icon svg,
.e-font-icon-svg {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
  flex-shrink: 0;
}

.elementor-social-icons-wrapper {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.elementor-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--ic-surface);
  border: 1px solid var(--ic-border);
  color: var(--ic-brand);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.elementor-social-icon:hover {
  background: var(--ic-brand);
  border-color: var(--ic-brand);
  color: #fff;
}

.elementor-social-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.hfe-site-logo-img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

/* Navigation */
.hfe-nav-menu {
  position: relative;
}

.hfe-nav-menu__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius);
  background: var(--ic-surface);
  cursor: pointer;
  margin-left: auto;
}

.hfe-nav-menu__toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--ic-ink);
}

.hfe-nav-menu ul.hfe-nav-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem 0.5rem;
  justify-content: flex-end;
}

.hfe-menu-item {
  display: block;
  padding: 0.65rem 0.85rem;
  color: var(--ic-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--ic-radius);
  transition: background 0.15s, color 0.15s;
}

.hfe-menu-item:hover,
.hfe-menu-item:focus-visible {
  background: rgba(180, 35, 24, 0.08);
  color: var(--ic-brand);
}

@media (max-width: 1024px) {
  .hfe-nav-menu.hfe-layout-horizontal .hfe-nav-menu__toggle {
    display: flex;
  }

  .hfe-nav-menu.hfe-layout-horizontal nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    z-index: 100;
    background: var(--ic-surface);
    border: 1px solid var(--ic-border);
    border-radius: var(--ic-radius-lg);
    box-shadow: var(--ic-shadow);
    padding: 0.75rem;
  }

  .hfe-nav-menu.hfe-layout-horizontal.iceramic-nav-open nav {
    display: block;
  }

  .hfe-nav-menu.hfe-layout-horizontal nav ul.hfe-nav-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .hfe-nav-menu.hfe-layout-vertical .hfe-nav-menu__toggle {
    display: flex;
    margin: 0.5rem auto;
  }

  .hfe-nav-menu.hfe-layout-vertical nav {
    display: none;
    width: 100%;
  }

  .hfe-nav-menu.hfe-layout-vertical.iceramic-nav-open nav {
    display: block;
  }

  .hfe-nav-menu.hfe-layout-vertical nav ul.hfe-nav-menu {
    flex-direction: column;
    align-items: center;
  }
}

/* Hero */
.elementor-element-33e22c30 {
  min-height: clamp(320px, 55vh, 520px);
  background: linear-gradient(135deg, rgba(26, 26, 31, 0.72), rgba(143, 28, 19, 0.55)),
    url("/wp-content/uploads/2024/05/20240315034948__MG_4326-1024x683.jpg") center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}

.elementor-element-33e22c30 .elementor-background-overlay {
  background: transparent !important;
}

.elementor-element-33e22c30 .elementor-heading-title {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 1rem;
}

.elementor-element-33e22c30 .elementor-button {
  background: var(--ic-brand);
  color: #fff;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, transform 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.elementor-element-33e22c30 .elementor-button:hover {
  background: var(--ic-brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* Sections */
.site-main .elementor-section:not(.elementor-element-33e22c30) {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.elementor-widget-text-editor,
.elementor-widget-heading + .elementor-widget-text-editor {
  max-width: 65ch;
}

.elementor-widget-text-editor p {
  margin-block: 0 1rem;
  color: var(--ic-muted);
}

/* Cards / gallery */
.elementor-image-gallery img,
.elementor-widget-image img {
  border-radius: var(--ic-radius-lg);
  box-shadow: var(--ic-shadow);
}

.elementor-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

/* Testimonials / icon boxes */
.elementor-widget-testimonial,
.elementor-widget-icon-box {
  background: var(--ic-surface-2);
  border: 1px solid var(--ic-border);
  border-radius: var(--ic-radius-lg);
  padding: 1.25rem;
}

.elementor-icon {
  color: var(--ic-brand);
}

.elementor-icon svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

/* Footer */
#colophon {
  background: var(--ic-ink);
  color: #e8e6e3;
  margin-top: 2rem;
}

#colophon a {
  color: #fff;
}

#colophon .elementor-heading-title,
#colophon h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

#colophon .elementor-widget-text-editor,
#colophon p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

#colophon .elementor-icon-list-items {
  flex-direction: column;
  gap: 0.35rem;
}

#colophon .hfe-menu-item {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0;
}

#colophon .hfe-menu-item:hover {
  background: transparent;
  color: #fff;
}

/* Utilities */
.screen-reader-text,
.elementor-screen-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bhf-hidden,
.woocommerce-no-js .woocommerce-product-gallery {
  /* keep accessible hooks */
}

/* Reduce layout shift from duplicate hero decorative images */
.elementor-element-33e22c30 ~ .elementor-section .attachment-large.size-large.wp-image-794:nth-of-type(2) {
  display: none;
}

/* Popup / broken elementor actions — hide non-functional chrome */
a[href*="elementor-action"] {
  pointer-events: none;
  opacity: 0.35;
}
