/* ============================================================
   Veloz Solutions — shared stylesheet
   ============================================================ */
:root {
  --green: #0e5a34;
  --green-2: #209641;
  --green-3: #0b3f28;
  --pink: #e6549d;
  --pink-2: #ff6ab3;
  --ink: #133325;
  --muted: #647067;
  --line: rgba(230, 84, 157, 0.28);
  --paper: #ffffff;
  --soft: #f7faf8;
  --shadow: 0 22px 65px rgba(10, 42, 27, 0.13);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 30px; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 900;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--green);
  font-weight: 900;
}
.section-copy {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 690px;
  margin-top: 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 7px;
  padding: 15px 22px;
  min-height: 50px;
  font-weight: 900;
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--pink), #ef478f);
  box-shadow: 0 15px 35px rgba(230, 84, 157, 0.28);
}
.button-primary:hover { box-shadow: 0 18px 45px rgba(230, 84, 157, 0.36); }
.button-ghost {
  color: var(--green);
  background: transparent;
  padding-left: 0;
}
.button-ghost span.icon-circle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pink);
  border-radius: 999px;
  color: var(--pink);
}
.arrow { font-size: 1.1rem; line-height: 1; }

/* ── Header / Nav ── */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 90, 52, .08);
}
.nav-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 42px;
  display: grid;
  grid-template-columns: 190px 1fr 150px;
  align-items: center;
  gap: 24px;
}
.logo img { width: 158px; height: auto; }
nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  align-items: center;
}
nav a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #303b36;
  text-transform: uppercase;
  padding: 12px 0;
  transition: color .25s ease;
}
nav a:hover, nav a.active { color: var(--pink); }
nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--pink);
  transform: translateX(-50%);
  transition: width .25s ease;
}
nav a:hover::after, nav a.active::after { width: 100%; }

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(14,90,52,.14);
  background: #f4faf6;
  border-radius: 999px;
  margin-left: 8px;
  flex: 0 0 auto;
}
.lang-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #315143;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
  font-size: .7rem;
  line-height: 1;
  letter-spacing: .02em;
  padding: 8px 9px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.lang-button:hover { transform: translateY(-1px); color: var(--pink); }
.lang-button.is-active {
  background: var(--green);
  color: white;
  box-shadow: 0 5px 14px rgba(14,90,52,.16);
}
.lang-button:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
/* mobile toggle hidden by default — must sit AFTER .language-toggle to win the cascade */
.mobile-lang-toggle { display: none; }

/* ── Homepage Hero ── */
.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #d7eef3;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.93) 0%, rgba(255,255,255,0.78) 31%, rgba(255,255,255,0.12) 56%, rgba(255,255,255,0.02) 100%), url('../assets/auckland.jpeg');
  background-size: cover;
  background-position: center 58%;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 13% 24%, rgba(230,84,157,.14), transparent 32%), linear-gradient(180deg, transparent 0%, rgba(255,255,255,.14) 100%);
  z-index: -1;
  pointer-events: none;
}
.hero-content { max-width: 560px; padding: 84px 0 100px; }
.hero h1 {
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.93;
  letter-spacing: -0.07em;
  color: var(--green);
  font-weight: 900;
  margin-bottom: 28px;
}
.hero h1 em {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--pink);
  font-size: 0.92em;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero p {
  max-width: 430px;
  color: #315143;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 35px;
}
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ── Inner Page Hero ── */
.page-hero {
  background: var(--green);
  padding: clamp(56px, 9vw, 104px) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 44%, rgba(255,255,255,.09), transparent 18%),
              repeating-radial-gradient(circle at 82% 46%, rgba(255,255,255,.06), rgba(255,255,255,.06) 1px, transparent 1px, transparent 17px);
  opacity: .42;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--pink-2); }
.page-hero h1 {
  color: white;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 900;
  margin: 0 0 18px;
  max-width: 800px;
}
.page-hero .page-hero-sub {
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  font-weight: 600;
  max-width: 560px;
  line-height: 1.72;
}

