/* =========================================================
   Nexora Group Holdings - Starter Corporate Theme
   Plain CSS for cPanel-friendly PHP hosting
   ========================================================= */

:root {
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --primary: #2563eb;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

/* Header & Navigation */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.header-over-hero {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

.site-header.header-over-hero .brand,
.site-header.header-over-hero .main-nav a {
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.site-header.header-over-hero .menu-toggle {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.site-header.header-scrolled {
    background: var(--white);
    border-bottom-color: var(--border);
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.08);
}

.site-header.header-scrolled .brand,
.site-header.header-scrolled .main-nav a {
    color: var(--text);
    text-shadow: none;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 700;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.logo-fallback {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    padding: 6px 4px;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.active {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
}

.site-header.header-over-hero .main-nav a.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

/* Cinematic Hero */
.hero-cinematic {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000000;
}

.hero-video-wrap,
.hero-video,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 130px 0 90px;
}

.hero-slides {
    width: min(900px, 100%);
    margin-left: clamp(30px, 8vw, 120px);
    position: relative;
    min-height: 340px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1.1s ease, transform 1.1s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: uppercase;
}

.hero-slide h1 {
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.65);
    max-width: 14ch;
    margin-bottom: 16px;
}

.hero-description {
    color: #e5e7eb;
    font-size: 1.05rem;
    max-width: 62ch;
    margin-bottom: 24px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    z-index: 3;
}

.scroll-indicator span {
    width: 4px;
    height: 10px;
    background: #ffffff;
    border-radius: 4px;
    animation: scrollDot 1.7s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(16px); }
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1d4ed8;
}

/* Sections */
.section-light {
    background: var(--light-gray);
    padding: 68px 0;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h1,
.section-heading h2 {
    margin-bottom: 8px;
}

.section-heading p {
    color: var(--muted);
}

/* Premium Services Section */
.services-section {
    background: #ffffff;
    padding: 78px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    --accent-color: var(--primary);
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    padding: 24px;
    transition: transform 0.45s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.service-card-agro {
    --accent-color: #16a34a;
}

.card-accent {
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: var(--accent-color);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.service-description {
    color: var(--muted);
    margin-bottom: 14px;
}

.service-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.service-list li {
    color: #6b7280;
    font-size: 0.95rem;
    padding-left: 14px;
    position: relative;
}

.service-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0.6em;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: #bfdbfe;
    box-shadow: 0 22px 38px rgba(15, 23, 42, 0.15);
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(37, 99, 235, 0.07), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.services-cta {
    text-align: center;
    margin-top: 28px;
}

/* Scroll reveal animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.85s ease, transform 0.85s ease;
    transition-delay: var(--delay, 0s);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.services-grid .service-card:nth-child(1).reveal-on-scroll {
    transform: translateX(-36px) translateY(24px) scale(0.97);
}

.services-grid .service-card:nth-child(2).reveal-on-scroll {
    transform: translateY(42px) scale(0.97);
}

.services-grid .service-card:nth-child(3).reveal-on-scroll {
    transform: translateX(36px) translateY(24px) scale(0.97);
}

.services-grid .service-card.reveal-on-scroll.revealed {
    transform: translateX(0) translateY(0) scale(1);
}

/* Nexora Digital Detail Section */
.digital-detail-section {
    background: #ffffff;
    padding: 82px 0;
}

.digital-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(26px, 4vw, 56px);
}

.printing-detail-section {
    background: #f5f7fa;
    padding: 82px 0;
}

.printing-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(26px, 4vw, 56px);
}

.digital-media {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.printing-media {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.digital-media img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.digital-media:hover img {
    transform: scale(1.05);
}

.printing-media img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.printing-media:hover img {
    transform: scale(1.05);
}

.digital-image-fallback {
    min-height: 380px;
    display: grid;
    place-items: center;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
}

.digital-content {
    max-width: 560px;
}

.printing-content {
    max-width: 560px;
}

.agro-detail-section {
    background: #f5f7fa;
    padding: 82px 0;
}

.agro-content {
    max-width: 560px;
}

.agro-label {
    color: #16a34a;
}

.agro-service-chips li {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.btn-agro {
    background: #16a34a;
}

.btn-agro:hover {
    background: #15803d;
}

.digital-label {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 12px;
}

.digital-content h2,
.printing-content h2,
.agro-content h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 14px;
}

.digital-description {
    color: #4b5563;
    margin-bottom: 20px;
    max-width: 56ch;
}

.digital-service-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.digital-service-chips li {
    background: #eff6ff;
    color: #1e3a8a;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.88rem;
    font-weight: 500;
}

.reveal-left.reveal-on-scroll {
    transform: translateX(-42px) translateY(14px);
}

.reveal-right.reveal-on-scroll {
    transform: translateX(42px) translateY(14px);
}

.reveal-left.reveal-on-scroll.revealed,
.reveal-right.reveal-on-scroll.revealed {
    transform: translateX(0) translateY(0);
}

/* Premium CTA Section */
.cta-section {
    position: relative;
    background: #0b0b0b;
    color: #ffffff;
    padding: clamp(84px, 12vw, 120px) 0;
    overflow: hidden;
}

.cta-watermark {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(4rem, 18vw, 14rem);
    letter-spacing: 0.15em;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 14px;
}

.cta-content p {
    color: #cbd5e1;
    max-width: 64ch;
    margin: 0 auto 28px;
    font-size: 1.02rem;
}

.btn-cta {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    border-radius: 999px;
    padding: 13px 30px;
    font-weight: 700;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-cta:hover {
    transform: scale(1.05);
    background: #e5e7eb;
}

/* Why Choose Us Section */
.why-choose-section {
    background: #ffffff;
    padding: 82px 0;
}

.why-choose-heading {
    text-align: center;
    margin-bottom: 34px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.why-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.why-icon {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    margin: 0 auto 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    position: relative;
}

.why-icon::after {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 6px;
    background: #2563eb;
    position: absolute;
    inset: 0;
    margin: auto;
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.why-card p {
    color: #6b7280;
    font-size: 0.95rem;
}

.why-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
    border-color: #bfdbfe;
}

/* About Page */
.about-page-hero {
    padding: 132px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 55%, #eef2f7 100%);
    border-bottom: 1px solid #e8ecf1;
}

.about-hero-inner {
    max-width: 720px;
}

.about-hero-label {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 14px;
}

.about-page-hero h1 {
    font-size: clamp(2rem, 4.2vw, 2.75rem);
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 12px;
}

.about-hero-subtitle {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 18px;
    line-height: 1.35;
}

.about-hero-desc {
    font-size: 1.05rem;
    color: #475569;
    max-width: 56ch;
    line-height: 1.65;
    margin: 0;
}

.about-overview-section {
    padding: 88px 0;
    background: #ffffff;
}

.about-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.about-overview-content h2 {
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    color: #0f172a;
    margin-bottom: 16px;
}

.about-overview-content p {
    color: #475569;
    max-width: 52ch;
    line-height: 1.7;
    margin: 0;
}

.about-overview-media {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid #e5e7eb;
}

.about-overview-media img {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.about-overview-media:hover img {
    transform: scale(1.04);
}

.about-image-fallback {
    min-height: 320px;
    display: grid;
    place-items: center;
    background: #f5f7fa;
    color: #64748b;
    font-weight: 600;
    border: 1px dashed #cbd5e1;
}

.about-details-section {
    padding: 72px 0;
    background: #fafbfc;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.about-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.about-detail-card {
    background: #f5f7fa;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-detail-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.about-detail-card h3 {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-detail-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    margin: 0;
}

.about-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.about-detail-list li {
    position: relative;
    padding-left: 18px;
    color: #334155;
    font-weight: 500;
    line-height: 1.45;
}

.about-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563eb;
}

.about-mission-section {
    padding: 88px 0;
    background: #ffffff;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-mv-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-mv-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.1);
}

.about-mv-card h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    color: #0f172a;
    margin-bottom: 14px;
}

.about-mv-card p {
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

.about-why-section {
    background: #f8fafc;
    border-top: 1px solid #eef2f6;
}

.about-page-cta {
    padding: 88px 0;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-top: 1px solid #e8ecf1;
}

.about-cta-inner {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.about-page-cta h2 {
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    color: #0f172a;
    margin-bottom: 12px;
}

.about-page-cta p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

.about-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
}

/* Digital Page */
.digital-page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f6fc 100%);
}

.digital-page-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.digital-page-hero-text {
    max-width: 760px;
}

.digital-page-hero-media {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.digital-page-hero-media img {
    width: 100%;
    min-height: 260px;
    object-fit: cover;
}

.digital-page-label {
    color: #2563eb;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    margin-bottom: 10px;
}

.digital-page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.3rem);
    line-height: 1.15;
    margin-bottom: 10px;
}

.digital-page-hero h2 {
    font-size: clamp(1.2rem, 2.6vw, 1.7rem);
    font-weight: 600;
    margin-bottom: 14px;
}

.digital-page-hero p {
    color: #4b5563;
    max-width: 66ch;
}

.digital-about-section,
.digital-services-section,
.digital-showcase-section,
.digital-process-section {
    padding: 78px 0;
}

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

.digital-about-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-bottom: 14px;
}

.digital-about-content p {
    color: #4b5563;
    max-width: 56ch;
}

.digital-about-media {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.digital-about-media img {
    width: 100%;
    min-height: 340px;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.digital-about-media:hover img {
    transform: scale(1.05);
}

.dp-image-fallback {
    min-height: 260px;
    display: grid;
    place-items: center;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
}

.digital-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.digital-service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    padding: 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.digital-service-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.12);
}

.digital-service-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    margin-bottom: 12px;
    position: relative;
}

.digital-service-icon::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: #2563eb;
    position: absolute;
    inset: 0;
    margin: auto;
}

.digital-service-card h3 {
    margin-bottom: 8px;
}

.digital-service-card p {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.service-contact-btn {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.service-contact-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.25);
}

.digital-testimonials-label {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 22px;
}

.digital-testimonials-label h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    margin-bottom: 8px;
    color: #0f172a;
}

