/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1a2332;
  --navy-light: #243347;
  --gold: #c9a96e;
  --gold-light: #d4bb8a;
  --gold-dark: #b08c4a;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --gray-light: #e8e6e1;
  --gray: #9a9a9a;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-svg {
  height: 40px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-svg {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo-text .logo-name {
  color: var(--white);
}

.footer-logo-text .logo-sub {
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--navy);
  padding: 10px 24px !important;
  border-radius: 4px;
  transition: background var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--navy-light) !important;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 50%, var(--off-white) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 100px;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  color: var(--gold);
  position: relative;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(26, 35, 50, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.35);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 460px;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  opacity: 0.3;
  z-index: -1;
}

/* ===== STATS BAR ===== */
.stats {
  background: var(--navy);
  padding: 48px 0;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 120px;
  height: 120px;
  border-left: 3px solid var(--gold);
  border-top: 3px solid var(--gold);
  border-radius: 4px 0 0 0;
  opacity: 0.4;
}

.about-content {
  max-width: 500px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.about-features {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--off-white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}

.about-feature-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  background: var(--off-white);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--gray-light);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--gold);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== TEAM ===== */
.team {
  padding: 120px 0;
}

.team-header {
  text-align: center;
  margin-bottom: 64px;
}

.team-header .section-subtitle {
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
  position: relative;
}

.team-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
  aspect-ratio: 3/4;
  background: var(--off-white);
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(26, 35, 50, 0.85));
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.team-card:hover .team-card-overlay {
  opacity: 1;
}

.team-card-overlay .btn {
  font-size: 0.78rem;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--white);
  border-radius: 4px;
}

.team-card-overlay .btn:hover {
  background: var(--gold-dark);
}

.team-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}

.team-card-spec {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.5;
}

/* Placeholder for missing photo */
.team-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
  background: var(--off-white);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 40px;
  max-width: 440px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.contact-detail-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-detail-text span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.contact-detail-text a {
  color: var(--text-light);
}

.contact-detail-text a:hover {
  color: var(--gold);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.contact-form h3 {
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label .required {
  color: #c0392b;
  font-weight: 700;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group .form-row {
  margin-bottom: 0;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 64px 0 24px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  margin-bottom: 0;
}

.footer-disclaimer p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

.footer-disclaimer a {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-disclaimer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

/* ===== TEAM DETAIL PAGES ===== */
.team-detail-hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

.team-detail-hero .container {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}

.team-detail-photo {
  position: relative;
}

.team-detail-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.team-detail-photo .team-card-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 8px;
  font-size: 4rem;
}

.team-detail-info {
  padding-top: 20px;
}

.team-detail-info .section-label {
  margin-bottom: 8px;
}

.team-detail-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.team-detail-role {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 32px;
}

.team-detail-bio {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 24px;
}

.team-detail-specializations {
  margin-top: 40px;
}

.team-detail-specializations h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-tag {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 18px;
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: 100px;
  color: var(--navy);
  transition: all var(--transition);
}

.spec-tag:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.team-detail-languages {
  margin-top: 32px;
}

.team-detail-languages h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.team-detail-languages p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.team-detail-education {
  margin-top: 40px;
}

.team-detail-education h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.education-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.education-item::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 32px;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--gold);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

/* Other team members section */
.other-team {
  padding: 80px 0;
  background: var(--off-white);
}

.other-team-header {
  text-align: center;
  margin-bottom: 48px;
}

.other-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 360px;
  }

  .hero-image::after {
    display: none;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

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

  .contact .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-map iframe {
    width: 100%;
  }

  .team-detail-hero .container {
    grid-template-columns: 260px 1fr;
    gap: 40px;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero::before {
    display: none;
  }

  .about-image::before {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .logo-svg {
    height: 34px;
  }

  .logo-name {
    font-size: 0.82rem;
    letter-spacing: 1px;
  }

  .logo-sub {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
  }

  .stats {
    overflow: hidden;
  }

  .stats .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .team-detail-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-detail-photo {
    max-width: 300px;
    margin: 0 auto;
  }

  .team-detail-specializations,
  .team-detail-education,
  .team-detail-languages {
    text-align: left;
  }

  .spec-tags {
    justify-content: center;
  }

  .back-link {
    justify-content: center;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-logo {
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo-svg {
    height: 28px;
  }

  .logo-name {
    font-size: 0.72rem;
    letter-spacing: 0.5px;
  }

  .logo-sub {
    font-size: 0.48rem;
    letter-spacing: 1px;
  }

  .logo {
    gap: 8px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-actions {
    flex-direction: column;
    padding-bottom: 32px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .stats .container {
    grid-template-columns: 1fr;
  }

  .other-team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .footer-logo-svg {
    height: 24px;
  }
}
