/*
Theme Name: MetalloArt
Description: Light corporate liquid metal one-page design for MetalloArt.com.
*/

:root {
  --sm-ink: #1f2826;
  --sm-ink-soft: #31403d;
  --sm-muted: #6f7974;
  --sm-paper: #ffffff;
  --sm-bg: #fbfaf7;
  --sm-bg-warm: #f5f0ea;
  --sm-line: #e7ded5;
  --sm-line-strong: #d4c7bb;
  --sm-copper: #b85f3f;
  --sm-orange: #b85f3f;
  --sm-copper-dark: #8f4328;
  --sm-copper-soft: #f3dfd3;
  --sm-green: #243733;
  --sm-green-soft: #e7eeea;
  --sm-gold: #c7a669;
  --sm-zinc: #aab0b2;
  --sm-whatsapp: #18bf67;
  --sm-whatsapp-dark: #0e9e52;
  --sm-font-heading: "Cormorant Garamond", Georgia, serif;
  --sm-font-body: "Manrope", "Segoe UI", sans-serif;
  --sm-container-max: 1180px;
  --sm-container-px: clamp(18px, 4vw, 42px);
  --sm-topbar-h: 34px;
  --sm-header-h: 82px;
  --sm-radius: 8px;
  --sm-shadow: 0 18px 48px rgba(58, 42, 32, 0.12);
  --sm-shadow-soft: 0 12px 32px rgba(58, 42, 32, 0.08);
  --sm-transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--sm-bg);
  color: var(--sm-ink);
  font-family: var(--sm-font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.mobile-menu-open,
body.lightbox-open {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

section[id] {
  scroll-margin-top: calc(var(--sm-topbar-h) + var(--sm-header-h) + 56px);
}

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

.sm-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--sm-ink);
  color: #fff;
  text-decoration: none;
}

.sm-skip-link:focus {
  transform: translateY(0);
}

.sm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.sm-reveal.sm-revealed {
  opacity: 1;
  transform: translateY(0);
}

.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid var(--sm-line-strong);
  border-radius: 5px;
  background: #fff;
  color: var(--sm-ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--sm-transition), background var(--sm-transition), color var(--sm-transition), border-color var(--sm-transition), box-shadow var(--sm-transition);
}

.sm-btn:hover,
.sm-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(143, 67, 40, 0.14);
}

.sm-btn--primary,
.sm-btn--gold {
  border-color: var(--sm-copper);
  background: var(--sm-copper);
  color: #fff;
}

.sm-btn--primary:hover,
.sm-btn--gold:hover {
  border-color: var(--sm-copper-dark);
  background: var(--sm-copper-dark);
}

.sm-btn--outline {
  background: #fff;
  color: var(--sm-ink);
}

.sm-btn--whatsapp {
  border-color: var(--sm-whatsapp);
  background: var(--sm-whatsapp);
  color: #fff;
}

.sm-btn--whatsapp:hover {
  border-color: var(--sm-whatsapp-dark);
  background: var(--sm-whatsapp-dark);
}

/* Top bar */
.sm-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  height: var(--sm-topbar-h);
  border-bottom: 1px solid var(--sm-line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--sm-muted);
  font-size: 0.74rem;
  backdrop-filter: blur(14px);
}

.sm-topbar__inner,
.sm-topbar__left,
.sm-topbar__right,
.sm-topbar__item {
  display: flex;
  align-items: center;
}

.sm-topbar__inner {
  height: 100%;
  justify-content: space-between;
  gap: 18px;
}

.sm-topbar__left,
.sm-topbar__right {
  gap: 12px;
}

.sm-topbar__item {
  gap: 7px;
  white-space: nowrap;
}

.sm-topbar__item a {
  text-decoration: none;
}

.sm-topbar__icon {
  color: var(--sm-copper);
  flex: 0 0 auto;
}

