/* =====================================================
   BASE COMPARTIDA
===================================================== */

.rain-section,
.rain-formula-section,
.rain-depth-section,
.rain-tank-section,
.rain-uses-section,
.rain-types-section,
.rain-capacity-section,
.rain-faq-section {

    max-width: 1200px;
    width: calc(100% - 48px);
    margin: 100px auto;
    font-family: inherit;
    color: #fff;

}


.rain-section *,
.rain-formula-section *,
.rain-depth-section *,
.rain-tank-section *,
.rain-uses-section *,
.rain-types-section *,
.rain-capacity-section *,
.rain-faq-section * {

    box-sizing: border-box;

}


.rain-section p,
.rain-formula-section p,
.rain-depth-section p,
.rain-tank-section p,
.rain-uses-section p,
.rain-types-section p,
.rain-capacity-section p,
.rain-faq-section p {

    margin-bottom: 0;

}


.rain-eyebrow {

    display: inline-block;
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 18px;

}


.rain-section h2,
.rain-formula-section h2,
.rain-depth-section h2,
.rain-tank-section h2,
.rain-uses-section h2,
.rain-types-section h2,
.rain-capacity-section h2,
.rain-faq-section h2 {

    color: #fff;
    font-size: clamp(29px, 3.4vw, 40px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin: 0 0 18px;

}


.rain-section h3,
.rain-formula-section h3,
.rain-depth-section h3,
.rain-tank-section h3,
.rain-uses-section h3,
.rain-types-section h3 {

    color: #fff;

}



/* =====================================================
   1. INTRODUCCIÓN
   Instrucciones + ejemplo práctico
===================================================== */

.rain-intro {

    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 65px;

}


.rain-intro-copy {

    display: flex;
    flex-direction: column;
    align-items: flex-start;

}


.rain-intro-copy > p {

    color: #aeb8cb;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 14px;

}


.rain-instructions {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px 22px;
    margin-top: 29px;
    width: 100%;

}


.rain-instruction {

    display: flex;
    align-items: flex-start;
    gap: 13px;

}


.rain-instruction-number {

    flex: 0 0 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #c7d2fe;
    background: rgba(129,140,248,.15);
    border: 1px solid rgba(129,140,248,.19);
    font-size: 11px;
    font-weight: 800;

}


.rain-instruction > div {

    min-width: 0;

}


.rain-instruction strong {

    display: block;
    font-size: 13px;
    color: #fff;
    margin: 2px 0 6px;

}


.rain-instruction p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.75;

}


.rain-privacy {

    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 17px;
    margin-top: 28px;
    border: 1px solid rgba(129,140,248,.16);
    background: rgba(129,140,248,.055);
    border-radius: 12px;

}


.rain-privacy-icon {

    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    background: rgba(129,140,248,.2);
    color: #c7d2fe;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;

}


.rain-privacy p {

    color: #aeb8cb;
    font-size: 11px;
    line-height: 1.8;

}



/* =====================================================
   TARJETA DE EJEMPLO
===================================================== */

.rain-example-card {

    position: relative;
    overflow: hidden;
    padding: 32px;
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(129,140,248,.2),
            transparent 44%
        ),
        linear-gradient(145deg, #151d34, #0d1322);

    border: 1px solid rgba(129,140,248,.25);
    box-shadow: 0 25px 65px rgba(0,0,0,.25);

}


.rain-example-heading {

    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);

}


.rain-example-heading > span {

    color: #a5b4fc;
    font-size: 10px;
    letter-spacing: 1.8px;
    font-weight: 800;

}


.rain-example-heading h3 {

    color: #fff;
    font-size: 21px;
    margin: 13px 0 8px;
    line-height: 1.3;

}


.rain-example-heading p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.7;

}


.rain-example-measures {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 23px 0;

}


.rain-measure {

    padding: 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.055);

}


.rain-measure span {

    display: block;
    color: #94a3b8;
    font-size: 10px;
    margin-bottom: 5px;

}


.rain-measure strong {

    color: #fff;
    font-size: 22px;
    font-weight: 800;

}


.rain-measure strong small {

    font-size: 12px;
    color: #a5b4fc;

}


.rain-example-calculation {

    display: flex;
    flex-direction: column;
    gap: 0;

}


.rain-calculation-line {

    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);

}


.rain-calculation-line span {

    color: #94a3b8;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;

}


.rain-calculation-line code {

    color: #e2e8f0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

}


.rain-example-result {

    margin-top: 21px;
    padding: 20px;
    text-align: center;
    background: linear-gradient(110deg, #5556ad, #373b80);
    border-radius: 14px;

}


.rain-example-result > span:first-child {

    display: block;
    color: #dbeafe;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;

}


.rain-example-result strong {

    display: block;
    font-size: clamp(36px, 5vw, 47px);
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin: 7px 0 2px;
    color: #fff;

}


.rain-example-result > span:last-child {

    display: block;
    color: #dbeafe;
    font-size: 12px;

}


.rain-example-footnote {

    color: #94a3b8;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
    margin-top: 13px;

}



/* =====================================================
   2. FÓRMULAS Y CÁLCULOS
===================================================== */

.rain-formula-section {

    padding: 70px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);

}


.rain-formula-heading {

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: end;
    margin-bottom: 38px;

}


.rain-formula-heading h2 {

    max-width: 620px;
    margin-bottom: 0;

}


.rain-formula-heading > p {

    color: #94a3b8;
    font-size: 14px;
    line-height: 1.9;
    padding-bottom: 4px;

}


.rain-formula-main {

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 25px 27px;
    border: 1px solid rgba(129,140,248,.23);
    border-radius: 15px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(129,140,248,.15),
            transparent 48%
        ),
        #111a2c;

}


.rain-formula-main > span {

    color: #a5b4fc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;

}


.rain-formula-main code {

    display: block;
    max-width: 100%;
    color: #fff;
    font-family: inherit;
    font-size: clamp(15px, 2vw, 21px);
    font-weight: 800;
    line-height: 1.6;
    overflow-wrap: anywhere;

}


.rain-formula-main > p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.7;

}


.rain-formula-grid {

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;

}


.rain-formula-card {

    min-width: 0;
    padding: 25px;
    border-radius: 15px;
    background: #101727;
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .25s ease, border-color .25s ease;

}


