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

:root {
  --accent: #e8632a;
  --dark: #111;
  --mid: #555;
  --light: #f2f2f0;
  --border: #e0e0e0;
  --white: #fff;
  --radius: 14px;
  --transition: 0.3s ease;
  --pad: clamp(1.2rem, 5vw, 3rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
}

/* ─────────────────────────────
   NAVBAR
───────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); }

.nav-brand { font-size: 1.05rem; font-weight: 700; color: var(--dark); letter-spacing: 0.3px; }
.nav-location { font-size: 0.8rem; color: var(--mid); }

.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--dark); text-decoration: none; font-size: 0.88rem;
  font-weight: 400; cursor: pointer; transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; color: var(--dark); font-size: 1.3rem; cursor: pointer; padding: 0.2rem; }

.mobile-menu {
  display: none;
  flex-direction: column; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white);
  list-style: none;
  border-bottom: 1px solid var(--border);
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-menu.open { display: flex; max-height: 300px; }
.mobile-menu li a {
  display: block; padding: 0.9rem var(--pad);
  color: var(--dark); text-decoration: none; font-size: 1rem;
  cursor: pointer; border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.mobile-menu li:last-child a { border-bottom: none; }
.mobile-menu li a:hover { background: var(--light); }

@media (max-width: 768px) {
  .nav-location { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ─────────────────────────────
   HERO
───────────────────────────── */
.hero {
  min-height: 100svh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative;
  transition: background-image 1.2s ease-in-out;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.42); }
.hero-content { position: relative; z-index: 1; max-width: 760px; padding: 6rem var(--pad) 3rem; width: 100%; }

.hero-sub {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 0.75rem; letter-spacing: 2.5px;
  text-transform: uppercase; padding: 0.35rem 1rem;
  border-radius: 50px; margin-bottom: 1.2rem;
  backdrop-filter: blur(4px);
}
.hero-content h1 {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 700; line-height: 1.05;
  color: #fff; margin-bottom: 1rem; letter-spacing: -1px;
}
.hero-content h1 span { color: #f5c97a; }
.hero-desc {
  color: rgba(255,255,255,0.8); font-size: clamp(0.9rem, 2vw, 1rem);
  margin-bottom: 2rem; line-height: 1.7;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────
   BUTTONS
───────────────────────────── */
.btn-primary {
  background: var(--dark); color: var(--white);
  border: none; padding: 0.8rem 1.8rem; border-radius: 50px;
  font-weight: 500; font-size: 0.88rem; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { background: #333; transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55); padding: 0.8rem 1.8rem; border-radius: 50px;
  font-weight: 500; font-size: 0.88rem; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ─────────────────────────────
   SECTION SHARED
───────────────────────────── */
.section { padding: 5rem var(--pad); }

.section-header { margin-bottom: 2.5rem; }
.section-label {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--mid); font-size: 0.75rem;
  padding: 0.28rem 0.85rem; border-radius: 50px;
  margin-bottom: 0.8rem;
}
.section-header h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700; letter-spacing: -1.5px;
  line-height: 1; color: var(--dark);
}
.section-desc { color: var(--mid); font-size: 0.88rem; line-height: 1.6; max-width: 240px; }

.section-title-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 0.8rem;
}

/* ─────────────────────────────
   PORTFOLIO / GALLERY
───────────────────────────── */
.portfolio-section { background: var(--white); }

/* True CSS masonry */
.masonry-grid {
  columns: 3;
  column-gap: 10px;
}
.masonry-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); cursor: pointer;
  break-inside: avoid;
  margin-bottom: 10px;
  display: block;
}
.masonry-item img {
  width: 100%; display: block;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.04); }

