/*
Theme Name: Sydney Child — cloudrho
Theme URI: https://cloudrho.com
Template: sydney
Author: cloudrho
Author URI: https://cloudrho.com
Description: cloudrho brand child theme for Sydney. Engineering Business Value.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sydney-child
Tags: custom-logo, custom-menu, full-width-template
*/

/* ============================================================
   GOOGLE FONTS — MANROPE
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand palette */
  --cr-blue:          #0602A3;
  --cr-blue-light:    #1a18c4;
  --cr-blue-dark:     #040178;
  --cr-green:         #80C900;
  --cr-green-light:   #99db1a;
  --cr-green-dark:    #6aaa00;
  --cr-orange-sunset: #FF9E11;
  --cr-orange-fiery:  #FF611A;

  /* Aliases for backward compat */
  --cr-primary: var(--cr-blue);
  --cr-accent:  var(--cr-green);

  /* Neutrals */
  --cr-ink:     #1A1A1A;
  --cr-muted:   #5B6B7A;
  --cr-surface: #F5F7FA;
  --cr-line:    #E1E6EC;
  --cr-white:   #FFFFFF;

  /* Dark hero bg */
  --cr-dark-bg:  #0d0d2b;
  --cr-dark-bg2: #12123a;

  /* Typography */
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py: 96px;
  --section-py-md: 64px;
  --section-py-sm: 48px;

  /* Layout */
  --container: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 1px 3px rgba(11,61,107,.08), 0 8px 24px rgba(11,61,107,.06);
  --shadow-card-hover: 0 4px 12px rgba(11,61,107,.14), 0 16px 40px rgba(11,61,107,.12);
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--cr-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--cr-ink);
}

h4, h5, h6 { letter-spacing: -0.01em; }

a {
  color: var(--cr-blue);
  text-decoration: underline;
  transition: color .2s;
}
a:hover { color: var(--cr-green); }
a:focus-visible {
  outline: 2px solid var(--cr-green);
  outline-offset: 2px;
}

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

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.375rem); }
body, p { font-size: 1.0625rem; line-height: 1.65; }
small, .text-sm { font-size: 0.875rem; }

.cr-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cr-green);
  display: block;
  margin-bottom: 0.75rem;
}

.cr-stat-number {
  font-feature-settings: "tnum";
  font-weight: 800;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.cr-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   SYDNEY HEADER OVERRIDE — cloudrho brand
   ============================================================ */
#masthead,
.site-header {
  background: var(--cr-blue) !important;
  border-bottom: none !important;
}

#masthead.sticky-header {
  background: rgba(6, 2, 163, 0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Logo */
.custom-logo-link img,
.site-logo img {
  height: 36px !important;
  width: auto !important;
}

/* Nav links */
#site-navigation .nav-menu > li > a,
.main-navigation ul li a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.88) !important;
  letter-spacing: 0.01em;
  transition: color .2s;
  text-decoration: none;
}

#site-navigation .nav-menu > li > a:hover,
.main-navigation ul li a:hover,
#site-navigation .nav-menu > li.current-menu-item > a {
  color: var(--cr-green) !important;
}

/* Dropdown */
.main-navigation ul ul {
  background: var(--cr-blue-dark) !important;
  border: 1px solid rgba(128,201,0,.2);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  min-width: 200px;
}

.main-navigation ul ul li a {
  color: rgba(255,255,255,.85) !important;
  padding: 10px 20px !important;
  font-size: 0.875rem !important;
}

.main-navigation ul ul li a:hover {
  background: rgba(128,201,0,.15) !important;
  color: var(--cr-green) !important;
}

/* Header CTA button */
.header-cta-btn,
.cr-header-cta {
  background: var(--cr-green) !important;
  color: var(--cr-blue) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  padding: 10px 24px !important;
  border-radius: 4px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  display: inline-block;
  transition: background .2s, color .2s;
}

.cr-header-cta:hover {
  background: var(--cr-orange-sunset) !important;
  color: var(--cr-blue) !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.cr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.4;
}

.cr-btn:active { transform: translateY(1px); }

/* Primary: green fill, blue text */
.cr-btn--primary {
  background: var(--cr-green);
  color: var(--cr-blue);
  border-color: var(--cr-green);
}
.cr-btn--primary:hover {
  background: var(--cr-orange-sunset);
  border-color: var(--cr-orange-sunset);
  color: var(--cr-blue);
}
.cr-btn--primary:active {
  background: var(--cr-orange-fiery);
  border-color: var(--cr-orange-fiery);
}

