/* =============================================
   LARXIUS TECHNOLOGIES — RESPONSIVE STYLESHEET
   Desktop-First Breakpoint Strategy
   ============================================= */

/* -------------------------------------------
   LAPTOP (max-width: 1199px)
   ------------------------------------------- */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 44px;
  }

  .section-title {
    font-size: 36px;
  }

  .hero-image {
    height: 420px;
  }

  .solution-image {
    height: 340px;
  }

  .why-grid {
    gap: 16px;
  }

  .cta-wrapper {
    padding: 48px;
  }

  .cta-title {
    font-size: 36px;
  }

  .cta-mascot {
    height: 160px;
  }
}

/* -------------------------------------------
   TABLET LANDSCAPE (max-width: 991px)
   ------------------------------------------- */
@media (max-width: 991px) {
  :root {
    --section-padding: 80px 0;
  }

  /* Navigation */
  .navbar-collapse {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
  }

  .nav-brand-text {
    font-size: 14px;
  }

  .nav-link {
    padding: 10px 0 !important;
  }

  .nav-link::after {
    display: none;
  }

  .btn-nav {
    margin-top: 8px;
    text-align: center;
    display: block;
  }

  /* Hero */
  .hero-section {
    padding: 120px 0 60px;
  }

  .min-vh-hero {
    min-height: auto;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-content {
    margin-bottom: 48px;
  }

  .hero-trust {
    max-width: 100%;
  }

  .hero-image {
    height: 380px;
  }

  /* About */
  .about-image {
    height: 360px;
  }

  .about-image-badge {
    bottom: -12px;
    right: -12px;
    padding: 16px 22px;
  }

  .badge-number {
    font-size: 28px;
  }

  /* Solutions */
  .solution-row,
  .solution-row-reverse {
    flex-direction: column;
  }

  .solution-row > div {
    order: unset !important;
  }

  .solution-image {
    height: 300px;
  }

  .product-row,
  .product-row-reverse {
    flex-direction: column;
  }

  .product-row > div {
    order: unset !important;
  }

  /* Process */
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA */
  .cta-wrapper {
    padding: 40px;
    text-align: center;
  }

  .cta-title {
    font-size: 34px;
  }

  .cta-text {
    max-width: 100%;
  }

  .cta-buttons {
    justify-content: center;
  }

  .cta-mascot {
    margin-top: 32px;
    height: 140px;
  }

  /* FAQ */
  .faq-section .row {
    gap: 40px;
  }
}

/* -------------------------------------------
   TABLET PORTRAIT (max-width: 767px)
   ------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --section-padding: 64px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  /* Hero */
  .hero-section {
    padding: 100px 0 48px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero-trust {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-image {
    height: 300px;
  }

  /* About */
  .about-image {
    height: 300px;
  }

  .about-image-badge {
    bottom: 16px;
    right: 16px;
    padding: 14px 20px;
  }

  .badge-number {
    font-size: 24px;
  }

  .about-content .section-title {
    font-size: 28px;
  }

  /* Solutions */
  .solution-content {
    padding: 0;
  }

  .solution-title {
    font-size: 24px;
  }

  /* Industries */
  .industry-card {
    padding: 24px 16px;
  }

  .industry-icon {
    width: 48px;
    height: 48px;
  }

  .industry-name {
    font-size: 15px;
  }

  .industry-desc {
    font-size: 12px;
  }

  /* Why Choose */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Process */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 28px;
  }

  /* CTA */
  .cta-wrapper {
    padding: 32px 24px;
  }

  .cta-title {
    font-size: 28px;
  }

  /* Footer */
  .site-footer {
    padding: 56px 0 0;
  }

  .footer-brand {
    margin-bottom: 12px;
  }

  .footer-about {
    max-width: 100%;
  }

  .footer-newsletter {
    margin-top: 24px;
  }
}

/* -------------------------------------------
   MOBILE (max-width: 575px)
   ------------------------------------------- */
@media (max-width: 575px) {
  :root {
    --section-padding: 56px 0;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar-brand {
    max-width: 60%;
  }

  .nav-brand-text {
    font-size: 11px;
    margin-left: 4px;
  }

  .navbar-toggler {
    flex-shrink: 0;
  }

  .section-title {
    font-size: 26px;
  }

  .section-label {
    font-size: 12px;
  }

  /* Hero */
  .hero-section {
    padding: 90px 0 40px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-badge {
    font-size: 12px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .trust-item {
    font-size: 13px;
  }

  .hero-image {
    height: 240px;
  }

  /* About */
  .about-image {
    height: 240px;
  }

  .about-image-badge {
    position: relative;
    bottom: auto;
    right: auto;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
    padding: 12px 20px;
  }

  .badge-number {
    font-size: 20px;
  }

  .badge-text {
    font-size: 11px;
  }

  /* Products */
  .product-visual-placeholder {
    height: 220px;
  }

  /* Why Choose */
  .why-card {
    padding: 20px;
  }

  .why-card-title {
    font-size: 15px;
  }

  .why-card-text {
    font-size: 13px;
  }

  /* Process */
  .process-step-marker {
    width: 40px;
    height: 40px;
  }

  .step-number {
    font-size: 12px;
  }

  .process-step-title {
    font-size: 18px;
  }

  .process-step-text {
    font-size: 13px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 24px;
  }

  .testimonial-text {
    font-size: 15px;
  }

  /* FAQ */
  .accordion-button {
    font-size: 15px;
    padding: 16px 20px;
  }

  .accordion-body {
    font-size: 14px;
    padding: 0 20px 16px;
  }

  /* CTA */
  .cta-wrapper {
    padding: 32px 20px;
    border-radius: var(--radius-lg);
  }

  .cta-title {
    font-size: 26px;
  }

  .cta-text {
    font-size: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .cta-mascot {
    height: 120px;
  }

  /* Footer */
  .site-footer {
    padding-top: 48px;
  }

  .site-footer .row {
    row-gap: 40px !important;
  }

  .footer-brand {
    row-gap: 18px;
  }

  .footer-brand-name {
    font-size: 16px;
  }

  .footer-about {
    font-size: 14px;
    line-height: 1.7;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-heading {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .footer-links a,
  .footer-contact li {
    font-size: 13px;
  }

  .footer-bottom {
    margin-top: 40px;
    padding: 16px 0;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    font-size: 16px;
  }
}

/* -------------------------------------------
   VERY SMALL MOBILE (max-width: 374px)
   ------------------------------------------- */
@media (max-width: 374px) {
  .hero-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 22px;
  }

  .cta-title {
    font-size: 22px;
  }

  .hero-trust {
    gap: 8px;
  }

  .trust-item {
    font-size: 12px;
  }

  .trust-item i {
    font-size: 14px;
  }
}

/* =============================================
   SERVICES PAGE RESPONSIVE STYLES
   ============================================= */

/* LAPTOP */
@media (max-width: 1199px) {
  .sp-hero-title {
    font-size: 44px;
  }

  .sp-detail-title {
    font-size: 34px;
  }

  .sp-detail-image {
    height: 380px;
  }
}

/* TABLET LANDSCAPE */
@media (max-width: 991px) {
  .sp-hero {
    padding: 120px 0 60px;
  }

  .min-vh-sp-hero {
    min-height: auto;
  }

  .sp-hero-title {
    font-size: 40px;
  }

  .sp-hero-content {
    margin-bottom: 40px;
  }

  .sp-hero-image {
    height: 380px;
  }

  .sp-detail-section .row {
    flex-direction: column;
  }

  .sp-detail-section .row > div {
    order: unset !important;
  }

  .sp-detail-image {
    height: 320px;
    margin-bottom: 24px;
  }

  .sp-process-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .sp-process-track::before {
    display: none;
  }

  .sp-faq-section .row {
    gap: 40px;
  }
}

/* TABLET PORTRAIT */
@media (max-width: 767px) {
  .sp-hero {
    padding: 100px 0 48px;
  }

  .sp-hero-title {
    font-size: 34px;
  }

  .sp-hero-text {
    font-size: 16px;
  }

  .sp-hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .sp-hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .sp-hero-image {
    height: 300px;
  }

  .sp-cat-card {
    padding: 20px 12px;
  }

  .sp-cat-card i {
    font-size: 24px;
  }

  .sp-cat-card span {
    font-size: 12px;
  }

  .sp-detail-title {
    font-size: 28px;
  }

  .sp-detail-image {
    height: 260px;
  }

  .sp-process-track {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sp-tech-item {
    padding: 10px 18px;
  }

  .sp-tech-item span {
    font-size: 14px;
  }
}

/* MOBILE */
@media (max-width: 575px) {
  .sp-hero {
    padding: 90px 0 40px;
  }

  .sp-hero-title {
    font-size: 28px;
  }

  .sp-hero-image {
    height: 240px;
  }

  .sp-detail-title {
    font-size: 24px;
  }

  .sp-detail-image {
    height: 220px;
  }

  .sp-service-card {
    padding: 24px 20px;
  }

  .sp-service-card h4 {
    font-size: 15px;
  }

  .sp-service-card p {
    font-size: 13px;
  }

  .sp-process-num {
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .sp-process-item h4 {
    font-size: 14px;
  }

  .sp-process-item p {
    font-size: 12px;
  }

  .sp-tech-grid {
    gap: 10px;
  }

  .sp-tech-item {
    padding: 8px 14px;
    font-size: 13px;
  }
}