.digital-testimonials-label p {
    color: #64748b;
    font-size: 0.98rem;
    margin: 0;
}

.digital-testimonials-carousel {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 36px;
}

.digital-testimonial-slide {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    padding: 28px 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s ease;
    pointer-events: none;
    z-index: 0;
}

.digital-testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.digital-testimonial-text {
    font-size: clamp(1rem, 2vw, 1.12rem);
    color: #334155;
    line-height: 1.55;
    margin: 0 0 14px;
    font-style: italic;
}

.digital-testimonial-author {
    font-size: 0.92rem;
    font-weight: 600;
    color: #2563eb;
    font-style: normal;
}

.digital-comment-form-section {
    padding: 72px 0 88px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.digital-comment-form-card {
    max-width: 560px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 34px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.digital-comment-form-card h2 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-bottom: 10px;
}

.digital-comment-form-intro {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 22px;
    line-height: 1.5;
}

.digital-comment-form label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 6px;
    margin-top: 14px;
}

.digital-comment-form label:first-of-type {
    margin-top: 0;
}

.digital-comment-form input,
.digital-comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    color: #0f172a;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.digital-comment-form input:focus,
.digital-comment-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.digital-comment-form textarea {
    resize: vertical;
    min-height: 100px;
}

.digital-comment-form .btn-primary {
    display: block;
    margin-top: 20px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    border: none;
}

