/* ========================================================
   Hubcreate Services & Contact Page Stylesheet
   Class names match service.html
   ======================================================== */

:root {
  --ink: #101828;
  --orange: #FF7A00;
  --yellow: #FFB300;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F2F4F7;
  --gray-200: #E4E7EC;
  --gray-500: #667085;
  --gray-600: #475467;

  --brand-gradient: linear-gradient(135deg, #FFB300 0%, #FF7A00 100%);

  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 6px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-glow: 0 6px 20px rgba(255, 122, 0, 0.28);

  --page-pad: 5vw;
  --max-w: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

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

/* ========================================================
   Navigation
   ======================================================== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px var(--page-pad);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav img {
  height: 40px;
  width: auto;
  min-width: 140px;
  object-fit: contain;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  color: var(--gray-600);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  border-color: var(--orange);
}

.nav a.contact {
  background: var(--ink);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 0;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav a.contact:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* ========================================================
   EN / FR language switcher (pill style, same as home page)
   ======================================================== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gray-500);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  background: var(--ink);
  color: var(--white);
}

/* ========================================================
   Banner
   ======================================================== */
.banner {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
  padding: 64px var(--page-pad) 48px;
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
}

.banner-tag,
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.banner h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: var(--max-w);
  margin: 0 auto;
}

.banner p {
  max-width: 600px;
  margin: 14px auto 0;
  font-size: 1.1rem;
  color: var(--gray-600);
}

/* ========================================================
   Services grid  (.services-grid > .card)
   ======================================================== */
.services-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px var(--page-pad);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 122, 0, 0.4);
}

.card-num {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 14px;
}

.card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.card p {
  color: var(--gray-600);
  font-size: 0.98rem;
}

/* ========================================================
   Contact section
   ======================================================== */
.contact-section {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 80px var(--page-pad) 96px;
  scroll-margin-top: 80px;
}

.contact-header,
.contact-grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.contact-header {
  margin-bottom: 36px;
}

.contact-header h2 {
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contact-header p {
  margin-top: 10px;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: 56px;
  align-items: start;
}

/* Form */
.form-wrapper iframe {
  display: block;
  width: 100%;
  height: 1180px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-fallback {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.form-fallback a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Direct contact card */
.direct-info {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.direct-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ink);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.direct-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 22px;
}

.info-list .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.info-list a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.info-list a:hover {
  color: var(--orange);
}

/* ========================================================
   Footer
   ======================================================== */
footer {
  background: #0B111D;
  color: #98A2B3;
  padding: 36px var(--page-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer-logo {
  height: 30px;
  width: auto;
  min-width: 110px;
  object-fit: contain;
}

footer a {
  color: #D0D5DD;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: var(--orange);
}

/* ========================================================
   Responsive
   ======================================================== */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-wrapper iframe {
    height: 1350px;
  }
  .nav ul {
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .nav {
    justify-content: center;
  }
  .nav ul {
    justify-content: center;
  }
  .services-grid {
    padding: 48px var(--page-pad);
  }
  .contact-section {
    padding: 56px var(--page-pad) 72px;
  }
}
