*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

:root {
  --navy:       #1a3a6b;
  --navy-dark:  #122b55;
  --navy-light: #234a88;
  --accent:     #2b5bb8;
  --accent-hover: #1e4a9f;
  --teal:       #4fc3c3;
  --bg:         #eef2f7;
  --card:       #ffffff;
  --text:       #1e293b;
  --muted:      #64748b;
  --border:     #dde4f0;
  --radius:     14px;
  --shadow:     0 2px 16px rgba(26,58,107,.10);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 48px 16px 64px;
}

@media (max-width: 576px) {
  body {
    padding: 32px 12px 48px;
  }
}

.container {
  width: 100%;
  max-width: 480px !important;
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: fadeUp .5s ease both;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 576px) {
  .container {
    max-width: 100% !important;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PROFILE ── */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 32px;
  text-align: center;
}

.avatar-wrap {
  position: relative;
  width: 96px; 
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 576px) {
  .avatar-wrap {
    width: 80px; 
    height: 80px;
  }
  
  .avatar-wrap img,
  .avatar-fallback {
    width: 80px !important;
    height: 80px !important;
    border-radius: 18px !important;
    font-size: 26px !important;
  }
}

.avatar-img {
  width: 96px; 
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow), 0 0 0 3px var(--border);
  display: block;
}

.avatar-wrap img {
  width: 96px; 
  height: 96px;
  border-radius: 22px;
  background: #fff;
  object-fit: cover;
  padding: 0;
  box-shadow: var(--shadow), 0 0 0 3px var(--border);
}

.avatar-fallback {
  width: 96px; 
  height: 96px;
  border-radius: 22px;
  background: var(--navy);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 32px; 
  color: #fff;
  box-shadow: var(--shadow), 0 0 0 3px var(--border);
  position: absolute;
}

.verified {
  position: absolute; 
  bottom: -6px; 
  right: -6px;
  width: 26px; 
  height: 26px;
  background: #16a34a;
  border-radius: 50%;
  border: 2.5px solid #fff;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 13px; 
  color: #fff;
}

.profile h1 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--navy);
  line-height: 1.1;
}

@media (max-width: 576px) {
  .profile h1 {
    font-size: 24px;
  }
}

.profile p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 340px;
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  margin-top: 28px;
}

/* ── PRIMARY BUTTON ── */
.btn-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 17px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(43,91,184,.25);
  position: relative;
  width: 100%;
  justify-content: center;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,91,184,.30);
}

.btn-primary .arrow {
  margin-left: auto;
  opacity: .7;
  font-size: 16px;
}

.btn-primary .icon { 
  font-size: 20px; 
}

@media (max-width: 576px) {
  .btn-primary {
    font-size: 14px;
    padding: 15px 18px;
    gap: 10px;
  }
}

/* ── ACCORDION ── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acc-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .2s;
}

.acc-item.open { 
  box-shadow: 0 4px 22px rgba(26,58,107,.13); 
}

.acc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}

.acc-header:hover { 
  background: #f5f8ff; 
}

.acc-header .acc-icon { 
  font-size: 20px; 
  color: var(--accent); 
}

.acc-header .acc-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
}

.acc-chevron {
  font-size: 18px;
  color: var(--muted);
  transition: transform .3s ease;
}

.acc-item.open .acc-chevron { 
  transform: rotate(180deg); 
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s;
}

.acc-item.open .acc-body { 
  max-height: 600px; 
}

.acc-inner {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── BRANCH CARD ── */
.branch-card {
  background: #f8faff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.branch-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.branch-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-direction: column;
}

@media (min-width: 576px) {
  .branch-actions {
    flex-direction: row;
  }
}

.btn-wa, .btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .15s, opacity .15s;
  flex: 1;
  justify-content: center;
}

.btn-wa:hover, .btn-maps:hover { 
  transform: translateY(-1px); 
  opacity: .9; 
}

.btn-wa { 
  background: #d1f0ec; 
  color: #0e6860; 
}

.btn-maps { 
  background: #e8edf7; 
  color: var(--navy); 
}

@media (max-width: 576px) {
  .btn-wa, .btn-maps {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* ── SOCIAL MEDIA BUTTONS ── */
.social-media-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.social-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}

.social-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-direction: column;
}

@media (min-width: 576px) {
  .social-actions {
    flex-direction: row;
  }
}

.btn-tiktok, .btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .15s, opacity .15s;
  flex: 1;
  justify-content: center;
}

.btn-tiktok:hover, .btn-instagram:hover { 
  transform: translateY(-1px); 
  opacity: .9; 
}

.btn-tiktok { 
  background: #000000; 
  color: #ffffff; 
}

.btn-instagram { 
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  background-size: 200% 200%;
}

@media (max-width: 576px) {
  .btn-tiktok, .btn-instagram {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* ── FOOTER ── */
.footer {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer p { 
  font-size: 12px; 
  color: #94a3b8; 
}

.footer-icons { 
  display: flex; 
  gap: 10px; 
}

.footer-icons a {
  width: 32px; 
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: background .2s;
}

.footer-icons a:hover { 
  background: var(--accent); 
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-top: 36px;
}
