/* Modern site theme for Sri Mahalakshmi Traders */
:root {
  --bg: #f4efe6;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-dark: #1f2a22;
  --text: #1c241f;
  --muted: #617168;
  --line: rgba(37, 53, 42, 0.12);
  --brand: #2f7d4b;
  --brand-deep: #164e2c;
  --accent: #d89a3d;
  --accent-soft: #f4dfbd;
  --danger: #c95f4d;
  --shadow-lg: 0 28px 80px rgba(23, 34, 27, 0.14);
  --shadow-md: 0 16px 40px rgba(23, 34, 27, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 154, 61, 0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(47, 125, 75, 0.14), transparent 24%),
    linear-gradient(180deg, #f7f2e8 0%, #f3efe7 45%, #f6f2ea 100%);
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: var(--brand);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus {
  color: var(--brand-deep);
  text-decoration: none;
}

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  font-family: "Montserrat", sans-serif;
  line-height: 1.1;
}

.container {
  width: min(var(--container), calc(100% - 32px));
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(10px);
  z-index: -1;
  opacity: 0.55;
}

.page-shell::before {
  top: -80px;
  left: -120px;
  background: rgba(216, 154, 61, 0.16);
}

.page-shell::after {
  right: -120px;
  bottom: 80px;
  background: rgba(47, 125, 75, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(251, 248, 242, 0.82);
  border-bottom: 1px solid rgba(37, 53, 42, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 86px;
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-mark strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--brand-deep);
}

.dashboard-header .container {
  column-gap: 18px;
  row-gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.dashboard-header .brand-mark {
  flex: 0 0 auto;
}

.dashboard-header .brand-mark strong {
  font-size: 1.55rem;
  white-space: nowrap;
}

.brand-mark span {
  font-size: 0.84rem;
  color: var(--muted);
}

.site-nav {
  margin-left: auto;
}

.dashboard-header .site-nav {
  order: 3;
  flex: 0 0 100%;
  width: 100%;
  margin-left: 0;
}

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

.dashboard-header .nav-menu {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 0;
}

.nav-menu > li {
  position: relative;
  flex: 0 0 auto;
}

.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
}

.dashboard-header .nav-menu > li > a {
  white-space: nowrap;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(37, 53, 42, 0.08);
  box-shadow: 0 10px 24px rgba(23, 34, 27, 0.06);
}

.dashboard-header .nav-menu .menu-has-children > ul {
  top: calc(100% + 8px);
}

.nav-menu > li.menu-active > a,
.nav-menu > li > a:hover,
.nav-menu > li:hover > a {
  background: rgba(47, 125, 75, 0.09);
  color: var(--brand-deep);
}

.nav-menu .menu-has-children > ul {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(37, 53, 42, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.nav-menu .menu-has-children:hover > ul,
.nav-menu .menu-has-children:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .menu-has-children ul li + li {
  margin-top: 3px;
}

.nav-menu .menu-has-children ul a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text);
}

.nav-menu .menu-has-children ul a:hover {
  background: rgba(47, 125, 75, 0.08);
}

.mobile-nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
  color: var(--brand-deep);
  font-size: 1.8rem;
}

.hero {
  padding: 70px 0 56px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.content-card,
.dashboard-panel,
.contact-panel,
.module-card,
.metric-card,
.login-card,
.glass-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-copy,
.content-card,
.dashboard-panel,
.contact-panel,
.login-card,
.glass-card {
  padding: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(216, 154, 61, 0.18);
  color: #8f5d17;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title,
.section-title {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  color: #18221b;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn-modern,
.btn-secondary-modern,
.btn-link-modern,
.btn.btn-primary,
.btn.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-modern,
.btn.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(22, 78, 44, 0.22);
}

.btn-secondary-modern,
.btn.btn-outline-light {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border: 1px solid rgba(37, 53, 42, 0.1);
}

.btn-modern:hover,
.btn-secondary-modern:hover,
.btn.btn-primary:hover,
.btn.btn-outline-light:hover {
  transform: translateY(-1px);
  color: inherit;
}

.hero-stats,
.feature-grid,
.metrics-grid,
.module-grid,
.contact-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.stat-chip,
.metric-card,
.module-card,
.info-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 53, 42, 0.08);
}

.stat-chip strong,
.metric-card strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.55rem;
  color: var(--brand-deep);
}

