/* ================================================================
   servicios.css — Services page styles
   ================================================================ */

/* ── SERVICES DETAIL GRID ── */
.services-detail { background: var(--gbg); padding: 56px 40px; }
.services-detail-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; max-width: 1280px; margin: 0 auto;
}

/* ── SERVICE DETAIL CARD ── */
.sdetail-card {
  background: var(--white); border: 1.5px solid var(--gray);
  border-radius: 14px; overflow: hidden;
  transition: transform .28s, box-shadow .28s;
  display: flex; flex-direction: column;
}
.sdetail-card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px rgba(0,48,135,.13); }
.sdetail-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.sdetail-img-placeholder {
  width: 100%; height: 200px; display: flex; align-items: center; justify-content: center;
  font-size: 56px; background: linear-gradient(135deg, var(--sky), #c8d8f0);
}
.sdetail-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.sdetail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sdetail-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.sd-c1 .sdetail-icon { background: #E8EEF9; } .sd-c2 .sdetail-icon { background: #E6F6FB; }
.sd-c3 .sdetail-icon { background: #E6F1FA; } .sd-c4 .sdetail-icon { background: #FFF0E6; }
.sd-c5 .sdetail-icon { background: #F3EAF9; } .sd-c6 .sdetail-icon { background: #E8F5E9; }
.sd-c7 .sdetail-icon { background: #E8EEF9; } .sd-c8 .sdetail-icon { background: #E6F1FA; }
.sdetail-title h3 { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 1px; color: var(--navy); line-height: 1; }
.sdetail-tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-top: 3px; }
.sd-c1 .sdetail-tag { color: var(--navy); }  .sd-c2 .sdetail-tag { color: var(--acc2); }
.sd-c3 .sdetail-tag { color: var(--blue); }  .sd-c4 .sdetail-tag { color: var(--orange); }
.sd-c5 .sdetail-tag { color: #6A0DAD; }      .sd-c6 .sdetail-tag { color: #2E7D32; }
.sd-c7 .sdetail-tag { color: var(--navy); }  .sd-c8 .sdetail-tag { color: var(--blue); }

.sdetail-body > p { font-size: 13px; color: var(--soft); line-height: 1.80; margin-bottom: 16px; }
.sdetail-list { list-style: none; border-top: 1.5px solid var(--gray); padding-top: 14px; margin-bottom: 20px; flex: 1; }
.sdetail-list li { font-size: 13px; color: var(--soft); padding: 5px 0 5px 20px; position: relative; border-bottom: 1px solid var(--gbg); }
.sdetail-list li:last-child { border-bottom: none; }
.sdetail-list li::before { content: '✓'; position: absolute; left: 0; font-weight: 700; font-size: 11px; top: 6px; }
.sd-c1 .sdetail-list li::before { color: var(--navy); }  .sd-c2 .sdetail-list li::before { color: var(--acc2); }
.sd-c3 .sdetail-list li::before { color: var(--blue); }  .sd-c4 .sdetail-list li::before { color: var(--orange); }
.sd-c5 .sdetail-list li::before { color: #6A0DAD; }      .sd-c6 .sdetail-list li::before { color: #2E7D32; }
.sd-c7 .sdetail-list li::before { color: var(--navy); }  .sd-c8 .sdetail-list li::before { color: var(--blue); }

.sdetail-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.sdetail-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; padding: 9px 16px; border-radius: 6px; border: 2px solid;
  cursor: pointer; font-family: 'Outfit', sans-serif; background: transparent;
  transition: all .2s;
}
.sdetail-btn-appt { background: var(--orange) !important; color: #fff !important; border-color: var(--orange) !important; }
.sdetail-btn-appt:hover { background: #D45A00 !important; border-color: #D45A00 !important; }

/* ── NOTE CARD (no attorneys) ── */
.note-card {
  background: #FFF8E1; border: 1.5px solid #FFD54F; border-radius: 10px;
  padding: 16px 20px; margin-top: 14px; font-size: 13px; color: #5D4037;
  line-height: 1.7;
}
.note-card strong { display: block; margin-bottom: 4px; color: #3E2723; }

/* ── APOSTILLE / NOTARY DETAIL (2-column layout) ── */
.detail-split { background: var(--white); padding: 72px 40px; }
.detail-split-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.detail-split-inner.reverse { direction: rtl; }
.detail-split-inner.reverse > * { direction: ltr; }
.detail-split img { width: 100%; height: 340px; object-fit: cover; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,48,135,.12); }
.detail-split-txt .ds-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--blmid); font-weight: 700; margin-bottom: 10px; }
.detail-split-txt h3 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px, 4vw, 40px); color: var(--navy); letter-spacing: 1px; margin-bottom: 14px; line-height: 1.05; }
.detail-split-txt p  { font-size: 14px; color: var(--soft); line-height: 1.80; margin-bottom: 14px; }
.detail-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 20px; }
.dfeat { display: flex; align-items: flex-start; gap: 8px; }
.dfeat .dot { width: 6px; height: 6px; background: var(--navy); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.dfeat p { font-size: 13px; color: var(--soft); margin: 0; line-height: 1.45; }

/* ── ACCORDION (mobile-friendly service details) ── */
.accord-item { border: 1.5px solid var(--gray); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.accord-trigger {
  width: 100%; text-align: left; padding: 18px 22px;
  background: var(--white); border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy);
  transition: background .2s;
}
.accord-trigger:hover { background: var(--sky); }
.accord-trigger .accord-ico { font-size: 22px; margin-right: 12px; }
.accord-trigger .accord-arrow { font-size: 18px; color: var(--gmid); transition: transform .25s; flex-shrink: 0; }
.accord-item.open .accord-trigger .accord-arrow { transform: rotate(180deg); }
.accord-body { display: none; padding: 0 22px 22px; background: var(--white); }
.accord-item.open .accord-body { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .services-detail { padding: 40px 20px; }
  .detail-split { padding: 48px 24px; }
  .detail-split-inner { grid-template-columns: 1fr; gap: 24px; }
  .detail-split-inner.reverse { direction: ltr; }
  .detail-split img { height: 260px; }
  .detail-feats { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .services-detail-grid { grid-template-columns: 1fr; gap: 16px; }
  .sdetail-img { height: 160px; }
}

/* ── SERVICES OVERVIEW GRID (servicios.html index) ── */
.services-overview { background: var(--gbg); padding: 56px 40px; }
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.sovcard {
  background: var(--white);
  border: 1.5px solid var(--gray);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  color: inherit;
}
.sovcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,48,135,.12); }
.sovcard-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.sovcard-img-placeholder {
  width: 100%; height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
}
.sov-c1 .sovcard-img-placeholder { background: linear-gradient(135deg,#E8EEF9,#c8d4f0); }
.sov-c2 .sovcard-img-placeholder { background: linear-gradient(135deg,#E6F6FB,#b8e4f5); }
.sov-c3 .sovcard-img-placeholder { background: linear-gradient(135deg,#E6F1FA,#c0d8f4); }
.sov-c4 .sovcard-img-placeholder { background: linear-gradient(135deg,#FFF0E6,#ffd4b0); }
.sov-c5 .sovcard-img-placeholder { background: linear-gradient(135deg,#F3EAF9,#dfc8f5); }
.sov-c6 .sovcard-img-placeholder { background: linear-gradient(135deg,#E8F5E9,#b8e8bc); }
.sovcard-body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }
.sovcard-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.sovcard-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.sov-c1 .sovcard-icon { background: #E8EEF9; }
.sov-c2 .sovcard-icon { background: #E6F6FB; }
.sov-c3 .sovcard-icon { background: #E6F1FA; }
.sov-c4 .sovcard-icon { background: #FFF0E6; }
.sov-c5 .sovcard-icon { background: #F3EAF9; }
.sov-c6 .sovcard-icon { background: #E8F5E9; }
.sovcard-name { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; color: var(--navy); line-height: 1; }
.sovcard-tag { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-top: 2px; }
.sov-c1 .sovcard-tag { color: var(--navy); }
.sov-c2 .sovcard-tag { color: #0097B2; }
.sov-c3 .sovcard-tag { color: var(--blue); }
.sov-c4 .sovcard-tag { color: var(--orange); }
.sov-c5 .sovcard-tag { color: #6A0DAD; }
.sov-c6 .sovcard-tag { color: #2E7D32; }
.sovcard-desc { font-size: 13px; color: var(--soft); line-height: 1.7; margin-bottom: 18px; flex: 1; }
.sovcard-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  border-top: 1.5px solid var(--gray); padding-top: 14px; margin-top: auto;
  transition: color .2s;
}
.sovcard:hover .sovcard-link { color: var(--orange); }

/* ── INDIVIDUAL SERVICE PAGE ── */
.srv-hero {
  padding: 52px 40px 44px;
  position: relative;
  overflow: hidden;
}
.srv-c1 { background: linear-gradient(135deg, #003087 0%, #1a4f9f 100%); }
.srv-c2 { background: linear-gradient(135deg, #007EA6 0%, #0097B2 100%); }
.srv-c3 { background: linear-gradient(135deg, #0055AA 0%, #0066CC 100%); }
.srv-c4 { background: linear-gradient(135deg, #CC4400 0%, #FF6B00 100%); }
.srv-c5 { background: linear-gradient(135deg, #5B0099 0%, #8B2FC9 100%); }
.srv-c6 { background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%); }
.srv-hero-inner { max-width: 900px; margin: 0 auto; }
.srv-breadcrumb {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 20px;
}
.srv-breadcrumb a { color: rgba(255,255,255,.70); text-decoration: none; }
.srv-breadcrumb a:hover { color: #fff; }
.srv-hero-top { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.srv-hero-icon { font-size: 52px; }
.srv-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  color: #fff;
  letter-spacing: 2px;
  line-height: 1;
  margin: 0;
}
.srv-hero h1 em { color: rgba(255,255,255,.65); font-style: normal; }
.srv-hero-sub { font-size: 15px; color: rgba(255,255,255,.70); line-height: 1.7; max-width: 600px; }
.srv-hero-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.srv-pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 2px;
}

/* Two-column content layout */
.srv-content { background: var(--gbg); padding: 56px 40px; }
.srv-content-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start;
}
.srv-main { background: var(--white); border-radius: 14px; border: 1.5px solid var(--gray); overflow: hidden; }
.srv-main-img { width: 100%; height: 280px; object-fit: cover; display: block; }
.srv-main-img-placeholder { width: 100%; height: 200px; display: flex; align-items: center; justify-content: center; font-size: 72px; }
.srv-main-body { padding: 32px; }
.srv-main-body > p { font-size: 14px; color: var(--soft); line-height: 1.85; margin-bottom: 24px; }
.srv-section-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; color: var(--blmid); margin-bottom: 12px; }
.srv-feature-list { list-style: none; margin-bottom: 28px; }
.srv-feature-list li {
  font-size: 13px; color: var(--text); padding: 10px 0 10px 28px;
  position: relative; border-bottom: 1px solid var(--gbg); line-height: 1.5;
}
.srv-feature-list li:last-child { border-bottom: none; }
.srv-feature-list li::before {
  content: '✓'; position: absolute; left: 0; top: 11px;
  font-weight: 700; font-size: 12px;
}
.srv-c1-accent .srv-feature-list li::before { color: var(--navy); }
.srv-c2-accent .srv-feature-list li::before { color: #0097B2; }
.srv-c3-accent .srv-feature-list li::before { color: var(--blue); }
.srv-c4-accent .srv-feature-list li::before { color: var(--orange); }
.srv-c5-accent .srv-feature-list li::before { color: #6A0DAD; }
.srv-c6-accent .srv-feature-list li::before { color: #2E7D32; }

/* Sidebar */
.srv-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.srv-cta-box {
  background: var(--navy); border-radius: 14px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.srv-cta-box h3 { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: #fff; letter-spacing: 1px; margin-bottom: 4px; }
.srv-cta-box p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 8px; }
.srv-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 6px; font-size: 13px; font-weight: 700;
  letter-spacing: .5px; text-decoration: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: all .2s;
}
.srv-cta-btn-primary { background: var(--orange); color: #fff; border: 2px solid var(--orange); }
.srv-cta-btn-primary:hover { background: #D45A00; border-color: #D45A00; }
.srv-cta-btn-wa { background: var(--green); color: #fff; border: 2px solid var(--green); }
.srv-cta-btn-wa:hover { background: #1aab52; border-color: #1aab52; }
.srv-cta-btn-outline { background: transparent; color: rgba(255,255,255,.80); border: 2px solid rgba(255,255,255,.25); }
.srv-cta-btn-outline:hover { border-color: rgba(255,255,255,.60); color: #fff; }
.srv-info-box {
  background: var(--white); border: 1.5px solid var(--gray); border-radius: 14px; padding: 22px;
}
.srv-info-box h4 { font-family: 'Bebas Neue', sans-serif; font-size: 16px; color: var(--navy); letter-spacing: 1px; margin-bottom: 14px; }
.srv-info-line { display: flex; gap: 10px; margin-bottom: 10px; font-size: 13px; color: var(--soft); }
.srv-info-line .ico { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.srv-other-services {
  background: var(--white); border: 1.5px solid var(--gray); border-radius: 14px; padding: 22px;
}
.srv-other-services h4 { font-family: 'Bebas Neue', sans-serif; font-size: 16px; color: var(--navy); letter-spacing: 1px; margin-bottom: 14px; }
.srv-other-link {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid var(--gbg); text-decoration: none;
  font-size: 13px; color: var(--text); transition: color .2s;
}
.srv-other-link:last-child { border-bottom: none; }
.srv-other-link:hover { color: var(--navy); }
.srv-other-link .ico { font-size: 18px; }

/* Responsive */
@media (max-width: 960px) {
  .srv-content { padding: 40px 20px; }
  .srv-content-inner { grid-template-columns: 1fr; }
  .srv-sidebar { position: static; }
  .srv-hero { padding: 40px 24px 36px; }
  .services-overview { padding: 40px 20px; }
}
@media (max-width: 600px) {
  .services-overview-grid { grid-template-columns: 1fr; gap: 14px; }
}