.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 45%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; border-radius: var(--radius);
  opacity: 0; transition: opacity var(--transition);
}
.masonry-item:hover .card-overlay { opacity: 1; }
.card-overlay h3 { font-size: 0.88rem; color: #fff; font-weight: 600; }

@media (max-width: 900px) { .masonry-grid { columns: 2; } }
@media (max-width: 480px)  { .masonry-grid { columns: 1; } }

/* ─────────────────────────────
   LIGHTBOX
───────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.lightbox img {
  max-width: min(90vw, 900px); max-height: 85vh;
  border-radius: var(--radius); object-fit: contain;
}
.lb-caption { color: rgba(255,255,255,0.55); margin-top: 0.8rem; font-size: 0.88rem; }
.lb-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  font-size: 1.4rem; cursor: pointer; border-radius: 50%;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lb-close:hover { background: rgba(255,255,255,0.2); }

/* ─────────────────────────────
   STATS
───────────────────────────── */
.stats-section {
  background: var(--dark);
  display: flex; justify-content: space-around; flex-wrap: wrap;
  padding: 3rem var(--pad); gap: 1.5rem;
}
.stat { text-align: center; min-width: 100px; }
.stat h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: var(--white); letter-spacing: -1px; }
.stat p { color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; margin-top: 0.25rem; }

/* ─────────────────────────────
   SERVICES + CONTACT COMBINED
───────────────────────────── */
.services-contact-section { background: var(--light); padding: 5rem var(--pad); }

.sc-inner {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2.5rem;
  align-items: start;
}

/* Contact panel */
.sc-contact {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  display: flex; flex-direction: column; gap: 1.3rem;
  position: sticky; top: 80px;
}
.sc-contact .section-label {
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
}
.sc-contact h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--white); line-height: 1.1; letter-spacing: -0.3px;
}
.info-list { display: flex; flex-direction: column; gap: 1rem; }
.info-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.info-item i { color: rgba(255,255,255,0.35); font-size: 0.9rem; margin-top: 0.2rem; flex-shrink: 0; }
.info-item h4 { font-size: 0.72rem; font-weight: 600; margin-bottom: 0.12rem; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.38); }
.info-item p { color: rgba(255,255,255,0.82); font-size: 0.85rem; line-height: 1.45; }

.wa-cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: #25d366; color: #fff;
  padding: 0.75rem 1.4rem; border-radius: 50px;
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(37,211,102,0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-cta i { font-size: 1.15rem; }
.wa-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(37,211,102,0.45); }


/* Services panel */
.sc-services { display: flex; flex-direction: column; gap: 1.4rem; }
.sc-services .section-label { border-color: var(--border); color: var(--mid); }
.sc-services h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700; color: var(--dark); line-height: 1.1; letter-spacing: -0.5px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); transform: translateY(-3px); }
.service-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem; font-size: 1.05rem; color: var(--dark);
}
.service-card h3 { font-size: 0.92rem; font-weight: 600; margin-bottom: 0.35rem; }
.service-card p { color: var(--mid); font-size: 0.82rem; line-height: 1.55; }

/* ─────────────────────────────
   RESPONSIVE — services+contact
───────────────────────────── */
@media (max-width: 1024px) {
  .sc-inner { grid-template-columns: 1fr 2fr; }
}
@media (max-width: 768px) {
  .sc-inner { grid-template-columns: 1fr; }
  .sc-contact { position: static; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────
   FOOTER
───────────────────────────── */
.footer {
  background: var(--white); text-align: center;
  padding: 1.8rem var(--pad);
  color: var(--mid); font-size: 0.8rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.footer a { color: var(--mid); text-decoration: underline; transition: color var(--transition); }
.footer a:hover { color: var(--dark); }

/* ─────────────────────────────
   WHATSAPP FLOAT
───────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 150;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,0.38);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 26px rgba(37,211,102,0.55); }
.wa-tooltip {
  position: absolute; right: 62px;
  background: var(--dark); color: #fff;
  padding: 0.3rem 0.7rem; border-radius: 6px;
  font-size: 0.76rem; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ─────────────────────────────
   GLOBAL MOBILE TWEAKS
───────────────────────────── */
@media (max-width: 600px) {
  .section { padding: 3.5rem var(--pad); }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
  .stats-section { gap: 1rem; padding: 2.5rem var(--pad); }
  .stat h2 { font-size: 2rem; }
  .section-title-row { flex-direction: column; align-items: flex-start; }
  .section-desc { max-width: 100%; }
  .footer { padding: 1.5rem var(--pad); }
  .wa-tooltip { display: none; }
}
