/* Fratcol — fundación: olas con la bandera, mariposa que aletea, valores que giran */
body.co-fratcol { --bg:#f5f8ff; --ink:#0e1f4d; --muted:#4a5a85; --line:#d5ddf2; --brand:#003893; --accent:#003893; --font-display:"Baloo 2",system-ui,sans-serif; --font-body:"Nunito Sans",system-ui,sans-serif; --radius:24px; }
.co-fratcol .hero { background: linear-gradient(180deg,#fff,#e8efff); padding-bottom: 170px; }
.co-fratcol .hero h1 { font-weight: 800; letter-spacing: -.02em; }
.co-fratcol .btn { border-radius: 999px; }
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 170px; }
.waves path { animation: wv 9s ease-in-out infinite alternate; transform-origin: center; }
.waves .w2 { animation-duration: 7s; animation-delay: -2s; } .waves .w3 { animation-duration: 11s; animation-delay: -4s; }
@keyframes wv { from { transform: translateX(-3%) scaleY(1); } to { transform: translateX(3%) scaleY(1.12); } }
.bwrap { position: relative; display: grid; gap: 16px; }
.bfly { position: absolute; width: 130px; right: -10px; top: -70px; z-index: 2; animation: fl 6s ease-in-out infinite alternate; }
@keyframes fl { to { translate: -30px 16px; rotate: -8deg; } }
.bfly .wl, .bfly .wr { transform-origin: 100px 84px; animation: flap .55s ease-in-out infinite alternate; }
.bfly .wr { animation-name: flapr; }
@keyframes flap { to { transform: scaleX(.55); } } @keyframes flapr { to { transform: scaleX(.55); } }
.acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.act { padding: 44px 32px 32px; border-radius: 28px; background: #fff; box-shadow: 0 16px 40px rgba(0,56,147,.1); position: relative; overflow: hidden; --bar: #fcd116; transition: transform .4s var(--spring); }
.act::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--bar); }
.act:nth-child(2) { --bar: #003893; } .act:nth-child(3) { --bar: #ce1126; }
.act:hover { transform: translateY(-8px) rotate(-.6deg); }
.act h3 { font-size: 1.5rem; margin-bottom: 14px; }
.act li { padding: 7px 0 7px 26px; position: relative; }
.act li::before { content: ""; position: absolute; left: 0; top: 1em; width: 12px; height: 12px; border-radius: 50%; background: #fcd116; }
.act:nth-child(2) li::before { background: #003893; } .act:nth-child(3) li::before { background: #ce1126; }
.flips { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 28px; perspective: 1000px; }
.flip { height: 170px; outline: none; }
.fi { position: relative; width: 100%; height: 100%; transition: transform .7s var(--ease); transform-style: preserve-3d; }
.flip:hover .fi, .flip:focus-visible .fi { transform: rotateY(180deg); }
.ff, .fb { position: absolute; inset: 0; border-radius: 24px; padding: 20px; display: grid; place-items: center; text-align: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ff { background: #003893; color: #fff; } .ff b { font: 800 1.6rem var(--font-display); }
.flip:nth-child(3n+1) .ff { background: #fcd116; color: #0e1f4d; } .flip:nth-child(3n) .ff { background: #ce1126; }
.fb { background: #fff; border: 3px solid #003893; transform: rotateY(180deg); font-size: .98rem; line-height: 1.4; }
.co-fratcol .contact-box { background: #003893; } .co-fratcol .contact-box .btn { background: #fcd116; color: #0e1f4d; border-color: #fcd116; }
@media (hover: none) { .flip .fi { transform: none; } .flip .fb { display: none; } }