/* ── Services intro (homepage) ── */
.services-intro { padding: 72px 0 64px; background: var(--paper); text-align: center; }
.services-intro .section-title { font-size: clamp(2rem, 3vw, 2.9rem); }
.mini-line {
  width: 64px;
  height: 3px;
  background: var(--pink);
  border-radius: 999px;
  margin: 22px auto 0;
  opacity: .72;
}
.what-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14,90,52,.05);
}
.what-card {
  padding: 14px 28px 6px;
  min-height: 210px;
  border-right: 1px solid var(--line);
}
.what-card:last-child { border-right: 0; }
.what-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 24px;
  color: var(--green);
}
.what-card h3 {
  color: var(--green);
  font-size: 0.86rem;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 16px;
}
.what-card p { color: #44544d; font-size: 0.91rem; line-height: 1.68; }

/* ── Services full-page cards ── */
.services-full { padding: 72px 0 88px; }
.services-full-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.service-card-full {
  background: var(--soft);
  border-radius: 20px;
  padding: 38px 34px;
  border: 1px solid rgba(14,90,52,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card-full:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service-card-full .what-icon { margin: 0 0 22px; }
.service-card-full h3 {
  color: var(--green);
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: -0.01em;
}
.service-card-full p { color: #44544d; font-size: .97rem; line-height: 1.74; }

/* ── Split About ── */
.split-about {
  display: grid;
  grid-template-columns: minmax(330px, 42%) 1fr;
  min-height: 530px;
  background: var(--green);
}
.about-panel {
  position: relative;
  padding: clamp(46px, 7vw, 84px) clamp(32px, 7vw, 78px);
  color: white;
  overflow: hidden;
}
.about-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 44%, rgba(255,255,255,.09), transparent 8%, transparent 16%), repeating-radial-gradient(circle at 82% 46%, rgba(255,255,255,.06), rgba(255,255,255,.06) 1px, transparent 1px, transparent 17px);
  opacity: .42;
}
.about-panel > * { position: relative; z-index: 1; }
.about-panel .eyebrow { color: var(--pink-2); }
.about-panel h2 {
  color: white;
  font-size: clamp(2.2rem, 4.3vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin-bottom: 32px;
  font-weight: 900;
}
.pink-rule { width: 76px; height: 3px; background: var(--pink); border-radius: 999px; margin-bottom: 36px; }
.about-panel p { color: rgba(255,255,255,.84); max-width: 470px; font-weight: 600; }
.about-panel p + p { margin-top: 16px; }
.about-panel em { color: white; font-style: italic; font-weight: 800; }
.about-panel .button { margin-top: 34px; }
.about-image { position: relative; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Approach ── */
.approach { padding: 78px 0 50px; background: var(--paper); text-align: center; }
.process-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  text-align: left;
}
.process-card { position: relative; min-height: 165px; }
.process-number {
  color: var(--pink);
  font-size: 2.55rem;
  line-height: 1;
  font-weight: 300;
  margin-bottom: 18px;
}
.process-card h3 {
  color: var(--green);
  font-size: 0.86rem;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 10px;
}
.process-card p { font-size: .91rem; color: #4d5d55; font-weight: 600; }
.process-card:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -20px;
  top: 58px;
  color: var(--pink);
  font-size: 3rem;
  font-weight: 200;
}

/* ── Gallery strip ── */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  background: white;
  padding: 6px;
}
.gallery-strip figure {
  position: relative;
  aspect-ratio: 1 / .78;
  overflow: hidden;
  background: #ddd;
}
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-strip figure:hover img { transform: scale(1.06); }
.gallery-strip figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: white;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
  opacity: .95;
}

/* ── Insights ── */
.insights {
  padding: 90px 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(230,84,157,.09), transparent 28%),
    linear-gradient(180deg, #fff, #f6faf7);
}
.insights-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 36px; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.insight-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14,90,52,.08);
}
.insight-card img { width: 100%; height: 230px; object-fit: cover; }
.insight-body { padding: 28px; }
.insight-body span { color: var(--pink); font-size: .73rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 900; }
.insight-body h3 { font-size: 1.22rem; color: var(--green); margin: 10px 0 10px; line-height: 1.28; }
.insight-body p { color: var(--muted); font-size: .95rem; }

/* ── Footer CTA ── */
.footer-cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-3) 100%);
  color: white;
  padding: 54px 0;
}
.footer-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.25fr 1fr;
  gap: 32px;
  align-items: center;
}
.footer-cta h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -0.04em; }
.footer-cta .pink-rule { margin: 20px 0 0; }
.footer-cta p { color: rgba(255,255,255,.8); font-weight: 700; }
.contact-mini { display: grid; gap: 12px; color: rgba(255,255,255,.82); font-weight: 700; font-size: .93rem; }
.contact-mini a { color: rgba(255,255,255,.88); }
.footer-logo img { width: 180px; margin-left: auto; display: block; }
.socials { display: flex; justify-content: flex-end; gap: 14px; margin-top: 20px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: white;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.socials a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230,84,157,.32); background: var(--pink-2); }
.socials a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.socials svg { width: 19px; height: 19px; display: block; }

