/* Homepage: the campaign, three explicit entry points, and the work behind Repuebla. */
.rg-page--inicio{background:#fff}.rg-front-hero{height:580px;position:relative;isolation:isolate;color:white;background:#163b37;display:flex;align-items:center;padding-bottom:30px}.rg-front-hero>img{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;object-position:50% 24%}.rg-front-hero:after{position:absolute;inset:0;content:'';z-index:-1;background:linear-gradient(90deg,#0a2828e8,#102c2980 56%,#122a2412),linear-gradient(0deg,#0c2d2870,transparent 60%)}.rg-front-hero-copy{padding-bottom:35px}.rg-front-hero .rg-kicker{color:#f1d9b3;font-size:.86rem;letter-spacing:.11em;margin-bottom:25px;max-width:700px}.rg-front-hero h1{font-size:clamp(3.8rem,6.15vw,6.1rem);font-weight:400;line-height:1.04;letter-spacing:-.05em;max-width:1100px;margin:0 0 27px}.rg-front-hero h1 em{color:#fff2d5}.rg-front-hero-copy>p:last-child{font-size:1.16rem;line-height:1.75;color:#fff;max-width:700px}.rg-front-caption{position:absolute;bottom:75px;right:max(44px,calc((100vw - 1220px)/2));font-size:.76rem;color:#e9f0e7;text-align:right;max-width:470px}.rg-entry-section{position:relative;z-index:5;margin-top:-61px;padding-bottom:20px}.rg-entry-section h2{font:650 .97rem/1.4 var(--rg-sans);letter-spacing:0;color:var(--rg-forest);display:inline-block;background:#fff;border-radius:7px 7px 0 0;padding:12px 19px 14px;margin:0}.rg-entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.rg-entry-card{display:grid;grid-template-columns:49px 1fr;gap:15px 17px;align-items:start;padding:24px;background:#fff;border:2px solid #d3ded1;border-radius:9px;color:var(--rg-ink);text-decoration:none;box-shadow:0 12px 30px #173a2c13;transition:transform .2s,border-color .2s,box-shadow .2s;min-width:0}.rg-entry-card:hover{transform:translateY(-5px);border-color:var(--rg-forest);box-shadow:0 18px 38px #173a2c24}.rg-entry-card:active{transform:translateY(-1px)}.rg-entry-card:focus-visible{outline:3px solid #a15c40;outline-offset:4px}.rg-entry-icon{display:grid;place-items:center;width:49px;height:53px;border-radius:7px;background:#eaf0e5;color:#244d3c}.rg-entry-icon svg{width:39px;height:39px}.rg-entry-body{display:block;min-width:0;padding-top:3px}.rg-entry-body>strong{display:block;font:650 1.15rem/1.3 var(--rg-sans);letter-spacing:-.02em;margin-bottom:10px}.rg-entry-description{display:block;font:.92rem/1.6 var(--rg-sans);color:var(--rg-muted)}.rg-entry-action{grid-column:1/-1;display:flex;justify-content:center;align-items:center;min-height:45px;padding:10px 14px;font:650 .9rem/1.4 var(--rg-sans);background:var(--rg-forest);border:1px solid var(--rg-forest);border-radius:5px;color:#fff;margin-top:4px}.rg-entry-card--suelo .rg-entry-icon{background:#f5eae2;color:#9c5739}.rg-entry-card--promotores .rg-entry-icon{background:#e8eeef;color:#25494e}.rg-entry-card--suelo .rg-entry-action,.rg-entry-card--promotores .rg-entry-action{background:white;color:var(--rg-forest);border-color:#a3b3a3}.rg-entry-card--suelo:hover .rg-entry-action,.rg-entry-card--promotores:hover .rg-entry-action{background:var(--rg-forest);color:#fff;border-color:var(--rg-forest)}.rg-municipal-entry{text-align:center;color:var(--rg-muted);font-size:.88rem;margin:24px 0 0}.rg-municipal-entry a{color:var(--rg-forest);text-decoration-thickness:1px;text-underline-offset:4px;font-weight:650}.rg-front-projects{padding:85px 0 90px}.rg-front-section-heading{display:grid;grid-template-columns:1.25fr 1fr;gap:95px;align-items:end;margin-bottom:40px}.rg-front-section-heading h2{font-size:clamp(2.5rem,4.1vw,3.7rem);margin:0;line-height:1.13;letter-spacing:-.04em}.rg-front-section-heading>p{font-size:1.04rem;line-height:1.8;margin:0;max-width:450px;padding-bottom:5px}.rg-project-feature{display:grid;grid-template-columns:1.28fr 1fr;background:#f4f6f0;border:1px solid #e2e8de;overflow:hidden;border-radius:7px;margin-top:30px;min-width:0}.rg-project-feature-photo{position:relative;display:block;overflow:hidden;min-height:540px;background:#e0ddcc}.rg-project-feature-photo>img{height:100%;width:100%;position:absolute;inset:0;object-fit:cover;object-position:center 45%;transition:transform .5s}.rg-project-feature-photo:hover>img{transform:scale(1.025)}.rg-location-chip{position:absolute;left:25px;bottom:25px;background:#fffffff2;padding:9px 15px;color:#263e32;border-radius:4px;font-size:.87rem;font-weight:650}.rg-project-feature-copy{padding:43px 42px;min-width:0}.rg-project-feature-copy .rg-kicker{font-size:.78rem;letter-spacing:.12em;margin-bottom:17px}.rg-project-feature-copy h3{font:400 clamp(2.9rem,4vw,4.2rem)/1.05 var(--rg-serif);letter-spacing:-.045em;margin-bottom:22px;color:var(--rg-forest)}.rg-project-feature-copy>p:not(.rg-kicker){font-size:1rem;line-height:1.75;margin-bottom:20px}.rg-project-feature-specs{padding:0;margin:22px 0 25px;list-style:none;border-top:1px solid #cbd6c5}.rg-project-feature-specs li{font-size:.91rem;line-height:1.6;padding:9px 0;border-bottom:1px solid #dbe3d6}.rg-feature-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;margin:18px 0 22px}.rg-feature-price>span{font-size:.91rem;color:var(--rg-muted)}.rg-feature-price>strong{font:600 1.8rem/1.2 var(--rg-sans);letter-spacing:-.035em;color:var(--rg-forest)}.rg-feature-price small{font-size:.85rem;font-weight:400;letter-spacing:0}.rg-project-feature-copy .rg-button{min-height:49px;font-size:.93rem}.rg-project-feature--tizna{background:#edf3f5;border-color:#dbe5e8}.rg-project-feature--tizna .rg-project-feature-photo{grid-column:2;grid-row:1}.rg-project-feature--tizna .rg-project-feature-copy{grid-column:1;grid-row:1}.rg-project-feature--tizna{grid-template-columns:1fr 1.28fr}.rg-project-feature--tizna h3,.rg-project-feature--tizna .rg-feature-price>strong{color:#1c4859}.rg-project-feature--tizna .rg-kicker{color:#34677b}.rg-project-feature--tizna .rg-button{background:#1c4859}.rg-project-feature--tizna .rg-project-feature-specs{border-color:#c7d7dd}.rg-project-feature--tizna .rg-project-feature-specs li{border-color:#d1dfe3}.rg-front-project-links{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:35px}.rg-purpose-section{background:var(--rg-deep);color:#fff;padding:90px 0 75px}.rg-purpose-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:90px;align-items:start}.rg-purpose-section .rg-kicker{color:#edc291}.rg-purpose-section h2{font-size:clamp(2.6rem,4.2vw,4rem);line-height:1.13;max-width:620px;margin:0}.rg-purpose-section p{color:#d0dfd3;font-size:1rem;line-height:1.8}.rg-purpose-section .rg-lead{color:white;font-size:1.17rem;line-height:1.75}.rg-purpose-section .rg-button{margin-top:10px}.rg-work-pillars{border-top:1px solid #597360;display:grid;grid-template-columns:repeat(3,1fr);gap:50px;padding-top:32px;margin-top:60px}.rg-work-pillars h3{font:650 1.08rem/1.4 var(--rg-sans);letter-spacing:0;margin:0 0 12px;color:#f0d6b2}.rg-work-pillars p{font-size:.94rem;line-height:1.75;max-width:290px}.rg-work-section{padding:95px 0}.rg-work-grid{display:grid;grid-template-columns:1fr 1.06fr;gap:80px;align-items:center}.rg-work-grid figure img{width:100%;height:570px;object-fit:cover;border-radius:5px}.rg-work-grid figcaption{font-size:.8rem;color:var(--rg-muted);margin-top:13px}.rg-work-grid h2{font-size:clamp(2.3rem,3.3vw,3.3rem);line-height:1.16;margin-bottom:24px}.rg-work-grid p{font-size:1rem;line-height:1.8}.rg-work-services{margin-top:28px}.rg-work-services p{border-top:1px solid var(--rg-line);padding-top:18px;font-size:.96rem}.rg-work-services strong{display:block;font:650 1rem/1.5 var(--rg-sans);color:var(--rg-ink);margin-bottom:6px}.rg-work-grid .rg-actions{gap:10px;margin-top:25px}.rg-work-grid .rg-button{font-size:.86rem;padding:13px 17px}.rg-origin-section{background:#f2f5ef;padding:85px 0 70px;border-top:1px solid #e4e9df}.rg-origin-section .rg-front-section-heading{align-items:start}.rg-history-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin-top:48px}.rg-history-grid article{position:relative;border-top:2px solid #bacbb3;padding-top:27px}.rg-history-grid article:before{position:absolute;top:-5px;left:0;content:'';width:8px;height:8px;border-radius:50%;background:#526d4b}.rg-history-grid article>span{display:block;font:400 2.6rem/1 var(--rg-serif);color:var(--rg-terra);margin-bottom:17px}.rg-history-grid h3{font:650 1.11rem/1.4 var(--rg-sans);letter-spacing:-.02em;margin-bottom:13px}.rg-history-grid p{font-size:.96rem;line-height:1.8}.rg-origin-towns{margin-top:45px;padding-top:28px;border-top:1px solid #d5dfce}.rg-origin-towns>p{font-size:.85rem;color:var(--rg-green);margin-bottom:16px}.rg-origin-towns>div{display:flex;flex-wrap:wrap;gap:8px 22px}.rg-origin-towns span{font-size:.94rem;color:var(--rg-forest);font-weight:600}.rg-town-feature{height:520px;position:relative;isolation:isolate;color:white;background:#363a22;display:flex;align-items:center}.rg-town-feature>img{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;object-position:center 54%}.rg-town-feature:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#143529e8,#143529a8 55%,#14352918)}.rg-town-feature .rg-wrap>div{max-width:740px}.rg-town-feature .rg-kicker{color:#f1d1aa}.rg-town-feature h2{font-size:clamp(2.7rem,4.1vw,4rem);line-height:1.13;color:white;margin-bottom:25px}.rg-town-feature p:not(.rg-kicker){max-width:570px;font-size:1.06rem;line-height:1.8;color:#f2f5ee;margin-bottom:28px}.rg-sector-section{padding:65px 0}.rg-sector-section>.rg-wrap{display:grid;grid-template-columns:190px 1fr;gap:65px;align-items:center;max-width:1050px}.rg-sector-section img{width:190px;max-height:120px;object-fit:contain}.rg-sector-section .rg-kicker{margin-bottom:14px}.rg-sector-section h2{font-size:2.5rem;margin-bottom:18px;line-height:1.14}.rg-sector-section p:last-child{font-size:.97rem;line-height:1.8}.rg-page--inicio .rg-end-cta{padding:55px 0}.rg-page--inicio .rg-end-cta h2{font-size:2.5rem}.rg-page--inicio .rg-mobile-contact{display:none}
@media(max-width:1100px){.rg-entry-card{padding:21px;grid-template-columns:42px 1fr;gap:13px}.rg-entry-icon{width:42px;height:48px}.rg-entry-icon svg{width:34px;height:34px}.rg-entry-body>strong{font-size:1.03rem}.rg-entry-description{font-size:.88rem}.rg-entry-action{font-size:.84rem}.rg-front-hero h1{font-size:5.2rem}.rg-front-section-heading{gap:50px}.rg-project-feature-copy{padding:34px 29px}.rg-project-feature-copy h3{font-size:3.2rem}.rg-project-feature-photo{min-height:530px}.rg-purpose-grid,.rg-work-grid{gap:50px}.rg-work-grid .rg-button{font-size:.8rem}.rg-history-grid{gap:30px}.rg-sector-section>.rg-wrap{gap:40px}}
@media(max-width:900px){.rg-front-hero{height:540px}.rg-front-hero h1{font-size:4.4rem}.rg-front-hero-copy>p:last-child{font-size:1.09rem}.rg-entry-grid{gap:12px}.rg-entry-card{padding:18px;grid-template-columns:1fr;gap:11px}.rg-entry-icon{width:42px;height:45px}.rg-entry-body>strong{font-size:1.02rem;min-height:42px}.rg-entry-description{font-size:.87rem}.rg-entry-action{grid-column:1;font-size:.78rem;padding:10px 7px}.rg-front-caption{font-size:.7rem;max-width:320px}.rg-front-projects{padding-top:65px}.rg-project-feature{grid-template-columns:1.1fr 1fr}.rg-project-feature--tizna{grid-template-columns:1fr 1.1fr}.rg-project-feature-copy{padding:30px 25px}.rg-project-feature-copy h3{font-size:2.8rem}.rg-project-feature-copy>p:not(.rg-kicker){font-size:.95rem}.rg-project-feature-specs li{font-size:.85rem}.rg-feature-price>strong{font-size:1.55rem}.rg-project-feature-photo{min-height:530px}.rg-front-section-heading{gap:35px}.rg-front-section-heading h2{font-size:2.8rem}.rg-purpose-section h2{font-size:3rem}.rg-purpose-grid{gap:40px}.rg-work-grid{gap:35px}.rg-work-grid figure img{height:530px}.rg-work-pillars{gap:30px}.rg-sector-section h2{font-size:2.2rem}}
@media(max-width:680px){.rg-front-hero{height:450px;align-items:center;padding:20px 0 52px}.rg-front-hero>img{object-position:59% center}.rg-front-hero:after{background:linear-gradient(90deg,#0a2828a6,#102c2955),linear-gradient(0deg,#0b2927e5,#102c2940 75%)}.rg-front-hero-copy{padding:0}.rg-front-hero .rg-kicker{font-size:.74rem;line-height:1.7;letter-spacing:.09em;margin-bottom:22px;max-width:300px}.rg-front-hero h1{font-size:clamp(2.5rem,10.8vw,3.4rem);line-height:1.09;letter-spacing:-.05em;margin-bottom:23px}.rg-front-hero-copy>p:last-child{font-size:1rem;line-height:1.75;max-width:340px}.rg-front-caption{bottom:64px;left:18px;right:18px;font-size:.65rem;text-align:left;max-width:none;line-height:1.5}.rg-entry-section{margin-top:-45px;padding-bottom:0}.rg-entry-section h2{font-size:.91rem;padding:11px 14px;margin:0}.rg-entry-grid{grid-template-columns:1fr;gap:11px}.rg-entry-card{grid-template-columns:45px 1fr;padding:17px 18px;gap:6px 15px;align-items:center;box-shadow:0 7px 19px #173a2c13}.rg-entry-icon{width:45px;height:49px;grid-row:1/3;align-self:center}.rg-entry-icon svg{width:36px;height:36px}.rg-entry-body{padding-top:0}.rg-entry-body>strong{font-size:1.05rem;line-height:1.35;min-height:0;margin:0}.rg-entry-description{display:none}.rg-entry-action{grid-column:2;min-height:36px;font-size:.82rem;margin:3px 0 0;padding:7px 10px;justify-self:stretch}.rg-municipal-entry{font-size:.85rem;line-height:1.7;margin-top:21px;text-align:left;padding:0 3px}.rg-municipal-entry a{display:block;margin-top:3px}.rg-front-projects{padding:55px 0 60px}.rg-front-section-heading{grid-template-columns:1fr;gap:20px;margin-bottom:28px}.rg-front-section-heading h2{font-size:2.55rem;line-height:1.13}.rg-front-section-heading>p{font-size:1rem;line-height:1.8}.rg-project-feature,.rg-project-feature--tizna{display:flex;flex-direction:column;margin-top:24px;border-radius:6px}.rg-project-feature-photo,.rg-project-feature--tizna .rg-project-feature-photo{min-height:0;height:320px;grid-column:auto;grid-row:auto}.rg-project-feature--mariana .rg-project-feature-photo>img{object-position:center 43%}.rg-project-feature--tizna .rg-project-feature-photo>img{object-position:59% center}.rg-project-feature-copy,.rg-project-feature--tizna .rg-project-feature-copy{padding:28px 25px;grid-column:auto;grid-row:auto}.rg-project-feature-copy .rg-kicker{font-size:.77rem;margin-bottom:14px}.rg-project-feature-copy h3{font-size:3rem;margin-bottom:20px}.rg-project-feature-copy>p:not(.rg-kicker){font-size:1rem}.rg-location-chip{left:18px;bottom:18px;font-size:.8rem;padding:8px 12px}.rg-project-feature-specs li{font-size:.91rem}.rg-feature-price>strong{font-size:1.7rem}.rg-project-feature-copy .rg-button{width:100%;font-size:.92rem}.rg-front-project-links{display:grid;gap:12px;margin-top:26px}.rg-front-project-links .rg-button{font-size:.88rem;padding:13px}.rg-purpose-section{padding:60px 0 45px}.rg-purpose-grid{grid-template-columns:1fr;gap:28px}.rg-purpose-section h2{font-size:2.6rem;line-height:1.15}.rg-purpose-section .rg-lead{font-size:1.12rem}.rg-purpose-section p{font-size:1rem}.rg-purpose-section .rg-button{font-size:.86rem;padding:14px 16px}.rg-work-pillars{grid-template-columns:1fr;gap:21px;margin-top:37px;padding-top:26px}.rg-work-pillars h3{font-size:1.05rem;margin-bottom:7px}.rg-work-pillars p{max-width:none;font-size:.95rem}.rg-work-section{padding:60px 0}.rg-work-grid{grid-template-columns:1fr;gap:29px}.rg-work-grid figure img{height:340px}.rg-work-grid figcaption{font-size:.78rem}.rg-work-grid h2{font-size:2.5rem;line-height:1.17}.rg-work-grid .rg-actions{display:grid;gap:12px}.rg-work-grid .rg-button{font-size:.9rem}.rg-work-services{margin-top:24px}.rg-origin-section{padding:60px 0 45px}.rg-origin-section .rg-front-section-heading h2{font-size:2.5rem}.rg-history-grid{grid-template-columns:1fr;gap:27px;margin-top:34px;border-left:2px solid #bacbb3;margin-left:5px;padding-left:25px}.rg-history-grid article{border-top:0;padding:0}.rg-history-grid article:before{left:-30px;top:7px}.rg-history-grid article>span{font-size:2.15rem;margin-bottom:12px}.rg-history-grid h3{font-size:1.08rem;margin-bottom:11px}.rg-history-grid p{font-size:.96rem}.rg-origin-towns{margin-top:30px;padding-top:24px}.rg-origin-towns>div{gap:8px 16px}.rg-origin-towns span{font-size:.9rem}.rg-town-feature{height:460px}.rg-town-feature:after{background:linear-gradient(90deg,#143529de,#14352983),linear-gradient(0deg,#14352988,transparent)}.rg-town-feature .rg-kicker{font-size:.76rem}.rg-town-feature h2{font-size:2.6rem;line-height:1.15;margin-bottom:22px}.rg-town-feature p:not(.rg-kicker){font-size:1rem;line-height:1.75}.rg-town-feature .rg-button{font-size:.9rem}.rg-sector-section{padding:45px 0}.rg-sector-section>.rg-wrap{grid-template-columns:1fr;gap:24px}.rg-sector-section img{width:150px;max-height:90px}.rg-sector-section h2{font-size:2.2rem;line-height:1.17}.rg-sector-section p:last-child{font-size:.95rem}.rg-page--inicio .rg-end-cta h2{font-size:2.05rem;line-height:1.17}}
@media(min-width:681px){.rg-front-hero>img{object-position:50% 0}}
@media(prefers-reduced-motion:reduce){.rg-entry-card,.rg-project-feature-photo>img{transition:none}}

/* Keep the cathedral and the lit avenue in the visible area of the photo. */
.rg-front-hero {
 height: clamp(590px, 53vw, 760px);
 padding-bottom: 0;
 background: #101b2c;
}
.rg-front-hero > img { object-position: 50% 49%; }
.rg-front-hero::after {
 background: linear-gradient(90deg, #0b1828ee, #0b18289c 35%, #0c192821 62%, #101a2b05),
             linear-gradient(0deg, #09132299, transparent 34%);
}
.rg-front-hero-copy { padding-bottom: 0; }
.rg-front-hero h1 {
 font-size: clamp(3.55rem, 5.25vw, 5.4rem);
 animation: rg-front-title-in .52s ease-out both;
}
@keyframes rg-front-title-in { from { transform: translateY(10px); } to { transform: none; } }

.rg-front-lead {
 max-width: 35rem;
 margin: 0 0 24px;
 color: #fff;
 font-size: clamp(1.05rem, 2vw, 1.33rem);
 line-height: 1.5;
}
.rg-front-hero .rg-actions { margin-top: 0; }
.rg-entry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rg-entry-card--ayuntamientos .rg-entry-icon { background: #f5ecd7; color: #695228; }
@media (max-width: 1120px) {
 .rg-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
 .rg-front-hero {
  height: clamp(540px, 88svh, 680px);
  align-items: flex-end;
  padding: 0 0 66px;
 }
 .rg-front-hero > img { object-position: 50% 28%; }
 .rg-front-hero::after {
  background: linear-gradient(0deg, #081624f5, #0b192ad9 28%, #101b2c35 62%, #101b2c14 100%);
 }
 .rg-front-hero .rg-kicker { margin-bottom: 10px; }
 .rg-front-hero h1 { font-size: clamp(2.85rem, 10vw, 4.2rem); margin-bottom: 14px; }
 .rg-front-lead { margin-bottom: 16px; }
 .rg-front-hero .rg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
 .rg-front-hero .rg-actions .rg-button { padding-inline: 14px; }
 .rg-entry-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { .rg-front-hero h1 { animation: none; } }