.rain-formula-card:hover {

    transform: translateY(-5px);
    border-color: rgba(129,140,248,.4);

}


.rain-formula-card:nth-child(2) {

    background: #121c2c;

}


.rain-formula-card:nth-child(3) {

    background: #14172d;

}


.rain-formula-top {

    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;

}


.rain-formula-number {

    color: #a5b4fc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;

}


/* Símbolos */

.rain-formula-symbol {

    position: relative;
    display: block;
    width: 46px;
    height: 42px;

}


.rain-area-symbol::before {

    content: "";
    position: absolute;
    inset: 5px 1px;
    border: 2px solid #a5b4fc;
    border-radius: 4px;
    background:
        linear-gradient(
            145deg,
            transparent 48%,
            rgba(165,180,252,.3) 49% 52%,
            transparent 53%
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0 9px,
            rgba(165,180,252,.2) 9px 11px
        );

}


.rain-drop-symbol::before {

    content: "";
    position: absolute;
    width: 27px;
    height: 34px;
    top: 2px;
    left: 9px;
    border: 2px solid #a5b4fc;
    border-radius: 55% 45% 55% 55%;
    transform: rotate(45deg);
    background: rgba(129,140,248,.15);

}


.rain-efficiency-symbol::before {

    content: "";
    position: absolute;
    inset: 4px 2px;
    border: 2px solid #a5b4fc;
    border-radius: 50%;
    background:
        conic-gradient(
            from 0deg,
            rgba(165,180,252,.45) 0 70%,
            transparent 70% 100%
        );

}


.rain-formula-card h3 {

    font-size: 18px;
    margin: 0 0 10px;

}


.rain-formula-card > p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
    min-height: 85px;

}


.rain-formula-equation {

    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,.08);

}


.rain-formula-equation span {

    display: block;
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;

}


.rain-formula-equation code {

    display: block;
    background: rgba(0,0,0,.23);
    border-radius: 8px;
    padding: 12px;
    color: #e2e8f0;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;

}


.rain-formula-footer {

    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    padding: 17px 20px;
    border-left: 3px solid #818cf8;
    background: rgba(129,140,248,.06);
    border-radius: 0 10px 10px 0;

}


.rain-formula-footer strong {

    flex: 0 0 auto;
    color: #c7d2fe;
    font-size: 12px;

}


.rain-formula-footer span {

    color: #aab5c8;
    font-size: 12px;
    line-height: 1.7;

}



/* =====================================================
   3. AGUA APROVECHABLE Y PÉRDIDAS
===================================================== */

.rain-depth-section {

    padding: 15px 0;

}


.rain-depth-heading {

    max-width: 790px;
    margin-bottom: 40px;

}


.rain-depth-heading h2 {

    max-width: 760px;

}


.rain-depth-heading > p {

    color: #aab5c8;
    font-size: 14px;
    line-height: 1.9;

}


.rain-depth-layout {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;

}


/* Ilustración */

.rain-depth-illustration {

    padding: 24px;
    background: #101828;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.09);

}


.rain-diagram-label {

    color: #94a3b8;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 800;
    margin-bottom: 24px;

}


.rain-diagram {

    position: relative;
    height: 285px;
    overflow: hidden;
    border-radius: 12px;
    background:
        linear-gradient(
            180deg,
            #172339 0%,
            #202d43 100%
        );

}


.rain-diagram-cloud {

    position: absolute;
    top: 14%;
    left: 18%;
    width: 82px;
    height: 30px;
    border-radius: 30px;
    background: #94a3b8;
    opacity: .85;

}


.rain-diagram-cloud::before {

    content: "";
    position: absolute;
    width: 36px;
    height: 36px;
    left: 15px;
    top: -17px;
    border-radius: 50%;
    background: #94a3b8;

}


.rain-diagram-cloud::after {

    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    right: 12px;
    top: -13px;
    border-radius: 50%;
    background: #94a3b8;

}


.rain-diagram-cloud span,
.rain-diagram-cloud i {

    display: none;

}


.rain-diagram-drops {

    position: absolute;
    top: 29%;
    left: 22%;
    width: 70px;
    height: 42px;

}


.rain-diagram-drops span {

    position: absolute;
    top: 0;
    width: 3px;
    height: 13px;
    border-radius: 5px;
    background: #7dd3fc;
    transform: rotate(20deg);

}


.rain-diagram-drops span:nth-child(1) {

    left: 5px;
    top: 5px;

}


.rain-diagram-drops span:nth-child(2) {

    left: 25px;
    top: 17px;

}


.rain-diagram-drops span:nth-child(3) {

    left: 45px;
    top: 2px;

}


.rain-diagram-drops span:nth-child(4) {

    left: 62px;
    top: 18px;

}


.rain-diagram-roof {

    position: absolute;
    top: 43%;
    left: 10%;
    width: 54%;
    height: 16%;
    border-top: 4px solid #a5b4fc;
    transform: skewY(-15deg);
    background: rgba(129,140,248,.16);

}


.rain-diagram-roof::before {

    content: "";
    position: absolute;
    top: -4px;
    right: -2px;
    width: 8px;
    height: 50px;
    border-right: 4px solid #a5b4fc;
    transform: skewY(25deg);

}


.rain-diagram-gutter {

    position: absolute;
    top: 54%;
    left: 58%;
    width: 18px;
    height: 5px;
    border-radius: 3px;
    background: #a5b4fc;

}


.rain-diagram-pipe {

    position: absolute;
    top: 55%;
    left: 72%;
    width: 6px;
    height: 18%;
    background: #a5b4fc;
    border-radius: 4px;

}


.rain-diagram-pipe::after {

    content: "";
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 25px;
    height: 6px;
    background: #a5b4fc;
    border-radius: 4px;

}


.rain-diagram-tank {

    position: absolute;
    right: 10%;
    bottom: 7%;
    width: 70px;
    height: 78px;
    overflow: hidden;
    border: 2px solid #a5b4fc;
    border-radius: 9px 9px 13px 13px;
    background: rgba(129,140,248,.1);

}


.rain-diagram-tank::before {

    content: "";
    position: absolute;
    top: -6px;
    left: 10px;
    width: 46px;
    height: 8px;
    border: 2px solid #a5b4fc;
    border-radius: 5px;
    background: #172339;

}


