/* ── Modern Front UI v2 ── */
:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --red: #dc2626;
  --red-deep: #991b1b;
  --red-soft: #fef2f2;
  --teal: #0d9488;
  --teal-soft: #f0fdfa;
  --gold: #ca8a04;
  --gold-soft: #fefce8;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --nav-bg: rgba(15, 23, 42, 0.92);
  --nav-bg-scrolled: rgba(15, 23, 42, 0.98);
  --nav-text: rgba(255, 255, 255, 0.88);
  --nav-text-hover: #ffffff;
  --nav-border: rgba(255, 255, 255, 0.08);
  --nav-submenu-bg: rgba(15, 23, 42, 0.98);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 25px 60px -15px rgba(15, 23, 42, 0.16);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: "Inter", "Sarabun", system-ui, -apple-system, sans-serif;
}

/* ── Reset & Base ── */
html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modern-nav-open {
  overflow: hidden;
}

a, a:link, a:visited {
  color: inherit;
}

.line {
  max-width: 1200px;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* ── Page Shell ── */
.modern-page {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(13, 148, 136, 0.06), transparent),
    radial-gradient(ellipse 50% 40% at 90% 30%, rgba(220, 38, 38, 0.04), transparent),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  overflow: hidden;
}

/* ── Section ── */
.modern-section {
  padding: clamp(60px, 8vw, 96px) 0;
}

.modern-section-title {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 auto 14px;
}

.modern-section-title::after {
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin: 16px auto 0;
  width: 56px;
}

.modern-section-lead {
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.75;
  margin: 0 auto 40px;
  max-width: 680px;
}

/* ── Buttons ── */
.modern-btn,
.modern-btn:link,
.modern-btn:visited {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 1.2;
  min-height: 46px;
  padding: 12px 24px;
  text-decoration: none;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
  white-space: nowrap;
}

.modern-btn:hover {
  transform: translateY(-2px);
}

.modern-btn:active {
  transform: translateY(0);
}

.modern-btn-primary,
.modern-btn-primary:link,
.modern-btn-primary:visited {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
  color: #ffffff;
}

.modern-btn-primary:hover {
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.4);
}

.modern-btn-light,
.modern-btn-light:link,
.modern-btn-light:visited {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--ink);
}

.modern-btn-light:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.modern-btn-outline,
.modern-btn-outline:link,
.modern-btn-outline:visited {
  background: #ffffff;
  border: 1.5px solid rgba(220, 38, 38, 0.25);
  color: var(--red);
  font-size: 14px;
  min-height: 40px;
  padding: 9px 16px;
}

.modern-btn-outline:hover {
  background: var(--red-soft);
  border-color: var(--red);
}

.modern-link-arrow,
.modern-link-arrow:link,
.modern-link-arrow:visited {
  align-items: center;
  color: var(--red);
  display: inline-flex;
  font-weight: 700;
  gap: 6px;
  text-decoration: none;
  transition: gap 200ms var(--ease);
}

.modern-link-arrow::after {
  content: "→";
  transition: transform 200ms var(--ease);
}

.modern-link-arrow:hover {
  gap: 10px;
}

.modern-link-arrow:hover::after {
  transform: translateX(3px);
}

/* ── Cards ── */
.modern-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}

