/* =========================================================
   MANUELA DE SANCHA · ACTUALIZACIÓN VISUAL 2026
   Hoja de estilos complementaria. Debe cargarse DESPUÉS de style.css
   ========================================================= */

:root {
  --navy: #17324d;
  --navy-dark: #102438;
  --gold: #a88445;
  --gold-dark: #88682f;
  --ink: #202a33;
  --muted: #66717b;
  --line: #dfe3e6;
  --paper: #ffffff;
  --soft: #f5f3ef;
  --soft-blue: #f3f6f8;
  --shadow: 0 18px 45px rgba(16, 36, 56, .10);
}

html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

p { color: var(--muted); }

a { color: var(--navy); }
a:hover, a:focus { color: var(--gold-dark); }

/* Encabezados */
.site-section h2,
.section-diff-title h2,
.service-info h3,
.timeline-position p {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .01em;
}

.site-section h2,
.section-history .section-diff-title h2 {
  color: var(--navy);
  font-size: 38px;
  font-weight: 400;
  text-transform: none;
}

.section-subtitle {
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: .18em;
}

.section-subtitle span:before,
.section-subtitle span:after,
.section-diff-title p:before { background: var(--gold); }

.site-section { padding: 88px 0; }

/* Botones */
.btn {
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 44px;
}
.btn:hover, .btn:focus {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

/* Menú */
.site-header { height: 68px; }
.site-navigation { background: rgba(23, 50, 77, .98); }
.site-logo,
.site-logo:before { background: var(--navy-dark); }
.site-logo { height: 68px; padding-left: 20px; padding-right: 34px; }
.site-logo a {
  margin-top: 21px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: .08em;
}
.site-navigation .navbar-nav { padding-top: 26px; }
.site-navigation .navbar-nav > li > a {
  padding-bottom: 24px;
  font-size: 12px;
  letter-spacing: .06em;
  border-bottom-width: 1px;
}
.navbar-nav > li > a:hover,
.navbar-nav > li.active > a,
.nav > li > a:hover,
.nav > li.active > a { border-color: var(--gold); }

/* Portada: se conserva la fotografía, pero con presencia más limpia */
.hero {
  width: 100%;
  height: calc(100vh - 68px);
  min-height: 620px;
  margin: 0;
  background-position: center 24%;
  background-size: cover;
}
.background-overlay:before {
  background: linear-gradient(90deg, rgba(8, 24, 38, .70), rgba(8, 24, 38, .24));
}
.hero-content { padding: 0 8vw; vertical-align: middle; }
.hero-content p { text-align: left; }
.hero-content .hero-job-desc_2 {
  max-width: 760px;
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: none;
}
.hero-content .hero-job-desc_2 span { display: block; }
.hero-content .section-entrada { padding-top:90px !important; }
.hero-content .section-entrada .btn {
  min-width: 130px;
  border-color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.hero-content .section-entrada .btn:hover {
  border-color: var(--gold);
  background: var(--gold);
}
.hero-arrow { bottom: 5px; }
.hero-arrow a { font-size: 24px; }

/* Presentación */
.section-hello { background: var(--paper); }
.section-hello .row { margin-top: 56px; }
.section-hello .col-sm-4 { min-height: 290px; }
.main-service { min-height: 145px; padding-top: 25px; padding-bottom: 25px; }
.main-service h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
}
.main-service h5 {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}
.rectangle,
.big-rectangle {
  border-color: var(--line);
  box-shadow: none;
}
.main-service .rectangle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--soft);
  color: var(--gold-dark);
}
.main-service .rectangle i {
  transform: translate(-50%, -50%);
  font-size: 15px;
}
.big-rectangle {
  width: 215px;
  height: 215px;
  overflow: hidden;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: var(--shadow);
}
.big-rectangle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* Frase */
.section-background { background-size: cover; }
.section-quote { background-attachment: scroll; }
.section-quote.background-overlay:before { background: rgba(14, 34, 51, .83); }
.section-quote p {
  max-width: 980px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.45;
}
.section-quote p span { color: #d7bd88; }

/* Bloques neutros */
.section-skills { padding: 0; background: var(--paper); }

/* Servicios: mismo carrusel, aspecto institucional y sin protagonismo fotográfico */
.section-services.site-section { background: var(--soft-blue); }
.section-services .container-fluid { padding: 88px 15px 62px; background: var(--paper); }
.section-services .container-fluid + .container { margin-top: 55px; }
.section-services .nav-tabs { min-height: 122px; margin-top: 48px; }
.section-services .nav-tabs .col-sm-fifth {
  height: 122px;
  background: transparent;
  border: 1px solid var(--line);
  border-right: 0;
  border-bottom: 2px solid var(--gold);
}
.section-services .nav-tabs a:last-child .col-sm-fifth { border-right: 1px solid var(--line); }
.carousel-indicators .active .col-sm-fifth,
.carousel-indicators a:hover .col-sm-fifth { background: var(--navy); }
.service { color: var(--navy); }
.service .rectangle {
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  border: 0;
  border-radius: 50%;
  transform: none;
  background: var(--soft);
}
.service .rectangle i {
  color: var(--gold-dark);
  transform: translate(-50%, -50%);
  font-size: 14px;
}
.service p {
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
.carousel-indicators .active .service p,
.carousel-indicators a:hover .service p { opacity: 1; visibility: visible; color: #fff; }
.carousel-indicators .active .service .rectangle,
.carousel-indicators a:hover .service .rectangle {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.14);
}
.carousel-indicators .active .service .rectangle i,
.carousel-indicators a:hover .service .rectangle i { color: #fff; }
.section-services .carousel-inner {
  margin-top: 48px;
  padding: 48px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 35px rgba(16,36,56,.06);
}
.section-services .col-sm-5 { min-height: 310px; }
.service-info h3 {
  margin-top: 0;
  color: var(--navy);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
}
.service-info p { margin-top: 24px; font-size: 15px; line-height: 1.8; }
.section-services .carousel-inner img {
  opacity: .82;
  filter: grayscale(35%);
  border-radius: 2px;
  box-shadow: none;
}
.section-services .item-controls .carousel-control {
  width: 36px;
  height: 36px;
  border-color: var(--line);
  border-radius: 50%;
  transform: none;
}
.section-services .item-controls .carousel-control i {
  color: var(--navy);
  transform: translate(-50%, -50%);
}
.section-services .item-controls .carousel-control:hover { background: var(--navy); border-color: var(--navy); }

/* Experiencia: mantiene la cronología, elimina el efecto álbum fotográfico */
.section-history { padding: 88px 0; background: var(--soft); }
.timeline:before { width: 2px; background: #d5d0c7; }
.timeline > li + li { margin-top: 38px; }
.timeline > li > .timeline-panel {
  border: 1px solid #ddd8cf;
  border-radius: 3px;
  padding-right: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,36,56,.05);
}
.timeline > li.timeline-inverted .timeline-panel { padding-left: 0; }
.timeline > li > .timeline-panel:before { display: none; }
.timeline > li > .timeline-panel .timeline-heading {
  height: auto;
  min-height: 54px;
  line-height: 1.35;
  background: var(--navy);
}
.timeline > li > .timeline-panel .timeline-heading p {
  padding-top: 17px;
  padding-bottom: 17px;
  font-size: 14px;
  letter-spacing: .025em;
  text-transform: none;
}
.timeline > li > .timeline-panel .timeline-heading .timeline-date {
  min-height: 54px;
  padding: 17px 14px;
  background: var(--gold-dark);
}
.timeline > li > .timeline-panel .timeline-heading .timeline-position { padding-left: 12px; }
.timeline > li.timeline-inverted .timeline-panel .timeline-heading .timeline-position { padding-right: 12px; }
.timeline > li > .timeline-panel .timeline-body { min-height: 0; padding: 22px 24px; }
.timeline > li > .timeline-panel .timeline-body .timeline-body-thumb { display: none; }
.timeline > li > .timeline-panel .timeline-body p {
  padding-left: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.timeline > li .timeline-rectangle {
  width: 16px;
  height: 16px;
  top: 19px;
  border: 3px solid var(--soft);
  border-radius: 50%;
  transform: none;
  background: var(--gold);
}
.timeline > li.timeline-start .rectangle,
.timeline > li.timeline-end .rectangle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: none;
  background: var(--navy);
  color: #fff;
}
.timeline > li.timeline-start .rectangle span,
.timeline > li.timeline-end .rectangle span { color: #fff; transform: translate(-50%, -50%); }

/* Artículos */
.portfolio-item .portfolio-item-thumb,
.portfolio-item .portfolio-info { box-shadow: none; }
.portfolio-item .portfolio-info {
  min-height: 112px;
  border: 1px solid var(--line);
  border-top: 0;
  background: #fff;
}
.portfolio-item .portfolio-info h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
  text-transform: none;
}
.portfolio-item .portfolio-item-thumb:after { background: rgba(23,50,77,.62); }
.portfolio-sorting li a { color: var(--muted); }
.portfolio-sorting li a:hover,
.portfolio-sorting li a.active { color: var(--navy); }

/* Contacto */
.section-contact { background: var(--soft-blue); }
.section-contact .container { max-width: 820px; }
.section-contact .container form {
  margin-top: 52px;
  padding: 42px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 35px rgba(16,36,56,.06);
}
.form-control {
  height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,132,69,.10); }
textarea.form-control { margin-top: 24px; min-height: 150px; }
.section-contact .btn { border-color: var(--navy); background: var(--navy); color: #fff; }
.section-contact .btn:hover { border-color: var(--gold); background: var(--gold); }

/* Redes y pie */
.blue-bg, .section-networks { background: var(--navy); }
.section-networks a { color: #fff; }
.section-networks a:hover { color: var(--gold); }
.site-footer .container-fluid { padding: 54px 15px; border-bottom-color: var(--line); }
.site-footer .container { padding: 50px 15px 75px; }
.site-footer ul a, .site-footer a { color: var(--muted); letter-spacing: .04em; }
.site-footer ul a:hover, .site-footer a:hover { color: var(--gold-dark); }
.site-footer .rectangle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transform: none;
  background: var(--navy);
}
.site-footer .rectangle i { transform: translate(-50%, -50%); }
.site-footer .rectangle:hover { background: var(--gold); }

/* WhatsApp menos intrusivo */
.float-wa {
  right: 24px !important;
  bottom: 24px !important;
  width: 54px !important;
  height: 54px !important;
  font-size: 26px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.float-wa i { margin-top: 14px !important; }

/* Responsive */
@media (max-width: 991px) {
  .hero { min-height: 560px; background-position: 58% center; }
  .hero-content { padding: 0 6vw; }
  .section-services .carousel-inner { padding: 34px; }
  .section-services .col-sm-7 { position: relative; margin-top: 25px; }
  .section-services .col-sm-5 { min-height: 0; }
}

@media (max-width: 767px) {
  .site-header { height: 60px; }
  .site-logo { height: 60px; }
  .site-logo a { margin-top: 18px; }
  .site-navigation .navbar-collapse { background: var(--navy); }
  .hero {
    height: 78vh;
    min-height: 520px;
    background-position: 62% center;
  }
  .hero-content { padding: 0 24px; vertical-align: bottom; padding-bottom: 100px; }
  .hero-content .hero-job-desc_2 { font-size: 38px; }
  .site-section, .section-history { padding: 62px 0; }
  .site-section h2, .section-history .section-diff-title h2 { font-size: 30px; }
  .section-hello .col-sm-4 { min-height: 0; }
  .big-rectangle { position: relative; top: auto; left: auto; margin: 35px auto; transform: none; }
  .main-service.text-right, .main-service.text-left { padding: 20px 0 20px 62px; text-align: left; }
  .main-service .rectangle, .main-service.text-left .rectangle { left: 5px; right: auto; }
  .section-quote p { font-size: 27px; }
  .section-services .container-fluid { padding: 62px 15px 40px; }
  .section-services .nav-tabs { min-height: 0; margin-top: 35px; }
  .section-services .nav-tabs .col-sm-fifth { height: 86px; }
  .service .rectangle { margin-bottom: 8px; }
  .section-services .carousel-inner { margin-top: 30px; padding: 25px 20px; }
  .service-info h3 { font-size: 25px; }
  .timeline:before { left: 20px; }
  .timeline > li.timeline-start .rectangle,
  .timeline > li.timeline-end .rectangle { left: -1px; margin: 0; }
  .timeline > li > .timeline-panel,
  .timeline > li.timeline-inverted > .timeline-panel {
    width: calc(100% - 50px);
    float: right;
    padding: 0;
  }
  .timeline > li .timeline-rectangle { left: 13px; right: auto; }
  .timeline > li.timeline-inverted .timeline-heading { text-align: left; }
  .timeline > li > .timeline-panel .timeline-heading .timeline-date { float: none; display: block; }
  .section-contact .container form { padding: 26px 20px; }
}

@media (max-width: 479px) {
  .hero-content .hero-job-desc_2 { font-size: 32px; }
  .section-services .nav-tabs .col-sm-fifth { width: 100%; height: 58px; border-right: 1px solid var(--line); }
  .service { display: flex; align-items: center; justify-content: center; gap: 12px; }
  .service .rectangle { margin: 0; }
  .service p { position: static; }
  .timeline > li > .timeline-panel { background: #fff; }
}

/* =========================================================
   AJUSTES FINALES · JULIO 2026
   ========================================================= */

/* Nombre sobre la fotografía: blanco limpio, contraste y relieve discreto */
.hero-content .hero-job-desc_2 {
  color: #ffffff;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, .72),
    0 8px 24px rgba(0, 0, 0, .38);
}
.hero-content .hero-job-desc_2 span {
  color: inherit;
}

/* El botón del vídeo queda subordinado al nombre, pero perfectamente visible */
.hero-content .section-entrada .btn {
  color: #ffffff;
  border-color: rgba(255,255,255,.86);
  background: rgba(10, 27, 42, .34);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

/* Presentación: sustituye el antiguo logotipo circular por una firma sobria */
.section-hello .big-rectangle {
  position: absolute;
  width: 250px;
  height: auto;
  min-height: 150px;
  padding: 30px 22px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}
.section-hello .big-rectangle img {
  display: none;
}
.section-hello .big-rectangle::before {
  content: "De Sancha Bech & Asociados";
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .015em;
}
.section-hello .big-rectangle::after {
  content: "Desde 1985";
  display: block;
  width: 120px;
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--gold);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Contacto: composición autónoma para evitar solapamientos de Bootstrap */
.section-contact .row {
  margin: 0;
}
.section-contact form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.section-contact form > [class*="col-"] {
  float: none;
  width: auto;
  min-height: 0;
  padding: 0;
}
.section-contact form > .col-sm-12 {
  grid-column: 1 / -1;
}
.section-contact .form-control {
  display: block;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  color: var(--ink);
  font-size: 15px;
}
.section-contact textarea.form-control {
  min-height: 170px;
  margin: 0;
  resize: vertical;
}
.section-contact form .btn {
  min-width: 150px;
  margin-top: 4px;
}
.section-contact .form-control::placeholder {
  color: #7a848d;
  opacity: 1;
}

@media (max-width: 767px) {
  .section-hello .big-rectangle {
    position: relative;
    width: 100%;
    max-width: 320px;
    min-height: 0;
    margin: 18px auto 30px;
    padding: 22px 12px;
  }
  .section-hello .big-rectangle::before {
    font-size: 25px;
  }
  .section-contact form {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section-contact form > .col-sm-12 {
    grid-column: auto;
  }
}

/* =========================================================
   HERO DEFINITIVO · JULIO 2026
   ========================================================= */

.hero-content{
  position: relative;
  top: 110px;
  padding: 0 8vw;
  vertical-align: middle;
  text-align: center;
}

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

.hero-content .hero-job-desc_2{
  max-width: none;
  margin: 0 0 24px;
  padding: 0;
  color: #ffffff !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.90);
}

.hero-content .hero-job-desc_2 span{
  display: block;
  color: inherit;
}

.hero-divider{
  width: 120px;
  height: 2px;
  margin: 0 auto 22px;
  background: #b89a5a;
}

.hero-abogada{
  margin: 0 0 16px;
  color: #b89a5a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,.80);
}

.hero-especialidad{
  margin: 0 0 68px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,.70);
}

.hero-content .section-entrada{
  margin: 0;
  padding: 0;
}

@media (max-width: 991px){
  .hero-content{
    top: 45px;
    padding: 0 6vw;
  }
}

@media (max-width: 767px){
  .hero-content{
    top: 0;
    padding: 0 24px 90px;
    vertical-align: bottom;
  }

  .hero-content .hero-job-desc_2{
    margin-bottom: 20px;
    font-size: 36px;
    line-height: 1.15;
  }

  .hero-divider{
    width: 90px;
    margin-bottom: 18px;
  }

  .hero-abogada{
    margin-bottom: 12px;
    font-size: 13px;
    letter-spacing: 3px;
  }

  .hero-especialidad{
    margin-bottom: 28px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 479px){
  .hero-content .hero-job-desc_2{
    font-size: 31px;
  }
}