.rain-diagram-water {

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(180deg, #60a5fa, #818cf8);
    opacity: .7;

}


.rain-diagram-label-roof,
.rain-diagram-label-filter,
.rain-diagram-label-tank {

    position: absolute;
    color: #c7d2fe;
    font-size: 10px;
    font-weight: 800;

}


.rain-diagram-label-roof {

    left: 20%;
    bottom: 16%;

}


.rain-diagram-label-filter {

    left: 62%;
    top: 68%;

}


.rain-diagram-label-tank {

    right: 7%;
    bottom: 2%;

}


.rain-diagram-legend {

    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;

}


.rain-diagram-legend > div {

    display: flex;
    align-items: center;
    gap: 8px;
    color: #aab5c8;
    font-size: 10px;

}


.rain-legend-dot {

    width: 8px;
    height: 8px;
    border-radius: 50%;

}


.rain-legend-rain {

    background: #7dd3fc;

}


.rain-legend-water {

    background: #a5b4fc;

}


/* Explicación */

.rain-depth-explanation h3 {

    font-size: 22px;
    margin-bottom: 10px;

}


.rain-depth-explanation > p {

    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 24px;

}


.rain-depth-step {

    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);

}


.rain-depth-step > span {

    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(129,140,248,.12);
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 800;

}


.rain-depth-step strong {

    display: block;
    color: #fff;
    font-size: 12px;
    margin-bottom: 5px;

}


.rain-depth-step code {

    color: #a5b4fc;
    font-size: 13px;
    font-family: inherit;

}


.rain-depth-final {

    margin-top: 20px;
    padding: 19px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-radius: 12px;
    background: linear-gradient(100deg, #454c9e, #30366d);

}


.rain-depth-final span {

    color: #dbeafe;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;

}


.rain-depth-final strong {

    color: #fff;
    font-size: 23px;

}


.rain-depth-note {

    margin-top: 18px;
    padding: 16px;
    background: rgba(255,255,255,.035);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.07);

}


.rain-depth-note strong {

    color: #fff;
    font-size: 12px;

}


.rain-depth-note p {

    color: #94a3b8;
    font-size: 11px;
    line-height: 1.8;
    margin-top: 7px;

}



/* =====================================================
   4. DEPÓSITO Y ALMACENAMIENTO
===================================================== */

.rain-tank-section {

    padding: 42px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(129,140,248,.16),
            transparent 43%
        ),
        #101626;
    border: 1px solid rgba(129,140,248,.2);
    border-radius: 24px;
    overflow: hidden;

}


.rain-tank-main {

    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 50px;

}


.rain-tank-copy h2 {

    max-width: 600px;

}


.rain-tank-copy > p {

    max-width: 650px;
    color: #aab5c8;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 12px;

}


.rain-tank-formula {

    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
    padding: 15px 18px;
    border-radius: 10px;
    border: 1px solid rgba(129,140,248,.2);
    background: rgba(129,140,248,.08);

}


.rain-tank-formula span {

    color: #a5b4fc;
    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 800;

}


.rain-tank-formula code {

    color: white;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

}


/* Ejemplo visual */

.rain-tank-example {

    padding: 27px;
    border-radius: 17px;
    background: linear-gradient(145deg, #5657ae, #343875);
    box-shadow: 0 18px 40px rgba(0,0,0,.2);

}


.rain-tank-example > span {

    display: block;
    color: #dbeafe;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;

}


.rain-tank-number {

    color: white;
    font-size: clamp(50px, 6vw, 72px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -3px;
    margin: 12px 0;

}


.rain-tank-number small,
.rain-tank-final small {

    font-size: 17px;
    letter-spacing: 0;

}


.rain-tank-example > p {

    font-size: 12px;
    line-height: 1.8;
    color: #e0e7ff;

}


.rain-tank-subtraction {

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    margin-top: 17px;
    border-top: 1px solid rgba(255,255,255,.2);
    font-size: 12px;
    color: #dbeafe;

}


.rain-tank-subtraction strong {

    color: #fff;
    font-size: 19px;

}


.rain-tank-final {

    color: #fff;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 12px 0 5px;

}


/* Consejo */

.rain-tank-tip {

    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 25px;
    padding-top: 23px;
    border-top: 1px solid rgba(255,255,255,.1);

}


.rain-tip-symbol {

    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #c7d2fe;
    background: rgba(129,140,248,.2);
    font-size: 13px;
    font-weight: 800;

}


.rain-tank-tip strong {

    display: block;
    color: #fff;
    font-size: 12px;
    margin-bottom: 5px;

}


.rain-tank-tip p {

    color: #94a3b8;
    font-size: 11px;
    line-height: 1.8;

}



/* =====================================================
   5. AHORRO Y USOS
   Bento grid
===================================================== */

.rain-uses-section {

    padding: 15px 0;

}


.rain-uses-heading {

    max-width: 720px;
    margin-bottom: 38px;

}


.rain-uses-heading h2 {

    max-width: 680px;

}


.rain-uses-heading > p {

    color: #94a3b8;
    font-size: 14px;
    line-height: 1.9;

}


.rain-uses-grid {

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(225px, auto);
    gap: 15px;

}


.rain-use-card {

    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: #111827;
    transition: transform .25s ease, border-color .25s ease;

}


.rain-use-card:hover {

    transform: translateY(-5px);
    border-color: rgba(129,140,248,.4);

}


.rain-use-card:nth-child(2) {

    background: #121c2c;

}


.rain-use-card:nth-child(3) {

    background: #16172c;

}


.rain-use-card:nth-child(4) {

    background: #111b29;

}


.rain-use-card:nth-child(5) {

    background: #15182b;

}


.rain-use-card:nth-child(6) {

    background: #111827;

}


.rain-use-featured {

    grid-column: span 2;
    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(129,140,248,.18),
            transparent 50%
        ),
        #151d35;

}


.rain-use-index {

    color: #a5b4fc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;

}


.rain-use-symbol {

    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 22px 0 16px;
    border-radius: 12px;
    background: rgba(129,140,248,.13);
    color: #c7d2fe;
    font-size: 22px;

}


.rain-use-card h3 {

    font-size: 16px;
    line-height: 1.35;
    margin: 0 0 9px;

}


.rain-use-card p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;

}