/* White outline */
.cr-btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.cr-btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}

/* Blue outline */
.cr-btn--outline-blue {
  background: transparent;
  color: var(--cr-blue);
  border-color: var(--cr-blue);
}
.cr-btn--outline-blue:hover {
  background: var(--cr-blue);
  color: #fff;
}

.cr-btn--lg { padding: 16px 36px; font-size: 1rem; }
.cr-btn--sm { padding: 10px 20px; font-size: 0.8125rem; }

/* Elementor button integration */
.elementor-button.cr-primary-btn {
  background: var(--cr-green) !important;
  color: var(--cr-blue) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}
.elementor-button.cr-primary-btn:hover {
  background: var(--cr-orange-sunset) !important;
}

/* ============================================================
   HERO SECTION  (Sydney header area override)
   ============================================================ */
.cr-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--cr-dark-bg);
  overflow: hidden;
  padding: 120px 0 80px;
}

.cr-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cr-blue) 0%, var(--cr-dark-bg) 50%, #040150 100%);
  z-index: 0;
}

.cr-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(128,201,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128,201,0,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Floating orbs */
.cr-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: cr-float 8s ease-in-out infinite;
  pointer-events: none;
}
.cr-hero-orb-1 {
  width: 500px; height: 500px;
  background: var(--cr-blue-light);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
.cr-hero-orb-2 {
  width: 300px; height: 300px;
  background: var(--cr-green);
  bottom: 50px; left: 10%;
  animation-delay: 3s;
}
.cr-hero-orb-3 {
  width: 200px; height: 200px;
  background: var(--cr-orange-sunset);
  top: 40%; right: 25%;
  animation-delay: 5s;
}

@keyframes cr-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.cr-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.cr-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cr-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(128,201,0,.12);
  border: 1px solid rgba(128,201,0,.3);
  color: var(--cr-green);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cr-hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cr-green);
  animation: cr-pulse 2s ease-in-out infinite;
}

@keyframes cr-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.cr-hero-headline {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.cr-hero-headline-line { display: block; }

.cr-hero-headline-accent {
  color: var(--cr-green);
  position: relative;
}

.cr-hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.cr-hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cr-hero-visual {
  position: relative;
}

.cr-hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: transform .3s;
}

.cr-hero-card:hover { transform: translateX(-4px); }

.cr-hero-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.cr-hero-card-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cr-green);
  line-height: 1;
}

.cr-hero-card-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}

/* Stats strip at bottom of hero */
.cr-hero-stats {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(0,0,0,.3);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  margin-top: 80px;
}

.cr-hero-stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.cr-hero-stat {
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
  text-align: center;
}

.cr-hero-stat:last-child { border-right: none; }

.cr-hero-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cr-green);
  line-height: 1;
  font-feature-settings: "tnum";
}

.cr-hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  font-weight: 500;
}

/* ============================================================
   SECTION BASE STYLES
   ============================================================ */
.cr-section {
  padding: var(--section-py) 0;
}

.cr-section--surface {
  background: var(--cr-surface);
}

.cr-section--blue {
  background: var(--cr-blue);
  color: #fff;
}

.cr-section--dark {
  background: var(--cr-dark-bg);
  color: #fff;
}

.cr-section--blue h1,
.cr-section--blue h2,
.cr-section--blue h3,
.cr-section--blue h4,
.cr-section--dark h1,
.cr-section--dark h2,
.cr-section--dark h3,
.cr-section--dark h4 {
  color: #fff;
}

.cr-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.cr-section-title {
  margin-bottom: 1rem;
}

.cr-section-subtitle {
  font-size: 1.0625rem;
  color: var(--cr-muted);
  line-height: 1.7;
}

.cr-section--blue .cr-section-subtitle,
.cr-section--dark .cr-section-subtitle {
  color: rgba(255,255,255,.7);
}

/* ============================================================
   CARD GRID
   ============================================================ */
.cr-card-grid {
  display: grid;
  gap: 32px;
}

.cr-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cr-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cr-card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.cr-card {
  background: var(--cr-white);
  border: 1px solid var(--cr-line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.cr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--cr-green);
}

.cr-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(6,2,163,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--cr-blue);
}

