/* DuryAy — production styles */
:root {
  --bg: #f6f7f9;
  --bg-elevated: #ffffff;
  --text: #0c0d10;
  --text-muted: #5c616e;
  --border: rgba(12, 13, 16, 0.08);
  --accent: #0c8b8a;
  --accent-hover: #0a7372;
  --accent-soft: rgba(12, 139, 138, 0.12);
  --shadow-sm: 0 1px 2px rgba(12, 13, 16, 0.04);
  --shadow-md: 0 8px 30px rgba(12, 13, 16, 0.08);
  --shadow-lg: 0 24px 80px rgba(12, 13, 16, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 72px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.65s;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-bg::after {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 247, 249, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), #065f5e);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(12, 139, 138, 0.35);
}

.logo-text {
  font-size: 1.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.25s var(--ease-out);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] .menu-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 4px 20px rgba(12, 13, 16, 0.15);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #1a1c22;
  box-shadow: 0 8px 28px rgba(12, 13, 16, 0.2);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(12, 139, 138, 0.35);
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(12, 13, 16, 0.12);
}

.btn-block {
  width: 100%;
}

.btn-on-dark {
  background: #fff;
  color: var(--text);
}

.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  background: #f0f1f4;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #eef1f5 0%, var(--bg) 100%);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 247, 249, 0.97) 0%, rgba(246, 247, 249, 0.88) 38%, rgba(246, 247, 249, 0.35) 62%, rgba(246, 247, 249, 0.12) 100%),
    linear-gradient(180deg, rgba(246, 247, 249, 0.2) 0%, transparent 30%, rgba(246, 247, 249, 0.45) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  margin-inline: 0 auto;
  margin-left: max(1rem, calc((100% - 1120px) / 2));
  text-align: left;
  padding-inline: 1rem;
}

@media (max-width: 900px) {
  .hero-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: min(640px, 100%);
  }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(246, 247, 249, 0.55) 0%, rgba(246, 247, 249, 0.82) 55%, rgba(246, 247, 249, 0.95) 100%);
  }
  .hero-bg-img {
    object-position: 70% center;
    opacity: 0.85;
  }
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-subtitle {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 34rem;
}

@media (max-width: 900px) {
  .hero-subtitle {
    margin-inline: auto;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .hero-actions {
    justify-content: center;
  }
}

.hero-markets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: flex-start;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero-markets {
    justify-content: center;
  }
}

.hero-markets li {
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* Sections */
.section {
  padding-block: clamp(4rem, 10vw, 6.5rem);
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-lead {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 3rem;
}

/* About */
.about-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.about-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.35s;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 139, 138, 0.2);
}

.about-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.about-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.about-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Products */
.products {
  background: linear-gradient(180deg, var(--bg) 0%, #eceef2 100%);
}

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

.product-card {
  background: var(--bg-elevated);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(12, 139, 138, 0.22);
}

.product-visual {
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  position: relative;
  overflow: hidden;
}

.product-visual picture,
.product-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: transform 0.55s var(--ease-out);
}

.product-card:hover .product-visual img {
  transform: scale(1.04);
}

.product-tag {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.product-body h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-body p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA */
.cta-band {
  padding-block: clamp(3.5rem, 8vw, 5rem);
  background: linear-gradient(120deg, #0a3d3c 0%, #0c8b8a 45%, #0d4f4e 100%);
  color: #fff;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-copy h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-copy p {
  margin: 0;
  opacity: 0.88;
  max-width: 28rem;
}

/* Contacts */
.contacts-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 38%);
  gap: 2rem;
  align-items: stretch;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contacts-info {
  padding: clamp(2rem, 5vw, 3rem);
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contacts-k {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contacts-list a {
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.contacts-list a:hover {
  border-color: var(--accent);
}

.contacts-panel {
  background: #0c0d10;
  color: #fff;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.contacts-panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.contacts-panel-inner {
  position: relative;
  z-index: 1;
  padding: 2rem;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 13, 16, 0.75) 55%);
}

.contacts-panel-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.5rem;
}

.contacts-panel-inner p {
  margin: 0;
  opacity: 0.85;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo--footer .logo-mark {
  box-shadow: none;
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacts-wrap {
    grid-template-columns: 1fr;
  }
  .contacts-panel {
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), opacity 0.35s, visibility 0.35s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
}


:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
