/* ============================================
   Dominic Barraza — Abogada de Familia
   Sitio Web Personal
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-teal: #2D6A6A;
  --color-teal-dark: #1E4D4D;
  --color-teal-light: #E8F4F4;
  --color-coral: #E8917A;
  --color-coral-light: #F5C4B8;
  --color-coral-bg: #FDF0EC;
  --color-cream: #FAF6F1;
  --color-white: #FFFFFF;
  --color-text: #2C2C2C;
  --color-text-light: #6B6B6B;
  --color-whatsapp: #25D366;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  --max-width: 1100px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-teal-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1rem; }

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

/* --- Layout --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

section {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-xs);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-coral);
  border-radius: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
  background: #d9806a;
}

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

.btn-secondary:hover {
  background: var(--color-teal-dark);
}

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

.btn-whatsapp:hover {
  background: #1fb855;
}

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

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

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 246, 241, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 106, 106, 0.1);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

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

.logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-teal);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-coral);
  transition: width 0.3s;
}

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

.nav-cta {
  display: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-teal-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  padding-top: calc(72px + var(--space-lg));
  padding-bottom: var(--space-xl);
  background: var(--color-cream);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Hero background decorations (#9) */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: var(--color-coral-light);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: var(--color-teal);
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

.hero > .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
}

/* Hero sequential animation (#2) */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-anim-1,
.hero-anim-2,
.hero-anim-3,
.hero-anim-4,
.hero-anim-5 {
  opacity: 0;
  animation: heroFadeIn 0.6s ease forwards;
}

.hero-anim-1 { animation-delay: 0.1s; }
.hero-anim-2 { animation-delay: 0.25s; }
.hero-anim-3 { animation-delay: 0.4s; }
.hero-anim-4 { animation-delay: 0.55s; }
.hero-anim-5 { animation-delay: 0.7s; }

.hero-badge {
  display: inline-block;
  background: var(--color-teal-light);
  color: var(--color-teal);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.hero-content h1 {
  margin-bottom: var(--space-xs);
}

.hero-content h1 span {
  color: var(--color-coral);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-teal);
  margin-bottom: var(--space-sm);
  font-weight: 400;
  font-style: italic;
}

.hero-text {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-photo {
  display: flex;
  justify-content: center;
}

.photo-frame {
  width: 280px;
  height: 340px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-teal-light), var(--color-coral-bg));
  border: 4px solid var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-teal);
  font-weight: 700;
}

.photo-frame::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--color-coral-light);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}

.photo-frame::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 60px;
  height: 60px;
  background: var(--color-teal-light);
  border-radius: 50%;
  opacity: 0.6;
  z-index: 0;
}

/* --- About --- */
.about {
  background: var(--color-white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-content {
  max-width: 650px;
  margin: 0 auto;
}

.about-content p {
  color: var(--color-text-light);
  font-size: 1.02rem;
}

.about-highlight {
  background: var(--color-teal-light);
  border-left: 4px solid var(--color-teal);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--space-md) 0;
  font-style: italic;
  color: var(--color-teal-dark);
}

.about-stats {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-coral);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* --- Services --- */
.services {
  background: var(--color-teal-light);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.services-grid > .service-card {
  width: 100%;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-coral);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--color-teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  transition: background 0.3s;
}

.service-card:hover .service-icon {
  background: var(--color-coral-bg);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-teal);
  transition: fill 0.3s;
}

.service-card:hover .service-icon svg {
  fill: var(--color-coral);
}

.service-card h3 {
  margin-bottom: var(--space-xs);
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.93rem;
  margin-bottom: 0;
}

/* --- Testimonials --- */
.testimonials {
  background: var(--color-cream);
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.testimonials-grid > .testimonial-card {
  width: 100%;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  border-left: 3px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-coral);
}

.testimonial-quote {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-md);
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-coral-light);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-text-wrapper {
  position: relative;
  z-index: 1;
  flex: 1;
}

