/* ============================================================
   Galino Solutions — Shared Stylesheet
   Palette: deep navy + white, warm brass accent (from the GS roofline)
   ============================================================ */

:root {
  --navy-deep: #08152b;
  --navy: #0f2142;
  --navy-mid: #16294d;
  --navy-light: #23406f;
  --sky: #7ea6d6;
  --gold: #c9a24b;
  --gold-dim: #a9862f;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --ink: #12203a;
  --muted: #5c6a84;
  --border: #e2e7f0;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-w: 1180px;
  --radius: 10px;
  --shadow: 0 18px 40px -18px rgba(8, 21, 43, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section {
  padding: 88px 0;
}
.section--tight { padding: 64px 0; }
.section--navy {
  background: var(--navy);
  color: #dce4f2;
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--offwhite { background: var(--off-white); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; }
.section--navy .section-head p { color: #b9c6dd; }

/* ---------- Roofline signature divider ---------- */
.roofline {
  width: 100%;
  height: 46px;
  display: block;
  line-height: 0;
}
.roofline--to-navy { fill: var(--navy); }
.roofline--to-white { fill: var(--white); }
.roofline--to-offwhite { fill: var(--off-white); }
.roofline-flip { transform: scaleY(-1); }

/* roof-shaped bullet used across checklists */
ul.roof-list { list-style: none; padding: 0; margin: 0; }
ul.roof-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink);
}
ul.roof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 10px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.section--navy ul.roof-list li { color: #dce4f2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover { background: #dab35c; box-shadow: 0 12px 24px -10px rgba(201,162,75,.6); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 21, 43, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand .logo-mark { height: 46px; width: auto; flex-shrink: 0; }
.brand-text {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.1;
}
.brand-text strong { display: block; font-size: 16px; letter-spacing: .02em; }
.brand-text span { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #dce4f2;
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width .2s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 18px; }

.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  padding: 3px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
}
.lang-toggle button {
  background: transparent;
  border: none;
  color: #b9c6dd;
  padding: 6px 13px;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  transition: background .2s ease, color .2s ease;
}
.lang-toggle button.active {
  background: var(--gold);
  color: var(--navy-deep);
}

.page-links {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,.06);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.14);
}
.page-links a {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  color: #b9c6dd;
}
.page-links a.current {
  background: var(--navy-light);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
}

/* ---------- Page load / transition animation ---------- */
body {
  opacity: 0;
}
body.page-loaded {
  opacity: 1;
  transition: opacity .45s ease;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-inner .eyebrow,
.hero-inner h1,
.hero-inner .lead,
.hero-inner .hero-ctas,
.hero-inner .hero-stats {
  opacity: 0;
}
body.page-loaded .hero-inner .eyebrow    { animation: fadeSlideUp .7s ease forwards .1s; }
body.page-loaded .hero-inner h1          { animation: fadeSlideUp .7s ease forwards .22s; }
body.page-loaded .hero-inner .lead       { animation: fadeSlideUp .7s ease forwards .34s; }
body.page-loaded .hero-inner .hero-ctas  { animation: fadeSlideUp .7s ease forwards .46s; }
body.page-loaded .hero-inner .hero-stats { animation: fadeSlideUp .7s ease forwards .58s; }

@media (prefers-reduced-motion: reduce) {
  body, body.page-loaded { opacity: 1 !important; transition: none !important; }
  .hero-inner .eyebrow, .hero-inner h1, .hero-inner .lead,
  .hero-inner .hero-ctas, .hero-inner .hero-stats {
    opacity: 1 !important; animation: none !important; transform: none !important;
  }
}


.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 110px 0;
}
.hero-watermark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 640px;
  max-width: 48vw;
  opacity: .07;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-inner { max-width: 700px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 4.4vw, 56px);
  margin-bottom: 20px;
}
.hero p.lead {
  font-size: 18px;
  color: #c4d0e5;
  margin-bottom: 34px;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px;}
