/*
Theme Name: Ölmez İnşaat
Theme URI: https://www.olmezinsaat.com/
Author: Ölmez İnşaat
Author URI: https://www.olmezinsaat.com/
Description: Ölmez İnşaat için hazırlanmış, tek sayfa (one-page) kurumsal inşaat firması WordPress temasıdır. Menü, iletişim bilgileri (telefon, WhatsApp, adres, konum) ve galeri Görünüm > Özelleştir ve Görünüm > Menüler üzerinden yönetilebilir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olmez-insaat
*/

/* ============================================
   ÖLMEZ İNŞAAT — ana stil dosyası
   ============================================ */

:root {
  --black: #0a0a0c;
  --black-2: #131316;
  --black-3: #1c1c20;
  --black-4: #232327;
  --orange: #ff6a13;
  --orange-2: #e85d04;
  --orange-light: #ffab63;
  --orange-glow: rgba(255, 106, 19, 0.35);
  --white: #f7f6f3;
  --text-muted: #b3b2b8;
  --text-dim: #7d7c83;
  --radius: 14px;
  --container: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 17px; }

section { position: relative; padding: 110px 0; }

/* ---------- Reveal-on-scroll ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-aos].in-view { opacity: 1; transform: translateY(0); }
[data-aos="left"] { transform: translateX(-40px); }
[data-aos="left"].in-view { transform: translateX(0); }
[data-aos="right"] { transform: translateX(40px); }
[data-aos="right"].in-view { transform: translateX(0); }
[data-aos="zoom"] { transform: scale(0.92); }
[data-aos="zoom"].in-view { transform: scale(1); }

/* stagger children */
.stagger [data-aos]:nth-child(1) { transition-delay: 0.02s; }
.stagger [data-aos]:nth-child(2) { transition-delay: 0.08s; }
.stagger [data-aos]:nth-child(3) { transition-delay: 0.14s; }
.stagger [data-aos]:nth-child(4) { transition-delay: 0.2s; }
.stagger [data-aos]:nth-child(5) { transition-delay: 0.26s; }
.stagger [data-aos]:nth-child(n+6) { transition-delay: 0.3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  color: #10090a;
  box-shadow: 0 10px 30px -8px var(--orange-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -6px var(--orange-glow); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(247,246,243,0.28);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); }
.btn-sm { padding: 12px 24px; font-size: 13px; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease), backdrop-filter .4s;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10,10,12,0.0);
  backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  z-index: -1;
}
.site-header.scrolled { height: 68px; box-shadow: 0 10px 30px -14px rgba(0,0,0,0.6); }
.site-header.scrolled::before {
  background: rgba(10,10,12,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,106,19,0.15);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 50px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand img { height: 42px; }
.brand-text { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 18px; line-height: 1.1; }
.brand-text span { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; color: var(--orange); text-transform: uppercase; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
  border-radius: 999px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active, .nav-links a.current-menu-item { color: var(--orange); }
.nav-links a.active::after, .nav-links a.current-menu-item::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 18px; right: 18px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--white);
}
.nav-phone svg { color: var(--orange); flex-shrink: 0; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  background: rgba(255,255,255,0.06);
}
.burger span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: all .35s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0.78) 55%, rgba(8,8,10,0.98) 100%), url('assets/img/gallery/proje-49.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: saturate(1.05) contrast(1.05);
  z-index: -3;
  animation: heroPan 22s ease-in-out infinite alternate;
}
@keyframes heroPan { from { transform: scale(1.06) translateX(0); } to { transform: scale(1.14) translateX(-1.5%); } }

.hero-noise {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,106,19,0.05) 0 2px, transparent 2px 60px);
  z-index: -2;
  pointer-events: none;
}

.hero-tape {
  position: absolute;
  left: -10%; width: 120%;
  height: 46px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 26px, var(--black) 26px 52px);
  opacity: 0.9;
  z-index: -1;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}
.hero-tape.top { top: 14%; transform: rotate(-3deg); }
.hero-tape.bottom { bottom: 8%; transform: rotate(2deg); opacity: 0.55; }

.hero-inner { position: relative; max-width: 780px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,106,19,0.4);
  font-family: 'Montserrat', sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-badge b {
  background: var(--orange); color: #140b06;
  border-radius: 999px; padding: 4px 12px;
  font-size: 12.5px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 70px);
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--orange-light), var(--orange) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 560px;
}
.hero-stats .stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--orange);
  display: flex; align-items: baseline; gap: 2px;
}
.hero-stats .stat-label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-dim);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--orange), transparent); }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ============================================
   HAKKIMIZDA
   ============================================ */
.about { background: var(--black-2); }
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media .frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
}
.about-media .frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 1.2s var(--ease);
}
.about-media:hover .frame img { transform: scale(1.06); }
.about-media .floating-card {
  position: absolute;
  bottom: -30px; right: -30px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #140b06;
  padding: 26px 30px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -14px var(--orange-glow);
  max-width: 210px;
}
.floating-card .big { font-family:'Montserrat',sans-serif; font-weight: 800; font-size: 40px; line-height: 1; }
.floating-card .small { font-size: 12.5px; font-weight: 600; margin-top: 6px; line-height: 1.3; }
.about-media .frame-accent {
  position: absolute; top: -22px; left: -22px;
  width: 120px; height: 120px;
  border: 3px solid var(--orange);
  border-radius: var(--radius);
  z-index: -1;
}

.about-body h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.about-body p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.about-list { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }
.about-list svg { color: var(--orange); flex-shrink: 0; }

/* ============================================
   HİZMETLER
   ============================================ */
.services { background: var(--black); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  position: relative;
  background: linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 38px 30px;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(255,106,19,0.14), transparent 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(255,106,19,0.35); box-shadow: 0 24px 44px -20px rgba(0,0,0,0.6); }