.stat-chip span,
.metric-card span,
.module-card p,
.info-card p {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(22, 78, 44, 0.08), rgba(216, 154, 61, 0.08)),
    url("../banner-1.jpg") center/cover no-repeat;
}

.hero-visual .visual-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 40px;
  color: #fff;
}

.visual-badge {
  max-width: 260px;
  margin-left: auto;
  margin-bottom: auto;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(19, 31, 24, 0.55);
  backdrop-filter: blur(12px);
}

.visual-badge strong,
.visual-callout strong {
  display: block;
  font-size: 1.1rem;
}

.visual-callout {
  max-width: 360px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(19, 31, 24, 0.68);
  backdrop-filter: blur(12px);
}

.section-block {
  padding: 18px 0 72px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-grid,
.module-grid,
.contact-grid,
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-page-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  align-items: start;
}

.feature-card,
.info-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 53, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.address-card {
  grid-column: span 3;
}

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

.contact-info-grid .address-card {
  grid-column: span 2;
}

.address-lines {
  margin-bottom: 0;
}

.address-lines span {
  display: block;
}

.contact-detail-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.detail-label {
  margin-bottom: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8f5d17;
}

.detail-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(47, 125, 75, 0.08);
  border: 1px solid rgba(47, 125, 75, 0.14);
  color: var(--brand-deep);
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.detail-link:hover,
.detail-link:focus {
  background: rgba(47, 125, 75, 0.14);
  color: var(--brand-deep);
}

.feature-icon,
.info-icon,
.module-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47, 125, 75, 0.14), rgba(216, 154, 61, 0.18));
  color: var(--brand-deep);
  font-size: 1.45rem;
}

.split-grid .content-card {
  min-height: 100%;
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--muted);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

.contact-grid {
  align-items: start;
}

.contact-panel iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 20px;
}