.cr-card-icon svg { width: 28px; height: 28px; }

.cr-card h3, .cr-card h4 {
  color: var(--cr-blue);
  margin-bottom: 0.75rem;
}

.cr-card p { color: var(--cr-muted); font-size: 0.9375rem; line-height: 1.7; }

.cr-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cr-blue);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: 20px;
  transition: color .2s, gap .2s;
}

.cr-card-link:hover { color: var(--cr-green); gap: 10px; }

/* Service cards with image */
.cr-service-card {
  background: var(--cr-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s;
}

.cr-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.cr-service-card-img {
  height: 240px;
  background: linear-gradient(135deg, var(--cr-blue) 0%, var(--cr-blue-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cr-service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  mix-blend-mode: luminosity;
}

.cr-service-card-body { padding: 32px; }

.cr-service-card-body h3 { color: var(--cr-blue); margin-bottom: 0.75rem; }

.cr-service-card-body p { color: var(--cr-muted); margin-bottom: 1.5rem; line-height: 1.7; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.cr-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.cr-stat-item {
  text-align: center;
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.cr-section--surface .cr-stat-item { border-color: var(--cr-line); }

.cr-stat-item:last-child { border-right: none; }

.cr-stat-num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--cr-green);
  line-height: 1;
  font-feature-settings: "tnum";
  display: block;
}

.cr-section--surface .cr-stat-num { color: var(--cr-blue); }
.cr-section--blue .cr-stat-num { color: var(--cr-orange-sunset); }

.cr-stat-label {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 8px;
  color: var(--cr-muted);
  display: block;
}

.cr-section--blue .cr-stat-label { color: rgba(255,255,255,.75); }
.cr-section--dark .cr-stat-label { color: rgba(255,255,255,.65); }

/* ============================================================
   PILLAR / WHY SECTION (dark with dot-grid overlay)
   ============================================================ */
.cr-why-section {
  background: var(--cr-blue);
  position: relative;
  overflow: hidden;
  padding: var(--section-py) 0;
}

.cr-why-dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(128,201,0,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cr-why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: background .3s, border-color .3s, transform .3s;
}

.cr-why-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(128,201,0,.4);
  transform: translateY(-4px);
}

.cr-why-card .cr-card-icon {
  background: rgba(128,201,0,.15);
  color: var(--cr-green);
}

.cr-why-card h3 { color: #fff; }
.cr-why-card p { color: rgba(255,255,255,.7); }

/* ============================================================
   PARTNERS STRIP
   ============================================================ */
.cr-partners-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 16px 0;
}

.cr-partner-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: filter .3s;
}

.cr-partner-logo:hover { filter: grayscale(0%) opacity(1); }

/* ============================================================
   TESTIMONIALS CAROUSEL
   ============================================================ */
.cr-testimonial-card {
  background: var(--cr-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--cr-green);
}

.cr-testimonial-stars {
  color: var(--cr-orange-sunset);
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.cr-testimonial-quote {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--cr-ink);
  font-style: italic;
  margin-bottom: 24px;
}

.cr-testimonial-attr {
  font-weight: 600;
  color: var(--cr-blue);
  font-size: 0.9375rem;
}

.cr-testimonial-org {
  font-size: 0.875rem;
  color: var(--cr-muted);
  font-style: normal;
  margin-top: 2px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cr-cta-band {
  background: linear-gradient(135deg, var(--cr-blue) 0%, var(--cr-blue-dark) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  text-align: center;
}

.cr-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(128,201,0,.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cr-cta-band .cr-container { position: relative; z-index: 1; }

.cr-cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.cr-cta-band p {
  color: rgba(255,255,255,.75);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
}

/* ============================================================
   CONTACT FORM BAND
   ============================================================ */
.cr-contact-band {
  background: var(--cr-surface);
  padding: var(--section-py) 0;
}

.cr-contact-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cr-contact-band-left h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--cr-blue);
  margin-bottom: 1rem;
}

.cr-contact-band-left p {
  color: var(--cr-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cr-contact-band-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cr-blue);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color .2s;
}

.cr-contact-band-email:hover { color: var(--cr-green); }

.cr-contact-card {
  background: var(--cr-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

/* Contact Form 7 overrides */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--cr-line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--cr-ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-tel:focus,
.wpcf7-form .wpcf7-textarea:focus {
  border-color: var(--cr-blue);
  box-shadow: 0 0 0 3px rgba(6,2,163,.1);
}

.wpcf7-form .wpcf7-textarea { min-height: 120px; resize: vertical; }

.wpcf7-form label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--cr-ink);
  display: block;
  margin-bottom: 6px;
}

.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-bottom: 20px; }

.wpcf7-form input[type="submit"],
.wpcf7-submit {
  background: var(--cr-green);
  color: var(--cr-blue);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background .2s;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: var(--cr-orange-sunset);
}

.wpcf7-not-valid-tip { color: var(--cr-orange-fiery); font-size: 0.8125rem; margin-top: 4px; }
.wpcf7-response-output { padding: 12px 16px; border-radius: var(--radius); font-size: 0.875rem; margin-top: 16px; }
.wpcf7-mail-sent-ok { background: rgba(128,201,0,.1); border: 1px solid var(--cr-green); color: #2a6200; }
.wpcf7-validation-errors { background: rgba(255,97,26,.1); border: 1px solid var(--cr-orange-fiery); color: var(--cr-orange-fiery); }

/* ============================================================
   LEADERSHIP CARDS
   ============================================================ */
.cr-leader-card {
  background: var(--cr-white);
  border: 1px solid var(--cr-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.cr-leader-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cr-line);
}

.cr-leader-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--cr-surface);
  border: 3px solid var(--cr-line);
}