.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 26px;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
}
.hero-stats div span { font-size: 13px; color: #b9c6dd; }

/* ---------- Service cards ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card .icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--off-white);
  color: var(--navy);
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; stroke: var(--navy); }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Inspection service (highlighted) cards */
.insp-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.insp-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(201,162,75,.28), transparent 70%);
}
.insp-card .tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,162,75,.14);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.insp-card h3 { color: var(--white); font-size: 21px; }
.insp-card p { color: #c4d0e5; font-size: 14.5px; }
.insp-card ul { margin: 16px 0 0; padding-left: 18px; color: #c4d0e5; font-size: 13.5px; }
.insp-card ul li { margin-bottom: 6px; }

/* ---------- Photo placeholder blocks ---------- */
.photo-slot {
  border: 1.5px dashed #b9c3d6;
  border-radius: var(--radius);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  min-height: 220px;
  padding: 20px;
}
.photo-slot .ph-inner { display:flex; flex-direction:column; align-items:center; gap:10px; }
.photo-slot svg { width: 30px; height: 30px; stroke: #97a3ba; }

/* ---------- Two column with photo ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-photo { order: 2; }

/* ---------- Timeline / process ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.timeline .step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.timeline .step .roof-mark {
  width: 0; height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 14px solid var(--gold);
  margin-bottom: 14px;
}
.timeline .step h4 { font-size: 15.5px; margin-bottom: 8px; color: var(--navy); }
.timeline .step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Accordion (What is inspected) ---------- */
.accordion { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.acc-trigger .plus {
  width: 20px; height: 20px;
  position: relative;
  flex-shrink: 0;
}
.acc-trigger .plus::before, .acc-trigger .plus::after {
  content: "";
  position: absolute;
  background: var(--gold-dim);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.acc-trigger .plus::before { width: 14px; height: 2px; }
.acc-trigger .plus::after { width: 2px; height: 14px; transition: transform .2s ease; }
.acc-item.open .plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.acc-panel-inner { padding: 0 4px 22px; color: var(--muted); font-size: 14.5px; }
.acc-panel-inner ul { margin: 0; padding-left: 18px; }
.acc-panel-inner li { margin-bottom: 6px; }

/* ---------- Checklist grid (move-in) ---------- */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 34px;
}

/* ---------- Form ---------- */
.form-panel {
  background: var(--navy);
  border-radius: 16px;
  padding: 54px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.form-panel::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,162,75,.16), transparent 70%);
}
.form-side h2 { color: var(--white); }
.form-side p { color: #c4d0e5; font-size: 15px; }
.form-side .contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 14.5px;
  color: #dce4f2;
}
.form-side .contact-row svg { width: 18px; height: 18px; stroke: var(--gold); flex-shrink: 0; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #b9c6dd;
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: #7c8aa6; }
.field select option { color: #000; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.form-note { font-size: 12.5px; color: #93a2bd; margin-top: 4px; }
.form-success {
  display: none;
  background: rgba(201,162,75,.14);
  border: 1px solid rgba(201,162,75,.4);
  color: var(--gold);
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-top: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #b9c6dd;
  padding: 56px 0 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .logo-mark { height: 42px; width: auto; }
.footer-brand strong { color: var(--white); font-family: var(--font-display); font-size: 16px; }
.site-footer p { font-size: 13.5px; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--gold); }

.social-row { display: flex; gap: 12px; margin-top: 4px; }
.social-row a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  transition: background .2s ease, transform .2s ease;
}
.social-row a:hover { background: var(--gold); transform: translateY(-3px); }
.social-row a svg { width: 19px; height: 19px; stroke: var(--white); }
.social-row a:hover svg { stroke: var(--navy-deep); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 12.5px;
  color: #7c8aa6;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Whatsapp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.4);
  z-index: 90;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }

/* ---------- Utility ---------- */
.center-text { text-align: center; }
.mt-lg { margin-top: 60px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links, .page-links, .nav-right .lang-toggle { display: none; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .form-panel { grid-template-columns: 1fr; padding: 36px 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .split-photo { order: -1; }
  .hero { min-height: unset; padding: 120px 0 70px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .grid-3, .grid-2, .timeline { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }
  .hero { padding: 108px 0 56px; text-align: left; }
  .hero-stats { gap: 18px 26px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field { grid-column: 1 / -1; }
  .form-panel { padding: 28px 20px; border-radius: 12px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 34px; }
  .nav { padding: 10px 16px; }
  .brand .logo-mark { height: 36px; }
  .brand-text strong { font-size: 14.5px; }
  .brand-text span { font-size: 9.5px; }
  h1 { word-break: break-word; }
  .card { padding: 24px 20px; }
  .insp-card { padding: 28px 22px; }
  .acc-trigger { font-size: 15px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 25px; height: 25px; }
}

@media (max-width: 400px) {
  .hero-stats { flex-direction: column; gap: 14px; }
  .hero-stats div { display: flex; align-items: baseline; gap: 8px; }
}

/* Mobile nav drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-deep);
  padding: 10px 24px 24px;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #dce4f2;
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-menu .page-links { display: flex; margin-top: 12px; background:none; border:none; padding:0; gap:10px;}
.mobile-menu .page-links a { border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 10px; text-align:center; flex:1; }
.mobile-menu .lang-toggle { margin-top: 12px; align-self: flex-start; }
