/* Grosu Enterprise Inc - shared stylesheet (tokens + chrome + page sections).
   Fonts are loaded per-page via <link> to fonts.googleapis.com in each <head>.
   Poppins approximates the source's geometric display face (Futura/Avenir heavy on Wix);
   Montserrat approximates the source body face (Proxima Nova). Noted in CLONE-REPORT.md. */

:root {
  --blue: #1a86c6;
  --blue-btn: #0f6fb0;
  --blue-btn-hover: #0c5c92;
  --red: #e8402e;
  --orange: #f39c1f;
  --nav-link: #d99f57;
  --cream: #fbf2e7;
  --contact-bg: #e9f4fb;
  --ink: #111111;
  --body: #3f3f3f;
  --muted: #6b6b6b;
  --logo-blue: #1a7fbf;
  --logo-orange: #ef9a2b;
  --white: #ffffff;
  --line: #e6e6e6;
  --maxw: 1180px;
  --header-h: 84px;
  --font-display: "Poppins", "Trebuchet MS", sans-serif;
  --font-body: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.15; }

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

.eyebrow {
  font-family: var(--font-display);
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--ink);
}

.btn {
  display: inline-block;
  background: var(--blue-btn);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 26px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.btn:hover { background: var(--blue-btn-hover); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.14); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.site-header .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--logo-blue);
}
.brand-text .brand-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--logo-orange);
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--nav-link);
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--red); }
.main-nav a.active { color: var(--red); }

.social { display: flex; align-items: center; gap: 10px; }
.social a { display: inline-flex; }
.social img { width: 26px; height: 26px; }

.nav-toggle { display: none; }

/* ---------- Interior page hero ---------- */
.page-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.82)), url("orig/36.jpg");
  background-size: cover;
  background-position: center top;
}
.page-hero .container { padding-top: 120px; padding-bottom: 96px; width: 100%; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
}

/* ---------- Home hero slider (Swiper) ---------- */
.hero-slider { position: relative; background: #000; }
.hero-slider .swiper { width: 100%; }
.hero-slide {
  position: relative;
  height: 520px;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.15) 70%, rgba(0,0,0,0) 100%);
  display: flex;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}
