/*
  ANJU Company Website - Responsive Styles
*/

@media (max-width: 1023px) {
  .site-nav {
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .nav-list a {
    display: block;
    padding: 10px 0;
  }

  .site-footer {
    padding: 42px 0 22px;
  }

  .footer-inner {
    gap: 26px;
  }

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

@media (max-width: 767px) {
  h1,
  h2,
  h3,
  p,
  a {
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  h3 {
    font-size: 1.05rem;
  }

  .home-section,
  .hero-section {
    padding: 46px 0;
  }

  .site-logo {
    min-height: 60px;
  }

  .site-logo img {
    height: 60px;
    max-width: 190px;
  }

  .inner-page-hero,
  main > .home-section:only-child {
    min-height: 36vh;
    padding: 48px 0;
  }

  .inner-page-wrapper,
  main > .home-section:only-child .section-heading {
    padding: 24px 0 26px;
  }

  .inner-page-title,
  main > .home-section:only-child h1 {
    font-size: 2.05rem;
  }

  .inner-page-description,
  main > .home-section:only-child p {
    font-size: 1rem;
  }

  .hero-grid,
  .why-grid,
  .poster-hero-grid {
    gap: 22px;
  }

  .editorial-hero-section {
    padding: 44px 0 50px;
  }

  .editorial-hero-section::after {
    display: none;
  }

  .editorial-hero-grid {
    gap: 26px;
  }

  .editorial-hero-media {
    padding: 18px 0 78px 0;
  }

  .editorial-hero-media::before {
    inset: 4px 5% 44px 5%;
    border-radius: 34px;
    transform: rotate(-2deg);
  }

  .editorial-hero-media::after {
    right: 0;
    bottom: 34px;
    width: 52%;
    height: 28%;
  }

  .editorial-hero-image {
    min-height: 240px;
    border-width: 6px;
    border-radius: 30px 30px 30px 16px;
    transform: none;
  }

  .editorial-vertical-label {
    left: 8px;
    top: 34px;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
  }

  .editorial-float-card {
    max-width: min(72vw, 240px);
    padding: 13px 15px;
    border-radius: 18px;
  }

  .editorial-float-card-primary {
    left: 12px;
    bottom: 20px;
  }

  .editorial-float-card-secondary {
    right: 12px;
    top: auto;
    bottom: -18px;
  }

  .editorial-service-image {
    min-height: 230px;
  }

  .editorial-service-feature {
    border-radius: 30px;
  }

  .editorial-service-feature::after {
    right: 22px;
    bottom: 22px;
    width: 54px;
  }

  .editorial-service-copy {
    padding: 22px;
  }

  .editorial-service-side {
    gap: 18px;
    padding-top: 0;
  }

  .editorial-service-mini:nth-child(2) {
    margin-left: 0;
  }

  .editorial-service-mini-image {
    min-height: 170px;
  }

  .editorial-why-panel {
    gap: 20px;
    padding: 28px 0;
  }

  .editorial-why-list article {
    min-height: 88px;
    padding: 18px 0;
  }

  .editorial-cta-card {
    padding: 34px 22px;
    border-radius: 32px 32px 0 0;
  }

  .hero-content h1::after,
  .section-heading h2::after {
    margin-top: 12px;
  }

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

  .hero-text {
    font-size: 1rem;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-image {
    min-height: 220px;
    border-radius: 24px;
  }

  .poster-hero-section {
    padding: 44px 0;
  }

  .poster-main-image {
    min-height: 220px;
    border-radius: 24px;
  }

  .poster-bento-card,
  .poster-service-card,
  .poster-why-list article {
    border-radius: 18px;
  }

  .poster-why-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .poster-cta-card {
    padding: 32px 22px;
    border-radius: 24px 24px 0 0;
  }

  .service-image {
    min-height: 132px;
  }

  .info-card,
  .highlight-card,
  .why-item {
    padding: 22px;
  }

  .icon-card.luxury-icon-card,
  .info-card.luxury-icon-card,
  .highlight-card.luxury-icon-card,
  .why-item.luxury-icon-card {
    border-radius: 18px;
    box-shadow:
      0 10px 24px rgba(144, 115, 92, 0.055),
      0 1px 5px rgba(234, 112, 127, 0.025);
  }

  .icon-card.luxury-icon-card {
    min-height: 0;
    padding: 20px;
  }

  .highlight-grid .highlight-card.luxury-icon-card,
  .highlight-grid .info-card.luxury-icon-card,
  .why-list .why-item.luxury-icon-card {
    padding: 20px;
  }

  .luxury-icon-card:hover {
    transform: none;
  }

  .icon-badge {
    width: 42px;
    height: 42px;
    margin-bottom: 11px;
    border-radius: 15px;
  }

  .luxury-icon-card .icon-badge {
    margin-bottom: 12px;
  }

  .icon-badge svg {
    width: 21px;
    height: 21px;
  }

  .editorial-why-list .icon-badge {
    margin-bottom: 0;
    border-radius: 15px;
  }

  .home-section form.highlight-card {
    padding: 22px;
  }

  .contact-cta {
    padding: 34px 22px;
    border-radius: 24px 24px 0 0;
  }

  .site-footer {
    padding: 34px 0 18px;
  }

  .footer-inner {
    gap: 20px;
  }

  .footer-logo img {
    height: 52px;
    max-width: 170px;
  }

  .footer-brand p,
  .footer-contact p,
  .footer-bottom p {
    margin-top: 6px;
  }

  .footer-links h2,
  .footer-contact h2 {
    margin-bottom: 8px;
  }

  .footer-links ul {
    gap: 6px;
  }

  .footer-bottom {
    margin-top: 20px;
    padding-top: 14px;
  }
}

@media (min-width: 360px) and (max-width: 430px) {
  .editorial-hero-section {
    padding: 36px 0 42px;
  }

  .editorial-hero-grid {
    gap: 20px;
  }

  .editorial-hero-copy h1 {
    margin-bottom: 16px;
  }

  .editorial-hero-copy h1::after {
    margin-top: 14px;
  }

  .editorial-hero-copy .hero-text {
    margin-bottom: 18px;
  }

  .editorial-hero-copy .button {
    min-height: 46px;
    padding: 11px 20px;
  }

  .editorial-hero-media {
    padding: 12px 0 58px 0;
  }

  .editorial-hero-media::before {
    inset: 4px 6% 34px 6%;
  }

  .editorial-hero-media::after {
    bottom: 24px;
    height: 24%;
  }

  .editorial-hero-image {
    min-height: 220px;
  }

  .editorial-float-card {
    max-width: clamp(150px, 43vw, 178px);
    padding: 10px 12px 11px;
    border-radius: 16px;
  }

  .editorial-float-card::before {
    width: 30px;
    margin-bottom: 5px;
  }

  .editorial-float-card span {
    font-size: 0.62rem;
  }

  .editorial-float-card strong {
    font-size: 0.8rem;
  }

  .editorial-float-card-primary {
    left: 8px;
    bottom: 18px;
  }

  .editorial-float-card-secondary {
    right: 8px;
    bottom: -14px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 28px, var(--container-width));
  }

  h1 {
    font-size: 1.92rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .home-section,
  .hero-section {
    padding: 38px 0;
  }

  .site-logo img {
    height: 56px;
    max-width: 176px;
  }

  .inner-page-hero,
  main > .home-section:only-child {
    min-height: 34vh;
    padding: 42px 0;
  }

  .inner-page-title,
  main > .home-section:only-child h1 {
    font-size: 1.78rem;
  }

  .section-label {
    font-size: 0.7rem;
  }

  .hero-image {
    min-height: 200px;
  }

  .poster-hero-section {
    padding: 38px 0;
  }

  .editorial-hero-section {
    padding: 34px 0 40px;
  }

  .editorial-hero-copy h1 {
    font-size: 1.98rem;
  }

  .editorial-hero-image {
    min-height: 210px;
  }

  .editorial-vertical-label {
    display: none;
  }

  .editorial-float-card strong {
    font-size: 0.78rem;
  }

  .editorial-service-feature,
  .editorial-service-mini {
    border-radius: 24px;
  }

  .editorial-service-copy,
  .editorial-service-mini {
    padding: 18px;
  }

  .editorial-why-list article {
    min-height: 76px;
    padding: 16px 0;
  }

  .poster-main-image {
    min-height: 196px;
  }

  .poster-bento-card,
  .poster-service-card,
  .poster-why-list article {
    padding: 18px;
  }

  .poster-chip {
    min-height: 68px;
  }

  .info-card,
  .highlight-card,
  .why-item,
  .service-card h3,
  .service-card p {
    padding-inline: 18px;
  }

  .home-section form.highlight-card {
    padding: 20px 18px;
  }

  .contact-cta {
    padding: 30px 18px;
  }

  .site-footer {
    padding: 30px 0 16px;
  }

  .footer-inner {
    gap: 18px;
  }

  .footer-logo img {
    height: 48px;
    max-width: 158px;
  }

  .footer-links ul {
    gap: 5px;
  }

  .footer-bottom {
    margin-top: 18px;
    padding-top: 12px;
  }
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 56px, var(--container-width));
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .home-section,
  .hero-section {
    padding: 68px 0;
  }

  .inner-page-hero,
  main > .home-section:only-child {
    min-height: 40vh;
    padding: 72px 0;
  }

  .inner-page-title,
  main > .home-section:only-child h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .contact-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .button {
    width: auto;
  }

  .highlight-grid,
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .icon-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }

  .poster-chip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .editorial-hero-section {
    padding: 74px 0 82px;
  }

  .editorial-service-feature {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .editorial-service-copy {
    padding: 38px;
  }

  .editorial-cta-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 50px;
  }

  .poster-bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(170px, auto);
  }

  .poster-bento-card-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .poster-service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .poster-why-panel {
    grid-template-columns: 0.86fr 1.14fr;
    align-items: center;
    padding: 34px;
  }

  .poster-why-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .poster-cta-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 46px;
  }

  .info-card,
  .highlight-card,
  .why-item {
    padding: 28px;
  }

  .home-section > .container > .card-grid:not(.highlight-grid):not(.services-grid) {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-section form.highlight-card {
    padding: 32px;
  }

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

  .contact-cta {
    padding: 46px;
  }

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

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-section {
    padding-top: 62px;
  }

  .hero-grid,
  .poster-hero-grid {
    max-width: 820px;
    margin-inline: auto;
  }

  .editorial-hero-grid {
    max-width: 820px;
    margin-inline: auto;
  }

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

  .poster-main-image {
    min-height: 300px;
  }

  .poster-service-card {
    padding: 18px;
  }

  .poster-service-card .button {
    width: 100%;
  }

  .services-grid {
    gap: 18px;
  }

  .service-card h3,
  .service-card p {
    padding-inline: 20px;
  }

  .service-card p {
    padding-bottom: 22px;
  }

  .home-section form.highlight-card {
    max-width: 680px;
  }
}

@media (min-width: 1024px) {
  .hero-grid,
  .why-grid,
  .poster-hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 38px;
  }

  .editorial-hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 62px;
  }

  .editorial-hero-image {
    min-height: 490px;
  }

  .editorial-service-layout {
    grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
    align-items: stretch;
  }

  .editorial-service-feature {
    min-height: 590px;
  }

  .editorial-service-image {
    min-height: 100%;
  }

  .editorial-service-side {
    align-content: stretch;
  }

  .editorial-service-mini {
    grid-template-columns: 0.86fr 1fr;
    align-items: center;
    min-height: 270px;
  }

  .editorial-service-mini:first-child {
    margin-right: 18px;
  }

  .editorial-service-mini-image {
    min-height: 220px;
  }

  .editorial-why-panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    padding: 42px 0;
  }

  .editorial-why-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 28px;
  }

  .editorial-why-list article:nth-child(-n + 2) {
    border-top: 0;
  }

  .hero-image {
    min-height: 390px;
  }

  .poster-main-image {
    min-height: 360px;
  }

  .poster-chip-grid {
    grid-template-columns: 1fr;
  }

  .poster-hero-media {
    grid-template-columns: 1fr 170px;
    align-items: stretch;
  }

  .poster-chip-grid {
    align-content: stretch;
  }

  .poster-chip {
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
  }

  .poster-bento-grid {
    grid-template-columns: 1.15fr 0.85fr 0.85fr 1fr;
  }

  .poster-service-card:first-child {
    transform: translateY(-10px);
  }

  .poster-service-card:nth-child(2) {
    transform: translateY(10px);
  }

  .services-section .services-grid {
    grid-template-columns: 1.12fr 0.94fr 0.94fr;
  }

  .services-section .service-card:first-child .service-image {
    min-height: 190px;
  }

  .home-section > .container > .card-grid:not(.highlight-grid):not(.services-grid) {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-section form.highlight-card {
    max-width: 760px;
  }

  .mobile-menu-button {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    padding: 0;
    border-bottom: 0;
    box-shadow: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .nav-list a,
  .language-switch a {
    font-size: 0.88rem;
  }

  .language-switch {
    margin-top: 0;
    padding-left: 16px;
    border-left: 1px solid var(--color-border);
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 3.7rem;
  }

  .home-section,
  .hero-section {
    padding: 76px 0;
  }

  .poster-hero-section {
    padding: 66px 0 58px;
  }

  .editorial-hero-section {
    padding: 92px 0 104px;
  }

  .poster-main-image {
    min-height: 390px;
  }

  .editorial-hero-image {
    min-height: 540px;
  }

  .inner-page-hero,
  main > .home-section:only-child {
    padding: 80px 0;
  }

  .inner-page-title,
  main > .home-section:only-child h1 {
    font-size: 3.35rem;
  }

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

  .card-grid,
  .why-list {
    gap: 24px;
  }

  .nav-list {
    gap: 24px;
  }

  .nav-list a,
  .language-switch a {
    font-size: 0.95rem;
  }

  .language-switch {
    padding-left: 20px;
  }
}