.service-card .num {
  position: absolute; top: 18px; right: 24px;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 44px;
  color: rgba(255,255,255,0.05);
}
.service-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,106,19,0.18), rgba(255,106,19,0.04));
  color: var(--orange);
  margin-bottom: 22px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 14.5px; }
.service-card.wide { grid-column: span 1.5; }

/* ============================================
   NEDEN BİZ / stats band
   ============================================ */
.why-band {
  background: linear-gradient(120deg, var(--orange-2), var(--orange));
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.why-band::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,0.08) 0 18px, transparent 18px 36px);
}
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.why-item { color: #1a0d05; }
.why-item .n { font-family:'Montserrat',sans-serif; font-weight: 800; font-size: clamp(30px,4vw,46px); }
.why-item .l { font-weight: 700; font-size: 13.5px; letter-spacing: 0.02em; margin-top: 4px; }

/* ============================================
   GALERİ
   ============================================ */
.gallery { background: var(--black-2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--black-3);
}
.gallery-item.g-wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(18%) saturate(1.05) contrast(1.02) brightness(0.92);
  transition: transform 0.7s var(--ease), filter 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.09); filter: grayscale(0%) saturate(1.15) contrast(1.05) brightness(1); }
.gallery-item figcaption {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 16px;
  background: linear-gradient(0deg, rgba(10,10,12,0.88) 0%, rgba(10,10,12,0.15) 55%, transparent 100%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; }
.gallery-item figcaption span { font-size: 12.5px; font-weight: 600; max-width: 80%; }
.gallery-item .zoom-ic {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange); color: #140b06;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 17px; flex-shrink: 0;
}
.gallery-more { text-align: center; margin-top: 44px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,6,8,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease);
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw; max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: scale(0.94);
  transition: transform 0.35s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background .3s, color .3s, border-color .3s;
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--orange); color: #140b06; border-color: var(--orange); }
.lightbox .lb-close { top: 26px; right: 26px; }
.lightbox .lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 13px; color: var(--text-muted);
}
.lightbox .lb-count { position: absolute; top: 30px; left: 30px; font-size: 13px; color: var(--text-dim); font-family: 'Montserrat', sans-serif; }

/* ============================================
   İLETİŞİM
   ============================================ */
.contact { background: var(--black); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.contact-card {
  background: linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row .ic {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,106,19,0.12);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.info-row h4 { font-size: 15px; margin-bottom: 4px; }
.info-row p, .info-row a { color: var(--text-muted); font-size: 14.5px; }
.info-row a:hover { color: var(--orange); }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.map-card { padding: 0; overflow: hidden; position: relative; min-height: 420px; background: #0e0e10; }
#map { position: absolute; inset: 0; background: #0e0e10; }
#map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.94) contrast(0.88) saturate(0.5); }
#map .leaflet-marker-pane, #map .leaflet-popup-pane { filter: none; }
.leaflet-popup-content-wrapper { background: var(--black-3) !important; color: var(--white) !important; border: 1px solid rgba(255,106,19,0.3); border-radius: 10px !important; }
.leaflet-popup-content { color: var(--white) !important; font-family: 'Inter', sans-serif; }
.leaflet-popup-tip { background: var(--black-3) !important; }
.leaflet-popup-close-button { color: var(--text-muted) !important; }
.map-pin-label {
  position: absolute; top: 20px; left: 20px; z-index: 401;
  background: rgba(10,10,12,0.88);
  border: 1px solid rgba(255,106,19,0.35);
  padding: 10px 16px; border-radius: 10px;
  font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  pointer-events: none;
}
.map-pin-label::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,19,0.25); }

/* Leaflet dark theme tweaks */
.leaflet-control-attribution { background: rgba(10,10,12,0.7) !important; color: var(--text-dim) !important; }
.leaflet-control-attribution a { color: var(--orange) !important; }
.leaflet-control-zoom a { background: var(--black-3) !important; color: var(--white) !important; border-color: rgba(255,255,255,0.1) !important; }
.leaflet-control-zoom a:hover { background: var(--orange) !important; color: #140b06 !important; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--black-2); padding: 64px 0 26px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 44px;
}
.footer-brand img { height: 60px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 320px; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; color: var(--white); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { color: var(--text-dim); font-size: 14.5px; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: var(--text-dim); flex-wrap: wrap; gap: 12px;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 800;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4a);
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,0.55);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseRing { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }

/* Back to top */
.to-top {
  position: fixed; bottom: 26px; right: 96px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--black-3); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--orange); color: #140b06; border-color: var(--orange); }

/* Count-up helper */
.counted { font-variant-numeric: tabular-nums; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-phone-wrap { display: none; }
  .burger { display: flex; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto 20px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .hero-stats { grid-template-columns: repeat(3, auto); gap: 24px; }
  section { padding: 80px 0; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery-item.g-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .about-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .to-top { right: 26px; bottom: 96px; }
  .lightbox { padding: 16px; }
  .lightbox .lb-prev, .lightbox .lb-next { width: 42px; height: 42px; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(10,10,12,0.98);
  backdrop-filter: blur(10px);
  z-index: 850;
  display: flex; flex-direction: column;
  padding: 34px 28px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
}
.mobile-nav a:hover, .mobile-nav a.active, .mobile-nav a.current-menu-item { color: var(--orange); }
.mobile-nav .mn-phone { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader img { width: 64px; animation: pulseLogo 1.1s ease-in-out infinite; }
@keyframes pulseLogo { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }

/* WordPress core alignment helpers (used by admin-created pages/content, if any) */
.alignwide { max-width: 1400px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: none; }