.rain-uses-warning {

    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 22px;
    margin-top: 25px;
    padding: 21px 23px;
    border-radius: 12px;
    background: rgba(255,209,102,.045);
    border: 1px solid rgba(255,209,102,.15);

}


.rain-uses-warning strong {

    color: #ffd166;
    font-size: 12px;

}


.rain-uses-warning p {

    color: #aab5c8;
    font-size: 12px;
    line-height: 1.8;

}



/* =====================================================
   6. EJEMPLOS DE CAPTACIÓN
===================================================== */

.rain-types-section {

    padding: 15px 0;

}


.rain-types-heading {

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 45px;
    align-items: end;
    margin-bottom: 38px;

}


.rain-types-heading h2 {

    margin-bottom: 0;

}


.rain-types-heading > p {

    color: #94a3b8;
    font-size: 13px;
    line-height: 1.9;

}


.rain-types-grid {

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;

}


.rain-type-card {

    overflow: hidden;
    min-width: 0;
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: stretch;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;
    background: #111827;
    transition: border-color .25s ease, transform .25s ease;

}


.rain-type-card:hover {

    border-color: rgba(129,140,248,.35);
    transform: translateY(-3px);

}


.rain-type-visual {

    position: relative;
    min-height: 185px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #19243a;

}


.rain-type-visual span {

    position: relative;
    display: block;
    width: 75%;
    height: 55%;
    border: 2px solid #a5b4fc;
    background:
        linear-gradient(
            160deg,
            transparent 0 45%,
            rgba(165,180,252,.2) 46% 100%
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0 12px,
            rgba(165,180,252,.2) 12px 14px
        );

}


.rain-type-small span {

    width: 55%;
    height: 43%;
    border-radius: 4px;

}


.rain-type-medium span {

    width: 72%;
    height: 55%;
    border-radius: 4px;

}


.rain-type-large span {

    width: 84%;
    height: 62%;
    border-radius: 4px;

}


.rain-type-system span {

    width: 60%;
    height: 60%;
    border-radius: 7px;
    background:
        linear-gradient(
            180deg,
            transparent 30%,
            rgba(125,211,252,.3) 30% 100%
        );

}


.rain-type-content {

    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 23px;

}


.rain-type-content > span {

    color: #a5b4fc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 11px;

}


.rain-type-content h3 {

    font-size: 17px;
    margin: 0 0 9px;

}


.rain-type-content p {

    color: #94a3b8;
    font-size: 11px;
    line-height: 1.8;

}



/* =====================================================
   7. TABLA DE REFERENCIA
===================================================== */

.rain-capacity-section {

    padding: 45px;
    background: #0e1524;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;

}


.rain-capacity-heading {

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 45px;
    align-items: end;
    margin-bottom: 32px;

}


.rain-capacity-heading h2 {

    margin-bottom: 0;

}


.rain-capacity-heading > p {

    color: #94a3b8;
    font-size: 13px;
    line-height: 1.9;
    padding-bottom: 3px;

}


.rain-capacity-table-wrap {

    width: 100%;
    overflow-x: auto;

}


.rain-capacity-table {

    width: 100%;
    border-collapse: collapse;
    text-align: left;

}


.rain-capacity-table th {

    padding: 16px 18px;
    color: #a5b4fc;
    background: rgba(129,140,248,.1);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 800;
    white-space: nowrap;

}


.rain-capacity-table th:first-child {

    border-radius: 9px 0 0 9px;

}


.rain-capacity-table th:last-child {

    border-radius: 0 9px 9px 0;

}


.rain-capacity-table td {

    padding: 19px 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: #cbd5e1;
    font-size: 12px;
    white-space: nowrap;

}


.rain-capacity-table tbody tr {

    transition: background .2s ease;

}


.rain-capacity-table tbody tr:hover {

    background: rgba(129,140,248,.055);

}


.rain-capacity-table tbody tr:last-child td {

    border-bottom: 0;

}


.rain-capacity-table td:first-child {

    color: white;
    font-weight: 700;

}


.rain-capacity-table td:last-child strong {

    color: #c7d2fe;
    font-size: 14px;

}


.rain-capacity-foot {

    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 27px;
    padding: 20px;
    background: rgba(129,140,248,.07);
    border: 1px solid rgba(129,140,248,.13);
    border-radius: 12px;

}


.rain-capacity-foot-number {

    flex: 0 0 auto;
    color: #c7d2fe;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;

}


.rain-capacity-foot strong {

    display: block;
    color: white;
    font-size: 12px;
    margin-bottom: 4px;

}


.rain-capacity-foot p {

    color: #94a3b8;
    font-size: 11px;
    line-height: 1.7;

}


.rain-capacity-disclaimer {

    margin-top: 20px !important;
    color: #8490a5;
    font-size: 11px;
    line-height: 1.8;

}



/* =====================================================
   8. PREGUNTAS FRECUENTES
===================================================== */

.rain-faq-section {

    padding: 25px 0 65px;
    border-top: 1px solid rgba(255,255,255,.1);

}


.rain-faq-heading {

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
    gap: 50px;
    margin-bottom: 37px;

}


.rain-faq-heading h2 {

    max-width: 660px;
    margin-bottom: 0;

}


.rain-faq-heading > p {

    color: #94a3b8;
    font-size: 13px;
    line-height: 1.9;

}


.rain-faq-list {

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 11px 15px;

}


.rain-faq-item {

    min-width: 0;
    background: #101727;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease;

}


.rain-faq-item:hover {

    border-color: rgba(129,140,248,.3);

}


.rain-faq-item[open] {

    background: #131d31;
    border-color: rgba(129,140,248,.35);

}


.rain-faq-item summary {

    display: grid;
    grid-template-columns: 31px 1fr 25px;
    align-items: center;
    gap: 12px;
    padding: 17px;
    cursor: pointer;
    list-style: none;

}


.rain-faq-item summary::-webkit-details-marker {

    display: none;

}


.rain-faq-item summary::marker {

    content: "";

}


.rain-faq-number {

    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: rgba(129,140,248,.12);
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 800;

}


.rain-faq-question {

    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;

}


.rain-faq-toggle {

    position: relative;
    width: 23px;
    height: 23px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;

}


.rain-faq-toggle::before,
.rain-faq-toggle::after {

    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 1.5px;
    background: #a5b4fc;
    transform: translate(-50%, -50%);

}