.hero-overlay .container { width: 100%; }
.hero-content { max-width: 520px; pointer-events: auto; }
.hero-content .eyebrow { color: #fff; opacity: .9; }
.hero-content h2 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-content p { color: #f0f0f0; margin: 0 0 22px; font-size: 15px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-slider .swiper-pagination-bullet { background: #fff; opacity: .6; }
.hero-slider .swiper-pagination-bullet-active { opacity: 1; background: var(--orange); }
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev { color: #fff; }

/* ---------- About band ---------- */
.about-band { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 60px;
  align-items: center;
}
.about-photo {
  padding: 14px;
  border: 1px solid var(--blue);
  width: 100%;
}
.about-photo img { width: 100%; height: auto; }
.with-bar {
  border-left: 5px solid var(--orange);
  padding-left: 22px;
}
.about-text p { color: var(--body); margin: 0 0 22px; }

/* ---------- What we do (cream band) ---------- */
.whatwedo {
  position: relative;
  background: var(--cream);
  padding: 78px 0;
  overflow: hidden;
}
.whatwedo-band {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  z-index: 0;
}
.whatwedo .container { position: relative; z-index: 1; }
/* On interior pages the cream band follows the dark page hero directly; the faint
   photo strip then reads as the hero image spilling over. Drop it in that case. */
.page-hero + .whatwedo .whatwedo-band { display: none; }
.whatwedo .head { text-align: center; margin-bottom: 46px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: #fff;
  padding: 10px 10px 26px;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
}
.service-card .thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 340 / 247;
  overflow: hidden;
}
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 20px 0 12px;
}
.service-card p { color: var(--muted); font-size: 14px; text-align: center; padding: 0 16px; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 74px 0; text-align: center; }
.testimonials .head { margin-bottom: 26px; }
.elfsight-wrap { min-height: 60px; }
.review-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.review-row .rule { flex: 1; height: 1px; background: var(--red); opacity: .5; }
.review-btn {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
  border-radius: 22px;
  padding: 10px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.review-btn:hover { background: var(--blue); color: #fff; }

/* ---------- Gallery ---------- */
.gallery-section { padding: 74px 0; }
.gallery-section .container { max-width: 1440px; }
.gallery-section .head { text-align: center; margin-bottom: 44px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.gallery-grid a {
  display: block;
  aspect-ratio: 458 / 343;
  overflow: hidden;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }
/* .gallery-grid a sets display:block, which overrides the UA [hidden] rule --
   these make the Load More paging in site.js able to hide tiles/button. */
.gallery-grid a[hidden] { display: none; }
.load-more[hidden] { display: none; }
@media (min-width: 981px) {
  .gallery-page .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.load-more-wrap { text-align: center; margin-top: 34px; }
.load-more {
  background: #fff;
  border: 1px solid #cfcfcf;
  color: #333;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 26px;
  cursor: pointer;
}

/* ---------- Contact ---------- */
.contact-section { background: var(--contact-bg); padding: 78px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info p.lead { color: var(--body); margin: 0 0 28px; max-width: 380px; }
.contact-line { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-line .ic {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.contact-line .ic svg { width: 20px; height: 20px; fill: #fff; }
.contact-line .lbl { font-weight: 700; color: var(--ink); font-family: var(--font-display); font-size: 14px; }
.contact-line .val { color: var(--body); }
.contact-line .val a { color: var(--body); }

.form-card { background: #fff; padding: 40px; box-shadow: 0 10px 34px rgba(0,0,0,.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--orange);
  background: #fff8ef;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #222;
  border-radius: 2px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.hp-field { position: absolute; left: -9999px; overflow: hidden; width: 1px; height: 1px; }
.form-card .btn { width: 100%; padding: 15px; font-size: 14px; }

/* ---------- Map ---------- */
.map-section { height: 460px; width: 100%; background: #e5e3df; }
#map, .leaflet-map { height: 100%; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #fff; }
.footer-main { padding: 60px 0 46px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand img { width: 168px; height: auto; }
.footer-brand .fb-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  color: #fff;
  margin: 14px 0 2px;
}
.footer-brand .fb-sub {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  color: #eaf3fb;
}
.footer-brand .social { margin-top: 16px; }
.footer-brand .social img { width: 24px; height: 24px; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 18px;
}
.footer-col p { color: #eaf3fb; font-size: 14px; margin: 0 0 16px; }
.footer-col a.learn { color: #fff; text-decoration: underline; font-size: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #eaf3fb; font-size: 15px; transition: color .2s ease; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact .fc-line { display: flex; gap: 12px; margin-bottom: 18px; }
.footer-contact .fc-ic {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
}
.footer-contact .fc-ic svg { width: 17px; height: 17px; fill: #fff; }
.footer-contact .fc-line .lbl { color: #eaf3fb; font-size: 13px; }
.footer-contact .fc-line .val { color: #fff; font-size: 15px; }
.footer-contact .fc-line .val a { color: #fff; }
.footer-bar { background: var(--orange); text-align: center; padding: 12px; }
.footer-bar p { margin: 0; color: #fff; font-size: 13px; }

/* ---------- Motion (pure CSS, always ends visible) ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-up { animation: fadeUp .7s ease both; }
.anim-in { animation: fadeIn .9s ease both; }
.d1 { animation-delay: .12s; }
.d2 { animation-delay: .24s; }
.d3 { animation-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-photo { max-width: 480px; }
  .cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }
  .header-right {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
    box-shadow: 0 12px 20px rgba(0,0,0,.08);
    display: none;
  }
  .header-right.open { display: flex; }
  .main-nav { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-slide { height: 460px; }
  .hero-overlay { background: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (min-width: 761px) {
  .header-right { display: flex; align-items: center; gap: 26px; }
}