/* ── Contact section ── */
.contact-section {
  padding: 92px 0;
  background: linear-gradient(135deg, #0b2f1f 0%, #101b16 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(12, 47, 31, .94), rgba(12, 47, 31, .86)), url('../assets/cathedral-cove.jpeg');
  background-size: cover;
  background-position: center;
  opacity: .45;
}
.contact-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.contact-section .section-title { color: white; }
.contact-section .section-copy { color: rgba(255,255,255,.78); }
.contact-details { margin-top: 44px; display: grid; gap: 22px; }
.contact-detail-item strong { display: block; color: var(--pink-2); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px; }
.contact-detail-item p, .contact-detail-item a { color: rgba(255,255,255,.86); font-weight: 700; }
.contact-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 26px 90px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
}
.contact-card h3 { font-size: 1.5rem; margin-bottom: 26px; color: white; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 800; color: white; font-size: .9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.09);
  color: white;
  border-radius: 10px;
  padding: 14px 15px;
  font: inherit;
  font-size: .98rem;
  outline: 0;
  transition: border .25s ease, background .25s ease, box-shadow .25s ease;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select option { background: #102319; color: white; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--pink);
  background: rgba(255,255,255,.13);
  box-shadow: 0 0 0 4px rgba(230,84,157,.12);
}
.verify-row { display: flex; gap: 12px; margin-bottom: 10px; }
#codeDisplay {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(230, 84, 157, 0.42);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--pink-2);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', monospace !important;
  user-select: none;
}
#refreshCode { min-width: 122px; padding: 12px 16px; background: rgba(255,255,255,.11); color: white; box-shadow: none; border: 1px solid rgba(255,255,255,.16); }
#verificationCode { text-transform: uppercase; letter-spacing: 2px; font-weight: 800; font-family: 'Courier New', monospace !important; }
.form-submit { width: 100%; margin-top: 10px; }
.form-status { margin-top: 16px; padding: 14px; border-radius: 10px; text-align: center; display: none; font-weight: 800; }
.form-status.success { background-color: rgba(34,197,94,.18); color: #a7f3d0; display: block; }
.form-status.error { background-color: rgba(239,68,68,.18); color: #fecaca; display: block; }

/* ── Footer ── */
footer { background: #07180f; color: rgba(255,255,255,.58); font-size: .88rem; }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding: 24px 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 1050px) {
  .nav-wrap { grid-template-columns: 160px 1fr; padding: 18px 24px; }
  .nav-cta { display: none; }
  nav { justify-content: flex-end; gap: 22px; }
  .what-grid { grid-template-columns: repeat(2, 1fr); }
  .what-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:not(:last-child)::after { display: none; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .insight-grid, .contact-layout, .split-about, .footer-cta-grid { grid-template-columns: 1fr; }
  .footer-logo img, .socials { margin-left: 0; justify-content: flex-start; }
  .about-image { min-height: 410px; }
  .services-full-grid { grid-template-columns: 1fr; }
}
@media (max-width: 740px) {
  .container { padding: 0 22px; }
  .nav-wrap { display: flex; flex-wrap: wrap; align-items: center; padding: 14px 22px; gap: 0; }
  .logo { flex: 0 0 auto; }
  .mobile-lang-toggle { display: inline-flex !important; margin-left: auto; }
  .desktop-lang-toggle { display: none !important; }
  nav { flex-basis: 100%; margin-top: 14px; justify-content: flex-start; overflow-x: auto; gap: 20px; padding-bottom: 6px; }
  nav a { flex: 0 0 auto; }
  .hero { min-height: 615px; }
  .hero::before { background-image: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 58%, rgba(255,255,255,.38) 100%), url('../assets/auckland.jpeg'); background-position: center top; }
  .hero-content { padding: 72px 0; }
  .hero-actions { align-items: stretch; gap: 14px; flex-direction: column; max-width: 280px; }
  .button-ghost { padding-left: 0; justify-content: flex-start; }
  .what-grid, .process-grid, .gallery-strip, .insight-grid, .services-full-grid { grid-template-columns: 1fr; }
  .what-card { padding: 26px 20px; }
  .gallery-strip figure { aspect-ratio: 1.35 / 1; }
  .insights-head { display: block; }
  .verify-row { flex-direction: column; }
  #refreshCode { width: 100%; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 8px; }
}