.testimonial-text {
  max-height: 150px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.testimonial-card.expanded .testimonial-text {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.testimonial-text.no-overflow {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.testimonial-toggle {
  background: none;
  border: none;
  color: var(--color-teal);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 0.6rem;
  transition: color 0.2s;
}

.testimonial-toggle:hover {
  color: var(--color-coral);
}

.testimonial-toggle.hidden {
  display: none;
}

.testimonial-card p {
  color: var(--color-text-light);
  font-style: italic;
  font-size: 0.97rem;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: var(--space-sm);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-teal);
  font-size: 0.85rem;
}

.author-info .author-name {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
}

.author-info .author-detail {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* --- Contact --- */
.contact {
  background: var(--color-white);
  padding-bottom: calc(var(--space-xl) + 60px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.contact-form {
  background: var(--color-cream);
  padding: var(--space-md);
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--color-teal-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(45, 106, 106, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

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

.form-group input:invalid:not(:placeholder-shown) {
  border-color: var(--color-coral);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
}

.contact-info h3 {
  margin-bottom: var(--space-xs);
}

.contact-info > p {
  color: var(--color-text-light);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 0;
  border-radius: var(--radius);
  transition: background 0.3s, transform 0.3s;
}

.contact-method:hover {
  background: var(--color-teal-light);
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  transform: translateX(4px);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-teal);
}

.contact-method-text {
  font-size: 0.93rem;
}

.contact-method-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-teal-dark);
}

/* --- Footer --- */
.footer {
  background: var(--color-teal-dark);
  color: rgba(255,255,255,0.8);
  padding: var(--space-lg) 0 var(--space-md);
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}


/* --- WhatsApp Float with pulse (#4) --- */
@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-whatsapp);
  animation: pulse-ring 2s ease-out infinite;
  z-index: -1;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover::before {
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* --- Section dividers (#3) --- */
.section-divider {
  position: relative;
  height: 60px;
  margin-top: -1px;
  overflow: hidden;
  line-height: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.section-divider--cream-white svg { fill: var(--color-white); }
.section-divider--white-teal svg { fill: var(--color-teal-light); }
.section-divider--teal-cream svg { fill: var(--color-cream); }

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered card animations (#1) */
.services-grid .fade-in:nth-child(1) { transition-delay: 0ms; }
.services-grid .fade-in:nth-child(2) { transition-delay: 100ms; }
.services-grid .fade-in:nth-child(3) { transition-delay: 200ms; }
.services-grid .fade-in:nth-child(4) { transition-delay: 300ms; }
.services-grid .fade-in:nth-child(5) { transition-delay: 400ms; }
.services-grid .fade-in:nth-child(6) { transition-delay: 500ms; }

.testimonials-grid .fade-in:nth-child(1) { transition-delay: 0ms; }
.testimonials-grid .fade-in:nth-child(2) { transition-delay: 150ms; }
.testimonials-grid .fade-in:nth-child(3) { transition-delay: 300ms; }

/* ============================================
   Responsive — Mobile First
   ============================================ */

/* Tablet */
/* --- Role Cards (About) --- */
.about-roles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto var(--space-md);
}

.role-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) var(--space-md);
  border-top: 4px solid var(--color-teal);
  transition: transform 0.3s, box-shadow 0.3s;
}

.role-card:nth-child(2) {
  border-top-color: var(--color-coral);
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.role-icon {
  width: 52px;
  height: 52px;
  background: var(--color-teal-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.role-card:nth-child(2) .role-icon {
  background: var(--color-coral-bg);
}

.role-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-teal);
}

.role-card:nth-child(2) .role-icon svg {
  color: var(--color-coral);
}

.role-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-teal-dark);
  margin-bottom: var(--space-sm);
}

.role-card:nth-child(2) h3 {
  color: var(--color-coral);
}

.role-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: var(--space-xs);
}

.role-card p:last-child {
  margin-bottom: 0;
}

/* --- Services Group Title --- */
.services-group-title {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-teal-dark);
  margin-bottom: var(--space-sm);
}

.services-group-title svg {
  color: var(--color-teal);
  flex-shrink: 0;
}

.services-group--mediacion .services-group-title {
  color: var(--color-coral);
}

.services-group--mediacion .services-group-title svg {
  color: var(--color-coral);
}

/* Mediación card accent */
.service-card--mediacion {
  border-top: 3px solid transparent;
}

.service-card--mediacion:hover {
  border-top-color: var(--color-teal);
}

.service-card--mediacion .service-icon {
  background: var(--color-coral-bg);
}

.service-card--mediacion .service-icon svg {
  fill: var(--color-coral);
}

.service-card--mediacion:hover .service-icon {
  background: var(--color-teal-light);
}

.service-card--mediacion:hover .service-icon svg {
  fill: var(--color-teal);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: var(--color-white);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .about-roles {
    grid-template-columns: 1fr 1fr;
  }

  .menu-toggle { display: none; }

  .nav-menu {
    display: flex !important;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hero > .container {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .hero-content { text-align: left; }
  .hero-text { margin-left: 0; }
  .hero-buttons { justify-content: flex-start; }

  .photo-frame {
    width: 320px;
    height: 400px;
  }

  .services-grid > .service-card {
    width: calc(50% - var(--space-md) / 2);
  }

  .testimonials-grid > .testimonial-card {
    width: calc(50% - var(--space-md) / 2);
  }

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

  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .services-grid > .service-card {
    width: calc(33.333% - var(--space-md) * 2 / 3);
  }

  .testimonials-grid > .testimonial-card {
    width: calc(33.333% - var(--space-md) * 2 / 3);
  }

  .photo-frame {
    width: 360px;
    height: 440px;
  }
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(45, 106, 106, 0.1);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
    align-self: flex-start;
  }
}