.cr-leader-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cr-blue) 0%, var(--cr-blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.cr-leader-info { flex: 1; }
.cr-leader-name { font-size: 1.125rem; font-weight: 700; color: var(--cr-blue); margin-bottom: 4px; }
.cr-leader-title { font-size: 0.875rem; color: var(--cr-muted); font-weight: 500; }
.cr-leader-bio { color: var(--cr-muted); font-size: 0.9375rem; line-height: 1.7; }

/* ============================================================
   VALUES GRID
   ============================================================ */
.cr-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.cr-value-card {
  padding: 36px;
  background: var(--cr-white);
  border-radius: var(--radius);
  border: 1px solid var(--cr-line);
  box-shadow: var(--shadow-card);
  transition: border-color .3s, transform .3s;
}

.cr-value-card:hover { border-color: var(--cr-green); transform: translateY(-2px); }

.cr-value-icon {
  width: 48px; height: 48px;
  background: rgba(6,2,163,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cr-blue);
  margin-bottom: 20px;
}

.cr-value-icon svg { width: 24px; height: 24px; }
.cr-value-card h3 { color: var(--cr-blue); margin-bottom: 0.75rem; font-size: 1.25rem; }
.cr-value-card p { color: var(--cr-muted); line-height: 1.7; font-size: 0.9375rem; }

/* ============================================================
   OFFICE LOCATIONS
   ============================================================ */
.cr-location-card {
  padding: 32px;
  background: var(--cr-white);
  border: 1px solid var(--cr-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.cr-location-city {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--cr-blue);
  margin-bottom: 4px;
}

.cr-location-country {
  font-size: 0.875rem;
  color: var(--cr-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.cr-location-address { color: var(--cr-muted); font-size: 0.9375rem; line-height: 1.7; }

.cr-location-contact { margin-top: 16px; }

.cr-location-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cr-blue);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color .2s;
}

.cr-location-contact a:hover { color: var(--cr-green); }

/* ============================================================
   INSIGHTS / RESOURCE CARDS
   ============================================================ */
.cr-resource-card {
  background: var(--cr-white);
  border: 1px solid var(--cr-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.cr-resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.cr-resource-card-img {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cr-blue) 0%, var(--cr-blue-dark) 100%);
  position: relative;
}

.cr-resource-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.cr-resource-card:hover .cr-resource-card-img img { transform: scale(1.04); }

.cr-resource-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.cr-resource-placeholder-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  line-height: 1.4;
}

.cr-resource-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cr-resource-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cr-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.cr-resource-type-badge {
  background: rgba(6,2,163,.08);
  color: var(--cr-blue);
  padding: 2px 8px;
  border-radius: 100px;
}

.cr-resource-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--cr-ink);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cr-resource-card-summary {
  font-size: 0.875rem;
  color: var(--cr-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 16px;
}

.cr-resource-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cr-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s, gap .2s;
  margin-top: auto;
}

.cr-resource-card-link:hover { color: var(--cr-green); gap: 8px; }

