/* ============================================================
   JUTE LOOM — Main Stylesheet
   ============================================================ */

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

:root {
    --green:       #1a5c38;
    --green-mid:   #237a4b;
    --green-dark:  #0f3d22;
    --green-light: #e8f4ed;
    --amber:       #d4820f;
    --amber-hover: #b86e0a;
    --amber-light: #fef3e2;
    --dark:        #111827;
    --gray:        #4b5563;
    --gray-light:  #9ca3af;
    --border:      #e5e7eb;
    --bg:          #f9fafb;
    --white:       #ffffff;

    --font-head: 'Barlow Condensed', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
    --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
    --shadow-lg:  0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.06);
    --shadow-xl:  0 20px 25px rgba(0,0,0,.10), 0 8px 10px rgba(0,0,0,.06);

    --radius:    8px;
    --radius-lg: 16px;
    --ease:      0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img  { display: block; max-width: 100%; height: auto; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
address { font-style: normal; }

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

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.section-title span { color: var(--green); }

.section-desc {
    font-size: 1.05rem;
    color: var(--gray);
    margin-top: 14px;
    line-height: 1.75;
    max-width: 560px;
}

.section-head-center {
    text-align: center;
}
.section-head-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.925rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--ease);
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--amber);
    color: var(--white);
    border-color: var(--amber);
}
.btn-primary:hover {
    background: var(--amber-hover);
    border-color: var(--amber-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212,130,15,.38);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
}

.btn-green {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.btn-green:hover {
    background: var(--green-mid);
    border-color: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26,92,56,.30);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background var(--ease), box-shadow var(--ease);
}

.site-header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color var(--ease);
}
.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--amber);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
    font-family: var(--font-head);
    letter-spacing: 0;
}
.site-header.scrolled .logo { color: var(--dark); }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a {
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    transition: all var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,.12);
}
.site-header.scrolled .nav-links a {
    color: var(--gray);
}
.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a.active {
    color: var(--green);
    background: var(--green-light);
}
.nav-links .nav-cta {
    background: var(--amber) !important;
    color: var(--white) !important;
    border-radius: var(--radius);
    padding: 9px 20px;
}
.nav-links .nav-cta:hover {
    background: var(--amber-hover) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--ease);
    transform-origin: center;
}
.site-header.scrolled .nav-toggle span { background: var(--dark); }

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0a1a0f;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/loom-machines-factory-row.jpg');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.32;
    transform: scale(1.02);
    transition: transform 8s ease;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 130px 0 90px;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,130,15,.18);
    border: 1px solid rgba(212,130,15,.38);
    color: #f5b346;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}
.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #f5b346;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 6.5vw, 5.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.06;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}
.hero-title .accent { color: #5dba7d; }

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,.68);
    max-width: 520px;
    line-height: 1.78;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.35);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
    0%, 100% { opacity: 0.3; transform: scaleY(1) translateY(0); }
    50%       { opacity: 0.8; transform: scaleY(1.15) translateY(3px); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--green);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 30px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.12);
    transition: background var(--ease);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.06); }

.stat-num {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}
.stat-num .stat-accent { color: #7dd9a0; }

.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,.6);
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
    padding: 110px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    flex-shrink: 0;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-badge {
    position: absolute;
    bottom: -22px;
    right: -22px;
    background: var(--green);
    color: var(--white);
    padding: 22px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.about-badge-num {
    display: block;
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}
.about-badge-text {
    font-size: 0.78rem;
    opacity: 0.78;
    margin-top: 4px;
    letter-spacing: 0.04em;
}

.about-text .section-title { margin-top: 4px; }

.about-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.55;
}
.check-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.check-icon svg {
    width: 10px;
    height: 10px;
    stroke: var(--green);
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-cta { margin-top: 38px; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-section {
    padding: 110px 0;
    background: var(--bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 60px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--ease);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-card-img-wrap {
    overflow: hidden;
    height: 220px;
    background: #f0f0f0;
}
.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.product-card:hover .product-card-img {
    transform: scale(1.06);
}

.product-card-body {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 6px;
}

.product-card-title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 9px;
    line-height: 1.2;
}

.product-card-desc {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.65;
    flex: 1;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green);
    transition: gap var(--ease);
}
.product-card-link::after {
    content: '→';
    transition: transform var(--ease);
}
.product-card:hover .product-card-link {
    gap: 10px;
}
.product-card:hover .product-card-link::after {
    transform: translateX(2px);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
    padding: 110px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 38px 34px;
    border: 1px solid var(--border);
    transition: all var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--green-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.service-card:hover::after  { transform: scaleX(1); }
.service-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--green-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: background var(--ease);
}
.service-card:hover .service-icon {
    background: var(--green);
}
.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--green);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke var(--ease);
}
.service-card:hover .service-icon svg { stroke: var(--white); }

.service-title {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.72;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 65%);
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 65%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.68);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.72;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #080f0b;
    color: rgba(255,255,255,.65);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 52px;
    padding: 70px 0 52px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 18px;
    display: inline-flex;
}
.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.78;
    max-width: 290px;
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,.5);
    transition: color var(--ease);
}
.footer-col a:hover { color: var(--white); }

.footer-col address p {
    font-size: 0.875rem;
    margin-bottom: 9px;
    color: rgba(255,255,255,.5);
}
.footer-col address a { color: rgba(255,255,255,.5); }
.footer-col address a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 22px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,.35);
}

