/* ===================================
   ORDINIS Website Styles
   Color Palette:
   - Primary: #334155 (Slate Grey)
   - Secondary: #64748B (Iron)
   - Accent: #F59E0B (Amber)
   =================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --slate-grey: #334155;
    --iron: #64748B;
    --amber: #F59E0B;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --light-grey: #E2E8F0;
    --dark-grey: #1E293B;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--slate-grey);
    background-color: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--slate-grey);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--iron);
}

a {
    color: var(--slate-grey);
    text-decoration: none;
    transition: var(--transition);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--light-grey);
    z-index: 1000;
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--slate-grey);
    margin: 3px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--iron);
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--slate-grey);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--amber);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    color: var(--amber);
    font-weight: 600;
}

.nav-link-cta:hover {
    color: var(--slate-grey);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        border-bottom: 1px solid var(--light-grey);
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link::after {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--amber);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #D97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-link {
    color: var(--iron);
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid var(--iron);
    padding-bottom: 2px;
}

.btn-link:hover {
    color: var(--slate-grey);
    border-bottom-color: var(--slate-grey);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--slate-grey);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--iron);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-recognition {
    font-size: 1.1rem;
    color: var(--slate-grey);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 2rem;
    background-color: rgba(245, 158, 11, 0.08);
    border-left: 4px solid var(--amber);
    border-radius: 4px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-recognition {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 1rem;
    text-align: center;
}

.section-intro {
    font-size: 1.15rem;
    color: var(--iron);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-intro {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
}

/* Listening Section */
.section-listening {
    background-color: var(--off-white);
}

.listening-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.listening-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.listening-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.listening-question {
    font-size: 1.25rem;
    color: var(--slate-grey);
    margin-bottom: 1rem;
    font-weight: 600;
}

.listening-item p {
    font-size: 0.95rem;
    color: var(--iron);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .listening-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Friction Section */
.friction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.friction-card {
    padding: 2.5rem;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    transition: var(--transition);
    background-color: var(--white);
}

.friction-card:hover {
    border-color: var(--iron);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.friction-icon {
    width: 48px;
    height: 48px;
    background-color: var(--off-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--iron);
}

.friction-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--slate-grey);
}

.friction-description {
    font-size: 0.95rem;
    color: var(--iron);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .friction-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .friction-card {
        padding: 2rem;
    }
}

/* Results Timeline Section */
.section-results {
    background-color: var(--amber);
    padding: 60px 0;
}

.results-banner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.results-banner p {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .section-results {
        padding: 40px 0;
    }
    
    .results-banner p {
        font-size: 1.1rem;
    }
}

/* Process Section */
.section-expect {
    background-color: var(--off-white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.process-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.process-title {
    font-size: 1.5rem;
    color: var(--slate-grey);
    margin-bottom: 1rem;
}

.process-description {
    font-size: 0.95rem;
    color: var(--iron);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Who Section */
.who-content {
    max-width: 900px;
    margin: 0 auto;
}

.who-primary {
    text-align: center;
    margin-bottom: 4rem;
}

.who-subtitle {
    font-size: 1.75rem;
    color: var(--slate-grey);
    margin-bottom: 1.5rem;
}

.who-primary p {
    font-size: 1.1rem;
    color: var(--iron);
    line-height: 1.8;
}

.who-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.who-detail h4 {
    font-size: 1.15rem;
    color: var(--slate-grey);
    margin-bottom: 0.75rem;
}

.who-detail p {
    font-size: 0.95rem;
    color: var(--iron);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .who-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .who-subtitle {
        font-size: 1.5rem;
    }
}

/* Proof Section */
.section-proof {
    background-color: var(--slate-grey);
    color: var(--white);
}

.section-proof .section-title {
    color: var(--white);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.proof-item {
    text-align: center;
    padding: 2rem;
}

.proof-title {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.proof-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .proof-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Contact Section */
.section-contact {
    background-color: var(--off-white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--iron);
    max-width: 650px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-grey);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--light-grey);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--slate-grey);
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--iron);
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    padding: 1.125rem;
    font-size: 1.05rem;
    margin-top: 1rem;
}

.form-confirmation {
    margin-top: 2rem;
    padding: 2.5rem;
    background-color: var(--off-white);
    border-radius: 8px;
    text-align: center;
}

.confirmation-content {
    max-width: 500px;
    margin: 0 auto;
}

.confirmation-icon {
    color: var(--amber);
    margin-bottom: 1rem;
}

.confirmation-content h3 {
    font-size: 1.75rem;
    color: var(--slate-grey);
    margin-bottom: 1rem;
}

.confirmation-content p {
    font-size: 1rem;
    color: var(--iron);
    line-height: 1.7;
}

.contact-alternate {
    text-align: center;
    margin-top: 2rem;
}

.contact-alternate p {
    color: var(--iron);
}

.contact-alternate a {
    color: var(--amber);
    font-weight: 600;
}

.contact-alternate a:hover {
    color: var(--slate-grey);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Footer */
.footer {
    background-color: var(--slate-grey);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Smooth scrolling offset for fixed nav */
section {
    scroll-margin-top: 100px;
}

/* Selection styles */
::selection {
    background-color: var(--amber);
    color: var(--white);
}