.rain-faq-toggle::after {

    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .2s ease;

}


.rain-faq-item[open] .rain-faq-toggle::after {

    transform: translate(-50%, -50%) rotate(0);

}


.rain-faq-answer {

    padding: 0 17px 19px 60px;

}


.rain-faq-answer p {

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.9;

}



/* =====================================================
   CALCULADORA PRINCIPAL
   Variables y contenedor
===================================================== */

.raincalc {

    --rain-accent: #818cf8;
    --rain-accent-light: #a5b4fc;
    --rain-panel: #0d1425;
    --rain-panel-light: #121b30;
    --rain-border: rgba(255,255,255,.09);
    --rain-muted: #94a3b8;

    display: block;
    width: min(1200px, calc(100% - 48px));
    margin: 55px auto 90px;
    color: #fff;
    font-family: inherit;

}


.raincalc *,
.raincalc *::before,
.raincalc *::after {

    box-sizing: border-box;

}


.raincalc [hidden] {

    display: none !important;

}


.raincalc h1,
.raincalc h2,
.raincalc h3,
.raincalc p {

    margin-top: 0;

}



/* =====================================================
   ENCABEZADO
===================================================== */

.raincalc-heading {

    max-width: 900px;
    margin-bottom: 35px;

}


.raincalc-eyebrow {

    display: inline-block;
    margin-bottom: 17px;
    padding: 7px 12px;
    color: var(--rain-accent-light);
    background: rgba(129,140,248,.09);
    border: 1px solid rgba(129,140,248,.19);
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;

}


.raincalc-heading h1 {

    max-width: 850px;
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #fff;

}


.raincalc-heading > p {

    max-width: 780px;
    margin-bottom: 20px;
    color: var(--rain-muted);
    font-size: 14px;
    line-height: 1.9;

}


.raincalc-tags {

    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;

}


.raincalc-tags span {

    padding: 6px 11px;
    border-radius: 7px;
    color: #cbd5e1;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--rain-border);
    font-size: 10px;
    font-weight: 600;

}



/* =====================================================
   DISTRIBUCIÓN PRINCIPAL
===================================================== */

.raincalc-layout {

    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: 22px;
    align-items: start;

}



/* =====================================================
   FORMULARIO
===================================================== */

.raincalc-form-card {

    min-width: 0;
    padding: 29px;
    border: 1px solid var(--rain-border);
    border-radius: 19px;
    background: linear-gradient(
        145deg,
        #111a2c,
        #0c1322
    );
    box-shadow: 0 20px 55px rgba(0,0,0,.16);

}


.raincalc-form-heading {

    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;

}


.raincalc-step-label {

    flex: 0 0 auto;
    padding: 7px 9px;
    border-radius: 7px;
    color: var(--rain-accent-light);
    background: rgba(129,140,248,.12);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;

}


.raincalc-form-heading h2 {

    margin-bottom: 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;

}


.raincalc-form-heading p {

    margin-bottom: 0;
    color: var(--rain-muted);
    font-size: 11px;

}



/* =====================================================
   CAMPOS
===================================================== */

.raincalc-field {

    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 8px;

}


.raincalc-field-full {

    grid-column: 1 / -1;

}


.raincalc-field label {

    display: block;
    margin: 0;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;

}


.raincalc-field input,
.raincalc-field select {

    width: 100%;
    min-width: 0;
    min-height: 47px;
    padding: 11px 13px;
    margin: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9px;
    outline: none;
    background: rgba(3,6,16,.6);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;

}


.raincalc-field input::placeholder {

    color: #64748b;
    opacity: 1;

}


.raincalc-field input:hover,
.raincalc-field select:hover {

    border-color: rgba(129,140,248,.35);

}


.raincalc-field input:focus,
.raincalc-field select:focus {

    border-color: var(--rain-accent);
    background: rgba(3,6,16,.85);
    box-shadow: 0 0 0 3px rgba(129,140,248,.13);

}


.raincalc-field select {

    cursor: pointer;

}


.raincalc-field select option {

    color: #fff;
    background: #111827;

}


.raincalc-field small {

    color: #8190a6;
    font-size: 10px;
    line-height: 1.5;

}


.raincalc-fields-grid {

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;

}


.raincalc-year-field {

    max-width: 220px;
    margin-bottom: 21px;

}



/* =====================================================
   INFORMACIÓN DE PRECIPITACIÓN
===================================================== */

.raincalc-rain-info {

    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 21px;
    padding: 13px 14px;
    border: 1px solid rgba(125,211,252,.13);
    border-radius: 10px;
    background: rgba(56,189,248,.045);

}


.raincalc-rain-info-icon {

    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #7dd3fc;
    background: rgba(56,189,248,.13);
    font-size: 17px;
    font-weight: 800;

}


.raincalc-rain-info p {

    margin: 0;
    color: #aab5c8;
    font-size: 10px;
    line-height: 1.8;

}



/* =====================================================
   PRECIPITACIÓN MENSUAL
===================================================== */

.raincalc-months-heading {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;

}


.raincalc-months-heading > div {

    min-width: 0;

}


.raincalc-months-heading strong {

    display: block;
    color: #fff;
    font-size: 12px;
    margin-bottom: 4px;

}


.raincalc-months-heading small {

    display: block;
    color: var(--rain-muted);
    font-size: 10px;
    line-height: 1.5;

}


.raincalc-months-heading > span {

    flex: 0 0 auto;
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 800;

}


.raincalc-months-grid {

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;

}


.raincalc-month-field {

    gap: 6px;

}


.raincalc-month-field label {

    color: #cbd5e1;
    font-size: 10px;

}


.raincalc-month-input {

    display: flex;
    align-items: center;
    min-width: 0;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 8px;
    background: rgba(3,6,16,.6);
    transition: border-color .2s ease, box-shadow .2s ease;

}


.raincalc-month-input:focus-within {

    border-color: var(--rain-accent);
    box-shadow: 0 0 0 3px rgba(129,140,248,.13);

}


.raincalc-month-input input {

    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 9px;
    border: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 12px;

}


.raincalc-month-input input:focus {

    box-shadow: none;
    background: transparent;

}


.raincalc-month-input input::placeholder {

    color: #64748b;

}