.form-control {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(37, 53, 42, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  color: var(--text);
}

textarea.form-control {
  min-height: 144px;
  padding-top: 14px;
  resize: vertical;
}

.form-control:focus {
  border-color: rgba(47, 125, 75, 0.4);
  box-shadow: 0 0 0 4px rgba(47, 125, 75, 0.1);
}

.form-group label,
.control-label {
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.login-hero {
  padding-top: 34px;
}

.login-only-grid {
  grid-template-columns: minmax(320px, 640px);
  justify-content: center;
}

.login-card {
  overflow: hidden;
}

.login-box,
.login-form {
  width: 100%;
}

.login-form,
.forget-form {
  padding: 0;
}

.login-head {
  margin-bottom: 26px;
  font-size: 1.45rem;
  color: var(--brand-deep);
}

.login-support {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.mini-note {
  padding: 18px;
  border-radius: 18px;
  background: rgba(47, 125, 75, 0.07);
  color: var(--muted);
}

.dashboard-shell {
  padding: 36px 0 64px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-bottom: 28px;
}

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

.module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.module-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  box-shadow: var(--shadow-md);
}

.module-card h3 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.module-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.module-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(47, 125, 75, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(22, 78, 44, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
}

.user-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-header .user-actions {
  flex: 0 0 auto;
  margin-left: auto;
}

.dashboard-header .account-pill,
.dashboard-header .user-trigger,
.dashboard-header .user-trigger span {
  white-space: nowrap;
}

.user-menu {
  position: relative;
}

.user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(37, 53, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-weight: 700;
}

.dashboard-header .user-trigger {
  gap: 8px;
  padding: 0 16px;
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 190px;
  padding: 10px;
  list-style: none;
  margin: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(37, 53, 42, 0.08);
  box-shadow: var(--shadow-md);
  display: none;
}

.user-menu.open .user-dropdown {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
}

.user-dropdown a:hover {
  background: rgba(47, 125, 75, 0.08);
}

.divider {
  height: 1px;
  margin: 6px 0;
  background: rgba(37, 53, 42, 0.08);
}

#footer {
  padding: 0 0 34px;
}

.footer-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(28, 36, 31, 0.96);
  color: rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.footer-card strong,
.footer-card a {
  color: #fff;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(22, 78, 44, 0.26);
}

.back-to-top:hover {
  color: #fff;
}

.alert {
  border: 0;
  border-radius: 16px;
}

.alert-info {
  background: rgba(216, 154, 61, 0.16);
  color: #805518;
}

.alert-success {
  background: rgba(47, 125, 75, 0.14);
  color: var(--brand-deep);
}

.alert-danger {
  background: rgba(201, 95, 77, 0.14);
  color: #8a2d1f;
}

.master-page {
  padding: 18px 0 36px;
}

.master-shell {
  display: grid;
  gap: 16px;
}

.master-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(37, 53, 42, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(23, 34, 27, 0.12);
}

.master-card {
  padding: 22px;
}

.master-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(216, 154, 61, 0.18);
  color: #8f5d17;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.master-title {
  margin: 12px 0 0;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  font-weight: 800;
  color: #18221b;
}

.master-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.master-meta {
  color: #617168;
}

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

.master-form-grid.form-wide-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.master-field {
  display: grid;
  gap: 5px;
}

.master-field-full {
  grid-column: 1 / -1;
}

.master-label {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #617168;
}

.master-input,
.master-select,
.master-textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(37, 53, 42, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #1c241f;
  box-shadow: none;
  padding: 0 12px;
}

.master-textarea {
  min-height: 84px;
  padding-top: 10px;
  resize: vertical;
}

.master-input:focus,
.master-select:focus,
.master-textarea:focus {
  border-color: rgba(47, 125, 75, 0.4);
  box-shadow: 0 0 0 4px rgba(47, 125, 75, 0.1);
}

.master-input[readonly],
.master-select[readonly] {
  background: rgba(28, 91, 54, 0.06);
  color: #164e2c;
  font-weight: 700;
}

.master-feedback {
  min-height: 18px;
  margin-bottom: 4px;
  color: #c95f4d;
  font-weight: 700;
}

.master-actions,
.inline-edit-actions {
  width: 100%;
  margin-top: 14px;
}

.master-actions td,
.inline-edit-actions td {
  border: 0;
  padding: 0;
}

.master-actions tr,
.inline-edit-actions tr {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.master-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.master-btn:hover,
.master-btn:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.master-btn-primary {
  background: linear-gradient(135deg, #2f7d4b 0%, #164e2c 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(22, 78, 44, 0.22);
}

.master-btn-secondary {
  background: rgba(47, 125, 75, 0.08);
  color: #164e2c;
  border: 1px solid rgba(47, 125, 75, 0.12);
}

.master-results {
  margin-top: 14px;
  border: 1px solid rgba(37, 53, 42, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
  min-height: 80px;
}

.master-results:empty {
  display: none;
}

.modal-content {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-body,
.modal-footer {
  padding: 24px;
}

@media (max-width: 1199px) {
  .hero-grid,
  .split-grid,
  .dashboard-hero,
  .contact-grid,
  .feature-grid,
  .module-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-page-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }
}

@media (max-width: 991px) {
  .site-header .container {
    flex-wrap: wrap;
    min-height: 78px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .nav-menu,
  .dashboard-hero,
  .hero-grid,
  .split-grid,
  .contact-grid,
  .feature-grid,
  .module-grid,
  .info-grid,
  .metrics-grid,
  .hero-stats {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav-menu {
    gap: 8px;
    padding-top: 8px;
  }

  .nav-menu > li > a {
    width: 100%;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.74);
  }

  .nav-menu .menu-has-children > ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 8px;
    box-shadow: none;
  }

  .nav-menu .menu-has-children.open > ul {
    display: block;
  }

  .hero-copy,
  .content-card,
  .dashboard-panel,
  .contact-panel,
  .login-card,
  .glass-card,
  .hero-visual .visual-content {
    padding: 28px;
  }

  .address-card {
    grid-column: auto;
  }

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

  .user-actions {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }
}

@media (max-width: 575px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .site-header .container {
    gap: 14px;
  }

  .brand-mark strong {
    font-size: 1rem;
  }

  .hero,
  .section-block,
  .dashboard-shell {
    padding-bottom: 44px;
  }

  .hero-copy,
  .content-card,
  .dashboard-panel,
  .contact-panel,
  .login-card,
  .glass-card {
    padding: 22px;
    border-radius: 24px;
  }

  .footer-card {
    padding: 20px;
    border-radius: 22px;
  }
}