.digital-comment-flash {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.digital-comment-flash-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.digital-comment-flash-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.digital-comment-unavailable {
    color: #64748b;
    margin: 0;
}

.digital-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.digital-showcase {
    overflow: hidden;
    border-radius: 14px;
}

.digital-showcase-track {
    display: flex;
    transition: transform 0.7s ease;
    gap: 12px;
}

.digital-showcase-item {
    flex: 0 0 calc((100% - 24px) / 3);
    min-height: 260px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.digital-showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    min-height: 280px;
}

.work-card img,
.work-card .dp-image-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-card img {
    transition: transform 0.55s ease;
}

.work-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.08));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.work-overlay h3 {
    color: #ffffff;
}

.work-card:hover img {
    transform: scale(1.05);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.digital-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.process-step {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
}

.process-number {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.83rem;
    letter-spacing: 0.14em;
    color: #2563eb;
    font-weight: 700;
}

.digital-page-cta {
    background: #0b0b0b;
    padding: 86px 0;
    color: #ffffff;
}

/* Nexora Agro Page */
.agro-page-hero {
    background: linear-gradient(165deg, #ffffff 0%, #f0fdf4 42%, #ecfdf5 100%);
    border-bottom: 1px solid #e5e7eb;
}

.agro-page-hero .digital-page-label {
    color: #16a34a;
}

.agro-page-hero .digital-page-hero-text > p {
    margin-bottom: 22px;
}

.agro-btn {
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 22px;
    border-radius: 999px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.agro-btn-primary {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.28);
}

.agro-btn-primary:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(22, 163, 74, 0.35);
    color: #ffffff;
}

.agro-btn-outline {
    background: #ffffff;
    color: #16a34a;
    border: 2px solid #16a34a;
    padding: 10px 18px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.agro-btn-outline:hover {
    background: #f0fdf4;
    border-color: #15803d;
    color: #15803d;
    transform: translateY(-1px);
}

.agro-about-section {
    padding: 88px 0;
    background: #ffffff;
}

.agro-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
}

.agro-about-content h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    color: #0f172a;
    margin-bottom: 16px;
}