.raincalc-month-input > span {

    flex: 0 0 auto;
    padding-right: 9px;
    color: #8190a6;
    font-size: 9px;
    font-weight: 700;

}


.raincalc-field-hint {

    margin: 12px 0 0;
    color: #8492a8;
    font-size: 10px;
    line-height: 1.7;

}



/* =====================================================
   SEPARADORES Y SUBSECCIONES
===================================================== */

.raincalc-divider {

    height: 1px;
    margin: 25px 0;
    border: 0;
    background: rgba(255,255,255,.085);

}


.raincalc-section-heading {

    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 19px;

}


.raincalc-section-heading > div {

    flex: 1;
    min-width: 0;

}


.raincalc-section-heading h3 {

    margin-bottom: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;

}


.raincalc-section-heading p {

    margin-bottom: 0;
    color: var(--rain-muted);
    font-size: 10px;
    line-height: 1.5;

}



/* =====================================================
   ACLARACIONES
===================================================== */

.raincalc-depth-hint {

    margin-top: 14px;
    padding: 12px 14px;
    border-left: 2px solid var(--rain-accent);
    border-radius: 0 8px 8px 0;
    background: rgba(129,140,248,.06);
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.7;

}


.raincalc-depth-hint strong {

    color: #c7d2fe;

}



/* =====================================================
   BOTONES Y ERRORES
===================================================== */

.raincalc-actions {

    display: flex;
    gap: 11px;
    margin-top: 25px;

}


.raincalc-actions button {

    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}


.raincalc-actions button:hover {

    transform: translateY(-2px);

}


.raincalc-actions button:focus-visible,
.raincalc-result-actions button:focus-visible {

    outline: 2px solid #c7d2fe;
    outline-offset: 3px;

}


.raincalc-button-primary {

    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(120deg, #929af9, #737ee9);
    color: #ffffff;
    box-shadow: 0 5px 18px rgba(129,140,248,.2);

}


.raincalc-button-primary:hover {

    box-shadow: 0 8px 25px rgba(129,140,248,.35);

}


.raincalc-button-primary span {

    font-size: 17px;

}


.raincalc-button-reset {

    padding-left: 18px;
    padding-right: 18px;
    color: #cbd5e1;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1) !important;

}


.raincalc-button-reset:hover {

    background: rgba(255,255,255,.1);

}


.raincalc-error {

    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(248,113,113,.25);
    border-radius: 9px;
    background: rgba(248,113,113,.08);
    color: #fca5a5;
    font-size: 11px;
    line-height: 1.7;

}



/* =====================================================
   PANEL DE RESULTADOS
===================================================== */

.raincalc-result-card {

    position: sticky;
    top: 100px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(129,140,248,.23);
    border-radius: 19px;
    background: #0e1729;
    box-shadow: 0 20px 55px rgba(0,0,0,.2);

}


/* Cabecera */

.raincalc-result-heading {

    position: relative;
    overflow: hidden;
    padding: 31px 28px 27px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(165,180,252,.24),
            transparent 45%
        ),
        linear-gradient(140deg, #343c7e, #242b59);

    border-bottom: 1px solid rgba(255,255,255,.1);

}


.raincalc-result-eyebrow {

    display: block;
    margin-bottom: 13px;
    color: #c7d2fe;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;

}


.raincalc-result-heading h2 {

    margin-bottom: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;

}


.raincalc-total {

    color: #fff;
    font-size: clamp(35px, 4vw, 49px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.15;
    overflow-wrap: anywhere;

}


.raincalc-total span {

    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    color: #dbeafe;

}


.raincalc-result-description {

    margin: 11px 0 0;
    color: #c7d2fe;
    font-size: 11px;
    line-height: 1.7;

}



/* =====================================================
   ESTADO INICIAL
===================================================== */

.raincalc-placeholder {

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 46px 28px;
    text-align: center;

}


.raincalc-placeholder-icon {

    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 17px;
    background: rgba(129,140,248,.1);
    border: 1px solid rgba(129,140,248,.2);

}


.raincalc-placeholder-icon span {

    position: relative;
    width: 25px;
    height: 31px;
    display: block;
    border: 2px solid #a5b4fc;
    border-radius: 3px;
    background: repeating-linear-gradient(
        0deg,
        transparent 0 7px,
        rgba(165,180,252,.25) 7px 9px
    );

}


.raincalc-placeholder > strong {

    color: #e2e8f0;
    font-size: 13px;
    margin-bottom: 8px;

}


.raincalc-placeholder > p {

    max-width: 280px;
    margin: 0;
    color: var(--rain-muted);
    font-size: 11px;
    line-height: 1.8;

}



/* =====================================================
   RESULTADOS Y ESTADÍSTICAS
===================================================== */

.raincalc-results {

    padding: 22px;

}


.raincalc-stats {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

}


.raincalc-stat {

    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    padding: 14px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;

}


.raincalc-stat > span {

    color: #94a3b8;
    font-size: 10px;
    line-height: 1.5;

}


.raincalc-stat > strong {

    color: #fff;
    font-size: 17px;
    font-weight: 800;
    overflow-wrap: anywhere;

}



/* =====================================================
   AHORRO ECONÓMICO
===================================================== */

.raincalc-saving-card {

    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding: 20px;
    border: 1px solid rgba(129,140,248,.22);
    border-radius: 12px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(129,140,248,.16),
            transparent 55%
        ),
        rgba(129,140,248,.07);

}


.raincalc-saving-card > span {

    color: #a5b4fc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;

}


.raincalc-saving-card > strong {

    color: #fff;
    font-size: clamp(27px, 3vw, 35px);
    font-weight: 800;
    letter-spacing: -1px;
    overflow-wrap: anywhere;

}


.raincalc-saving-card > p {

    margin: 0;
    color: #aab5c8;
    font-size: 10px;
    line-height: 1.7;

}



/* =====================================================
   GRÁFICO MENSUAL
===================================================== */

.raincalc-chart-section {

    margin-top: 26px;
    padding-top: 21px;
    border-top: 1px solid rgba(255,255,255,.08);

}


.raincalc-chart-heading {

    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;

}


.raincalc-chart-heading h3 {

    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;

}


.raincalc-chart-heading > span {

    color: #8190a6;
    font-size: 10px;

}


.raincalc-chart-legend {

    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 13px;

}


.raincalc-chart-legend > span {

    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #aab5c8;
    font-size: 9px;

}


.raincalc-chart-legend i {

    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 3px;

}


.raincalc-legend-rain {

    background: #818cf8;

}


.raincalc-legend-demand {

    background: #38bdf8;

}


.raincalc-legend-storage {

    background: #fbbf24;

}


.raincalc-chart-wrap {

    width: 100%;
    min-width: 0;
    height: 260px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 10px;
    background: rgba(3,6,16,.28);

}


.raincalc-chart-wrap canvas {

    display: block;
    width: 100%;
    height: 100%;

}


.raincalc-chart-note {

    margin-top: 10px !important;
    color: #8190a6;
    font-size: 9px;
    line-height: 1.7;

}



/* =====================================================
   TABLA MENSUAL
===================================================== */

.raincalc-monthly-heading {

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 25px 0 13px;

}


.raincalc-monthly-heading h3 {

    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;

}


.raincalc-monthly-heading > span {

    color: #8190a6;
    font-size: 9px;

}


.raincalc-monthly-table-wrap {

    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 9px;

}


.raincalc-monthly-table {

    width: 100%;
    min-width: 470px;
    border-collapse: collapse;
    text-align: left;

}


.raincalc-monthly-table th {

    padding: 11px 9px;
    color: #a5b4fc;
    background: rgba(129,140,248,.09);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .7px;
    font-weight: 800;
    white-space: nowrap;

}


.raincalc-monthly-table td {

    padding: 11px 9px;
    border-bottom: 1px solid rgba(255,255,255,.055);
    color: #cbd5e1;
    font-size: 9px;
    white-space: nowrap;

}


.raincalc-monthly-table tr:last-child td {

    border-bottom: 0;

}


.raincalc-monthly-table td:first-child {

    color: #fff;
    font-weight: 700;

}


.raincalc-monthly-table td:last-child {

    color: #c7d2fe;
    font-weight: 700;

}



/* =====================================================
   DESGLOSE DEL CÁLCULO
===================================================== */

.raincalc-breakdown {

    margin-top: 25px;
    padding-top: 19px;
    border-top: 1px solid rgba(255,255,255,.08);

}


.raincalc-breakdown h3 {

    margin-bottom: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;

}


.raincalc-breakdown-row {

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.055);

}


