﻿@font-face { font-family: Yekan; src: url(fonts/YekanBakhFaNum-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Yekan; src: url(fonts/YekanBakhFaNum-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Yekan; src: url(fonts/YekanBakhFaNum-Heavy.woff2) format("woff2"); font-weight: 900; font-display: swap; }
:root { color-scheme: light; font-family: Yekan, Tahoma, sans-serif; color: #10233b; background: #f7f9fc; line-height: 1.8; --navy: #091a2d; --ink: #10233b; --muted: #4b5e74; --cyan: #66e4ed; --line: #dce5ee; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .3em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #08a0b2; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.35; }
p { color: var(--muted); }
.shell { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { position: sticky; z-index: 5; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; font-size: 1.35rem; font-weight: 900; line-height: 1.15; white-space: nowrap; }
.brand small { display: block; font-family: system-ui, sans-serif; font-size: .59rem; letter-spacing: .16em; margin-top: .3rem; text-align: right; }
.brand-mark { width: 43px; height: 43px; background: #102c48; border-radius: 12px; display: flex; align-items: end; justify-content: center; gap: 3px; padding: 11px 8px; direction: ltr; flex: none; }
.brand-mark i { width: 4px; border-radius: 3px; background: var(--cyan); height: 25%; }
.brand-mark i:nth-child(2) { height: 50%; } .brand-mark i:nth-child(3) { height: 73%; } .brand-mark i:nth-child(4) { height: 100%; }
.header-inner nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.7rem); font-weight: 700; font-size: .93rem; }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; border: 1px solid transparent; border-radius: 10px; padding: .6rem 1rem; font-weight: 700; white-space: nowrap; }
.button-primary { color: #071d2c; background: var(--cyan); }
.button-primary:hover { background: #a4f5f6; }
.button-outline { background: #fff; color: var(--ink); border-color: #b8cbdc; }
.button-outline:hover { background: #e8f4f7; }
.hero { position: relative; margin-block-start: 1.4rem; overflow: hidden; border-radius: 26px; background: radial-gradient(ellipse at 14% 55%, #1a5270, transparent 52%), linear-gradient(125deg,#0c2942,#071526 65%); color: #fff; }
.slide { min-height: 484px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(1.25rem, 5vw, 4rem); padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 6vw, 5rem) 5.2rem; }
.eyebrow { color: #126277; font-weight: 700; margin-bottom: .6rem; }
.hero .eyebrow, .contact-panel .eyebrow { color: var(--cyan); }
.hero h1, .hero h2 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); font-weight: 900; line-height: 1.18; }
.hero em { font-style: normal; color: var(--cyan); }
.hero-copy > p:not(.eyebrow) { color: #d4e5f3; margin: 1.05rem 0 1.45rem; max-width: 34ch; }
.hero-media { min-width: 0; position: relative; display: grid; place-items: center; min-height: 285px; border: 1px solid #5293a85e; border-radius: 20px; background: radial-gradient(ellipse at 48% 42%, #f8fcff, #d6e8f4); box-shadow: 0 28px 65px #020d20a0; padding: 1.3rem 1.3rem 2.8rem; }
.hero-media img { display: block; width: min(100%, 300px); height: 235px; object-fit: contain; mix-blend-mode: multiply; }
.hero-media figcaption { position: absolute; bottom: .7rem; inset-inline: 1rem; color: #203b52; text-align: center; font: 700 .91rem/1.5 system-ui, sans-serif; }
.slider-controls { position: absolute; inset-inline-start: clamp(1.5rem, 6vw, 5rem); bottom: 1.25rem; display: flex; align-items: center; gap: .75rem; }
.slider-controls button { border: 1px solid #84aec580; color: #fff; border-radius: 50%; background: #14324b; width: 35px; height: 35px; padding: 0; }
.slider-controls button:hover { border-color: var(--cyan); }
.slider-dots { display: flex; gap: .35rem; }
.slider-dots button { width: 24px; height: 30px; border: 0; background: transparent; display: grid; place-items: center; }
.slider-dots button::after { content: ""; height: 5px; width: 65%; border-radius: 8px; background: #8ca5b9; }
.slider-dots [aria-current="true"]::after { background: var(--cyan); width: 100%; }
.section { padding-block: clamp(2.9rem, 6vw, 5.2rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem; }
.section h2 { font-size: clamp(1.65rem, 3.2vw, 2.75rem); font-weight: 900; }
.text-link { color: #115c73; font-weight: 700; }
.category-grid, .service-grid, .grid { display: grid; gap: 1rem; }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card, .service-card, .product-card { border: 1px solid var(--line); background: white; border-radius: 16px; }
.category-card { padding: 1rem; display: flex; align-items: center; gap: .65rem; font-weight: 700; transition: background .2s, border-color .2s; }
.category-card:hover { background: #eaf8fb; border-color: #81c2d1; text-decoration: none; }
.category-card small { display: block; color: var(--muted); font-weight: 400; }
.category-icon { width: 42px; height: 42px; flex: none; display: inline-grid; place-items: center; background: #e0f3f6; color: #155e75; border-radius: 11px; font-size: 1.35rem; line-height: 1; }
.catalog { background: #edf3fa; border-block: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.filters label { flex: 1 1 190px; max-width: 330px; font-weight: 700; }
.filters input, .filters select { display: block; width: 100%; margin-top: .25rem; background: #fff; border: 1px solid #b6c8d9; padding: .55rem .8rem; border-radius: 10px; color: var(--ink); }
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { overflow: hidden; min-width: 0; }
.product-media { display: grid; place-items: center; padding: .85rem; background: #f0f5fa; color: var(--muted); text-align: center; min-height: 142px; font-size: .9rem; }
.product-media img { display: block; width: 100%; height: 135px; object-fit: contain; mix-blend-mode: multiply; }
.product-content { padding: 1rem 1.15rem; }
.product-category { color: #126277; font-size: .83rem; }
.product-card h3 { margin: .25rem 0 .65rem; }
.detail-link { color: #12556e; font-weight: 700; font-size: .9rem; }
.show-more { display: flex; margin: 1.35rem auto 0; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { padding: 1.35rem; }
.service-card h3 { margin: .8rem 0 .4rem; }
.about, .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: start; border-top: 1px solid var(--line); }
.about p:not(.eyebrow) { margin-bottom: .8rem; font-size: 1.13rem; }
.faq-list { display: grid; gap: .55rem; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: .75rem 1rem; }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list details p { margin-top: .55rem; }
.contact-panel { background: var(--navy); color: white; border-radius: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: clamp(1.4rem, 4vw, 3.1rem); }
.contact-panel p:not(.eyebrow) { color: #c5d5e4; margin-top: .55rem; }
.contact-list { display: grid; gap: .45rem; }
.contact-list > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; border-bottom: 1px solid #ffffff3d; padding: .25rem 0; }
.site-footer { background: #09182a; color: #e4effa; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; padding-block: 2.7rem; }
.footer-grid p { color: #b9cee1; margin-top: .85rem; }
.footer-grid h2 { font-size: 1rem; margin-bottom: .7rem; }
.footer-grid > div:not(:first-child) a { display: block; color: #b9cee1; margin-bottom: .3rem; }
.footer-bottom { border-top: 1px solid #2a4359; display: flex; justify-content: space-between; gap: 1rem; padding-block: .9rem; color: #b9cee1; font-size: .9rem; }
.detail { padding-block: 2rem 4rem; min-height: 65vh; }
.detail-panel { display: grid; grid-template-columns: minmax(155px, 30%) 1fr; border: 1px solid var(--line); border-radius: 18px; background: white; overflow: hidden; margin-top: 1rem; }
.detail-panel h1 { margin: .35rem 0 1rem; font-size: clamp(1.8rem, 4vw, 3.1rem); }
.detail-panel p { white-space: pre-line; overflow-wrap: anywhere; }
.detail-panel .product-media img { height: auto; max-height: 285px; }
.detail-sources { display: flex; gap: .7rem 1.1rem; flex-wrap: wrap; margin-top: 1rem; font-weight: 700; color: #12556e; }
@media (max-width: 960px) { .category-grid, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .shell { width: calc(100% - 1.5rem); }
  .header-inner { min-height: 62px; position: relative; }
  .header-inner > .button { display: none; }
  .menu-toggle { display: block; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: .3rem .65rem; }
  .header-inner nav { display: none; position: absolute; inset-inline: 0; top: 100%; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
  .header-inner nav.open { display: grid; grid-template-columns: 1fr 1fr; }
  .slide, .service-grid, .about, .faq, .contact-panel, .detail-panel { grid-template-columns: 1fr; }
  .slide { min-height: auto; gap: 1.2rem; }
  .hero-media { min-height: 155px; padding-bottom: 2rem; }
  .hero-media img { height: 142px; }
  .hero-media figcaption { bottom: .45rem; }
  .slide { padding-bottom: 4.3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 370px) { .category-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.mobile-contact { display: none; }
@media (max-width: 720px) { .mobile-contact { display: block; } }
.guide-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; }
.guide-grid p + p { margin-top: .7rem; }
.guide-photo { background: #eaf3fa; border-radius: 12px; min-height: 165px; display: grid; place-items: center; padding: 1rem; }
.guide-photo img { width: 100%; height: 165px; object-fit: contain; mix-blend-mode: multiply; }
.spec-list { margin: .75rem 0 1rem; }
.spec-list div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-block: .4rem; }
.spec-list dd { margin: 0; font-weight: 700; }
.contact-panel h3 { margin-top: .9rem; }
.contact-panel address { font-style: normal; color: #d3e2ef; }
.company-records ul { color: var(--muted); padding-inline-start: 1.35rem; }
.image-note { color: #465e73; font-size: .79rem; text-align: center; padding: .2rem .4rem; }
@media (max-width: 720px) { .guide-grid { grid-template-columns: 1fr; } }
.support-credit i { margin-inline-end: .25rem; }
.support-credit .fa-heart { color: #66e4ed; }
.interior { min-height: 60vh; }
.interior h1 { margin-bottom: 1.15rem; }
.news-grid { display: grid; gap: .85rem; }
body:has(main > .section:not([hidden])) main { min-height: 52vh; }
.admin-content { display: grid; grid-template-columns: minmax(160px, .75fr) minmax(0, 2fr); gap: 1rem; align-items: start; }
.admin-list { max-height: 65vh; overflow-y: auto; display: grid; gap: .4rem; }
.admin-list a { padding: .5rem .85rem; background: white; border: 1px solid var(--line); border-radius: 8px; }
.admin-list a[aria-current="page"] { background: #d7eff4; }
.admin-form { display: grid; gap: .5rem; margin-block: 1rem; }
.admin-form input:not([type="checkbox"]), .admin-form textarea { width: 100%; padding: .55rem; border: 1px solid #b6c8d9; border-radius: 8px; font: inherit; }
.admin-form button { justify-self: start; }
.admin-login { max-width: 470px; margin-inline: auto; }
.admin-login h1 { margin-top: 1rem; }
@media (max-width: 720px) {
  .admin-content { grid-template-columns: 1fr; }
  .admin-list { max-height: 30vh; }
  .admin-header { flex-wrap: wrap; padding-block: .6rem; }
  .admin-header nav { display: flex; position: static; flex-wrap: wrap; border: 0; padding: 0; }
}
