/* ============================================================
   Pekorius Limited — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@700;800&display=swap');

:root {
  --blue-900: #0f2d52;
  --blue-800: #1B4F8A;
  --blue-600: #2E7DD1;
  --blue-100: #dbeafe;
  --orange:   #F97316;
  --orange-d: #EA580C;
  --slate-700:#334155;
  --slate-500:#64748b;
  --slate-100:#f1f5f9;
  --white:    #ffffff;
  --radius:   10px;
  --shadow:   0 4px 24px rgba(15,45,82,.10);
  --shadow-lg:0 12px 40px rgba(15,45,82,.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
}

/* ---- UTILITY ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--slate-100); }
.section--dark { background: var(--blue-900); color: var(--white); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  cursor: pointer; text-decoration: none;
  border: none; transition: all .2s;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover { background: var(--orange-d); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--blue-800); }
.btn--blue { background: var(--blue-800); color: var(--white); }
.btn--blue:hover { background: var(--blue-900); transform: translateY(-1px); }

.tag {
  display: inline-block; padding: 4px 14px;
  background: var(--blue-100); color: var(--blue-800);
  border-radius: 50px; font-size: 12px; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; line-height: 1.15;
  color: var(--blue-900);
  margin-bottom: 16px;
}
.section-title--white { color: var(--white); }
.section-intro { font-size: 17px; color: var(--slate-500); max-width: 600px; margin-bottom: 48px; }

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(15,45,82,.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: flex; gap: 32px; list-style: none; }
.nav__links a {
  font-size: 14px; font-weight: 500;
  text-decoration: none; color: var(--slate-700);
  transition: color .15s;
}
.nav__links a:hover, .nav__links a.active { color: var(--blue-800); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__phone { font-weight: 700; color: var(--blue-800); text-decoration: none; font-size: 15px; }
.nav__phone:hover { color: var(--orange); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--blue-900); border-radius: 2px; transition: all .25s; }
.nav__mobile { display: none; }

/* ---- TOP BAR ---- */
.topbar {
  background: var(--blue-900); color: var(--white);
  padding: 8px 0; font-size: 13px;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.topbar__item { display: flex; align-items: center; gap: 6px; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 60%, #1a6bb5 100%);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(249,115,22,.15); border: 1px solid rgba(249,115,22,.3); border-radius: 50px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--orange); margin-bottom: 20px; }
.hero__title { font-family: 'Poppins', sans-serif; font-size: clamp(32px, 5vw, 54px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero__title span { color: var(--orange); }
.hero__sub { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.7); }
.hero__trust-item svg { color: var(--orange); flex-shrink: 0; }

/* Emergency card */
.hero__card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  color: var(--slate-700);
}
.hero__card-title { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 800; color: var(--blue-900); margin-bottom: 6px; }
.hero__card-sub { font-size: 13px; color: var(--slate-500); margin-bottom: 24px; }
.card-phone { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--blue-900); border-radius: var(--radius); text-decoration: none; margin-bottom: 12px; transition: background .2s; }
.card-phone:hover { background: var(--blue-800); }
.card-phone__num { font-size: 20px; font-weight: 700; color: var(--white); }
.card-phone__label { font-size: 11px; color: rgba(255,255,255,.65); }
.card-email { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--slate-100); border-radius: var(--radius); text-decoration: none; color: var(--blue-800); font-weight: 500; font-size: 14px; margin-bottom: 20px; transition: background .2s; }
.card-email:hover { background: var(--blue-100); }
.card-services { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card-svc { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--slate-700); font-weight: 500; }
.card-svc::before { content: '✓'; color: var(--orange); font-weight: 700; }