.raincalc-breakdown-row:last-child {

    border-bottom: 0;

}


.raincalc-breakdown-row span {

    color: #94a3b8;
    font-size: 10px;
    line-height: 1.6;

}


.raincalc-breakdown-row strong {

    color: #e2e8f0;
    font-size: 10px;
    text-align: right;
    overflow-wrap: anywhere;

}



/* =====================================================
   ADVERTENCIA
===================================================== */

.raincalc-result-warning {

    margin-top: 17px;
    padding: 14px;
    border: 1px solid rgba(255,209,102,.15);
    border-radius: 10px;
    background: rgba(255,209,102,.04);

}


.raincalc-result-warning strong {

    display: block;
    margin-bottom: 6px;
    color: #fcd98c;
    font-size: 11px;

}


.raincalc-result-warning p {

    color: #aab5c8;
    font-size: 10px;
    line-height: 1.8;
    margin: 0;

}



/* =====================================================
   ACCIONES DE RESULTADOS
===================================================== */

.raincalc-result-actions {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;

}


.raincalc-result-actions button {

    min-height: 42px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;
    background: rgba(255,255,255,.055);
    color: #e2e8f0;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;

}


.raincalc-result-actions button:hover {

    background: rgba(129,140,248,.15);
    transform: translateY(-2px);

}


.raincalc-result-actions button:last-child {

    background: var(--rain-accent);
    border-color: var(--rain-accent);
    color: #ffffff;

}


.raincalc-result-actions button:last-child:hover {

    background: #a5adff;

}


.raincalc-action-status {

    min-height: 15px;
    margin: 9px 0 0 !important;
    color: #a5b4fc;
    font-size: 10px;
    line-height: 1.5;

}



/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 950px) {

    .raincalc-layout {

        grid-template-columns: 1fr;

    }


    .raincalc-result-card {

        position: relative;
        top: 0;

    }


    .raincalc-result-heading {

        padding: 27px;

    }


    .raincalc-total {

        font-size: 45px;

    }


    .rain-intro {

        grid-template-columns: 1fr;
        gap: 35px;

    }


    .rain-example-card {

        max-width: 650px;
        width: 100%;

    }


    .rain-depth-layout {

        grid-template-columns: 1fr;
        gap: 30px;

    }


    .rain-depth-illustration {

        max-width: 700px;
        width: 100%;

    }


    .rain-tank-main {

        gap: 25px;

    }


    .rain-faq-heading {

        grid-template-columns: 1fr;
        gap: 15px;

    }

}



/* =====================================================
   RESPONSIVE - TABLET PEQUEÑA
===================================================== */

@media (max-width: 720px) {

    .rain-formula-heading,
    .rain-capacity-heading,
    .rain-types-heading {

        grid-template-columns: 1fr;
        gap: 15px;

    }


    .rain-formula-grid {

        grid-template-columns: 1fr;

    }


    .rain-formula-card > p {

        min-height: 0;

    }


    .rain-tank-main {

        grid-template-columns: 1fr;

    }


    .rain-tank-example {

        max-width: none;

    }


    .rain-uses-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }


    .rain-use-featured {

        grid-column: span 2;

    }


    .rain-uses-warning {

        grid-template-columns: 1fr;
        gap: 8px;

    }


    .rain-faq-list {

        grid-template-columns: 1fr;

    }


    .rain-types-grid {

        grid-template-columns: 1fr;

    }

}



/* =====================================================
   RESPONSIVE - MÓVIL
===================================================== */