.agro-about-content p {
    color: #475569;
    max-width: 52ch;
    line-height: 1.7;
}

.agro-about-media {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid #e5e7eb;
}

.agro-about-media img {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.agro-about-media:hover img {
    transform: scale(1.04);
}

.agro-image-fallback {
    min-height: 320px;
    display: grid;
    place-items: center;
    background: #f5f7fa;
    color: #64748b;
    font-weight: 600;
    border: 1px dashed #cbd5e1;
}

.agro-categories-section {
    padding: 88px 0;
    background: #fafbfc;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.agro-section-heading {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.agro-section-heading h2 {
    color: #0f172a;
}

.agro-section-heading p {
    color: #64748b;
}

.agro-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.agro-category-card {
    background: #f5f7fa;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    padding: 26px 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.agro-category-card:hover {
    transform: translateY(-6px);
    border-color: #16a34a;
    box-shadow: 0 16px 36px rgba(22, 163, 74, 0.12);
}

.agro-category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid #86efac;
    margin-bottom: 14px;
    position: relative;
}

.agro-category-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 22px;
    border-radius: 50% 50% 45% 45%;
    background: #16a34a;
    opacity: 0.85;
    transform: translateY(2px);
}

.agro-category-card h3 {
    font-size: 1.08rem;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.agro-category-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.agro-products-section {
    padding: 88px 0;
    background: #ffffff;
}

.agro-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.agro-product-card {
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.agro-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
    border-color: #bbf7d0;
}

.agro-product-visual {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f5f7fa;
}

.agro-product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.agro-product-card:hover .agro-product-visual img {
    transform: scale(1.08);
}

.agro-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.4;
}

.agro-product-body {
    padding: 20px 20px 22px;
}

.agro-product-body h3 {
    font-size: 1.02rem;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.agro-product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 14px;
}

.agro-shop-empty {
    text-align: center;
    color: #64748b;
    max-width: 52ch;
    margin: 12px auto 0;
    line-height: 1.65;
}

.agro-shop-empty a {
    color: #16a34a;
    font-weight: 600;
}

.agro-product-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px 0;
    background: #fafbfc;
    border-top: 1px solid #eef2f6;
}

.agro-product-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    line-height: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.agro-product-thumb img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    display: block;
}