/* Header */
.sm-header {
  position: fixed;
  top: var(--sm-topbar-h);
  left: 0;
  right: 0;
  z-index: 290;
  height: var(--sm-header-h);
  border-bottom: 1px solid rgba(231, 222, 213, 0.8);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.sm-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.sm-header__logo-text,
.sm-footer__logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-family: var(--sm-font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.sm-header__logo-sivi {
  color: var(--sm-ink);
}

.sm-header__logo-metal {
  color: var(--sm-copper);
}

.sm-header__nav {
  justify-self: center;
}

.sm-header__menu {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-header__nav-link {
  position: relative;
  display: inline-flex;
  padding: 10px 0;
  color: var(--sm-ink);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
}

.sm-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--sm-copper);
  transition: transform var(--sm-transition);
}

.sm-header__nav-link:hover::after,
.sm-header__nav-link:focus-visible::after,
.sm-header__nav-link.is-active::after {
  transform: scaleX(1);
}

.sm-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sm-header__phone,
.sm-header__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(36, 55, 51, 0.12);
}

.sm-header__phone {
  background: var(--sm-copper);
}

.sm-header__whatsapp {
  background: var(--sm-green);
}

.sm-header__action-circle {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
}

.sm-header__action-text {
  display: grid;
  line-height: 1.1;
}

.sm-header__action-text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.64rem;
  font-weight: 700;
}

.sm-header__action-text strong {
  font-size: 0.78rem;
}

.sm-header__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sm-line);
  border-radius: 5px;
  background: #fff;
  color: var(--sm-ink);
}

.sm-header__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

/* Mobile menu */
.sm-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
}

.sm-mobile-menu--open {
  display: block;
}

.sm-mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 40, 38, 0.58);
}

.sm-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  min-height: 100%;
  padding: 28px;
  background: #fff;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.16);
}

.sm-mobile-menu__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--sm-line);
  border-radius: 5px;
  background: #fff;
  color: var(--sm-ink);
  font-size: 1.7rem;
  line-height: 1;
}

.sm-mobile-menu__logo {
  margin-bottom: 28px;
  font-family: var(--sm-font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.sm-mobile-menu__nav ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-mobile-menu__nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--sm-line);
  text-decoration: none;
  font-weight: 800;
}

.sm-mobile-menu__contact {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

/* Hero */
.sm-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--sm-topbar-h) + var(--sm-header-h) + 34px) 0 38px;
  background:
    radial-gradient(circle at 72% 20%, rgba(184, 95, 63, 0.09), transparent 32%),
    linear-gradient(180deg, #fff 0%, var(--sm-bg) 100%);
}

.sm-hero::before {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -78px;
  width: 520px;
  height: 320px;
  opacity: 0.42;
  background:
    repeating-radial-gradient(ellipse at center, transparent 0 15px, rgba(184, 95, 63, 0.18) 16px 17px, transparent 18px 30px);
  transform: rotate(-18deg);
  pointer-events: none;
}

.sm-hero__overlay,
.sm-hero__scroll-indicator {
  display: none;
}

.sm-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
  min-height: 535px;
}

.sm-hero__content {
  max-width: 470px;
}

.sm-hero__label,
.sm-about__label,
.sm-services__label,
.sm-services__content-kicker,
.sm-special__label,
.sm-gallery__label,
.sm-contact__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--sm-copper);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sm-hero__label::before,
.sm-about__label::before,
.sm-services__label::before,
.sm-special__label::before,
.sm-gallery__label::before,
.sm-contact__label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--sm-copper);
}

