/* ==========================================================================
   Shkurti Tinteggiature — design system
   ========================================================================== */

:root {
  --navy-900: #002d6e;
  --navy-800: #004aad;
  --navy-700: #1f63c4;
  --accent: #d9480f;
  --accent-dark: #b53a0a;
  --bg: #f8f6f2;
  --bg-alt: #eef1f6;
  --white: #ffffff;
  --text: #1c2331;
  --text-muted: #5b6472;
  --border: #e2e5ea;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(0, 45, 110, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 45, 110, 0.12);
  --shadow-lg: 0 24px 60px rgba(0, 45, 110, 0.18);
  --container: 1180px;
  --ease: cubic-bezier(0.16, 0.8, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy-900);
}

p { margin: 0 0 1em; }

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

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

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin-top: 10px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

/* Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.btn-outline-dark:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn-block { width: 100%; justify-content: center; }

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(248, 246, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 45, 110, 0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height 0.3s var(--ease);
}

.site-header.scrolled .container {
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-900);
}

.brand img {
  height: 44px;
  width: 44px;
  border-radius: 10px;
}

.brand span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.site-header .brand img {
  height: 56px;
  width: auto;
  border-radius: 0;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-desktop a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--accent);
}

.nav-desktop .has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.18s ease;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 6px);
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--bg-alt);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-phone {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-800);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--white);
  padding: 20px 24px 40px;
  overflow-y: auto;
  z-index: 190;
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 16px 4px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .submenu {
  padding-left: 14px;
}

.nav-mobile .submenu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 4px;
}

body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-desktop, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 45, 110, 0.92) 20%, rgba(0, 45, 110, 0.55) 100%), var(--hero-img) center/cover no-repeat;
  animation: heroZoom 20s var(--ease) infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -1px;
  height: 70px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 35%, 100% 100%, 0% 100%);
  z-index: 1;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  color: var(--white);
}

.hero-stats div span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Page hero (interior pages, smaller) --------------------------------- */

.page-hero {
  position: relative;
  padding: 150px 0 76px;
  color: var(--white);
  background: linear-gradient(120deg, rgba(0, 45, 110, 0.94), rgba(0, 74, 173, 0.86)), var(--hero-img) center/cover no-repeat;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -1px;
  height: 50px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 45%, 100% 100%, 0% 100%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { color: var(--white); margin-bottom: 12px; }

.breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.breadcrumb a { color: rgba(255, 255, 255, 0.9); }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* Services grid -------------------------------------------------------- */

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); counter-reset: card-counter; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  counter-increment: card-counter;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-card .thumb {
  height: 210px;
  overflow: hidden;
  position: relative;
}

.service-card .thumb::before {
  content: counter(card-counter, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 20, 50, 0.45);
}

.service-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 45, 110, 0.05) 40%, rgba(0, 45, 110, 0.55) 100%);
  opacity: 0.7;
  transition: opacity 0.35s ease;
}

.service-card:hover .thumb::after { opacity: 0.9; }

.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .thumb img {
  transform: scale(1.08);
}

.service-card .body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 { font-size: 20px; }

.service-card p { color: var(--text-muted); font-size: 15px; flex: 1; }

.service-card .more {
  font-weight: 600;
  color: var(--accent);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

/* Icon badges ------------------------------------------------------- */

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  color: var(--navy-800);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.service-card:hover .icon-badge {
  background: var(--navy-800);
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}

/* Alt sections -------------------------------------------------------- */

.section-alt { background: var(--bg-alt); }
.section-navy {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.88);
}
.section-navy h2, .section-navy h3 { color: var(--white); }

/* Two column ----------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.stat-row {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat-row div strong {
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  color: var(--navy-900);
  display: block;
}

.stat-row div span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Checklist ------------------------------------------------------------ */

.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 15.5px;
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Gallery ---------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 45, 110, 0) 55%, rgba(0, 20, 50, 0.65) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::before { opacity: 1; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-item .tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  background: rgba(0, 45, 110, 0.75);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: translateY(4px);
  transition: transform 0.3s var(--ease);
}

.gallery-item:hover .tag { transform: translateY(0); }

/* Lightbox ------------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 26, 0.94);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 24px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 18px; }
}

/* Testimonials ------------------------------------------------------ */

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.testimonial-card .stars { color: var(--accent); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15.5px; color: var(--text); }
.testimonial-card .author { font-weight: 600; font-size: 14px; color: var(--navy-900); margin-top: 14px; }
.testimonial-card .author span { display: block; font-weight: 400; color: var(--text-muted); font-size: 13px; }

/* CTA band -------------------------------------------------------------- */

.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: 24px;
  padding: 56px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.78); margin: 0; }

@media (max-width: 700px) {
  .cta-band { padding: 36px 24px; text-align: center; justify-content: center; }
}

/* Contact page ----------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.contact-info-card .icon-badge { margin-bottom: 0; flex-shrink: 0; }

.contact-info-card h4 { margin-bottom: 4px; font-size: 16px; }
.contact-info-card p { margin: 0; color: var(--text-muted); font-size: 15px; }
.contact-info-card a:hover { color: var(--accent); }

form.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: var(--bg);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 560px) {
  .form-two { grid-template-columns: 1fr; }
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-grid h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-grid li { margin-bottom: 12px; font-size: 14.5px; }
.footer-grid a:hover { color: var(--white); }

.footer-brand .brand { color: var(--white); }
.footer-brand p { font-size: 14.5px; margin-top: 16px; color: rgba(255,255,255,0.6); }

.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a:hover { color: var(--white); }

/* Legal pages ----------------------------------------------------------- */

.legal-content h2 { margin-top: 40px; font-size: 21px; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 15.5px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 8px; }

/* Scroll reveal ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hero floating badge -------------------------------------------------- */

.hero-floating-card {
  position: absolute;
  right: 64px;
  bottom: 56px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}

.hero-floating-card .icon-badge {
  margin-bottom: 0;
  background: var(--bg-alt);
  flex-shrink: 0;
}

.hero-floating-card strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: var(--navy-900);
}

.hero-floating-card span {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .hero-floating-card { display: none; }
}

/* Utilities -------------------------------------------------------------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Cookie banner ----------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  z-index: 400;
  display: none;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 14px; color: var(--text-muted); flex: 1; min-width: 220px; }
.cookie-banner .actions { display: flex; gap: 10px; }
.cookie-banner button { border: none; }