/* Filter pills */
.cr-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cr-filter-pill {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--cr-line);
  color: var(--cr-muted);
  background: var(--cr-white);
  transition: all .2s;
  letter-spacing: 0.02em;
}

.cr-filter-pill:hover,
.cr-filter-pill.active {
  background: var(--cr-green);
  border-color: var(--cr-green);
  color: var(--cr-blue);
}

/* ============================================================
   STEP PROCESS (4-step horizontal)
   ============================================================ */
.cr-process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.cr-process-step {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.cr-process-step::after {
  content: '';
  position: absolute;
  top: 52px;
  right: -2px;
  width: 4px;
  height: 32px;
  background: var(--cr-green);
  opacity: .4;
}

.cr-process-step:last-child::after { display: none; }

.cr-process-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(128,201,0,.2);
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}

.cr-process-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cr-process-body { color: rgba(255,255,255,.7); font-size: 0.9375rem; line-height: 1.65; }

/* ============================================================
   ACCORDION (for service tabs)
   ============================================================ */
.cr-accordion {
  border: 1px solid var(--cr-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.cr-accordion-item {
  border-bottom: 1px solid var(--cr-line);
}

.cr-accordion-item:last-child { border-bottom: none; }

.cr-accordion-toggle {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--cr-white);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cr-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background .2s;
}

.cr-accordion-toggle:hover { background: var(--cr-surface); }

.cr-accordion-toggle[aria-expanded="true"] {
  background: rgba(6,2,163,.04);
  color: var(--cr-blue);
}

.cr-accordion-toggle-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--cr-green);
  transition: transform .3s;
}

.cr-accordion-toggle[aria-expanded="true"] .cr-accordion-toggle-icon {
  transform: rotate(45deg);
}

.cr-accordion-body {
  padding: 24px;
  background: rgba(6,2,163,.02);
  display: none;
}

.cr-accordion-body.open { display: block; }
.cr-accordion-body p { color: var(--cr-muted); line-height: 1.7; }
.cr-accordion-body ul { color: var(--cr-muted); padding-left: 20px; line-height: 2; }

/* ============================================================
   PILL NAV (in-page anchor nav)
   ============================================================ */
.cr-pill-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-bottom: 1px solid var(--cr-line);
  margin-bottom: 64px;
}

.cr-pill-nav-link {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--cr-line);
  color: var(--cr-ink);
  background: var(--cr-white);
  transition: all .2s;
}

.cr-pill-nav-link:hover,
.cr-pill-nav-link.active {
  background: var(--cr-green);
  border-color: var(--cr-green);
  color: var(--cr-blue);
}

/* ============================================================
   HERO BAND (service pages, about, etc.)
   ============================================================ */
.cr-page-hero {
  background: linear-gradient(135deg, var(--cr-blue) 0%, var(--cr-dark-bg) 100%);
  color: #fff;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.cr-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(128,201,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128,201,0,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cr-page-hero .cr-container { position: relative; z-index: 1; }
.cr-page-hero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1.25rem; }
.cr-page-hero p { color: rgba(255,255,255,.8); font-size: 1.125rem; max-width: 680px; line-height: 1.75; }

/* ============================================================
   BLOCKQUOTE (Meet cloudrho)
   ============================================================ */
.cr-blockquote {
  border-left: 4px solid var(--cr-green);
  padding: 24px 32px;
  background: rgba(6,2,163,.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0;
}

.cr-blockquote-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--cr-ink);
  line-height: 1.75;
  margin-bottom: 16px;
}

.cr-blockquote-text::before { content: '\201C'; }
.cr-blockquote-text::after { content: '\201D'; }

.cr-blockquote-attr {
  font-weight: 600;
  color: var(--cr-blue);
  font-size: 0.875rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   TWO-COLUMN SPLIT SECTION
   ============================================================ */
.cr-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cr-split--reverse { direction: rtl; }
.cr-split--reverse > * { direction: ltr; }

.cr-split-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cr-blue) 0%, var(--cr-blue-dark) 100%);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cr-split-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: .6;
  mix-blend-mode: luminosity;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.cr-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}

.page-numbers {
  padding: 10px 16px;
  border: 1px solid var(--cr-line);
  border-radius: var(--radius);
  color: var(--cr-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all .2s;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--cr-blue);
  border-color: var(--cr-blue);
  color: #fff;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.cr-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.cr-404-num {
  font-size: 8rem;
  font-weight: 800;
  color: var(--cr-blue);
  opacity: .1;
  line-height: 1;
  margin-bottom: -40px;
}