@media (max-width: 520px) {

    .rain-section,
    .rain-formula-section,
    .rain-depth-section,
    .rain-tank-section,
    .rain-uses-section,
    .rain-types-section,
    .rain-capacity-section,
    .rain-faq-section {

        width: calc(100% - 32px);
        margin-top: 55px;
        margin-bottom: 55px;

    }


    .rain-eyebrow {

        font-size: 9px;
        margin-bottom: 13px;

    }


    .rain-section h2,
    .rain-formula-section h2,
    .rain-depth-section h2,
    .rain-tank-section h2,
    .rain-uses-section h2,
    .rain-types-section h2,
    .rain-capacity-section h2,
    .rain-faq-section h2 {

        font-size: 28px;
        letter-spacing: -.8px;

    }


    /* INTRODUCCIÓN */

    .rain-instructions {

        grid-template-columns: 1fr;
        gap: 19px;

    }


    .rain-intro {

        gap: 28px;

    }


    .rain-example-card {

        padding: 22px;
        border-radius: 17px;

    }


    .rain-example-heading h3 {

        font-size: 19px;

    }


    .rain-measure strong {

        font-size: 20px;

    }


    .rain-calculation-line code {

        font-size: 11px;

    }


    .rain-example-result strong {

        font-size: 40px;

    }


    /* FÓRMULAS */

    .rain-formula-section {

        padding: 45px 0;

    }


    .rain-formula-main {

        padding: 20px;

    }


    .rain-formula-main code {

        font-size: 15px;

    }


    .rain-formula-card {

        padding: 22px;

    }


    .rain-formula-footer {

        align-items: flex-start;
        flex-direction: column;
        gap: 7px;

    }


    /* PÉRDIDAS */

    .rain-depth-illustration {

        padding: 16px;

    }


    .rain-diagram {

        height: 235px;

    }


    .rain-depth-final {

        flex-direction: column;
        align-items: flex-start;
        gap: 6px;

    }


    .rain-depth-final strong {

        font-size: 25px;

    }


    /* DEPÓSITO */

    .rain-tank-section {

        padding: 24px 19px;
        border-radius: 17px;

    }


    .rain-tank-number {

        font-size: 58px;

    }


    /* USOS */

    .rain-uses-grid {

        grid-template-columns: 1fr;
        grid-auto-rows: auto;

    }


    .rain-use-featured {

        grid-column: auto;

    }


    .rain-use-card {

        min-height: 0;
        padding: 22px;

    }


    .rain-use-symbol {

        margin: 17px 0 12px;

    }


    /* TIPOS */

    .rain-type-card {

        grid-template-columns: 105px 1fr;

    }


    .rain-type-visual {

        min-height: 175px;

    }


    .rain-type-content {

        padding: 16px;

    }


    .rain-type-content h3 {

        font-size: 15px;

    }


    .rain-type-content p {

        font-size: 10px;

    }


    /* TABLA */

    .rain-capacity-section {

        padding: 26px 17px;
        border-radius: 16px;

    }


    .rain-capacity-table {

        min-width: 560px;

    }


    .rain-capacity-foot {

        align-items: flex-start;
        gap: 13px;
        padding: 16px;

    }


    .rain-capacity-foot-number {

        font-size: 18px;

    }


    /* FAQ */

    .rain-faq-section {

        padding-top: 35px;

    }


    .rain-faq-item summary {

        grid-template-columns: 29px 1fr 22px;
        gap: 9px;
        padding: 14px 11px;

    }


    .rain-faq-question {

        font-size: 11px;

    }


    .rain-faq-answer {

        padding: 0 13px 16px 49px;

    }


    .rain-faq-answer p {

        font-size: 11px;

    }



    /* CALCULADORA */

    .raincalc {

        width: calc(100% - 28px);
        margin: 35px auto 60px;

    }


    .raincalc-heading {

        margin-bottom: 25px;

    }


    .raincalc-heading h1 {

        font-size: 29px;
        letter-spacing: -.8px;

    }


    .raincalc-heading > p {

        font-size: 12px;
        line-height: 1.85;

    }


    .raincalc-tags {

        gap: 6px;

    }


    .raincalc-tags span {

        font-size: 9px;

    }


    .raincalc-layout {

        gap: 17px;

    }


    .raincalc-form-card {

        padding: 20px 16px;
        border-radius: 15px;

    }


    .raincalc-form-heading h2 {

        font-size: 16px;

    }


    .raincalc-fields-grid {

        gap: 13px;

    }


    .raincalc-field input,
    .raincalc-field select {

        min-height: 45px;
        padding: 10px;
        font-size: 13px;

    }


    .raincalc-year-field {

        max-width: none;

    }


    .raincalc-months-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;

    }


    .raincalc-month-input input {

        min-height: 42px;
        font-size: 12px;

    }


    .raincalc-months-heading {

        align-items: flex-start;

    }


    .raincalc-section-heading {

        gap: 9px;

    }


    .raincalc-section-heading .raincalc-step-label {

        padding: 6px 7px;
        font-size: 8px;

    }


    .raincalc-section-heading h3 {

        font-size: 13px;

    }


    .raincalc-section-heading p {

        font-size: 9px;

    }


    .raincalc-actions {

        flex-direction: column;

    }


    .raincalc-actions button {

        width: 100%;
        min-height: 46px;

    }


    .raincalc-result-card {

        border-radius: 15px;

    }


    .raincalc-result-heading {

        padding: 24px 20px;

    }


    .raincalc-total {

        font-size: 39px;

    }


    .raincalc-results {

        padding: 17px;

    }


    .raincalc-stat {

        padding: 12px;

    }


    .raincalc-stat > strong {

        font-size: 15px;

    }


    .raincalc-saving-card {

        padding: 17px;

    }


    .raincalc-saving-card > strong {

        font-size: 28px;

    }


    .raincalc-chart-wrap {

        height: 230px;

    }


    .raincalc-chart-legend {

        gap: 9px;

    }


    .raincalc-chart-legend > span {

        font-size: 8px;

    }


    .raincalc-monthly-heading {

        align-items: flex-start;
        flex-direction: column;
        gap: 5px;

    }


    .raincalc-monthly-table {

        min-width: 470px;

    }


    .raincalc-monthly-table th,
    .raincalc-monthly-table td {

        padding: 10px 8px;

    }


    .raincalc-result-actions {

        grid-template-columns: 1fr;

    }

}



/* =====================================================
   ACCESIBILIDAD
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .raincalc *,
    .raincalc *::before,
    .raincalc *::after,
    .rain-section *,
    .rain-formula-section *,
    .rain-depth-section *,
    .rain-tank-section *,
    .rain-uses-section *,
    .rain-types-section *,
    .rain-capacity-section *,
    .rain-faq-section * {

        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

    }

}