.modern-card:hover {
  border-color: rgba(220, 38, 38, 0.15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ── Rich Text ── */
.modern-rich-text,
.modern-rich-text p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.modern-rich-text img {
  border-radius: var(--radius);
  height: auto !important;
  max-width: 100%;
}

/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */
.modern-site-header {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
  transition: transform 350ms var(--ease);
}

.modern-site-header.head-hidden {
  transform: translateY(-100%);
}

.modern-navbar {
  align-items: center;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: var(--nav-bg) !important;
  border-bottom: 1px solid var(--nav-border);
  display: flex;
  min-height: 76px;
  padding: 6px clamp(18px, 4vw, 44px);
  transition: background 250ms var(--ease), box-shadow 250ms var(--ease), min-height 250ms var(--ease), border-color 250ms var(--ease);
}

.modern-navbar.scrolled {
  background: var(--nav-bg-scrolled) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  min-height: 64px;
}

.modern-brand-wrap {
  padding: 0;
}

.modern-brand {
  align-items: center;
  display: inline-flex;
  transition: transform 200ms var(--ease);
}

.modern-brand:hover {
  transform: scale(1.03);
}

.modern-brand img {
  height: auto;
  max-width: 100px;
  width: 100px;
  transition: max-width 250ms var(--ease), width 250ms var(--ease);
}

.modern-brand .logo-dark {
  display: none;
}

.modern-brand .logo-white {
  display: inline-flex;
}

.modern-navbar.scrolled .modern-brand img {
  max-width: 120px;
  width: 120px;
}

/* Nav Menu */
.modern-nav-menu {
  display: flex;
  flex: 1;
  justify-content: center;
}

.modern-nav-menu ul {
  width: auto;
}

.modern-nav-menu ul.right {
  align-items: center;
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.modern-nav-menu .chevron > li {
  position: relative;
}

.modern-nav-menu .chevron > li > a,
.modern-nav-menu .chevron > li > a:link,
.modern-nav-menu .chevron > li > a:visited {
  background: transparent !important;
  border-radius: var(--radius);
  color: var(--nav-text);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 14px;
  position: relative;
  text-decoration: none;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.modern-nav-menu .chevron > li > a::after {
  background: var(--red);
  border-radius: 999px;
  bottom: 4px;
  content: "";
  height: 2.5px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transition: transform 200ms var(--ease);
  width: 20px;
}

.modern-nav-menu .chevron > li.active-item > a::after,
.modern-nav-menu .chevron > li > a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.modern-nav-menu .chevron > li.active-item > a,
.modern-nav-menu .chevron > li > a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--nav-text-hover) !important;
}

.modern-nav-menu .chevron > li.active-item > a {
  color: #ffffff !important;
}

/* Submenu */
.modern-submenu {
  background: var(--nav-submenu-bg) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.3);
  list-style: none;
  margin: 0 !important;
  min-width: 240px !important;
  opacity: 0;
  overflow: hidden;
  padding: 8px !important;
  position: absolute;
  top: calc(100% + 8px);
  transform: translateY(6px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  visibility: hidden;
  z-index: 200;
}

.modern-nav-menu .chevron > li:hover > .modern-submenu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.modern-submenu li {
  list-style: none;
  margin: 0;
}

.modern-submenu li a,
.modern-submenu li a:link,
.modern-submenu li a:visited {
  border-radius: var(--radius-sm);
  color: var(--nav-text) !important;
  display: block;
  font-weight: 600;
  padding: 10px 14px !important;
  text-decoration: none;
  transition: background 180ms var(--ease), color 180ms var(--ease), padding-left 180ms var(--ease);
}

.modern-submenu li a:hover {
  background: rgba(220, 38, 38, 0.18) !important;
  color: #ffffff !important;
  padding-left: 18px !important;
}

/* Language switch */
.modern-lang-switch {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  padding: 0;
}

.modern-lang-switch a {
  align-items: center;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--nav-text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  letter-spacing: 0.02em;
  min-width: 38px;
  padding: 0 10px;
  text-decoration: none;
  transition: all 200ms var(--ease);
}

.modern-lang-switch a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--nav-text-hover);
  transform: translateY(-1px);
}