.cr-404 h1 { font-size: 2.5rem; color: var(--cr-blue); margin-bottom: 1rem; }
.cr-404 p { color: var(--cr-muted); font-size: 1.0625rem; max-width: 480px; margin: 0 auto 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
#colophon {
  background: var(--cr-blue) !important;
  color: rgba(255,255,255,.8) !important;
}

.cr-footer {
  background: var(--cr-blue);
  color: rgba(255,255,255,.8);
  padding: 80px 0 0;
}

.cr-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
}

.cr-footer-logo img { height: 36px; width: auto; margin-bottom: 20px; }

.cr-footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 24px;
}

.cr-footer-col-title {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 20px;
}

.cr-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cr-footer-links li { margin-bottom: 10px; }

.cr-footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color .2s;
}

.cr-footer-links a:hover { color: var(--cr-green); }

.cr-footer-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cr-footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.4);
}

.cr-footer-legal {
  display: flex;
  gap: 24px;
}

.cr-footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .2s;
}

.cr-footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.cr-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.cr-animate.cr-visible {
  opacity: 1;
  transform: translateY(0);
}

.cr-animate-delay-1 { transition-delay: .1s; }
.cr-animate-delay-2 { transition-delay: .2s; }
.cr-animate-delay-3 { transition-delay: .3s; }
.cr-animate-delay-4 { transition-delay: .4s; }
.cr-animate-delay-5 { transition-delay: .5s; }
.cr-animate-delay-6 { transition-delay: .6s; }

/* ============================================================
   SYDNEY OVERRIDES (structural)
   ============================================================ */

/* Remove Sydney default page title bar */
.page-header.page-cover { display: none; }

/* Full-width Elementor pages */
.page-template-elementor_header_footer #primary,
.elementor-page #primary {
  padding: 0 !important;
  max-width: 100% !important;
}

/* Generic entry padding for non-Elementor pages */
.entry-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px;
}

/* Sydney widgets in footer */
.site-footer .widget-title {
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   ELEMENTOR INTEGRATION
   ============================================================ */

/* Make Elementor sections honor brand colors */
.elementor-section.cr-section-blue { background-color: var(--cr-blue) !important; }
.elementor-section.cr-section-surface { background-color: var(--cr-surface) !important; }
.elementor-section.cr-section-dark { background-color: var(--cr-dark-bg) !important; }

/* Elementor heading widget colors */
.elementor-widget-heading .elementor-heading-title { font-family: var(--font-sans) !important; }

/* Elementor text colors in dark sections */
.cr-section-blue .elementor-widget-text-editor,
.cr-section-dark .elementor-widget-text-editor { color: rgba(255,255,255,.8); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
  .cr-hero-inner { gap: 40px; }
  .cr-footer-top { gap: 48px; }
}

@media (max-width: 1024px) {
  :root { --section-py: var(--section-py-md); }

  .cr-hero-inner { grid-template-columns: 1fr; }
  .cr-hero-visual { display: none; }
  .cr-hero-headline { font-size: clamp(2.5rem, 7vw, 3.5rem); }

  .cr-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cr-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .cr-process-strip { grid-template-columns: repeat(2, 1fr); }

  .cr-split { grid-template-columns: 1fr; gap: 40px; }
  .cr-split--reverse { direction: ltr; }

  .cr-contact-band-inner { grid-template-columns: 1fr; gap: 40px; }

  .cr-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: var(--section-py-sm); }

  .cr-hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cr-hero-stat:nth-child(2) { border-right: none; }

  .cr-card-grid--2,
  .cr-card-grid--3 { grid-template-columns: 1fr; }
  .cr-values-grid { grid-template-columns: 1fr; }

  .cr-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .cr-stat-item:nth-child(even) { border-right: none; }

  .cr-process-strip { grid-template-columns: 1fr; }
  .cr-process-step::after { display: none; }

  .cr-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cr-footer-bar { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .cr-hero-cta-group { flex-direction: column; }
  .cr-hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cr-stats-strip { grid-template-columns: 1fr; }
  .cr-stat-item { border-right: none; border-bottom: 1px solid var(--cr-line); }
  .cr-section--blue .cr-stat-item { border-color: rgba(255,255,255,.1); }
}