.sm-hero__title,
.sm-about__title,
.sm-services__title,
.sm-services__content-title,
.sm-special__title,
.sm-gallery__title,
.sm-cta__title,
.sm-contact__title {
  margin: 0;
  color: var(--sm-ink);
  font-family: var(--sm-font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.sm-hero__title {
  font-size: clamp(3.8rem, 5vw, 5.4rem);
}

.sm-hero__title::first-letter {
  color: var(--sm-copper);
}

.sm-hero__subtitle {
  max-width: 430px;
  margin: 22px 0 26px;
  color: var(--sm-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.sm-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.sm-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sm-hero__meta span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--sm-line-strong);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--sm-ink);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(58, 42, 32, 0.06);
}

.sm-hero__meta span::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--sm-copper);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.sm-hero__meta span:nth-child(1)::before { background: #7a6040; }
.sm-hero__meta span:nth-child(2)::before { background: #bd7b5a; }
.sm-hero__meta span:nth-child(3)::before { background: #c7a669; }
.sm-hero__meta span:nth-child(4)::before { background: #c8ced0; }
.sm-hero__meta span:nth-child(5)::before { background: #b8bfc2; }

.sm-hero__visual {
  position: relative;
  min-height: 460px;
}

.sm-hero__image {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--sm-bg-warm);
  box-shadow: var(--sm-shadow);
}

.sm-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-hero__image--main {
  left: 0;
  top: 0;
  width: 78%;
  height: 365px;
}

.sm-hero__image--texture {
  right: 0;
  top: 80px;
  width: 245px;
  height: 205px;
  z-index: 2;
}

.sm-hero__image--panel {
  right: 88px;
  bottom: 0;
  width: 168px;
  height: 255px;
  z-index: 3;
}

.sm-hero__samples {
  position: absolute;
  left: 38%;
  bottom: 16px;
  z-index: 4;
  display: flex;
  gap: 12px;
}

.sm-hero__samples span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 7px;
  background: #e8e8e6;
  color: var(--sm-ink);
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 12px 25px rgba(58, 42, 32, 0.13);
}

.sm-hero__samples span:first-child {
  background: var(--sm-copper);
  color: #fff;
}

/* Shared section rhythm */
.sm-about,
.sm-services,
.sm-special,
.sm-gallery,
.sm-contact {
  padding: clamp(58px, 7vw, 92px) 0;
}

.sm-about,
.sm-special,
.sm-contact {
  background: #fff;
}

/* About */
.sm-about__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}

.sm-about__img {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--sm-shadow-soft);
}

.sm-about__img img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.sm-about__img--right,
.sm-about__contacts {
  display: none;
}

.sm-about__title {
  max-width: 620px;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
}

.sm-about__text {
  margin: 18px 0 24px;
  color: var(--sm-muted);
  font-size: 0.98rem;
}

.sm-about__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.sm-about__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 16px 18px;
  border: 1px solid var(--sm-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(58, 42, 32, 0.05);
  color: var(--sm-ink);
  font-weight: 800;
}

.sm-about__feature-icon {
  flex: 0 0 auto;
}

/* Services */
.sm-services {
  background: linear-gradient(180deg, var(--sm-bg) 0%, #fff 100%);
  padding-top: clamp(78px, 8vw, 118px);
}

.sm-services__header {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1.14fr);
  align-items: start;
  gap: clamp(28px, 6vw, 66px);
  margin-bottom: 34px;
}

.sm-services__header-text {
  padding-top: clamp(18px, 3.8vw, 48px);
}

.sm-services__title {
  max-width: 560px;
  font-size: clamp(2.2rem, 4.7vw, 4rem);
}

.sm-services__desc {
  max-width: 520px;
  margin: 18px 0 22px;
  color: var(--sm-muted);
  font-size: 1rem;
}

.sm-services__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sm-services__tab {
  min-width: 84px;
  min-height: 42px;
  border: 1px solid var(--sm-line-strong);
  border-radius: 5px;
  background: #fff;
  color: var(--sm-ink);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  transition: background var(--sm-transition), color var(--sm-transition), border-color var(--sm-transition);
}

.sm-services__tab--active,
.sm-services__tab:hover {
  border-color: var(--sm-copper);
  background: var(--sm-copper);
  color: #fff;
}

.sm-services__showcase {
  position: relative;
  overflow: hidden;
  height: 430px;
  min-height: 0;
  border-radius: 8px;
  box-shadow: var(--sm-shadow);
}

.sm-services__showcase img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.sm-services__showcase-label,
.sm-services__content-media figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 5px;
  background: var(--sm-green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sm-services__content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.72fr);
  gap: 24px;
  margin: 28px 0 34px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--sm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--sm-shadow-soft);
}

.sm-services__content-copy {
  align-self: start;
}

.sm-services__content-title {
  max-width: 430px;
  font-size: clamp(1.8rem, 3.6vw, 3.05rem);
}

