/* ===========================
   ROOT VARIABLES
=========================== */
:root {
    --primary: #0f1a2e;
    --primary-dark: #070f1a;
    --accent: #00a19b;
    --accent-light: #00c4bd;
    --accent-glow: rgba(0, 161, 155, 0.3);

    --bg: #f8fafc;
    --white: #ffffff;

    --text: #1e293b;
    --text-light: #64748b;
    --gray: #94a3b8;

    --radius: 20px;
    --radius-sm: 12px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 30px 45px -15px rgba(0, 0, 0, 0.2);

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   GLOBAL RESET
=========================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

.bg-white {
    background: var(--white);
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    .section { padding: 60px 0; }
}

/* ===========================
   BUTTONS
=========================== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.btn--primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 12px 24px -10px var(--accent-glow);
}

.btn--primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(0,161,155,0.5);
}

.btn--light {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 12px 24px -10px rgba(0,0,0,0.1);
}

.btn--light:hover {
    background: #f1f5f9;
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15);
}

/* ===========================
   HEADER
=========================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: background var(--transition), box-shadow var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(15,26,46,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 14px 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo__accent {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav__link {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

.burger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-dark);
        flex-direction: column;
        align-items: center;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 20px 30px rgba(0,0,0,0.2);
    }
    .nav.active {
        display: flex;
    }
    .burger {
        display: flex;
    }
}

/* ===========================
   HERO
=========================== */
.hero {
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#0f1a2e 0%,#1a2b4c 50%,#0f1a2e 100%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%,rgba(0,161,155,0.15) 0%,transparent 50%),
        radial-gradient(circle at 80% 50%,rgba(0,161,155,0.05) 0%,transparent 50%);
}

.hero__container {
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero__content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem,6vw,4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: var(--white);
    text-align: center;
}

.text-accent {
    color: var(--accent-light);
    border-bottom: 3px solid var(--accent);
    display: inline-block;
    padding-bottom: 4px;
}

.hero__subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    max-width: 500px;
    text-align: center;
}

/* ===========================
   SPECIALTIES / BENEFITS
=========================== */
.specialties__grid,
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 36px;
    margin-top: 50px;
}

.specialty-card,
.benefit-card {
    background: white;
    padding: 45px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
}

.specialty-card:hover,
.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.specialty-card__icon,
.benefit-card__icon {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 24px;
    display: inline-block;
    transition: transform 0.3s;
}

.specialty-card:hover .specialty-card__icon,
.benefit-card:hover .benefit-card__icon {
    transform: scale(1.1);
}

/* ===========================
   STATS
=========================== */
.stats {
    background: linear-gradient(135deg,#0f1a2e 0%,#1a2b4c 100%);
    color: var(--white);
    padding: 80px 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 40px;
    text-align: center;
}

.stat-item__number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1;
}

.stat-item__label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
    display: block;
}

/* ===========================
   CTA
=========================== */
.cta {
    background: linear-gradient(135deg,#0f1a2e 0%,#1a2b4c 100%);
    color: var(--white);
    text-align: center;
}

.cta__inner h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta__inner p {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ===========================
   ABOUT PAGE
=========================== */
.about-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 500px;
}

.about-image {
    flex: 1 1 400px;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* ===========================
   PRODUCTS PAGE
=========================== */
.products-list .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    display: flex;
    gap: 30px;
    background: white;
    padding: 35px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    align-items: flex-start;
}

.product-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.product-card__icon {
    font-size: 3rem;
    color: var(--accent);
    min-width: 80px;
    text-align: center;
    padding-top: 5px;
}

.product-card__text h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* ===========================
   PRODUCTION PAGE
=========================== */
.production-detail .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.production-step {
    display: flex;
    gap: 30px;
    background: white;
    padding: 35px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    align-items: flex-start;
}

.production-step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.production-step__number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 70px;
}

.production-step__content h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* ===========================
   CASES PAGE
=========================== */
.cases-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-card {
    background: white;
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.case-card__meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.case-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

/* ===========================
   CONTACTS PAGE
=========================== */
.contact-section {
    background: var(--white);
}

.contact-layout {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact-info {
    flex: 1 1 300px;
}

.contact-info i {
    color: var(--accent);
    margin-right: 10px;
    width: 20px;
}

.contact-form {
    flex: 1 1 400px;
    background: var(--bg);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-form h2 {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition);
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,161,155,0.1);
}

.form-message {
    margin-top: 20px;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-top: 15px;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-top: 15px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 30px;
    font-size: 0.95rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer__col h4 {
    color: white;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer__col a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer__col a:hover {
    color: white;
}

.footer__logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

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

/* ===========================
   ANIMATIONS
=========================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
