.services-page{width:100%;max-width:1200px;min-height:100vh;margin-inline:auto;background:#f2eee8;box-shadow:0 0 48px rgba(0,0,0,.38)}
.services-hero{height:400px;color:#fff;background:linear-gradient(90deg,rgba(18,15,13,.84),rgba(18,15,13,.22)),url('assets/hero-servicios.webp') center 32%/cover}
.services-hero .nav{height:105px}
.services-intro{max-width:760px;padding:62px max(28px,7%)}
.services-intro h1{margin:12px 0;font:500 clamp(42px,6vw,72px)/.92 'Cormorant Garamond'}
.services-intro p:last-child{max-width:610px;font:17px/1.5 'Cormorant Garamond'}
.catalog{padding:0 clamp(18px,5vw,62px) clamp(72px,9vw,108px)}
.catalog-chapter{padding:clamp(58px,7vw,88px) 0;border-bottom:1px solid #d5ccc3}
.catalog-chapter:last-child{border-bottom:0;padding-bottom:0}
.chapter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(11px,1.45vw,18px)}
.chapter-heading{position:relative;align-self:stretch;padding:clamp(8px,1vw,14px) clamp(10px,1.6vw,22px) 24px 0;display:flex;flex-direction:column;justify-content:flex-end}
.chapter-heading>span{position:absolute;left:-5px;top:-18px;color:rgba(112,93,80,.12);font:500 clamp(88px,11vw,138px)/1 'Cormorant Garamond'}
.chapter-heading p{position:relative;margin:0 0 13px;color:#8f7563;font-size:9px;letter-spacing:3.5px}
.chapter-heading h2{position:relative;margin:0;max-width:235px;font:500 clamp(30px,3.4vw,43px)/.95 'Cormorant Garamond'}
.catalog-card{position:relative;min-width:0;min-height:0;overflow:hidden;cursor:pointer;background:#281f1a;isolation:isolate}
.catalog-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--catalog-position,center center);transition:transform .45s ease}
.catalog-card:after{content:"";position:absolute;z-index:0;inset:38% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.84))}
.catalog-card:hover>img,.catalog-card:focus>img{transform:scale(1.035)}
.catalog-card>div{position:absolute;z-index:1;left:clamp(16px,2vw,25px);right:clamp(14px,1.7vw,22px);bottom:clamp(16px,1.8vw,23px);color:#fff}
.catalog-card h3{margin:0 42px 5px 0;font:500 clamp(20px,2.2vw,27px)/1 'Cormorant Garamond'}
.catalog-card p{margin:0 42px 0 0;font-size:8px;line-height:1.45;letter-spacing:1.05px;text-transform:uppercase}
.catalog-card span{position:absolute;right:0;bottom:0;width:36px;height:36px;border:1px solid #fff;border-radius:50%;display:grid;place-items:center}
.catalog-card:focus{outline:2px solid #b58a69;outline-offset:3px}

.chapter-personal .chapter-grid{grid-template-rows:clamp(280px,32vw,395px) clamp(215px,24vw,292px)}
.chapter-personal .chapter-heading{grid-column:1;grid-row:1}
.chapter-personal [data-service="maternity"]{grid-column:2/5;grid-row:1}
.chapter-personal [data-service="birthday"]{grid-column:1/3;grid-row:2}
.chapter-personal [data-service="family"]{grid-column:3;grid-row:2}
.chapter-personal [data-service="newborn"]{grid-column:4;grid-row:2}

.chapter-celebrations{padding-block:clamp(74px,9vw,108px)}
.chapter-celebrations .chapter-grid{grid-template-rows:repeat(2,clamp(205px,22vw,270px)) clamp(260px,27vw,320px)}
.chapter-celebrations .chapter-heading{grid-column:1;grid-row:1/3}
.chapter-celebrations [data-service="wedding"]{grid-column:2/4;grid-row:1/3}
.chapter-celebrations [data-service="xv-years"]{grid-column:4;grid-row:1}
.chapter-celebrations [data-service="baptism"]{grid-column:4;grid-row:2}
.chapter-celebrations [data-service="presentations"]{grid-column:1/3;grid-row:3}
.chapter-celebrations [data-service="christmas"]{grid-column:3/5;grid-row:3}
.chapter-celebrations [data-service="presentations"]>img{object-position:center}

.chapter-projects .chapter-grid{grid-template-rows:clamp(270px,31vw,380px) clamp(190px,22vw,265px)}
.chapter-projects .chapter-heading{grid-column:1;grid-row:1}
.chapter-projects [data-service="graduation"]{grid-column:2/5;grid-row:1}
.chapter-projects [data-service="school-packages"]{grid-column:1/3;grid-row:2}
.chapter-projects [data-service="back-droop"]{grid-column:3/5;grid-row:2}

@media(max-width:991px){
  .services-hero{height:340px}
  .catalog{padding-inline:clamp(18px,4vw,38px)}
  .catalog-chapter{padding-block:clamp(54px,8vw,74px)}
  .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none!important;gap:12px}
  .chapter-heading{grid-column:1/-1!important;grid-row:auto!important;min-height:150px;padding:12px 0 25px;justify-content:flex-end}
  .chapter-heading>span{top:-15px;font-size:108px}
  .catalog-card{grid-column:auto!important;grid-row:auto!important;min-height:230px}
  .chapter-personal [data-service="maternity"],.chapter-personal [data-service="birthday"],.chapter-celebrations [data-service="wedding"],.chapter-projects [data-service="graduation"]{grid-column:1/-1!important;min-height:clamp(280px,48vw,410px)}
  .chapter-celebrations [data-service="presentations"]{grid-column:1!important;min-height:clamp(240px,38vw,280px)}
  .chapter-celebrations [data-service="christmas"]{grid-column:2!important;min-height:clamp(240px,38vw,280px)}
  .chapter-projects [data-service="school-packages"],.chapter-projects [data-service="back-droop"]{min-height:220px}
}

@media(max-width:575px){
  .services-hero{height:330px}
  .services-intro{padding:36px 18px}
  .catalog{padding-inline:16px}
  .catalog-chapter{padding-block:52px}
  .chapter-grid{gap:10px}
  .chapter-heading{min-height:130px;padding-bottom:20px}
  .chapter-heading>span{font-size:92px}
  .chapter-heading h2{font-size:34px}
  .catalog-card{min-height:180px}
  .catalog-card h3{font-size:21px}
  .catalog-card p{font-size:7px;letter-spacing:.7px}
  .chapter-personal [data-service="maternity"],.chapter-personal [data-service="birthday"],.chapter-celebrations [data-service="wedding"],.chapter-projects [data-service="graduation"]{min-height:clamp(240px,72vw,300px)}
  .chapter-celebrations [data-service="xv-years"],.chapter-celebrations [data-service="baptism"]{min-height:180px}
  .chapter-celebrations [data-service="presentations"],.chapter-celebrations [data-service="christmas"]{min-height:clamp(200px,56vw,230px)}
  .chapter-celebrations [data-service="presentations"]>img{object-fit:cover;object-position:center 32%}
}

@media(max-width:420px){
  .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .chapter-projects [data-service="school-packages"],.chapter-projects [data-service="back-droop"]{grid-column:1/-1!important;min-height:170px}
  .catalog-card h3{margin-right:34px;font-size:20px}
  .catalog-card p{margin-right:34px}
  .catalog-card span{width:32px;height:32px}
}

@media(prefers-reduced-motion:reduce){.catalog-card>img{transition:none}}