.modern-lang-switch a.active-lang {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.modern-home-hero {
  background: #0f172a;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.modern-hero-carousel,
.modern-hero-carousel .owl-wrapper-outer,
.modern-hero-carousel .owl-wrapper,
.modern-hero-carousel .owl-item,
.modern-hero-carousel .item {
  height: 100vh;
  height: 100svh;
}

.modern-hero-carousel img {
  display: block;
  height: 100%;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.modern-home-hero::after {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.2) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 2;
}

.modern-hero-overlay {
  align-items: center;
  display: flex;
  inset: 0;
  padding-top: 80px;
  position: absolute;
  z-index: 3;
}

.modern-eyebrow {
  animation: fadeUp 700ms 200ms var(--ease) both;
  color: var(--gold);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.modern-hero-overlay h1 {
  animation: fadeUp 700ms 350ms var(--ease) both;
  color: #ffffff;
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 780px;
}

.modern-hero-overlay p {
  animation: fadeUp 700ms 480ms var(--ease) both;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
  margin: 0;
  max-width: 620px;
}

.modern-hero-actions {
  animation: fadeUp 700ms 600ms var(--ease) both;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════
   SERVICE GRID
   ══════════════════════════════════════ */
.modern-service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.modern-service-card {
  min-height: 240px;
  padding: 32px 24px;
  text-align: left;
}

.modern-icon-wrap {
  align-items: center;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(13, 148, 136, 0.1));
  border-radius: var(--radius);
  color: var(--red);
  display: flex;
  font-size: 32px;
  height: 60px;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 250ms var(--ease-bounce), background 250ms var(--ease);
  width: 60px;
}

.modern-service-card:hover .modern-icon-wrap {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #ffffff;
  transform: scale(1.08);
}

.modern-service-card h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
  min-height: 54px;
}

/* ══════════════════════════════════════
   CONTENT BAND
   ══════════════════════════════════════ */
.modern-content-band {
  background: #ffffff;
}

.modern-content-band .line {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 56px);
}

/* ══════════════════════════════════════
   RATE TABLE
   ══════════════════════════════════════ */
.modern-rate-preview {
  background: linear-gradient(180deg, var(--bg), #ffffff);
}

.modern-table-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  overflow-x: auto;
}

.modern-table {
  border-collapse: collapse;
  color: var(--ink);
  font-size: 15px;
  min-width: 640px;
  width: 100%;
}

.modern-table thead {
  background: linear-gradient(135deg, var(--ink), #1e293b);
  color: #ffffff;
}

.modern-table th,
.modern-table td {
  border: 0;
  padding: 16px 22px;
  text-align: left;
  vertical-align: middle;
}

.modern-table thead th {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.modern-table tbody tr {
  background: #ffffff;
  border-bottom: 1px solid var(--line-soft);
  transition: background 180ms var(--ease);
}

.modern-table tbody tr:hover {
  background: var(--red-soft);
}

.modern-table tbody tr:nth-of-type(2n) {
  background: #fafbfc;
}

.modern-table tbody tr:nth-of-type(2n):hover {
  background: var(--red-soft);
}

.modern-table td:last-child {
  text-align: right;
}

/* ══════════════════════════════════════
   PAGE HERO (detail pages)
   ══════════════════════════════════════ */
.modern-page-hero {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72)),
    url("/img/conver_title_bg_01.jpg") center/cover no-repeat;
  padding: 160px 0 80px;
}

.modern-page-hero h1 {
  color: #ffffff;
  font-size: clamp(32px, 5vw, 52px);
}

.modern-page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
  margin: 0;
  max-width: 680px;
}

/* ══════════════════════════════════════
   ARTICLE LAYOUT
   ══════════════════════════════════════ */
.modern-article-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.modern-article-main,
.modern-rate-content {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(26px, 5vw, 48px);
}

.modern-article-main h2,
.modern-rate-content h2 {
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 22px;
}

.modern-article-intro {
  border-left: 4px solid var(--red);
  margin-bottom: 28px;
  padding-left: 20px;
}

.modern-article-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
  height: auto;
  margin: 28px 0;
  width: 100%;
}

.modern-article-aside,
.modern-office-card {
  align-self: start;
  padding: 28px;
  position: sticky;
  top: 96px;
}

.modern-article-aside h3,
.modern-office-card h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.modern-article-aside p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* ══════════════════════════════════════
   NEWS
   ══════════════════════════════════════ */
.modern-news-list {
  display: grid;
  gap: 24px;
}

.modern-news-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  grid-template-columns: 320px minmax(0, 1fr);
  overflow: hidden;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}

.modern-news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.modern-news-image {
  display: block;
  min-height: 230px;
  overflow: hidden;
}

.modern-news-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
  width: 100%;
}

.modern-news-card:hover .modern-news-image img {
  transform: scale(1.05);
}

.modern-news-content {
  padding: 28px;
}

.modern-news-date {
  color: var(--teal);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.modern-news-content h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
}

.modern-news-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Pagination */
.modern-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
}

.modern-pagination a,
.modern-pagination span {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: inline-flex;
  font-weight: 700;
  min-height: 40px;
  min-width: 40px;
  padding: 8px 12px;
  text-decoration: none;
  transition: all 180ms var(--ease);
}