.sm-services__content-lead {
  margin: 16px 0 22px;
  color: var(--sm-muted);
}

.sm-services__content-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sm-services__content-tags span {
  min-height: 58px;
  padding: 13px 14px;
  border: 1px solid var(--sm-line);
  border-radius: 7px;
  background: var(--sm-bg);
  color: var(--sm-ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.sm-services__content-media {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  margin: 0;
  border-radius: 8px;
}

.sm-services__content-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-services__content-body {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sm-services__content-body p {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--sm-line);
  border-radius: 7px;
  background: #fff;
  color: var(--sm-muted);
}

.sm-services__stock {
  margin-top: 30px;
}

.sm-services__stock-header,
.sm-gallery__header,
.sm-contact__header {
  margin-bottom: 24px;
  text-align: center;
}

.sm-services__stock-title,
.sm-gallery__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-family: var(--sm-font-body);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.sm-services__stock-title::before,
.sm-services__stock-title::after,
.sm-gallery__title::before,
.sm-gallery__title::after {
  content: "";
  width: 64px;
  height: 2px;
  background: var(--sm-copper);
}

.sm-services__stock-desc,
.sm-gallery__desc {
  max-width: 620px;
  margin: 10px auto 0;
  color: var(--sm-muted);
}

.sm-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sm-services__card {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  background: #4b3327;
  box-shadow: var(--sm-shadow-soft);
}

.sm-services__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52));
}

.sm-services__card--brass { background-image: url("../img/textures/pirinc-doku.jpg"); background-size: cover; }
.sm-services__card--copper { background-image: url("../img/textures/bakir-doku.jpg"); background-size: cover; }
.sm-services__card--bronze { background-image: url("../img/textures/bronz-doku.jpg"); background-size: cover; }
.sm-services__card--zinc { background-image: url("../img/textures/cinko-doku.jpg"); background-size: cover; }

.sm-services__card-badge,
.sm-services__card-content {
  position: relative;
  z-index: 1;
}

.sm-services__card-badge {
  display: inline-flex;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.sm-services__card-title {
  margin: 0 0 6px;
  font-family: var(--sm-font-heading);
  font-size: 1.55rem;
}

.sm-services__card-desc {
  margin: 0;
  max-width: 220px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.sm-services__textures {
  display: none;
}

/* Special */
.sm-special__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
}

.sm-special__block {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid var(--sm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--sm-shadow-soft);
}

.sm-special__block-inner {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 42px);
}

.sm-special__title {
  max-width: 520px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.sm-special__desc {
  max-width: 540px;
  margin: 15px 0 22px;
  color: var(--sm-muted);
}

.sm-special__note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 22px;
  padding: 15px 18px;
  border-left: 4px solid var(--sm-copper);
  border-radius: 7px;
  background: #fff6ef;
  color: var(--sm-ink);
  font-weight: 800;
}

.sm-special__block--italian {
  background-size: cover;
  background-position: center;
  color: #fff;
}

.sm-special__block-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 40, 38, 0.88), rgba(31, 40, 38, 0.46));
}

.sm-special__block--italian .sm-special__title,
.sm-special__block--italian .sm-special__desc,
.sm-special__block--italian .sm-special__label {
  color: #fff;
}

.sm-special__block--italian .sm-btn--primary {
  background: #fff;
  color: var(--sm-ink);
  border-color: #fff;
}

/* Gallery */
.sm-gallery {
  background: var(--sm-bg);
}

.sm-gallery__grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 14px;
}

.sm-gallery__item {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  border-radius: 7px;
  background: #ddd;
  box-shadow: var(--sm-shadow-soft);
  cursor: pointer;
}

.sm-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  transition: transform 360ms ease;
}

.sm-gallery__item:hover img {
  transform: scale(1.05);
}

.sm-gallery__overlay {
  position: absolute;
  inset: auto 10px 10px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  border-radius: 5px;
  background: rgba(31, 40, 38, 0.82);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  pointer-events: none;
}

.sm-gallery__overlay svg {
  width: 17px;
  height: 17px;
}

