/* ==========================================================================
   OM.CSS — Styling til den fulde Om Joan side
   ========================================================================== */

/* --- Hero --- */
.om-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    padding: 80px 0 100px;
    align-items: center;
}

.om-hero-image .image-frame img {
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
}

.om-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #aaa;
    margin-bottom: 15px;
}

.om-hero-text h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 12px;
}

.om-subheading {
    font-style: italic;
    color: #888;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 30px !important;
}

.om-hero-text p {
    color: #444;
    margin-bottom: 20px;
    line-height: 1.85;
}

.signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2rem;
    color: #bbb;
    margin-top: 30px;
    display: block;
}

/* --- Facts --- */
.om-facts {
    background: #0c0c0c;
    padding: 60px 0;
    margin-bottom: 0;
}

.om-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.om-fact {
    text-align: center;
    padding: 20px;
    border-right: 1px solid #1f1f1f;
}

.om-fact:last-child { border-right: none; }

.om-fact-number {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1;
}

.om-fact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    font-family: 'Inter', sans-serif;
}

/* --- Section headers --- */
.om-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.om-section-header h2 {
    font-size: 2rem;
}

.om-section-header p {
    max-width: 400px;
    color: #888;
    font-size: 0.9rem;
    text-align: right;
    line-height: 1.6;
}

/* --- Kompetencer --- */
.om-skills {
    padding: 100px 0;
}

.om-skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: #eee;
    border: 1px solid #eee;
    margin-bottom: 50px;
}

.om-skill-tag {
    background: #fff;
    padding: 20px 18px;
    font-size: 0.85rem;
    color: #333;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: background 0.2s;
}

.om-skill-tag:hover {
    background: #fafafa;
}

.om-skill-num {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.8rem;
    color: #ccc;
    flex-shrink: 0;
    padding-top: 1px;
}

.om-cta-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.om-cta-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    width: auto;
    padding: 16px 40px;
}

/* --- Testimonials --- */
.om-testimonials {
    background: #f8f7f4;
    padding: 100px 0;
}

.om-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.om-testimonial {
    background: #fff;
    padding: 35px 30px;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
}

.om-testimonial::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: #eee;
    position: absolute;
    top: 15px;
    left: 25px;
    line-height: 1;
}

.om-testimonial-quote {
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
    padding-top: 20px;
    font-style: italic;
}

.om-testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    margin-top: auto;
}

.om-testimonial-author strong {
    font-size: 0.85rem;
    color: #000;
    font-weight: 500;
}

.om-testimonial-author span {
    font-size: 0.78rem;
    color: #aaa;
}

/* --- Timeline --- */
.om-timeline {
    padding: 100px 0;
}

.timeline-list-wrap {
    border-top: 1px solid #000;
}

.om-timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px solid #eaeaea;
    transition: background 0.2s;
}

.om-timeline-item:hover {
    background: #fafafa;
    margin: 0 -20px;
    padding: 30px 20px;
}

.om-timeline-year {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #888;
    padding-top: 3px;
}

.om-timeline-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 500;
}

.om-timeline-content p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* --- Cases preview --- */
.om-cases {
    padding: 100px 0;
    border-top: 1px solid #eee;
}

.om-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.om-case-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.om-case-img {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 8px;
}

.om-case-img img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.om-case-card:hover .om-case-img img {
    transform: scale(1.04);
}

.om-case-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.om-case-overlay span {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #fff;
    padding-bottom: 2px;
}

.om-case-card:hover .om-case-overlay { opacity: 1; }

.om-case-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.om-case-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    border: 1px solid #eee;
    padding: 3px 10px;
}

.om-case-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.om-case-info p {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.65;
}

/* --- Kontakt CTA --- */
.om-kontakt-cta {
    background: #0c0c0c;
    padding: 80px 0;
}

.om-kontakt-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.om-kontakt-cta h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
}

.om-kontakt-cta p {
    color: #888;
    font-size: 0.95rem;
}

.om-kontakt-cta-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.om-cta-btn {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.om-cta-btn:hover {
    background: transparent;
    color: #fff;
}

.om-phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.om-phone-link:hover { color: #fff; }

/* --- Responsivt --- */
@media (max-width: 1000px) {
    .om-skills-grid { grid-template-columns: repeat(3, 1fr); }
    .om-cases-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
    .om-hero { grid-template-columns: 1fr; gap: 40px; padding: 50px 0 70px; }
    .om-hero-text h1 { font-size: 2.2rem; }
    .om-facts-grid { grid-template-columns: repeat(2, 1fr); }
    .om-fact { border-right: none; border-bottom: 1px solid #1f1f1f; }
    .om-section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .om-section-header p { text-align: left; max-width: 100%; }
    .om-skills-grid { grid-template-columns: repeat(2, 1fr); }
    .om-testimonials-grid { grid-template-columns: 1fr; }
    .om-timeline-item { grid-template-columns: 1fr; gap: 8px; }
    .om-timeline-item:hover { margin: 0; padding: 30px 0; }
    .om-cases-grid { grid-template-columns: 1fr; }
    .om-kontakt-cta-inner { flex-direction: column; text-align: center; }
    .om-kontakt-cta-actions { flex-direction: column; }
    .om-cta-row { flex-direction: column; align-items: flex-start; gap: 15px; }
}
