/* 
 * Gynecomastia Landing Page - Custom CSS
 * Theme: Clinical Steel + Amber Copper (Masculine Precision)
 * Primary: Steel Teal #0C3547  |  Accent: Amber Copper #FF4D6D
 * Bg Light:  Warm Cream #FAF8F5  |  Bg Alt: #F4F1EC / #F0EDE8
 */

/* x-collapse transition for Alpine.js FAQ */
[x-cloak] { display: none !important; }

/* Smooth image transitions in tabs */
[x-show] { transition: opacity 0.3s ease; }

/* Ensure full-height hero on all browsers */
section#home { min-height: 100svh; }

/* Global warm-cream body bg removes blue tint */
body { background-color: #FAF8F5 !important; }

/* Testimonial track responsive fix */
@media (max-width: 767px) {
  #testimTrack > div { width: 100% !important; min-width: 100% !important; }
}

/* Active nav link underline */
nav a.active { color: #FF4D6D; }

/* Form select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23C8762A' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
}

/* Scroll behavior */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

/* Hero image fit */
section#home .absolute.inset-0 {
  background-attachment: fixed;
}
@media (max-width: 768px) {
  section#home .absolute.inset-0 { background-attachment: scroll; }
}

/* Color utility overrides */
.text-pink   { color: #d92b5d !important; }
.bg-pink     { background-color: #d92b5d !important; }
.bg-pink-dark{ background-color: #C9184A !important; }
.border-pink { border-color: #d92b5d !important; }

/* BRAND BLUE (LOGO CYAN) */
.text-navy   { color: #1AABE0 !important; }
.bg-navy     { background-color: #107595 !important; }
.border-navy { border-color: #107595 !important; }

/* Procedure step 3 glow */
.step-active {
  box-shadow: 0 0 0 6px rgba(255,77,109,0.2), 0 20px 40px rgba(16,117,149,0.3);
}

/* Print / media */
@media print { .fixed { display: none !important; } }

/* ═══════════════════════════════════════════════════
   CONSENT FORMS REDESIGN (Horizontal Style)
═══════════════════════════════════════════════════ */
.consent-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.consent-card-horizontal {
    background: white;
    border-radius: 28px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 10px 40px rgba(16, 117, 149, 0.05);
    border: 1px solid rgba(16, 117, 149, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.consent-card-horizontal:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 50px rgba(16, 117, 149, 0.12);
    border-color: rgba(217, 43, 93, 0.2);
}

.consent-thumb {
    position: relative;
    width: 130px;
    height: 170px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: block; /* Ensure it's a block for the anchor tag */
}

.consent-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 117, 149, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.consent-thumb:hover .consent-thumb-overlay {
    opacity: 1;
}

.consent-thumb-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.consent-thumb:hover .consent-thumb-overlay i {
    transform: scale(1);
}

.consent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.consent-card-horizontal:hover .consent-thumb img {
    transform: scale(1.1);
}

.consent-info {
    flex-grow: 1;
}

.consent-info h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #107595;
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.consent-info p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
}

.consent-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 160px;
}

.btn-view-navy, .btn-download-pink {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-view-navy {
    background: #F0F9FF;
    color: #107595;
    border: 1px solid rgba(16, 117, 149, 0.1);
}

.btn-view-navy:hover {
    background: #107595;
    color: white;
}

.btn-download-pink {
    background: #d92b5d;
    color: white;
    box-shadow: 0 4px 15px rgba(217, 43, 93, 0.2);
}

.btn-download-pink:hover {
    background: #C9184A;
    box-shadow: 0 8px 25px rgba(217, 43, 93, 0.35);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .consent-card-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }
    .consent-thumb {
        width: 150px;
        height: 200px;
        margin: 0 auto;
    }
    .consent-info p {
        margin: 0 auto;
    }
    .consent-actions {
        width: 100%;
        flex-direction: row;
    }
    .btn-view-navy, .btn-download-pink {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .consent-actions {
        flex-direction: column;
    }
}