/* Qızıl Farel · əsas rəng #00427f + ağ tonlar */
:root {
  --blue: #00427f;
  --blue-dark: #002f5c;
  --blue-deep: #00203f;
  --blue-soft: #e8f0f8;
  --blue-line: #cfdcea;
  --white: #ffffff;
  --off: #f6f9fc;
  --ink: #0f2236;
  --muted: #5a6b7d;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 47, 92, .12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); color: var(--blue-deep); margin-bottom: 18px; }
h3 { font-size: 22px; color: var(--blue-deep); }
p { color: var(--muted); }

.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow--light { color: rgba(255, 255, 255, .8); }

/* ── Düymələr ── */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 28px; border-radius: 999px;
       font-weight: 600; font-size: 15px; transition: transform .2s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 26px rgba(0, 66, 127, .28); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--outline { border: 1.5px solid var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }

/* ── Şəkil yeri: şəkil yoxdursa səliqəli mavi fon ── */
.ph { position: relative; overflow: hidden; background:
      radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .16), transparent 55%),
      linear-gradient(135deg, #0a5aa3, var(--blue) 45%, var(--blue-deep)); }
.ph::after { content: ""; position: absolute; inset: 0; pointer-events: none;
             background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M20 40l8-10 6 7 4-5 6 8z' fill='none' stroke='white' stroke-opacity='.35' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='40' cy='25' r='3' fill='none' stroke='white' stroke-opacity='.35' stroke-width='1.6'/%3E%3C/svg%3E") center / 64px no-repeat; }
.ph:has(img)::after { display: none; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }

/* ── Header ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav__in { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand__logo { height: 44px; width: auto; }
.brand__name { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { color: rgba(255, 255, 255, .88); font-size: 15px; font-weight: 500; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__menu { height: 42px; padding: 0 22px; }
.nav__close, .nav__burger { display: none; background: none; border: 0; cursor: pointer; }

.nav.is-solid { background: var(--white); box-shadow: 0 6px 24px rgba(0, 47, 92, .08); }
.nav.is-solid .brand { color: var(--blue); }
.nav.is-solid .nav__links a:not(.btn) { color: var(--ink); }
.nav.is-solid .nav__links a:not(.btn):hover { color: var(--blue); }
.nav.is-solid .nav__menu { background: var(--blue); color: var(--white); }
.nav.is-solid .nav__burger span { background: var(--blue); }

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); }
.hero__media { position: absolute; inset: 0; }
.hero__media::after { display: none; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 32, 63, .55) 0%, rgba(0, 32, 63, .25) 40%, rgba(0, 32, 63, .85) 100%); }
.hero__content { position: relative; padding: 140px 0 60px; max-width: 760px; margin-left: max(20px, (100% - 1180px) / 2); }
.hero h1 { font-size: clamp(42px, 7vw, 82px); color: var(--white); margin-bottom: 22px; }
.hero__lead { color: rgba(255, 255, 255, .86); font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__info { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 36px;
              background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius);
              backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero__info div { padding: 20px 26px; }
.hero__info div + div { border-left: 1px solid rgba(255, 255, 255, .2); }
.hero__info span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 4px; }
.hero__info strong { font-weight: 600; font-size: 16px; }

/* ── Bölmələr ── */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--tint { background: var(--off); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue h2 { color: var(--white); }
.head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.head p:not(.eyebrow) { font-size: 17px; }
.center { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 46px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split__media { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.split__text p:not(.eyebrow) { font-size: 17px; margin-bottom: 16px; }
.ph--onblue { box-shadow: 0 18px 50px rgba(0, 0, 0, .25); background:
      radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .2), transparent 55%), linear-gradient(135deg, #1b6fb8, #0a5aa3 50%, var(--blue-dark)); }

.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.facts li { background: var(--blue-soft); border-radius: 14px; padding: 18px 16px; }
.facts strong { display: block; font-family: var(--serif); font-size: 22px; color: var(--blue); }
.facts span { font-size: 14px; color: var(--muted); }

/* ── Kartlar ── */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card, .house { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0, 47, 92, .07);
                transition: transform .3s, box-shadow .3s; }
.card:hover, .house:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover img, .house:hover img, .gallery__item:hover img { transform: scale(1.05); }
.card__media, .house__media { aspect-ratio: 4 / 3; }
.card__body { padding: 24px 26px 28px; }
.card__body h3 { margin-bottom: 8px; }

.house { border: 1px solid var(--blue-line); box-shadow: none; }
.house__body { padding: 26px 28px 30px; }
.house__body h3 { font-size: 28px; }
.house__cap { color: var(--blue); font-weight: 600; font-size: 14px; margin: 4px 0 18px; }
.house ul { list-style: none; display: grid; gap: 10px; }
.house li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted); }
.house li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.house--featured { border-color: var(--blue); box-shadow: 0 14px 40px rgba(0, 66, 127, .16); }
.house__more { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin-top: 24px;
               border-radius: 999px; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 600; font-size: 15px;
               transition: background .2s, color .2s; }
.house__more span { transition: transform .2s; }
.house__more:hover { background: var(--blue); color: var(--white); }
.house__more:hover span { transform: translateX(4px); }
.house--featured .house__more { background: var(--blue); color: var(--white); }
.house--featured .house__more:hover { background: var(--blue-dark); }

/* ── Əyləncələr ── */
.prices { list-style: none; margin-top: 10px; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.prices span { color: rgba(255, 255, 255, .9); }
.prices b { font-weight: 600; white-space: nowrap; }
.split--rev .split__media { aspect-ratio: 4 / 5; }

/* ── Qalereya ── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 18px; }
.gallery__item { border-radius: 14px; }
.gallery__item:nth-child(1) { grid-row: span 2; }
.gallery__item:nth-child(5) { grid-column: span 2; }

/* ── Əlaqə ── */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 72px); align-items: stretch; }
.contact dl { margin: 10px 0 30px; }
.contact dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-top: 20px; }
.contact dd { font-size: 17px; margin-top: 4px; }
.contact dd a:hover { color: var(--blue); }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--blue-soft); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ── Footer ── */
.footer { background: var(--blue-deep); color: rgba(255, 255, 255, .75); padding: 56px 0 28px; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand { font-family: var(--serif); font-size: 26px; color: var(--white); margin-bottom: 4px; }
.footer p { color: rgba(255, 255, 255, .6); }
.footer__social { display: flex; gap: 22px; }
.footer__social a:hover { color: var(--white); }
.footer__copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .5); }