/* CTA */
.sm-cta {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.sm-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 40, 38, 0.94), rgba(31, 40, 38, 0.78));
}

.sm-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 128px;
  padding-block: 26px;
}

.sm-cta__title {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.sm-cta__desc {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.sm-cta__buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sm-cta__phone {
  display: grid;
  padding: 10px 16px;
  border-radius: 5px;
  background: var(--sm-copper);
  line-height: 1.25;
}

.sm-cta__phone-label {
  font-size: 0.68rem;
  font-weight: 900;
  opacity: 0.72;
}

.sm-cta__phone-number {
  text-decoration: none;
  font-weight: 900;
}

/* Contact */
.sm-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
}

.sm-contact__title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.04;
}

.sm-contact__header {
  padding-top: 42px;
  margin-bottom: 32px;
}

.sm-contact__form,
.sm-contact__info-card,
.sm-contact__map {
  border: 1px solid var(--sm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--sm-shadow-soft);
}

.sm-contact__form {
  padding: 24px;
}

.sm-contact__honeypot {
  position: absolute;
  left: -9999px;
}

.sm-contact__form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sm-contact__field {
  margin-bottom: 14px;
}

.sm-contact__field input,
.sm-contact__field textarea {
  width: 100%;
  border: 1px solid var(--sm-line);
  border-radius: 6px;
  background: #fff;
  color: var(--sm-ink);
  outline: none;
  transition: border-color var(--sm-transition), box-shadow var(--sm-transition);
}

.sm-contact__field input {
  min-height: 48px;
  padding: 0 15px;
}

.sm-contact__field textarea {
  min-height: 140px;
  padding: 14px 15px;
  resize: vertical;
}

.sm-contact__field input:focus,
.sm-contact__field textarea:focus {
  border-color: var(--sm-copper);
  box-shadow: 0 0 0 4px rgba(184, 95, 63, 0.12);
}

.sm-contact__submit {
  width: 100%;
}

.sm-contact__submit-spinner {
  display: none;
}

.sm-contact__form.is-loading .sm-contact__submit-spinner {
  display: inline-flex;
}

.sm-contact__message {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.sm-contact__message--success {
  display: block;
  background: #e9f8ef;
  color: #12713a;
}

.sm-contact__message--error {
  display: block;
  background: #fff1ef;
  color: #9a2b18;
}

.sm-contact__info {
  display: grid;
  gap: 14px;
}

.sm-contact__info-card {
  padding: 20px;
}

.sm-contact__info-title {
  margin: 0 0 16px;
  font-family: var(--sm-font-heading);
  font-size: 1.55rem;
}

.sm-contact__info-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--sm-line);
}

.sm-contact__info-item:first-of-type {
  border-top: 0;
}

.sm-contact__info-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--sm-copper-soft);
  color: var(--sm-copper);
}

.sm-contact__info-item strong {
  display: block;
  color: var(--sm-ink);
  font-size: 0.8rem;
}

.sm-contact__info-item a,
.sm-contact__info-item span {
  color: var(--sm-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.sm-contact__map {
  overflow: hidden;
}

.sm-contact__map iframe {
  display: block;
  width: 100%;
  min-height: 220px;
  border-radius: 8px !important;
}

/* Footer */
.sm-footer {
  background: var(--sm-green);
  color: rgba(255, 255, 255, 0.78);
}

.sm-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.85fr 1.1fr;
  gap: 34px;
  padding: 48px 0;
}

.sm-footer__logo {
  color: #fff;
  margin-bottom: 14px;
}

.sm-footer__desc {
  max-width: 280px;
  margin: 0;
}

.sm-footer__social {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.sm-footer__social a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
}

.sm-footer__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
}

.sm-footer__links,
.sm-footer__contact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-footer__links a,
.sm-footer__contact-list a {
  color: inherit;
  text-decoration: none;
}

.sm-footer__contact-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
}

.sm-footer__contact-list svg {
  color: var(--sm-copper);
  margin-top: 4px;
}

.sm-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sm-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  font-size: 0.82rem;
}

.sm-footer__bottom-inner p {
  margin: 0;
}

