/* =============================================================
   CONTACT PAGE ADDITIONS
   Link after styles.css
   ============================================================= */

/* --- Hero wavelet - make it visible --- */
.page-hero {
    padding: 90px 0 80px;
    overflow: hidden;
}

.page-hero::before {
    opacity: 0.18;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: url('small_morlet_wavelet.png') center/contain no-repeat;
    opacity: 0.07;
    transform: rotate(160deg);
    pointer-events: none;
    z-index: 1;
}

/* --- Value strip (3-card row) --- */
.contact-value {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.contact-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-value-card {
    background: rgba(15, 23, 42, 0.028);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px 26px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.contact-value-card:hover::before { transform: scaleX(1); }

.contact-value-card:hover {
    border-color: var(--blue-500);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.contact-value-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-value-icon svg {
    width: 20px;
    height: 20px;
    color: var(--white);
    stroke: var(--white);
    stroke-width: 2;
}

.contact-value-card h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 10px;
    line-height: 1.3;
}

.contact-value-card p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--navy-600);
}

/* -------------------------------------------------------
   CONFIDENCE STRIP
   Light background so it reads as its own section,
   distinct from the dark hero above it.
   No wavelet image -- that motif is used elsewhere.
------------------------------------------------------- */
.contact-confidence {
    padding: 64px 0;
    background: linear-gradient(180deg, #f4f7fb 0%, #e2ecf7 50%, #cdd8ea 100%);
    border-top: 1px solid #dde6f0;
    border-bottom: 1px solid #b8c8dc;
    position: relative;
}

.confidence-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: center;
}

.confidence-text h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.confidence-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--navy-600);
    max-width: 640px;
}

.confidence-stats {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex-shrink: 0;
}

.confidence-stat {
    text-align: right;
    border-right: 3px solid var(--blue-500);
    padding-right: 20px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-value span {
    font-size: 22px;
    color: var(--blue-600);
    font-weight: 700;
    margin-left: 2px;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--navy-600);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* --- Main contact layout --- */
.contact-content {
    padding: 60px 0;
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
}

/* --- Left: prep items --- */
.contact-prep h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.contact-prep > p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--navy-600);
    margin-bottom: 28px;
}

.prep-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prep-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.prep-number {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-600);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 6px;
    padding: 4px 10px;
    flex-shrink: 0;
    margin-top: 3px;
}

.prep-content h5 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 5px;
}

.prep-content p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--navy-600);
}

/* --- Right: contact info + what happens next --- */
.contact-info h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.contact-info > p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--navy-600);
    margin-bottom: 24px;
}

/* -------------------------------------------------------
   CONTACT METHOD TILES
   Fully clickable anchor tags. Override ALL base hover
   rules from styles.css that cause readability issues.
------------------------------------------------------- */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

/* Base tile reset -- override styles.css completely */
.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--gray-50) !important;
    border: 2px solid var(--gray-200) !important;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transform: none !important;
    box-shadow: none !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Hover: subtle border + shadow only -- no background color change */
.contact-method:hover {
    background: rgba(37, 99, 235, 0.04) !important;
    border-color: var(--blue-500) !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1) !important;
    transform: none !important;
}

.contact-method-static {
    cursor: default;
}

.contact-method-static:hover {
    background: var(--gray-50) !important;
    border-color: var(--gray-200) !important;
    box-shadow: none !important;
}

/* Icon - fixed size, gradient bg, white icon always */
.method-icon {
    width: 42px !important;
    height: 42px !important;
    background: var(--gradient-accent) !important;
    border-radius: 9px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: none !important;
    transition: transform 0.25s ease !important;
}

.contact-method:not(.contact-method-static):hover .method-icon {
    background: var(--gradient-accent) !important;
    transform: scale(1.08);
}

/* Feather SVGs use stroke="currentColor" -- set both color and stroke explicitly */
.method-icon svg {
    width: 18px !important;
    height: 18px !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* Keep icons white on hover too -- override base rule that sets color:blue-600 */
.contact-method:hover .method-icon svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.method-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Label stays readable always */
.method-details strong {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--navy-500) !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0 !important;
}

/* Value text stays dark on hover -- override base white rule */
.contact-method .method-details span,
.contact-method .method-details a,
.contact-method:hover .method-details span,
.contact-method:hover .method-details a,
.contact-method:hover .method-details strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-900) !important;
    text-decoration: none;
    transition: none;
}

/* --- What happens next --- */
.contact-next {
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-left: 4px solid var(--blue-500);
    border-radius: 12px;
    padding: 24px 26px;
}

.contact-next h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.contact-next p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--navy-700);
}

/* -------------------------------------------------------
   CLOSING QUOTE
   Full-width dark navy band. Override base .pull-quote
   which has max-width:900px and margin:auto constraints.
------------------------------------------------------- */
.contact-closing {
    padding: 0;
}

.contact-closing .pull-quote {
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-left: none !important;
    box-shadow: none !important;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, #1e2d45 100%) !important;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

.contact-closing .pull-quote::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
    width: 440px;
    height: 440px;
    background: url('small_morlet_wavelet.png') center/contain no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

/* Re-constrain text width inside the full-width band */
.contact-closing .pull-quote .quote-mark,
.contact-closing .pull-quote p,
.contact-closing .pull-quote .quote-author {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
    z-index: 2;
    display: block;
}

.contact-closing .pull-quote .quote-mark {
    font-size: 100px;
    color: var(--blue-400) !important;
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 0;
}

.contact-closing .pull-quote p {
    color: var(--gray-200) !important;
    font-size: 22px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.contact-closing .pull-quote .quote-author {
    color: var(--gray-300) !important;
    font-size: 15px;
    font-weight: 600;
    font-style: normal;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .contact-value-grid  { grid-template-columns: 1fr; gap: 14px; }
    .contact-layout      { grid-template-columns: 1fr; gap: 40px; }
    .confidence-inner    { grid-template-columns: 1fr; gap: 40px; }
    .confidence-stats    { flex-direction: row; justify-content: flex-start; }
    .confidence-stat     { text-align: left; border-right: none; border-left: 3px solid var(--blue-500); padding-right: 0; padding-left: 16px; }
}

@media (max-width: 768px) {
    .contact-value                  { padding: 40px 0; }
    .contact-confidence             { padding: 48px 0; }
    .contact-content                { padding: 40px 0; }
    .page-hero                      { padding: 60px 0 50px; }
    .contact-closing .pull-quote    { padding: 56px 0 !important; }
    .confidence-stats               { flex-direction: column; }
    .confidence-text h2             { font-size: 26px; }
    .stat-value                     { font-size: 38px; }
}