/* ── Görünəndə yumşaq açılma ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ── Planşet ── */
@media (max-width: 980px) {
  .cards3 { grid-template-columns: 1fr 1fr; }
  .cards3 > :last-child:nth-child(odd) { grid-column: span 2; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gallery__item:nth-child(5) { grid-column: auto; }
}

/* ── Mobil ── */
@media (max-width: 860px) {
  .nav__burger { display: flex; flex-direction: column; gap: 5px; padding: 10px; }
  .nav__burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }
  .nav__links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: var(--blue);
                opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { color: var(--white) !important; font-size: 22px; font-family: var(--serif); }
  .nav.is-solid .nav__links .nav__menu, .nav__menu { background: var(--white) !important; color: var(--blue) !important; height: 50px; margin-top: 8px; }
  .nav__close { display: block; position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; color: var(--white); font-size: 24px; }

  .hero__info { grid-template-columns: 1fr; }
  .hero__info div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .hero__info div { padding: 14px 20px; }
  .split, .contact { grid-template-columns: 1fr; }
  .split--rev .split__media { order: -1; }
  .split__media { aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .cards3 { grid-template-columns: 1fr; }
  .cards3 > :last-child:nth-child(odd) { grid-column: auto; }
  .facts { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 160px; gap: 10px; }
  .gallery__item:nth-child(1) { grid-row: span 2; }
  .btn { height: 48px; padding: 0 22px; }
  .hero__cta .btn { flex: 1; }
}

/* ── Reklam: FiscalPOS ── */
.promo { display: block; margin-top: 48px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
         transition: transform .3s, box-shadow .3s; }
.promo:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 47, 92, .2); }
.promo img { width: 100%; height: auto; }
.footer__promo { margin-top: 32px; }
.footer__promo a { display: block; border-radius: 10px; overflow: hidden; opacity: .95; transition: opacity .2s, transform .2s; }
.footer__promo a:hover { opacity: 1; transform: translateY(-2px); }
.footer__promo img { width: 100%; height: auto; }   /* kompüter: tam en zolaq (1600×60) */
@media (max-width: 700px) {
  .footer__promo a { display: inline-block; }
  .footer__promo img { width: 300px; height: 80px; }   /* telefon: 300×80 */
}