/* ============================================================
   ANIMATIONS (scroll reveal)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #1f7a47 100%);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg-img);
    background-size: cover;
    background-position: center;
    opacity: 0.12;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--page-after-color, var(--white)));
}
.page-hero-content {
    position: relative;
    z-index: 1;
}
.page-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    color: rgba(255,255,255,.85);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.page-hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.page-hero-title span { color: #7dd9a0; }
.page-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    max-width: 560px;
    line-height: 1.75;
}
/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    font-size: 0.82rem;
    color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story-section { padding: 100px 0; background: var(--white); }
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.story-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}
.story-grid.reverse { direction: rtl; }
.story-grid.reverse > * { direction: ltr; }

.values-section { padding: 100px 0; background: var(--bg); }
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}
.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 1px solid var(--border);
    transition: all var(--ease);
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.value-num {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 800;
    color: var(--green-light);
    line-height: 1;
    margin-bottom: 14px;
    /* layered effect */
    -webkit-text-stroke: 2px var(--green);
}
.value-title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.value-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

.team-section { padding: 100px 0; background: var(--white); }
.team-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 56px;
    border: 1px solid var(--border);
    max-width: 860px;
    margin: 56px auto 0;
}
.team-avatar {
    width: 110px;
    height: 110px;
    min-width: 110px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}
.team-name {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.team-role {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--amber);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.team-bio {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 24px;
}
.team-contacts {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.team-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green);
    padding: 9px 16px;
    background: var(--green-light);
    border-radius: var(--radius);
    transition: all var(--ease);
}
.team-contact-link:hover {
    background: var(--green);
    color: var(--white);
}
.team-contact-link svg {
    width: 15px; height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.products-page-section { padding: 100px 0; }
.products-page-section:nth-child(even) { background: var(--bg); }
.products-page-section:nth-child(odd)  { background: var(--white); }

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.product-row.reverse { direction: rtl; }
.product-row.reverse > * { direction: ltr; }

.product-row-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.product-row-img-main {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    grid-column: 1 / -1;
}
.product-row-img-sub {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.product-row-img-single {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.product-row-body .section-tag { display: block; margin-bottom: 10px; }
.product-row-body .section-title { margin-bottom: 16px; }
.product-row-body .section-desc { max-width: 100%; }

.product-features {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}
.product-features .check-icon {
    margin-top: 2px;
}

.product-row-cta { margin-top: 30px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 100px 0; background: var(--white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: start;
}

/* Form */
.contact-form-wrap {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    border: 1px solid var(--border);
}
.contact-form-wrap h2 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.contact-form-wrap p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.65;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}
.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color var(--ease), box-shadow var(--ease);
    outline: none;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(26,92,56,.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 140px;
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.form-submit {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 1rem;
}

/* Alert messages */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}
.alert-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Info panel */
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-title {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.contact-info-desc {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 8px;
}
.contact-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--ease);
}
.contact-detail-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
}
.contact-detail-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: var(--green-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-detail-icon svg {
    width: 20px; height: 20px;
    stroke: var(--green);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-detail-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 4px;
}
.contact-detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}
.contact-detail-value a {
    color: var(--dark);
    transition: color var(--ease);
}
.contact-detail-value a:hover { color: var(--green); }

.contact-services-note {
    background: var(--green);
    border-radius: var(--radius-lg);
    padding: 28px 28px;
    color: var(--white);
    margin-top: 8px;
}
.contact-services-note h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.contact-services-note ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-services-note li {
    font-size: 0.875rem;
    color: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-services-note li::before {
    content: '✓';
    color: #7dd9a0;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ============================================================
   INNER PAGE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .page-hero { padding: 130px 0 60px; }

    .story-grid,
    .story-grid.reverse { grid-template-columns: 1fr; direction: ltr; gap: 36px; }
    .story-img { height: 280px; }

    .values-grid { grid-template-columns: 1fr; }

    .team-card {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
        gap: 28px;
    }
    .team-contacts { justify-content: center; }

    .product-row,
    .product-row.reverse { grid-template-columns: 1fr; direction: ltr; gap: 36px; }
    .product-row-img-main { height: 240px; }
    .product-row-img-single { height: 280px; }

    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .page-hero-title { font-size: 2.2rem; }
    .contact-form-wrap { padding: 28px 18px; }
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .about-grid   { gap: 50px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.12); }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,.12);
    }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
    /* Nav */
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: 72px; left: 0; right: 0; bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 16px;
        gap: 4px;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        color: var(--gray) !important;
        padding: 14px 18px;
        font-size: 1rem;
        border-radius: var(--radius);
    }
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--green) !important;
        background: var(--green-light);
    }
    .nav-links .nav-cta {
        text-align: center;
        margin-top: 8px;
    }

    /* About */
    .about-grid  { grid-template-columns: 1fr; gap: 48px; }
    .about-img   { height: 340px; }
    .about-badge { bottom: 14px; right: 14px; }

    /* Products */
    .products-grid { grid-template-columns: 1fr; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 52px 0 40px; }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    /* CTA */
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
    .hero-content { padding-left: 8px; padding-right: 8px; }
    .hero-title   { font-size: 2.6rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .stats-grid { grid-template-columns: 1fr; }
    .stat-item  { border-right: none !important; border-top: 1px solid rgba(255,255,255,.12); }
    .stat-item:first-child { border-top: none; }

    .about-badge { display: none; }

    .site-footer .container { padding-left: 24px; padding-right: 24px; }

    .section-title { font-size: 1.9rem; }
}
