/* paltaryuyanservisi.az — bright technical editorial system */
:root {
  --page: min(calc(100% - 48px), 1180px);
  --ink: #10213f;
  --text: #52617a;
  --muted: #71809a;
  --blue: #155eef;
  --blue-dark: #0f3f8f;
  --cyan: #0ea5a8;
  --orange: #f59e0b;
  --line: #dbe5f2;
  --panel: #fff;
  --soft: #f4f8fd;
  --soft-blue: #eaf2ff;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(28, 67, 128, .11);
}

html { background: #fff; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
}
h1, h2, h3, h4, .brand {
  color: var(--ink);
  font-family: "Sora", "DM Sans", sans-serif;
  letter-spacing: -.035em;
}
.container { width: var(--page); }

.topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 7px max(24px, calc((100vw - 1180px) / 2));
  color: #dcecff;
  background: #10213f;
}
.topbar .top-meta { color: #c8d8ee; }
.topbar .header-phone {
  min-height: 37px;
  padding: 6px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  color: #10213f;
  background: #fbbf24;
  box-shadow: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 76px;
  padding: 9px max(24px, calc((100vw - 1180px) / 2));
  border: 0;
  background: rgba(255,255,255,.94);
  box-shadow: 0 1px 0 rgba(16,33,63,.08);
  backdrop-filter: blur(18px);
}
.site-header .brand { min-height: 48px; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 800; }
.brand-icon-img { width: 43px; height: 43px; padding: 0; border: 0; border-radius: 12px; background: transparent; }
.nav { gap: 5px; font-size: 13px; font-weight: 700; }
.nav a, .nav .nav-link { padding: 10px 12px; border-radius: 9px; color: #52617a; }
.nav a:hover, .nav .nav-link:hover { color: var(--blue); background: var(--soft-blue); }
.header-actions { gap: 9px; }
.language-select { min-height: 39px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.nav-toggle { width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.nav-toggle .navbar-toggler-icon {
  position: relative; display: block; width: 20px; height: 15px;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: none !important;
}
.nav-toggle .navbar-toggler-icon::before { position: absolute; top: 5px; right: 0; left: 0; height: 2px; content: ""; background: var(--ink); }
.mobile-offcanvas { background: #f8fbff; }
.mobile-offcanvas .btn-close { border: 1px solid var(--line); border-radius: 10px; background-color: #fff; filter: none; opacity: 1; }

.btn { min-height: 46px; padding: 11px 19px; border-radius: 12px; font-size: 14px; font-weight: 800; box-shadow: none; }
.btn.primary { border-color: var(--blue); color: #fff; background: var(--blue); box-shadow: 0 10px 25px rgba(21,94,239,.20); }
.btn.primary:hover { border-color: var(--blue-dark); background: var(--blue-dark); box-shadow: 0 13px 30px rgba(21,94,239,.27); transform: translateY(-1px); }
.btn.secondary, .btn.ghost { border: 1px solid #c9d8ec; color: var(--ink); background: #fff; }
.btn.secondary:hover, .btn.ghost:hover { border-color: var(--blue); color: var(--blue); }

.hero-shell {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 58px 58px;
  background-color: #0d2d56;
  background:
    linear-gradient(90deg, rgba(7,31,66,.97) 0%, rgba(7,31,66,.90) 48%, rgba(7,31,66,.30) 100%),
    url("/assets/img/paltaryuyanservisi-hero.webp") center / cover no-repeat;
  box-shadow: none;
}
.hero-shell::before {
  position: absolute; right: -120px; bottom: -190px; width: 440px; height: 440px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 50%; content: "";
}
.hero-shell::after {
  position: absolute; right: 115px; bottom: -145px; width: 290px; height: 290px;
  border: 1px solid rgba(255,255,255,.11); border-radius: 50%; content: "";
}
.hero.container { position: relative; z-index: 2; min-height: 610px; padding: 68px 0 78px; grid-template-columns: minmax(0,1.15fr) 390px; gap: 72px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero-kicker { display: inline-flex; margin: 0 0 20px; padding: 4px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.hero-kicker span, .hero-kicker strong { padding: 7px 11px; border: 0; border-radius: 8px; font-size: 11px; line-height: 1.2; }
.hero-kicker span { color: #10213f; background: #fbbf24; }
.hero-kicker strong { color: #edf5ff; background: transparent; }
.hero h1 { max-width: 640px; margin: 0; color: #fff; font-size: clamp(44px,5.2vw,68px); line-height: 1.02; letter-spacing: -.06em; }
.hero-copy > p { max-width: 620px; margin: 20px 0 0; color: #cedcf0; font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 28px; gap: 11px; }
.hero .btn.primary { border-color: #fbbf24; color: #10213f; background: #fbbf24; box-shadow: 0 12px 30px rgba(245,158,11,.25); }
.hero .btn.primary:hover { border-color: #ffd45a; background: #ffd45a; }
.hero .btn.secondary { border-color: rgba(255,255,255,.34); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.hero .btn.secondary:hover { border-color: rgba(255,255,255,.60); color: #fff; background: rgba(255,255,255,.15); }
.proof-row { display: none; }

.booking-card {
  width: 100%; max-width: 390px; padding: 27px; border: 0; border-radius: 24px;
  color: var(--text); background: rgba(255,255,255,.97); box-shadow: 0 28px 80px rgba(0,16,44,.34); transform: rotate(1.2deg);
}
.booking-card > * { transform: rotate(-1.2deg); }
.booking-status { padding: 7px 10px; border-radius: 9px; color: #0f6670; background: #e3f8f7; font-size: 11px; }
.booking-status span { width: 8px; height: 8px; background: var(--cyan); box-shadow: 0 0 0 4px rgba(14,165,168,.12); }
.booking-card h2 { margin: 15px 0 7px; color: var(--ink); font-size: 25px; line-height: 1.2; }
.booking-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.mini-form { gap: 10px; margin-top: 16px; }
.mini-form label { gap: 5px; color: var(--ink); font-size: 12px; }
input, select, textarea { min-height: 47px; border: 1px solid #d4e0ef; border-radius: 11px; color: var(--ink); background: #fff; font-size: 14px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(21,94,239,.10); border-color: var(--blue); }

.section { padding: 82px 0 0; }
.section-head { align-items: end; gap: 20px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 7px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-head h2, .work-copy h2 { max-width: 760px; margin: 0; color: var(--ink); font-size: clamp(30px,3.3vw,43px); line-height: 1.12; letter-spacing: -.045em; }
.section-link, .more-link { color: var(--blue); font-size: 13px; font-weight: 800; }

.service-grid, .master-grid, .post-grid, .project-row { gap: 20px; }
.service-card, .master-card, .project-card, .post-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff;
  box-shadow: 0 8px 24px rgba(20,48,91,.05); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.service-card:hover, .master-card:hover, .project-card:hover, .post-card:hover { border-color: #aac5ed; box-shadow: var(--shadow); transform: translateY(-5px); }
.card-media { background: #e9f2ff; }
.service-card .card-media img, .project-card .card-media img, .post-card .card-media img { aspect-ratio: 4/3; object-fit: cover; }
.service-card h2, .service-card h3, .master-card h2, .master-card h3, .project-card h2, .project-card h3, .post-card h2, .post-card h3 { color: var(--ink); font-size: 20px; line-height: 1.28; }
.master-card img { aspect-ratio: 4/5; object-fit: cover; }

.process-section { width: 100%; margin: 88px 0 0; padding: 72px 0; border: 0; border-radius: 0; color: var(--text); background: #f3f7fc; }
.process-layout.container { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 70px; padding: 0; }
.process-layout > div:first-child { max-width: 390px; margin: 0; text-align: left; }
.process-section h2, .process-layout h2 { margin: 0; color: var(--ink); font-size: clamp(31px,3.3vw,43px); line-height: 1.14; }
.process-section .section-copy { margin: 15px 0 0; color: var(--muted); font-size: 15px; }
.process-grid { gap: 14px; }
.process-grid article { min-height: 210px; padding: 24px; border: 0; border-radius: 18px; color: var(--text); background: #fff; box-shadow: 0 12px 35px rgba(28,67,128,.07); }
.process-grid span { width: 39px; height: 39px; border-radius: 12px; color: #fff; background: var(--blue); font-size: 14px; }
.process-grid article:nth-child(2) span { background: var(--cyan); }
.process-grid article:nth-child(3) span { color: #10213f; background: #fbbf24; }
.process-grid h3 { margin: 20px 0 7px; color: var(--ink); font-size: 18px; }
.process-grid article p { margin: 0; color: var(--muted); font-size: 14px; }

.work-showcase { display: grid; grid-template-columns: 320px 1fr; gap: 42px; align-items: start; }
.work-copy { position: sticky; top: 110px; }
.project-showcase-row { grid-template-columns: repeat(2,minmax(0,1fr)); }

.faq-section { width: var(--page); margin: 88px auto; padding: 54px; border: 1px solid #cfe0f5; border-radius: 28px; color: var(--text); background: linear-gradient(135deg,#eef5ff,#fff 60%); }
.faq-layout.container { width: 100%; grid-template-columns: 310px 1fr; gap: 52px; }
.faq-intro { position: static; padding: 0; border: 0; background: transparent; box-shadow: none; }
.faq-section .faq-intro h2 { margin: 0; color: var(--ink); font-size: clamp(31px,3.3vw,42px); line-height: 1.12; }
.faq-section .faq-intro p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.faq-list { gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-list summary { min-height: 56px; padding: 14px 49px 14px 17px; color: var(--ink); font-size: 14px; line-height: 1.45; }
.faq-list summary::after { color: var(--blue); background: var(--soft-blue); }
.faq-list details p { padding: 0 17px 16px; color: var(--muted); font-size: 14px; }

.page-hero, .content-hero, .service-detail-hero {
  width: var(--page); min-height: 0; margin: 32px auto 0; padding: 48px;
  border: 1px solid #cfe0f5; border-radius: 26px; color: var(--text);
  background: linear-gradient(135deg,#eaf2ff 0%,#fff 70%);
}
.page-hero h1, .content-hero h1, .service-detail-hero h1 { margin: 0; color: var(--ink); font-size: clamp(34px,4.2vw,50px); line-height: 1.1; }
.page-hero p, .content-hero .content-lead, .service-detail-hero .lead { max-width: 720px; color: var(--muted); font-size: 16px; }
.content-layout, .service-detail-layout { padding-top: 32px; padding-bottom: 70px; }
.content-article, .service-article, .sidebar-panel, .tag-article, .tag-cta, .detail-body, .contact-form, .contact-card, .error-card, .error-help { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 34px rgba(20,48,91,.06); }
.content-article, .service-article { color: var(--text); font-size: 16px; line-height: 1.8; }
.content-article { padding: 34px 38px; }
.content-article h2, .content-article h3, .service-article h2, .service-article h3, .tag-article h2, .tag-article h3 { color: var(--ink); }
.service-grid.wide, .project-row.full, .post-grid.full, .master-grid-full { width: var(--page); margin-inline: auto; padding: 34px 0 70px; }
.contact, .detail, .master-profile, .error-shell { width: var(--page); margin-inline: auto; padding-top: 42px; padding-bottom: 70px; }

.footer { margin: 0; padding: 0; color: #bed0e8; background: #10213f; }
.footer-inner { width: var(--page); padding: 58px 0; gap: 40px; }
.footer p, .footer a, .footer span { color: #b9c9df; }
.footer .footer-call, .footer .footer-call span { color: #10213f; background: #fbbf24; }
.footer strong, .footer h3, .footer .brand, .footer .brand span, .footer .brand b { color: #fff; }
.footer .brand-icon-img { width: 43px; height: 43px; }
.footer-links, .footer-contact { gap: 9px; }
.footer-links strong, .footer-contact strong { margin-bottom: 5px; font-size: 12px; letter-spacing: .10em; text-transform: uppercase; }
.footer-bottom { padding: 18px 0; border-top-color: rgba(255,255,255,.10); color: #91a8c4; }

@media (max-width: 1100px) {
  :root { --page: min(calc(100% - 32px), 860px); }
  .site-header { padding: 8px 16px; }
  .hero.container { grid-template-columns: 1fr; min-height: 0; padding: 58px 0 70px; gap: 34px; }
  .booking-card { max-width: 560px; transform: none; }
  .booking-card > * { transform: none; }
  .process-layout.container, .faq-layout.container { grid-template-columns: 1fr; gap: 30px; }
  .work-showcase { grid-template-columns: 1fr; }
  .work-copy { position: static; max-width: 680px; }
}

@media (max-width: 720px) {
  :root { --page: calc(100% - 24px); }
  html, body { max-width: 100%; overflow-x: clip; }
  body { font-size: 15px; }
  .topbar { display: flex; width: 100%; max-width: 100%; grid-template-columns: none; justify-content: space-between; gap: 8px; padding: 7px 12px; }
  .topbar .top-meta { min-width: 0; flex: 1 1 auto; overflow: hidden; }
  .topbar .top-meta .meta-item:nth-child(n+2) { display: none; }
  .topbar .header-phone { min-height: 34px; max-width: 178px; flex: 0 0 auto; padding: 5px 9px; overflow: hidden; font-size: 13px; white-space: nowrap; }
  .topbar .desktop-language { display: none !important; }
  .site-header { width: 100%; max-width: 100%; min-height: 64px; padding: 7px 12px; }
  .site-header .brand { min-width: 0; max-width: calc(100% - 108px); flex: 1 1 auto; overflow: hidden; font-size: 16px; }
  .site-header .brand b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand-icon-img { width: 38px; height: 38px; }
  .header-actions { position: static; right: auto; width: auto; flex: 0 0 auto; gap: 7px; margin-left: auto; transform: none; }
  .mobile-language.custom-lang-active { width: 43px; max-width: 43px; flex: 0 0 43px; padding: 4px 8px; }
  .mobile-language .lang-code, .mobile-language .lang-chevron { display: none; }
  .mobile-language .lang-trigger { width: 25px; justify-content: center; }
  .nav-toggle { min-width: 43px; flex-basis: 43px; }
  .hero-shell { border-radius: 0 0 28px 28px; background: linear-gradient(180deg,rgba(7,31,66,.94),rgba(7,31,66,.76)),url("/assets/img/paltaryuyanservisi-hero.webp") 62% center/cover no-repeat; }
  .hero.container { width: var(--page); padding: 38px 0 42px; gap: 26px; }
  .hero-kicker { margin-bottom: 15px; }
  .hero-kicker span, .hero-kicker strong { padding: 6px 8px; font-size: 9px; }
  .hero h1 { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(34px,10.5vw,46px); line-height: 1.04; }
  .hero-copy > p { margin-top: 15px; font-size: 15px; line-height: 1.6; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .btn { width: 100%; }
  .booking-card { max-width: none; padding: 21px; border-radius: 18px; }
  .booking-card h2 { font-size: 22px; }
  .section { padding-top: 50px; }
  .section-head { display: block; margin-bottom: 20px; }
  .section-head h2 { font-size: 29px; }
  .section-link { display: inline-flex; margin-top: 10px; }
  .service-grid, .post-grid, .project-row, .master-grid, .project-showcase-row { grid-template-columns: 1fr; }
  .process-section { margin-top: 54px; padding: 46px 0; }
  .process-section h2, .faq-section .faq-intro h2 { font-size: 30px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 0; padding: 20px; }
  .faq-section { margin: 54px auto; padding: 29px 19px; border-radius: 20px; }
  .page-hero, .content-hero, .service-detail-hero { margin-top: 16px; padding: 29px 22px; border-radius: 19px; }
  .page-hero h1, .content-hero h1, .service-detail-hero h1 { font-size: 31px; }
  .page-hero p, .content-hero .content-lead, .service-detail-hero .lead { font-size: 14px; }
  .service-grid.wide, .project-row.full, .post-grid.full, .master-grid-full { grid-template-columns: 1fr; padding: 24px 0 46px; }
  .content-layout, .service-detail-layout { padding-top: 22px; padding-bottom: 46px; }
  .content-article, .service-article, .tag-article { padding: 23px; font-size: 15px; }
  .contact, .detail, .master-profile, .error-shell { padding-top: 26px; padding-bottom: 46px; }
  .footer-inner { padding: 44px 0; }
}
