/* CIDE HERO SECTION — Source of Truth Stylesheet    v2 — Updated with CTA buttons and side divider    Last updated: 2026-03-06    ============================================================ */


/* ------------------------------------------------------------
   DESIGN TOKENS
   Include this :root block on every page stylesheet.
   ------------------------------------------------------------ */
:root {
  /* Brand colors */
  --cu-gold:          #CFB87C;
  --cu-gold-hover:    #A59669;
  --cu-sandstone:     #F1EAD8;

  /* Text */
  --text-dark:        #2C2A29;
  --text-muted:       #6b7280;

  /* Backgrounds */
  --bg-gray:          #f8f8f8;
  --bg-light-gray:    #f5f5f5;
  --white:            #FFFFFF;
  --black:            #000000;

  /* Borders */
  --border-light:       #eeeeee;
  --border-hairline:    #d1d5db;
  --border-interactive: #949494;
  --border-interactive: #949494;

  /* Misc */
  --testimonial-bg:   #1a1a1a;
  --teal:             #00535C;

  /* Hero layout */
  --hero-gap:         3rem;

  /* Focus-visible standard — apply to all focusable elements */
  --focus-outline:        3px solid rgba(0, 0, 0, .85);
  --focus-outline-offset: 3px;
}


/* ------------------------------------------------------------
   SECTION 1: HERO
   Sitefinity structure:
   container-fluid  > wrapper: cide-hero
     container      > (no extra class)
       grid-6+6     > Row: hero-row | Col1: col-lg-6 hero-col-left | Col2: col-lg-6 hero-col-right
         Content block > wrapper: hero-text-content
           <h1>
           <p>
           [Optional] Tag / anchor links:
             <div class="cide-tag-container">
               <a href="#anchor" class="tag">Label</a>
             </div>
           [Optional] CTA buttons:
             <div class="cide-hero-cta">
               <a class="cide-hero-btn cide-hero-btn-primary">...</a>
               <a class="cide-hero-btn cide-hero-btn-secondary">...</a>
               <a class="cide-hero-btn cide-hero-btn-outline">...</a>
             </div>
         Image widget > Responsive (no custom class — styled via .hero-col-right img)

   NOTE: Remove these Bootstrap utility classes from Sitefinity —
   they are now owned by this stylesheet:
     - border-bottom and shadow-sm  (on container-fluid)
     - pt-4 and pb-5                (on container)
     - my-3                         (on grid row)
   ------------------------------------------------------------ */


/* --- Section wrapper --- */
.cide-hero {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-hairline);
}

.cide-hero > .container {
  padding-top: 40px;
  padding-bottom: 64px;
}


/* --- Two-column row with faded vertical center divider --- */
.hero-row {
  position: relative;
  z-index: 0;
}

.hero-row::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-0.5px);
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.15),
    transparent
  );
  pointer-events: none;
  z-index: 2;
}


/* --- Left-edge faded vertical divider --- */
.hero-divider-fade {
  position: relative;
}

.hero-divider-fade::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.15),
    transparent
  );
}


/* --- Column spacing --- */
.hero-col-left {
  padding-right: var(--hero-gap);
}

.hero-col-right {
  padding-left: var(--hero-gap);
  display: flex;
  align-items: center;
  justify-content: center;
}


/* --- Tagline (below h1) --- */
.cide-hero-tagline,
.hero-text-content .sf-Long-text .cide-hero-tagline,
.hero-text-content .t-contentBlock .cide-hero-tagline {
  font-size: 1.4rem !important;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}


/* --- Text content --- */
.hero-text-content h1 {
  color: #000;
  font-size: 2.7rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-text-content h2 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #2b2b2b;
  line-height: 1.3;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}

.hero-text-content h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #2b2b2b;
  margin-top: 0.85rem;
  margin-bottom: 1rem;
}

.hero-text-content p {
  color: #000;
  font-size: 1.15rem;
  line-height: 1.5;
}


/* --- Tag / anchor link buttons --- */
.cide-tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
}

.cide-tag-container a.tag {
  display: block;
  flex: 1 1 auto;
  text-align: center;
  padding: 8px 16px;
  font-size: 1.1rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border-interactive);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cide-tag-container a.tag:hover,
.cide-tag-container a.tag:focus-visible {
  border-color: var(--cu-gold);
  background-color: rgba(207, 184, 124, 0.08);
}

.cide-tag-container a.tag:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}


/* --- CTA button row --- */
.cide-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  margin-top: 0.5rem;
  justify-content: flex-start;
}

/* Base button */
.cide-hero-cta .cide-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0.9rem 0.5rem;
  border-radius: 3px;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

/* No lift on hover or active */
.cide-hero-cta .cide-hero-btn:hover,
.cide-hero-cta .cide-hero-btn:active {
  transform: none;
  box-shadow: none;
}