.agro-product-thumb:hover,
.agro-product-thumb:focus {
    border-color: #16a34a;
    outline: none;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.agro-stock-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.agro-stock-in {
    background: #dcfce7;
    color: #166534;
}

.agro-stock-pre {
    background: #fef3c7;
    color: #92400e;
}

.agro-stock-out {
    background: #f1f5f9;
    color: #64748b;
}

.agro-btn-disabled {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    opacity: 0.65;
    cursor: not-allowed;
}

.agro-process-section {
    padding: 88px 0;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    border-top: 1px solid #eef2f6;
}

.agro-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.agro-process-step {
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.agro-process-step:hover {
    border-color: #bbf7d0;
    box-shadow: 0 14px 32px rgba(22, 163, 74, 0.08);
}

.agro-step-num {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #16a34a;
    margin-bottom: 12px;
}

.agro-process-step h3 {
    font-size: 1.12rem;
    color: #0f172a;
    margin-bottom: 10px;
}

.agro-process-step p {
    font-size: 0.94rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

.agro-page-cta {
    padding: 90px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 55%, #ecfdf5 100%);
    border-top: 1px solid #d1fae5;
}

.agro-cta-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.agro-page-cta h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.2rem);
    color: #0f172a;
    margin-bottom: 12px;
}

.agro-page-cta p {
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.agro-cta-btn {
    padding: 14px 32px;
    font-size: 1rem;
}

a.agro-product-visual {
    color: inherit;
    text-decoration: none;
}

a.agro-product-visual:hover .agro-product-main-img,
a.agro-product-visual:focus-visible .agro-product-main-img {
    transform: scale(1.04);
}

/* Agro product detail (PDP) */
.agro-pdp-page {
    background: #ffffff;
}

.agro-pdp-hero-bar {
    padding: 108px 0 12px;
    background: #fafbfc;
    border-bottom: 1px solid #eef2f6;
}

.agro-pdp-breadcrumb {
    font-size: 0.88rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.agro-pdp-breadcrumb a {
    color: #2563eb;
    font-weight: 500;
}

.agro-pdp-breadcrumb a:hover {
    text-decoration: underline;
}

.agro-pdp-breadcrumb-current {
    color: #334155;
    font-weight: 600;
    max-width: min(100%, 42ch);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agro-pdp-main {
    padding: 32px 0 72px;
}

.agro-pdp-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.agro-pdp-main-visual {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    background: #f5f7fa;
    aspect-ratio: 4 / 3;
}

.agro-pdp-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.agro-pdp-placeholder {
    min-height: 280px;
}

.agro-pdp-thumbs {
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
}

.agro-pdp-thumb-active {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
}

.agro-pdp-buybox {
    position: sticky;
    top: 96px;
    padding: 28px;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.agro-pdp-title {
    font-size: clamp(1.45rem, 2.8vw, 1.85rem);
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 12px;
}

.agro-pdp-price {
    font-size: 1.65rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 6px;
}

.agro-pdp-sku {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 22px;
}

.agro-wa-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(180deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(18, 140, 126, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 16px;
}

.agro-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(18, 140, 126, 0.42);
    color: #ffffff !important;
}

button.agro-wa-btn {
    border: none;
    width: 100%;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

/* Agro WhatsApp order modal */
.agro-order-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.agro-order-modal.is-open {
    display: flex;
}

.agro-order-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.agro-order-modal-panel {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    max-height: min(90vh, 720px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
    padding: 26px 24px 24px;
    border: 1px solid #e2e8f0;
}

.agro-order-modal-panel h2 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 8px;
    padding-right: 32px;
}

.agro-order-modal-lead {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 18px;
}

.agro-order-modal-x {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.agro-order-modal-x:hover {
    background: #e2e8f0;
}

.agro-order-modal-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 14px;
    line-height: 1.45;
}

.agro-order-modal-form {
    display: grid;
    gap: 10px;
}

.agro-order-modal-form label {
    font-weight: 600;
    font-size: 0.88rem;
    color: #334155;
    margin-top: 4px;
}

.agro-order-optional {
    font-weight: 500;
    color: #94a3b8;
}

.agro-order-modal-form input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.agro-order-modal-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    min-height: 110px;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.agro-order-modal-form input:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.agro-order-modal-form textarea:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.agro-order-modal-submit {
    margin-top: 10px;
}

.agro-wa-placeholder {
    padding: 16px 18px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    margin-bottom: 16px;
}

.agro-wa-placeholder strong {
    display: block;
    color: #0f172a;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.agro-wa-placeholder p {
    margin: 0;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
}

.agro-wa-placeholder a {
    color: #2563eb;
    font-weight: 600;
}

.agro-wa-placeholder-muted {
    background: #f1f5f9;
    border-style: solid;
    border-color: #e2e8f0;
}

.agro-pdp-back-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #64748b;
}

.agro-pdp-back-link:hover {
    color: #16a34a;
}

.agro-pdp-description-block {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #eef2f6;
    max-width: 820px;
}

.agro-pdp-description-block h2 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 16px;
}

.agro-pdp-description {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.7;
}

.agro-pdp-description-empty {
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.agro-pdp-description-empty a {
    color: #2563eb;
    font-weight: 600;
}

.agro-pdp-missing {
    padding: 140px 0 100px;
    text-align: center;
}

.agro-pdp-missing h1 {
    margin-bottom: 12px;
}

.agro-pdp-missing p {
    color: #64748b;
    margin-bottom: 22px;
}

.agro-similar-section {
    padding: 56px 0 88px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #eef2f6;
}

.agro-similar-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
}

.agro-similar-header h2 {
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.agro-similar-header p {
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0;
}

.agro-similar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.agro-similar-card {
    display: grid;
    grid-template-rows: auto 1fr;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.agro-similar-card:hover {
    transform: translateY(-6px);
    border-color: #bbf7d0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.agro-similar-card-media {
    aspect-ratio: 4 / 3;
    background: #f5f7fa;
    overflow: hidden;
}

.agro-similar-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.agro-similar-card:hover .agro-similar-card-media img {
    transform: scale(1.06);
}

.agro-similar-card-fallback {
    height: 100%;
    display: grid;
    place-items: center;
    padding: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}

.agro-similar-card-body {
    padding: 16px 16px 18px;
}

.agro-similar-card-body h3 {
    font-size: 0.98rem;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.agro-similar-card-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 10px;
}

.agro-similar-card-cta {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2563eb;
}

/* Printing Page */
.printing-page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
}

.printing-hero-inner {
    max-width: 760px;
}

.printing-hero-inner .digital-page-label,
.printing-hero-inner h1,
.printing-hero-inner h2 {
    color: #ffffff;
}

.printing-hero-inner p {
    color: #d1d5db;
}

.print-method-section,
.print-documents-section {
    padding: 78px 0;
    background: #ffffff;
}

.print-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.print-step {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    padding: 22px;
}

.print-doc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.print-doc-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.print-doc-card:hover {
    transform: translateY(-7px);
    border-color: #bfdbfe;
    box-shadow: 0 22px 36px rgba(15, 23, 42, 0.14);
}

.print-doc-media {
    overflow: hidden;
    min-height: 210px;
}

.print-doc-media img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.print-doc-card:hover .print-doc-media img {
    transform: scale(1.05);
}

.print-doc-body {
    padding: 18px;
}

.print-doc-body h3 {
    margin-bottom: 6px;
}

.print-doc-body p {
    color: #6b7280;
    margin-bottom: 8px;
}

.print-price {
    font-weight: 700;
    color: #1f2937;
}

.print-doc-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn-print-secondary {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-print-secondary[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

button.btn-print-secondary {
    font: inherit;
}

/* Printing page — PDF preview modal */
.print-pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.print-pdf-modal.is-open {
    display: flex;
}

.print-pdf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
}

.print-pdf-modal-panel {
    position: relative;
    z-index: 1;
    width: min(720px, 96vw);
    max-height: min(82vh, 640px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.print-pdf-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.print-pdf-modal-head h2 {
    font-size: 1.05rem;
    color: #0f172a;
    margin: 0;
}

.print-pdf-modal-x {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #e2e8f0;
    color: #475569;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.print-pdf-modal-x:hover {
    background: #cbd5e1;
}

.print-pdf-modal-note {
    margin: 0;
    padding: 10px 16px;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
}

.print-pdf-modal-frame-wrap {
    flex: 1;
    min-height: 280px;
    background: #1e293b;
}

.print-pdf-modal-iframe {
    width: 100%;
    height: min(58vh, 480px);
    min-height: 280px;
    border: 0;
    display: block;
}

.printing-custom-cta {
    background: #0b0b0b;
    padding: 86px 0;
    color: #ffffff;
}

button.btn-cta {
    font: inherit;
    border: 0;
    cursor: pointer;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card,
.content-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
    margin-bottom: 12px;
}

.page-main {
    min-height: calc(100vh - 120px);
}

/* Contact Page */
.contact-page-hero {
    padding: 132px 0 78px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 58%, #eef2f7 100%);
    border-bottom: 1px solid #e8ecf1;
}

.contact-hero-inner {
    max-width: 700px;
}

.contact-page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.7rem);
    color: #0f172a;
    margin-bottom: 10px;
}

.contact-page-hero h2 {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 14px;
}

.contact-page-hero p {
    color: #475569;
    line-height: 1.65;
    max-width: 58ch;
}

.contact-main-section {
    padding: 82px 0;
    background: #ffffff;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.contact-main-info h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    margin-bottom: 14px;
}

.contact-main-info p {
    color: #64748b;
    margin-bottom: 24px;
    max-width: 52ch;
}

.contact-detail-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.contact-detail-list li {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    align-items: start;
    color: #334155;
}

.contact-detail-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 0.86rem;
}

.contact-detail-list a {
    color: #2563eb;
}

.contact-divisions-title {
    font-size: 1.12rem;
    color: #0f172a;
    margin: 28px 0 8px;
}

.contact-divisions-intro {
    font-size: 0.94rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 52ch;
}

.contact-divisions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.contact-division-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 16px 18px;
}

.contact-division-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2563eb;
    margin: 0 0 12px;
}

.contact-division-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.45;
}

.contact-division-line:last-child {
    margin-bottom: 0;
}

.contact-division-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 0.8rem;
}

.contact-division-line a {
    color: #2563eb;
    font-weight: 500;
    word-break: break-word;
}

.contact-division-empty,
.footer-contact-missing {
    color: #94a3b8;
}

.contact-main-form-wrap {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    padding: 26px;
}

.contact-page-form {
    display: grid;
    gap: 12px;
}

.contact-page-form label {
    font-weight: 600;
    color: #334155;
}

.contact-page-form input,
.contact-page-form textarea {
    width: 100%;
    border: 1px solid #d5dde7;
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
    background: #fcfdff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-page-form input:focus,
.contact-page-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.contact-page-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-page-form .btn-primary {
    margin-top: 8px;
    border: none;
    cursor: pointer;
}

.contact-page-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: wait;
}

.contact-flash {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 0.93rem;
}

.contact-flash ul {
    margin: 0;
    padding-left: 18px;
}

.contact-flash-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.contact-flash-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.contact-map-section {
    padding: 0 0 82px;
    background: #ffffff;
}

.contact-map-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.contact-map-frame iframe {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

.contact-page-cta {
    padding: 82px 0;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-top: 1px solid #e8ecf1;
}

.contact-cta-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.contact-cta-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 16px;
}

/* Footer */
.site-footer {
    background: #0f172a;
    border-top: 1px solid #1e293b;
    color: #e2e8f0;
    padding-top: 64px;
}

.footer-main {
    padding-bottom: 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 34px;
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 14px;
    color: #f8fafc;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand img,
.footer-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-brand img {
    object-fit: cover;
    border: 1px solid #334155;
}

.footer-logo-fallback {
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #ffffff;
}

.footer-description {
    color: #94a3b8;
    max-width: 36ch;
}

.footer-contact-address {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-contact-divisions {
    gap: 12px;
}

.footer-contact-division {
    display: block;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.footer-contact-division strong {
    display: block;
    color: #f1f5f9;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-contact-sep {
    margin: 0 6px;
    opacity: 0.45;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: grid;
    gap: 9px;
}

.footer-links a,
.footer-contact li,
.footer-contact a,
.footer-social a,
.footer-bottom p {
    color: #cbd5e1;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover,
.footer-bottom a:hover {
    color: #2563eb;
}

.footer-social {
    display: grid;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateX(4px);
}

.footer-social span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.footer-social a:hover span {
    transform: scale(1.08);
    background: #1d4ed8;
    border-color: #2563eb;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.footer-bottom a {
    color: #cbd5e1;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-slides {
        min-height: 380px;
    }

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

    .digital-about-grid {
        grid-template-columns: 1fr;
    }

    .digital-page-hero-inner {
        grid-template-columns: 1fr;
    }

    .print-steps-grid {
        grid-template-columns: 1fr;
    }

    .print-doc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .digital-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .digital-work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .digital-process-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .digital-detail-grid {
        grid-template-columns: 1fr;
    }

    .printing-detail-grid {
        grid-template-columns: 1fr;
    }

    .digital-content,
    .printing-content,
    .agro-content {
        max-width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agro-categories-grid,
    .agro-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-overview-grid {
        grid-template-columns: 1fr;
    }

    .about-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-detail-card-wide {
        grid-column: 1 / -1;
    }

    .about-mission-grid {
        grid-template-columns: 1fr;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-divisions-grid {
        grid-template-columns: 1fr;
    }

    .agro-pdp-grid {
        grid-template-columns: 1fr;
    }

    .agro-similar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 77px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 12px 4%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .main-nav.active {
        display: flex;
    }

    .site-header.header-over-hero .main-nav a {
        color: var(--text);
        text-shadow: none;
    }

    .hero-content {
        padding-top: 115px;
    }

    .hero-slides {
        margin-left: 6%;
        margin-right: 6%;
        min-height: 420px;
    }

    .hero-slide h1 {
        max-width: 100%;
    }

    .services-section {
        padding: 62px 0;
    }

    .digital-page-hero {
        padding-top: 118px;
    }

    .printing-page-hero {
        padding-top: 118px;
    }

    .agro-about-grid {
        grid-template-columns: 1fr;
    }

    .agro-about-content {
        text-align: center;
    }

    .agro-about-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .agro-categories-grid,
    .agro-products-grid,
    .agro-process-grid {
        grid-template-columns: 1fr;
    }

    .agro-about-section,
    .agro-categories-section,
    .agro-products-section,
    .agro-process-section,
    .agro-page-cta {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .about-page-hero {
        padding-top: 118px;
        padding-bottom: 56px;
    }

    .about-overview-section,
    .about-details-section,
    .about-mission-section,
    .about-page-cta {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .about-why-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .about-overview-content {
        text-align: center;
    }

    .about-overview-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .about-details-grid {
        grid-template-columns: 1fr;
    }

    .about-detail-card-wide {
        grid-column: auto;
    }

    .contact-page-hero {
        padding-top: 118px;
        padding-bottom: 56px;
    }

    .agro-pdp-hero-bar {
        padding-top: 96px;
    }

    .agro-pdp-buybox {
        position: static;
    }

    .agro-similar-grid {
        grid-template-columns: 1fr;
    }

    .agro-similar-section {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .contact-main-section,
    .contact-map-section,
    .contact-page-cta {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .contact-main-form-wrap {
        padding: 20px;
    }

    .contact-map-frame iframe {
        height: 300px;
    }

    .print-doc-grid {
        grid-template-columns: 1fr;
    }

    .digital-services-grid,
    .digital-work-grid {
        grid-template-columns: 1fr;
    }

    .digital-showcase-item {
        flex-basis: 100%;
    }

    .digital-page-hero,
    .printing-page-hero,
    .digital-about-section,
    .digital-services-section,
    .digital-showcase-section,
    .digital-process-section,
    .digital-page-cta,
    .digital-comment-form-section,
    .print-method-section,
    .print-documents-section,
    .printing-custom-cta {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .why-choose-section {
        padding: 62px 0;
    }

    .digital-detail-section {
        padding: 60px 0;
    }

    .printing-detail-section {
        padding: 60px 0;
    }

    .agro-detail-section {
        padding: 60px 0;
    }

    .digital-content,
    .printing-content,
    .agro-content {
        text-align: center;
    }

    /* Mobile content flow: image first, then details */
    .digital-detail-grid .digital-media,
    .printing-detail-grid .printing-media {
        order: 1;
    }

    .digital-detail-grid .digital-content,
    .printing-detail-grid .printing-content {
        order: 2;
    }

    .digital-service-chips {
        justify-content: center;
    }

    .digital-media img,
    .printing-media img,
    .digital-image-fallback {
        min-height: 280px;
    }

    .cta-content h2 {
        font-size: clamp(1.7rem, 8vw, 2.3rem);
    }

    .cta-content p {
        font-size: 0.96rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-description {
        margin: 0 auto;
    }

    .footer-links,
    .footer-contact,
    .footer-social {
        justify-items: center;
    }

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