.sm-footer__bottom-links {
  display: flex;
  gap: 18px;
}

.sm-footer__bottom-links a {
  color: inherit;
  text-decoration: none;
}

/* Floating actions */
.sm-floating-wa {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 260;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--sm-whatsapp);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(24, 191, 103, 0.32);
}

.sm-scroll-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 250;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--sm-green);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--sm-transition), transform var(--sm-transition);
}

.sm-scroll-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Lightbox */
.sm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 24, 23, 0.86);
}

.sm-lightbox--open,
.sm-lightbox--active {
  display: flex;
}

.sm-lightbox__content {
  position: relative;
  max-width: min(94vw, 1100px);
  max-height: 88vh;
}

.sm-lightbox__image {
  max-height: 88vh;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.sm-lightbox__close,
.sm-lightbox__prev,
.sm-lightbox__next {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sm-ink);
  cursor: pointer;
}

.sm-lightbox__close {
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  font-size: 1.8rem;
}

.sm-lightbox__prev,
.sm-lightbox__next {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
}

.sm-lightbox__prev { left: -58px; }
.sm-lightbox__next { right: -58px; }

@media (max-width: 1180px) {
  :root {
    --sm-topbar-h: 0px;
    --sm-header-h: 70px;
  }

  .sm-topbar {
    display: none;
  }

  .sm-header {
    top: 0;
  }

  .sm-header__inner {
    grid-template-columns: 1fr auto;
  }

  .sm-header__nav,
  .sm-header__actions {
    display: none;
  }

  .sm-header__hamburger {
    display: block;
  }

  .sm-hero__inner,
  .sm-about__layout,
  .sm-services__header,
  .sm-services__content,
  .sm-special__grid,
  .sm-contact__grid {
    grid-template-columns: 1fr;
  }

  .sm-hero__content {
    max-width: 720px;
  }

  .sm-hero__visual {
    min-height: 420px;
  }

  .sm-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-services__header-text {
    padding-top: 0;
  }

  .sm-services__showcase {
    height: 360px;
  }

  .sm-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 14px;
  }

  .sm-header__logo-text {
    font-size: 1.72rem;
  }

  .sm-hero {
    padding-top: calc(var(--sm-header-h) + 28px);
  }

  .sm-hero__inner {
    gap: 28px;
    min-height: 0;
  }

  .sm-hero__title {
    font-size: clamp(2.95rem, 13.6vw, 4rem);
    line-height: 0.97;
  }

  .sm-hero__subtitle {
    margin: 18px 0 22px;
    font-size: 0.98rem;
  }

  .sm-hero__buttons,
  .sm-cta__buttons,
  .sm-footer__bottom-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .sm-hero__visual {
    min-height: 390px;
  }

  .sm-hero__image--main {
    width: 88%;
    height: 255px;
  }

  .sm-hero__image--texture {
    top: 168px;
    width: 150px;
    height: 126px;
  }

  .sm-hero__image--panel {
    right: 20px;
    width: 128px;
    height: 190px;
  }

  .sm-hero__samples {
    left: 0;
    bottom: 0;
  }

  .sm-hero__samples span {
    width: 38px;
    height: 38px;
  }

  .sm-about__features,
  .sm-services__content-tags,
  .sm-services__content-body,
  .sm-contact__form-row {
    grid-template-columns: 1fr;
  }

  .sm-about__img img {
    height: 320px;
  }

  .sm-services__grid,
  .sm-gallery__grid,
  .sm-footer__grid {
    grid-template-columns: 1fr;
  }

  .sm-services__showcase {
    height: 280px;
  }

  .sm-gallery__item,
  .sm-gallery__item img {
    min-height: 230px;
  }

  .sm-cta__inner {
    grid-template-columns: 1fr;
  }

  .sm-floating-wa {
    right: 14px;
    bottom: 16px;
    min-height: 50px;
    padding: 0 16px;
  }

  .sm-floating-wa__text {
    display: none;
  }

  .sm-scroll-top {
    right: 14px;
    bottom: 78px;
  }

  .sm-lightbox__prev,
  .sm-lightbox__next {
    display: none;
  }
}