/* Focus-visible standard — hover styles + outline */
.cide-hero-cta .cide-hero-btn:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}

/* Primary */
.cide-hero-cta .cide-hero-btn-primary {
  background: var(--cu-gold);
  border: 1px solid var(--cu-gold);
  color: #000;
}

.cide-hero-cta .cide-hero-btn-primary:hover,
.cide-hero-cta .cide-hero-btn-primary:focus-visible {
  background-color: #C3A65B;
  border-color: #c8b072;
}


/* --- Standalone gold CTA button (use anywhere in page body) ---
   Control position via wrapper:
     text-align: left   → left aligned
     text-align: center → centered
     text-align: right  → right aligned
   ------------------------------------------------------------ */
.cide-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 3px;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  background: var(--cu-gold);
  border: 1px solid var(--cu-gold);
  color: #000;
  box-shadow: none;
  transform: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.cide-cta-primary:hover,
.cide-cta-primary:focus-visible {
  background-color: #C3A65B;
  border-color: #c8b072;
  color: #000;
  text-decoration: none;
}

.cide-cta-primary:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}

.cide-cta-primary,
.cide-cta-primary:visited,
.cide-cta-primary:focus {
  color: #000;
  text-decoration: none;
}


/* --- CTA card buttons (icon + text) --- */
.cide-hero-cta-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 16px;
  max-width: 600px;
}

@media (min-width: 640px) {
  .cide-hero-cta-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.cide-hero-cta-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border-interactive);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  box-shadow: none;
  transform: none;
}

.cide-hero-cta-card:hover,
.cide-hero-cta-card:focus-visible {
  border-color: var(--cu-gold);
  background-color: rgba(207, 184, 124, 0.08);
  text-decoration: none;
}

.cide-hero-cta-card:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}

/* Icon circle */
.cide-hero-cta-card .cta-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--cu-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.cide-hero-cta-card:hover .cta-icon,
.cide-hero-cta-card:focus-visible .cta-icon {
  background-color: var(--cu-gold-hover);
}

.cide-hero-cta-card .cta-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #000;
  fill: none;
  stroke: currentColor;
}

/* Text */
.cide-hero-cta-card .cta-content {
  flex: 1;
}

.cide-hero-cta-card .cta-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #000;
  margin: 0 0 0.25rem 0;
}

.cide-hero-cta-card .cta-subtitle {
  font-size: 0.75rem;
  color: #595955;
  margin: 0;
}



.hero-col-right img {
  border-radius: 6px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}


/* --- Mobile: collapse divider, reset padding, hide right column --- */
@media (max-width: 991.98px) {
  .hero-row::after {
    display: none;
  }

  .hero-col-left,
  .hero-col-right {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-col-right {
    display: none;
  }

  .cide-hero-cta {
    flex-wrap: wrap;
  }
}


/* ------------------------------------------------------------
   UTILITY: BACKGROUND COLORS
   ------------------------------------------------------------ */

.cide-background-gray {
  background-color: var(--bg-light-gray);
}


/* ------------------------------------------------------------
   SECTION: HELP BLOCK (can't find what you're looking for)

   Sitefinity structure:
   container-fluid  > (dark background applied via Sitefinity)
     container      >
       Content block > h3 + p + .cide-help-btn-block
   ------------------------------------------------------------ */

.cide-help-btn-block {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  margin-top: 0.5rem;
  justify-content: center;
}

/* Base button */
.cide-help-btn-block a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transform: none;
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cide-help-btn-block a:visited,
.cide-help-btn-block a:focus {
  text-decoration: none;
}

.cide-help-btn-block a:hover,
.cide-help-btn-block a:active {
  transform: none;
  box-shadow: none;
}

/* Primary: Contact Us */
.cide-help-btn-block .cide-contact {
  background-color: var(--cu-gold);
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.cide-help-btn-block .cide-contact:hover,
.cide-help-btn-block .cide-contact:focus-visible {
  background-color: #C3A65B;
  border-color: #c8b072;
  color: #000;
}

/* Secondary: View All Services */
.cide-help-btn-block .cide-btn-services {
  background-color: var(--white);
  border: 2px solid var(--cu-gold);
  color: #000;
}

.cide-help-btn-block .cide-btn-services:hover,
.cide-help-btn-block .cide-btn-services:focus-visible {
  background-color: rgba(207, 184, 124, 0.10);
  border-color: var(--cu-gold);
  color: #000;
}

/* Focus-visible standard */
.cide-help-btn-block a:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}


/* ------------------------------------------------------------
   UTILITY CLASSES
   ------------------------------------------------------------ */

.cide-background-gray {
  background-color: var(--bg-light-gray);
}