/* ---- STATS BAR ---- */
.stats { background: var(--orange); padding: 40px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats__item { text-align: center; padding: 0 20px; border-right: 1px solid rgba(255,255,255,.25); }
.stats__item:last-child { border-right: none; }
.stats__num { font-family: 'Poppins', sans-serif; font-size: 36px; font-weight: 800; color: var(--white); line-height: 1; }
.stats__label { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 4px; }

/* ---- SERVICES ---- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  transition: all .25s;
  position: relative; overflow: hidden;
}
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue-800), var(--orange)); transform: scaleX(0); transition: transform .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon { width: 52px; height: 52px; background: var(--blue-100); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-card__icon svg { color: var(--blue-800); }
.service-card__title { font-weight: 700; font-size: 17px; color: var(--blue-900); margin-bottom: 8px; }
.service-card__desc { font-size: 14px; color: var(--slate-500); line-height: 1.6; }

/* ---- WHY CHOOSE US ---- */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why__list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.why__item { display: flex; gap: 16px; align-items: flex-start; }
.why__icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--orange), var(--orange-d)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why__icon svg { color: var(--white); }
.why__text h4 { font-weight: 700; color: var(--blue-900); margin-bottom: 4px; }
.why__text p { font-size: 14px; color: var(--slate-500); }
.why__image { background: linear-gradient(135deg, var(--blue-900), var(--blue-800)); border-radius: 20px; padding: 48px 40px; position: relative; overflow: hidden; }
.why__image::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(249,115,22,.15); }
.why__image-inner { position: relative; z-index: 1; color: var(--white); }
.why__image-inner h3 { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.why__image-inner p { color: rgba(255,255,255,.8); font-size: 15px; margin-bottom: 24px; }
.why__emergency { background: var(--orange); border-radius: 12px; padding: 20px; }
.why__emergency-num { font-size: 28px; font-weight: 800; color: var(--white); }
.why__emergency-label { font-size: 13px; color: rgba(255,255,255,.85); }

/* ---- TESTIMONIALS ---- */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--white); border-radius: 14px; padding: 28px;
  box-shadow: var(--shadow); border: 1px solid #e2e8f0;
}
.testimonial__stars { color: #fbbf24; font-size: 16px; margin-bottom: 12px; }
.testimonial__text { font-size: 14px; line-height: 1.7; color: var(--slate-700); margin-bottom: 16px; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 10px; }
.testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-800); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); font-size: 14px; }
.testimonial__name { font-weight: 600; font-size: 14px; color: var(--blue-900); }
.testimonial__location { font-size: 12px; color: var(--slate-500); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  padding: 80px 0; text-align: center;
}
.cta-banner__title { font-family: 'Poppins', sans-serif; font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.cta-banner__sub { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 36px; }
.cta-banner__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---- CONTACT BAR ---- */
.contact-bar { background: var(--orange); padding: 24px 0; }
.contact-bar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.contact-bar__info { display: flex; gap: 32px; flex-wrap: wrap; }
.contact-bar__item { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 14px; font-weight: 500; }
.contact-bar__item a { color: var(--white); text-decoration: none; }
.contact-bar__item a:hover { text-decoration: underline; }

/* ---- FOOTER ---- */
.footer { background: var(--blue-900); color: rgba(255,255,255,.75); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer__brand img { height: 48px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__tagline { font-size: 14px; margin-bottom: 20px; }
.footer__reg { font-size: 12px; color: rgba(255,255,255,.45); }
.footer__heading { font-weight: 700; color: var(--white); font-size: 14px; margin-bottom: 16px; letter-spacing: .5px; text-transform: uppercase; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.footer__links a:hover { color: var(--orange); }
.footer__contact-item { display: flex; gap: 10px; font-size: 14px; margin-bottom: 10px; align-items: flex-start; }
.footer__contact-item a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer__contact-item a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer__bottom a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer__bottom a:hover { color: var(--orange); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  padding: 64px 0;
  color: var(--white);
  text-align: center;
}
.page-hero__title { font-family: 'Poppins', sans-serif; font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.page-hero__sub { font-size: 17px; color: rgba(255,255,255,.75); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }

/* ---- ABOUT PAGE ---- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__image-block { background: linear-gradient(135deg, var(--blue-900), var(--blue-600)); border-radius: 20px; padding: 48px; color: var(--white); }
.about__image-block h3 { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.about__image-block p { color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.7; }
.values__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 16px; }
.value-card { background: rgba(255,255,255,.1); border-radius: 10px; padding: 20px; }
.value-card h4 { font-weight: 700; margin-bottom: 4px; }
.value-card p { font-size: 13px; color: rgba(255,255,255,.7); }
.team-section { padding: 80px 0; background: var(--slate-100); }

/* ---- SERVICES PAGE ---- */
.services-list { display: flex; flex-direction: column; gap: 48px; }
.service-row { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 36px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); border-left: 4px solid var(--blue-800); }
.service-row__icon { width: 64px; height: 64px; background: var(--blue-100); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.service-row__icon svg { color: var(--blue-800); width: 32px; height: 32px; }
.service-row__title { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; color: var(--blue-900); margin-bottom: 8px; }
.service-row__desc { color: var(--slate-500); margin-bottom: 16px; }
.service-row__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.service-row__list li { font-size: 14px; color: var(--slate-700); display: flex; align-items: center; gap: 8px; }
.service-row__list li::before { content: '→'; color: var(--orange); font-weight: 700; }

/* ---- LEGAL PAGES ---- */
.legal-content { max-width: 820px; margin: 0 auto; padding: 64px 24px; }
.legal-content h2 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; color: var(--blue-900); margin: 36px 0 12px; }
.legal-content h3 { font-size: 17px; font-weight: 600; color: var(--blue-800); margin: 24px 0 8px; }
.legal-content p { font-size: 15px; color: var(--slate-700); margin-bottom: 16px; line-height: 1.75; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content ul li { font-size: 15px; color: var(--slate-700); margin-bottom: 8px; line-height: 1.65; }
.legal-content .legal-intro { background: var(--blue-100); border-radius: 10px; padding: 20px 24px; margin-bottom: 32px; font-size: 14px; color: var(--blue-800); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 20px; }
  .stats__item:last-child { border-bottom: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid, .about__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row__list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
  .nav__links, .nav__cta .btn { display: none; }
  .hamburger { display: flex; }
  .nav__mobile.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-lg); z-index: 200; padding: 16px; }
  .nav__mobile.open a { display: block; padding: 12px 16px; font-size: 15px; color: var(--slate-700); text-decoration: none; border-bottom: 1px solid #f1f5f9; }
  .footer__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .topbar__inner { flex-direction: column; align-items: flex-start; }
}