.modern-pagination a:hover {
  border-color: var(--red);
  color: var(--red);
}

.modern-pagination .current {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.modern-contact-cover {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  height: min(520px, 56vw);
  margin-bottom: 28px;
  object-fit: cover;
  width: 100%;
}

.modern-contact-info-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 30px;
}

.modern-contact-info-card {
  padding: 26px;
}

.modern-contact-info-card i,
.modern-footer-item i {
  color: var(--red);
  display: block;
  font-size: 34px;
  margin-bottom: 16px;
}

.modern-contact-info-card h3 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
}

.modern-contact-info-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.modern-contact-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.modern-contact-form-card {
  padding: clamp(26px, 5vw, 42px);
}

.modern-contact-form-card h2 {
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 22px;
}

.modern-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modern-contact-form input,
.modern-contact-form textarea {
  background: var(--line-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  margin-bottom: 14px;
  min-height: 48px;
  padding: 13px 16px;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
  width: 100%;
}

.modern-contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus {
  background: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
  outline: none;
}

.modern-form-status {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 10px;
  margin-top: 14px;
  min-height: 24px;
}

.modern-form-status span,
.modern-form-status img {
  display: none;
}

.modern-office-hours {
  align-items: center;
  background: var(--teal-soft);
  border-radius: var(--radius);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  padding: 18px;
}

.modern-office-hours strong {
  color: var(--teal);
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
footer {
  background: #0f172a;
}

.modern-footer-cta {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  padding: 28px 0;
}

.modern-footer-cta .line,
.modern-footer-bottom .line {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.modern-footer-cta p {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  margin: 0;
}

.modern-footer-cta a,
.modern-footer-cta a:link,
.modern-footer-cta a:visited {
  background: #ffffff;
  border-radius: var(--radius);
  color: var(--red);
  font-weight: 800;
  padding: 12px 22px;
  text-decoration: none;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.modern-footer-cta a:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.modern-footer-main {
  background: #0f172a;
}

.modern-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
}

.modern-footer-map iframe {
  border: 0;
  filter: grayscale(30%);
  height: 100%;
  min-height: 430px;
}

.modern-footer-info {
  display: grid;
  gap: 20px;
  padding: clamp(28px, 5vw, 50px);
}

.modern-footer-item {
  display: grid;
  gap: 18px;
  grid-template-columns: 46px minmax(0, 1fr);
}

.modern-footer-item i {
  margin: 0;
}

.modern-footer-item h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}

.modern-footer-item p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.modern-footer-bottom {
  background: #0c1320;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
}

.modern-footer-bottom p,
.modern-footer-bottom a {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13px;
  margin: 0;
  text-decoration: none;
}

/* ══════════════════════════════════════
   MOTION
   ══════════════════════════════════════ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

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

/* ══════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media screen and (max-width: 1140px) {
  .modern-navbar {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .modern-article-layout,
  .modern-contact-layout {
    grid-template-columns: 1fr;
  }

  .modern-article-aside,
  .modern-office-card {
    position: static;
  }
}

@media screen and (max-width: 768px) {
  .modern-section {
    padding: 52px 0;
  }

  .modern-navbar {
    align-items: center;
    flex-wrap: wrap;
    min-height: 66px;
    padding: 10px 16px;
  }

  .modern-brand-wrap {
    flex: 0 0 auto;
    order: 1;
    width: auto !important;
  }

  .modern-brand img {
    max-width: 120px;
    width: 120px;
  }

  .modern-navbar.scrolled .modern-brand img {
    max-width: 108px;
    width: 108px;
  }

  .modern-lang-switch {
    margin-left: auto;
    order: 1;
  }

  .modern-nav-menu {
    display: flex;
    flex: 1 1 100%;
    justify-content: flex-end;
    order: 2;
    position: relative;
    width: auto !important;
  }

  .modern-menu-toggle {
    align-items: center;
    background: none;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    color: var(--nav-text);
    cursor: pointer;
    display: inline-flex !important;
    font-size: 20px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-align: center;
    transition: background 200ms var(--ease), border-color 200ms var(--ease);
    vertical-align: middle;
    width: 38px;
  }

  .modern-menu-toggle::after {
    display: none;
  }

  .modern-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
  }

  .modern-menu-toggle::before {
    content: "\2630";
  }

  .modern-menu-toggle[aria-expanded="true"]::before {
    content: "\2715";
  }

  .modern-nav-menu ul.right {
    align-items: stretch;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nav-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    margin-top: 8px;
    overflow: hidden;
    padding: 8px;
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    z-index: 1000;
  }

  .modern-nav-menu ul.right.show-menu {
    display: flex;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
  }

  .modern-nav-menu .chevron > li > a {
    border-radius: var(--radius-sm);
    color: var(--nav-text) !important;
    display: block;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 14px !important;
    text-align: left;
    width: 100%;
  }

  .modern-nav-menu .chevron > li > a::after {
    display: none;
  }

  .modern-nav-menu .chevron > li.active-item > a {
    background: rgba(220, 38, 38, 0.18) !important;
    color: #ffffff !important;
  }

  .modern-nav-menu .modern-submenu {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: none;
    margin: 0 !important;
    opacity: 1;
    padding: 0 0 0 12px !important;
    position: static;
    transform: none;
    visibility: visible;
    width: 100% !important;
  }

  .modern-nav-menu .modern-submenu.show-ul {
    display: block;
  }

  .modern-nav-menu .chevron > li > a {
    border: 0;
    border-radius: var(--radius);
    display: block;
    padding: 12px 14px;
    text-align: left;
  }

  .modern-nav-menu .chevron > li > a::after {
    display: none;
  }

  .modern-submenu {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 0;
    border-radius: var(--radius);
    box-shadow: none;
    display: none !important;
    height: 0;
    margin: 2px 0 6px 0 !important;
    min-width: 0 !important;
    opacity: 1;
    overflow: hidden;
    padding: 0 !important;
    position: static !important;
    transform: none;
    visibility: visible;
    width: 100% !important;
  }

  .modern-submenu.show-ul {
    display: block !important;
    height: auto !important;
    padding: 4px !important;
  }

  .modern-submenu li a {
    background: transparent !important;
    border: 0 !important;
    padding: 10px 12px !important;
  }

  .modern-lang-switch {
    flex: 0 0 auto;
    margin-left: 8px;
    order: 3;
    width: auto !important;
  }

  .modern-lang-switch a {
    height: 34px;
    min-width: 42px;
    padding: 0 8px;
  }

  .top-nav .nav-text {
    background: var(--red);
    border: 0;
    border-radius: var(--radius);
    color: #ffffff;
    cursor: pointer;
    display: block;
    font-size: 0;
    height: 40px;
    margin: 0 0 0 auto;
    padding: 0;
    position: relative;
    transition: background 200ms var(--ease);
    width: 40px;
  }

  .top-nav .nav-text:hover {
    background: var(--red-deep);
  }

  .top-nav .nav-text::before {
    content: "\2630";
    display: block;
    font-size: 22px;
    line-height: 40px;
    text-align: center;
  }

  .top-nav .nav-text::after {
    content: "";
    display: none;
  }

  .modern-home-hero,
  .modern-hero-carousel,
  .modern-hero-carousel .owl-wrapper-outer,
  .modern-hero-carousel .owl-wrapper,
  .modern-hero-carousel .owl-item,
  .modern-hero-carousel .item {
    height: 92vh;
    height: 92svh;
    min-height: 560px;
  }

  .modern-page-hero {
    padding: 140px 0 60px;
  }

  .modern-service-grid,
  .modern-contact-info-grid,
  .modern-form-grid,
  .modern-footer-grid {
    grid-template-columns: 1fr;
  }

  .modern-news-card {
    grid-template-columns: 1fr;
  }

  .modern-news-image {
    min-height: 220px;
  }

  .modern-footer-cta .line,
  .modern-footer-bottom .line {
    align-items: flex-start;
    flex-direction: column;
  }

  .modern-footer-cta p {
    font-size: 22px;
  }
}

@media screen and (max-width: 480px) {
  .modern-section-title {
    font-size: 26px;
  }

  .modern-hero-overlay h1 {
    font-size: 30px;
  }

  .modern-btn {
    width: 100%;
  }

  .modern-table {
    min-width: 520px;
  }

  .modern-contact-cover {
    height: 260px;
  }
}